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

If someone is in my admin script, how do I make them spawn on a certain spawn when they come in?

Asked by 10 years ago

I made a game and a team for admins, how would I have them spawn on a certain spawn when they join the game?

1 answer

Log in to vote
0
Answered by
dyler3 1510 Moderation Voter
10 years ago

Put this in a script in the workspace

function Add(Plr)
    if Plr.Admin.Value==true then
    Plr.TeamColor=="" --Put the team color for admins here
    end
end

game.Players.PlayerAdded:connect(Add)

If there isn't already an admin value in the player then edit the admin script and make it so when the player joins it inserts a boolvalue named 'Admin'. Next, check if the player is an admin, and if they are, then set the Admin value to true.

0
It still didn't work, like let's say dyler3 is in the admin script for perm admin, and I wanted him to spawn where the admin room is, and there is a Navy Blue spawn in there, the name of the spawn is Admins and the team name is Admins, but I want them to spawn there as soon as they come in, would I add this in the admin script? Xeron750 0 — 10y
0
Let me try to fix this for you. dyler3 1510 — 10y
Ad

Answer this question