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

how do i make a spawn point ONLY change teams?

Asked by
feqfeg 0
2 years ago

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

0
cant you use a neutral team spawn, like they spawn at the neutral team and then go off to other teams from there? bestshot123 38 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

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)
Ad

Answer this question