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

respawn on touch.

I I'm trying to make a respawn on touch script' help?

1 answer

✓ Accepted answer

OK, here's the script. Put this script inside the respawn-on-touch brick.

Script:

script.Parent.Touched:connect(function(Hit) -- Activates if Touched
Player = Game.Players:GetPlayerFromCharacter(Hit.Parent)  -- Checks if what touched has a player.
if Player then -- Checks the Player
Player:LoadCharacter() -- Loads if it is a Player
end -- Ends the "if" statement.
end) -- Ends the function.

Well, bye. Enjoy your brick.

  • Kratos232

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