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

how do i make a spawn point ONLY change teams?

i cant make the spawn im using ONLY change teams because i want players to spawn somewhere else instead of the point the team changer is and i cant figure it out

1 comment

0

cant you use a neutral team spawn, like they spawn at the neutral team and then go off to other teams from there?

1 answer

What you can do is make it a part instead of a checkpoint and when you touch it changes team.

local part=script.Parent
part.Touched:Connect(function(hit)
local player=game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
player.TeamColor=BrickColor.new("Whatever you want.")
end
end)

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