1
2
3
4
5
6
2
3
4
5
6
addhook("attack","attack")
function attack(killer,victim)
if killer ~= victim then
parse("setmaxhealth "..victim.." 100")
end
end
what is wrong with this script?
Scripts
What is wrong with this script?
What is wrong with this script?
1

addhook("attack","attack")
function attack(killer,victim)
if killer ~= victim then
parse("setmaxhealth "..victim.." 100")
end
end
Rainoth:
Rainoth's suggest. I'd rather go for
hit hook which however will make god mode on for the victim and pretty sure you don't want something like this.
1
