of     1   

KeithRBX
#141856806Monday, July 28, 2014 6:44 PM GMT

for i = 301, 0, -1 do if not game.Players:FindFirstChild(sniper) then info.Value = "The Sniper has left!" wait(3) break this is inside another loop with a lot of other code it should change info's value to the sniper has left ONLY if the sniper has left there's something wrong, I don't know what it doesn't matter what I put in the if clause, even if I do if game.Players[sniper] then info.Value = "The Sniper has left!" what's wrong?
cntkillme
#141857082Monday, July 28, 2014 6:47 PM GMT

sniper is a string, right?
smiley599
#141857158Monday, July 28, 2014 6:48 PM GMT

where did you define the varible sniper
Falq
#141867682Monday, July 28, 2014 8:28 PM GMT

hi i'm the OP, just got a 14 day ban anyway First I insert every player into a table and randomly pick from the table (so I can give them extra chances to be picked, not just directly picking). Changing it to sniper.Name didn't help either.
smiley599
#141869951Monday, July 28, 2014 8:42 PM GMT

i would have sniper.Value but how r u banned when i can see ur pfile
super10099
#141870109Monday, July 28, 2014 8:43 PM GMT

wats OP
smiley599
#141870177Monday, July 28, 2014 8:44 PM GMT

original poster (guy who made thread)
super10099
#141870235Monday, July 28, 2014 8:44 PM GMT

k thx m8 will be usful
0_0
#141870278Monday, July 28, 2014 8:44 PM GMT

Original Poster
0_0
#141870380Monday, July 28, 2014 8:45 PM GMT

A bit late... ;/ xD
Falq
#141870642Monday, July 28, 2014 8:47 PM GMT

"but how r u banned when i can see ur pfile" well i logged in and it says "U R 14 DAY BANNDIED" I don't know why this won't work, I print(game.Players:FindFirstChild(sniper)) right before the if statement and after the start of the for loop true what the hell
Falq
#141872204Monday, July 28, 2014 8:58 PM GMT

i dont have my file open but here's how i think sniper's declared local players = {} for i, v in players(game.Players:GetPlayers()) do table.insert(players, v) if v:IsInGroup(1111) then table.insert(players, v) end end local sniper = players[math.random(#players)]
Alpha5001ALT
#141875592Monday, July 28, 2014 9:31 PM GMT

bump 4 help
smiley599
#141876632Monday, July 28, 2014 9:42 PM GMT

sniper is an object value
Falq
#141876790Monday, July 28, 2014 9:43 PM GMT

yes it is but sniper.Name isn't and that won't work either
Falq
#141885925Monday, July 28, 2014 11:10 PM GMT

apparently i just beat scripting helpers crap

    of     1