It doesn't specify which function, so but here i got the only two possible functions causing this problem.
local function addPlayer(addedPlayer)
table.insert(queque, addedPlayer)
end
------------------------------------------------------------
local function removePlayer(player)
for i,l in pairs(queque)do
if l.addedPlayer == player then
table.remove(queque, i)
end
end
end

1 comment
Yep, my code works, but this kinda confuses one.