Game Guides > Game FAQ >  

What is the join spawn script in roblox

What is the join spawn script in roblox
groupID = 0000000 --change to the GroupID number
function onEntered(player)
if player and player:IsInGroup(groupID) then
player.TeamColor = BrickColor.new("Really red") --change to color of team
end
end
game.Players.PlayerAdded:connect(onEntered)


there is the spawn script.