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

i need help how can i make spawnpoints make for one team???

i am creating a game at roblox and i want to make a game like madcity how to make my team change after i escape the prison???

1 comment

0

give us a script attempt, we wont answer if u dont

1 answer

✓ Accepted answer

Take a look at this documentation for how spawnlocations work: https://developer.roblox.com/en-us/articles/How-to-use-Spawn-Objects-with-Roblox-Studio

if your wanting to change the team by script (id assume you would want to) the do something along these lines

local player = playerobject

player.Team = game.Teams.RedTeam

Each player has a property called "Team" .. you need to set that team property to the team object located under teams in the workspace.

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