I've been having an issue where I get the Script timeout: exhausted allowed execution time error. Can someone point me in the right direction?
repeat
if game.Workspace.Dummy4.Humanoid.Health < 100 then
game.Workspace.Dummy4.Humanoid.Health = 60
end
until game.Workspace.Dummy4.Humanoid.Health == 0

3 comments
ALSO: if you only want it to fire when the health is over 100 remove the = at the end of if Health <= 100 then.
Thanks, I'll try it
It worked, thank you so much!