of     1   

lucas301
#63455776Sunday, February 26, 2012 2:59 AM GMT

I'm kind've new to how to use for and learnt stuff about teams but... it's not working but there's nothing wrong with it, it's all right because there's no output saying BLARGH! But it's not working ermmm.. do you get what I mean? while true do local player = game.Players:GetChildren() for i=1, #player do local mathstuff = (math.floor((player[i].Character.Torso.Position - script.Parent.Parent.Base.Position).magnitude)) if (mathstuff <= 9) and (player[i].TeamColor == "Bright blue") then --Is it this? for i=1, 30 do script.Parent.Position = script.Parent.Position - Vector3.new(0, 0.42, 0) wait(1) end end end wait() end It won't work :<
jimmybolt77
#63456036Sunday, February 26, 2012 3:03 AM GMT

Can you have a space in a variable?
slayer219
#63456165Sunday, February 26, 2012 3:05 AM GMT

@jimmy: No sir, you cannot.
jimmybolt77
#63456295Sunday, February 26, 2012 3:07 AM GMT

Error: local player = game.Players:GetChildren() -- SPACE
slayer219
#63456343Sunday, February 26, 2012 3:07 AM GMT

That's a local variable. local is not part of the variable.

    of     1