if script.Parent.Parent.Parent.Parent.Character.Humaniod.Health = 100 end
✓ ANSWER ACCEPTED
It errors and says: Expected 'then' got '=' Help?
1 answer
✓ Accepted answer
You misspelled 'Humanoid', you used one = instead of the == that you should use when checking equality, and forgot a 'then'.
if script.Parent.Parent.Parent.Parent.Character.Humanoid.Health == 100 then
--// Do stuff
end
Hope this helped.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It helped me, thanks :)