Would this be a good use for _G tables?
_G.info = {
maxPings = 250
}
_G.players = {}
_G.gamepasses = {}
_G.products = {}
_G.sounds = {}
game:GetService("Players").PlayerAdded:connect(function(plr)
local dced,x = false,0
repeat
wait() x = x + 1
if x == _G.playerstab["maxPings"] then dced = true break end
until plr.Character ~= nil
if dced == false then
table.insert(_G.playerstab,plr)
end
dced = false
end)
|