Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way I can make a player stop dealing damage at 1% health?

I have been trying to make local players not deal damage when they are at 1% health, is there a quick way I can do that?

Any help would be appreciated!

2 comments

0

maybe a game:Getserviece("RunService").Renderstepped:connect(function()

0

We need a code sample of what you have already tried to help you implement this. Local player means player as from the point of view from a local script, do you mean to say that?

1 answer

✓ Accepted answer

Consider thinking of whatever is making the player take damage, have that script to check if the player has less than 1% of health. For example:

if Player.Humanoid.Health >= 1 then -- if Health is more than 1%
	-- Take Damage
end

This discussion is preserved as it was. New answers, comments, and votes are closed.