Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how do you stop a player from regening health?

Asked by
Prioxis 673 Moderation Voter
10 years ago

so my script at the moment is to make the character bleed basically he doesn't lose health but it shows fire colored red like blood

but I need it to where the health is no longer regening after the fire is enabled how would I disable health regen?

0
game.Workspace.PlayerName.Health:destroy() Vescatur 95 — 10y

1 answer

Log in to vote
0
Answered by
coo1o 227 Moderation Voter
10 years ago

Simple, just destroy (:Destroy()) the health script. I think it's just called "Health".

Workspace.Player.Health:Destroy()

The health script is made by Roblox (Obviously) and is only in charge of slowly regenerating your health.

~coo1o

Ad

Answer this question