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

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

Asked by 4 years ago

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???

0
give us a script attempt, we wont answer if u dont RobloxGameingStudios 145 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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.

Ad

Answer this question