#Randomised Team Spawning
1 messages · Page 1 of 1 (latest)
** You are now Level 3! **
i made my teams equal by just using a variable in a loop to assign teams
so when its the first player its false and it assigns them to team 1
then it flips to true
and thus it assigns the next player to team 2 and flips to false
repeat for all players
idk if thats the best way but it worked for me
did u use a localscript or normal script??
normal script
serverscriptservice?
yes
howd u make an individual player as a variable
im so confused
local indiv = false
for _, player in pairs(game.Players:GetPlayers()) do
local char = player.Character
if indiv == false then
char.HumanoidRootPart.CFrame = Arena.CFrame
indiv = true
else
char.HumanoidRootPart.CFrame = Arena2.CFrame
end```
am i anywhere near close
yeah
set indiv to false at the other teleport
works fine for me