Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Table not reseting after getting event getting fired on server?

Asked by
imKlevi 94
3 years ago

Hello, i checked if this remote was firing and the table was not reseting, may anybody help me?

game.ReplicatedStorage.resetTable.OnServerEvent:Connect(function(player)
    print("Game Reset!")
    for index in pairs(blacklist) do
        blacklist[index] = nil
    end
end)

1 answer

Log in to vote
2
Answered by 3 years ago

I recommend setting blacklist to an empty table.

0
blacklist = {} ? imKlevi 94 — 3y
0
Yup. deeskaalstickman649 475 — 3y
0
ty imKlevi 94 — 3y
Ad

Answer this question