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

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

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

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.

2 comments

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?

0

Let me try to fix this for you.

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