currently to function this is what the script does
Character:WaitForChild("Humanoid").Died:connect(function()
does anyone know how I could change it to activate at a certain hp? For example, I'm trying to make a guy with 1000k hp, when he gets to 900 he ragdolls so people cant kill it after its ragdolls Thanks.
Edit:
Sorry for not going into enough detail, it's not for players, its for an enemy.

3 comments
Give an explanation of what you're doing and why. Don't just post code for people, it doesn't help them in the long run.
ok... Done
can u help ^ i edited my original problem