#hello! im making an obby and this script doesnt work

29 messages · Page 1 of 1 (latest)

bleak quarry
#

So i want this script to work:
local stage1 = game.Teams["Stage 1"]

game.Players.PlayerAdded:Connect(function(player)
player.Team = stage1
end)
However, it doesnt for some reason
I have a teams from "Stage 1" to Stage 20
However it puts people on random teams, I have turned off AutoAssign for the others but it didnt do anything.
Can anyone help?

marble trench
#

HEy

#

Hey*

bleak quarry
#

hi

marble trench
#

where'd u learn to script?

bleak quarry
#

i watched tutorials

marble trench
#

on yt?

bleak quarry
#

yea

marble trench
#

dev king or alvinblox

#

?

bleak quarry
#

both

urban prairie
#

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

marble trench
#

ngl

#

i wanna learn

#

or u can teach me

#

😉

#

20 robux per decade

bleak quarry
#

im not that good at scripting

marble trench
#

and said u arent good

#

.

bleak quarry
#

not that hard

#

and it dont even work

marble trench
#

oh

bleak quarry
#

have u made a forum asing people

#

to teach u

slow rover
#

is there any errors

woeful arrow
#

@bleak quarry

local stage1 = game.Teams["Stage 1"]

game.Players.PlayerAdded:Connect(function(player)
        player.TeamColor = stage1.TeamColor
end)