The Goal
I need to give the people who survived in a minigame points
How do I do this? Like this?
for _,v in next,alivePlayers do
local leaderstats = v:FindFirstChild("leaderstats")
local score = leaderstats:FindFirstChild("Points")
score.Value = +15
end
Tell me if this is right or wrong. Thanks for your service!
Head of The AWESOME Gamers Group
PickUpTheBeat1

5 comments
Thanks dude.
I'm not right. I tested it and and error said: 17:54:49.111 - Workspace.Script:41: bad argument #1 to '(for generator)' (table expected, got nil)
Send me entire script, I will have a look. I expect it will be a syntax error in your script, since nothing in mine are wrong.
Dude, solved it already! Got it!
Good for you :)