So you can only heal if you touch a brick that heals you
Place in StarterGui or StarterPack.
repeat wait() until script.Parent.Parent.Character:FindFirstChild("Health") --Wait until it exists. script.Parent.Parent.Character.Health:destroy() --Destroy it.
insert a Script (not Local Script) into
StarterPlayer > StarterCharacterScripts
you MUST name the script "Health"
then type in:
script:Destroy()
what it does is it replaces the original Health script with the one you've inserted, so each time the player respawns, it'll have that same health script that you've inserted into StarterCharacterScripts
ik this has been 4 years, but just in case you didnt know
this is also the fastest way to do it without doing all of that check if the player has the health script and delete it—from another script
Remove the health script and add your own to the character at every respawn. Remember, this is not a place to ask.. for... scripts.