I'm trying to make a respawn on touch group door script help?
script.Parent.Touched:connect(function(Hit)
Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
if Player then
Player:LoadCharacter()
end
end)
I'm trying to make a respawn on touch group door script help?
script.Parent.Touched:connect(function(Hit)
Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
if Player then
Player:LoadCharacter()
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
Do you have any code? This website is here to provide help when you make a mistake or an error whilst scripting, not to make things for other people. (Sorry if it sounds a bit disrespectful I'm trying to not be so. ;w;)
I got this code so far, but I don't know how to put the group n with the script.
What do you mean? Ellaborate, please. ^~^
When a player is in the group or not and the player is not at the required rank to enter the door they will respawn. I don't know how to put that in.