#selecting teams is awkward

1 messages · Page 1 of 1 (latest)

coral knoll
#

i have 2 teams in my team system. when i assign 1 team to a player, other team gets selected, any fixes?

sterile wave
#

Yes I fix

#

Heres the code fixed

#

and here

coral knoll
#

what

#

its empty

sterile wave
#

yeah just like the system you sent to fix

coral knoll
#

when i assign a team

#

in scripts

#

like game.players.localplayer.team = game.teams.ateam

#

it doesnt work

sterile wave
#

do a server script

#

you cant do it locally

coral knoll
#

still doesnt work

sterile wave
#

show

coral knoll
#

for _, player in ipairs(game.Players:GetPlayers()) do
player.Team = game.Teams.Monster
end

sterile wave
#

that is a server script?

#

do pairs not ipairs

#

try that

coral knoll
#

doesnt work

fair gladeBOT
#

studio** You are now Level 3! **studio

sterile wave
#

show structure