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)

4 comments

0

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;)

0

I got this code so far, but I don't know how to put the group n with the script.

0

What do you mean? Ellaborate, please. ^~^

0

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.