of     1   

fixylol
#182937256Wednesday, February 03, 2016 5:39 PM GMT

function AwardWinners() print("Awarding winners...") if #_G.winners > 0 then for i,v in pairs(_G.winners) do if v.PlayerGui.WinnerScript.Alive == true then v.leaderstats.Points.Value = v.leaderstats.Points.Value + 5 table.insert(winnernames,v.Name) end end MakeMessage(table.concat(winnernames,", ").." won!") else MakeMessage("Nobody won!") end end that function is supposed to pull values from a table called "_G.winners" (which has players as it's values), get the name of them, put the names on a seperate table called "winnernames", and make a message that says what the names of the players on that table were. but for some reason, even though there are values on winners, it just prints " won!". Number of times opinion has changed: A lot.
fixylol
#182937770Wednesday, February 03, 2016 5:55 PM GMT

help please, i have no idea why it's not working Number of times opinion has changed: A lot.
C_Sharper
#182938879Wednesday, February 03, 2016 6:29 PM GMT

Is FE enabled?
C_Sharper
#182938928Wednesday, February 03, 2016 6:30 PM GMT

Wait nevermind. I think you typo'd on this line if v.PlayerGui.WinnerScript.Alive == true then Shouldn't Alive be a boolvalue?
fixylol
#182938956Wednesday, February 03, 2016 6:31 PM GMT

"Alive" is a boolvalue. that part works, its just the part that adds values to "winnernames" that doesnt. Number of times opinion has changed: A lot.
C_Sharper
#182938981Wednesday, February 03, 2016 6:31 PM GMT

I don't get how that works. Should be if Alive.Value then '.Value'
LegendaryAccount
#182939015Wednesday, February 03, 2016 6:32 PM GMT

if v.PlayerGui.WinnerScript.Alive.Value == true then

    of     1