here is the script
a = true
b = {}
c = {}
highest = 0
while a == true do
wait (1)
for _, player in pairs(game.Players:GetPlayers()) do
if player.DataReady == true then
PlayerName = player.Name
local survived=player:LoadNumber("SurvivedTotal") or 0
table.insert(b,player)
table.insert(c,survived)
d = 0
for i,v in pairs(c)do
d = d+1
wait()
if v > highest then
highest = v
end
end
script.parent.Text = (b[d]..": "..c[d])
print (c[d])
print (d)
d = 0
script.parent.Text = (PlayerName..": "..survived)
end
d = 0
end
b = {}
c = {}
end
the output is:
(DIR).Script23: Attempt to concentrate field `?` (a userdata value)

1 comment
pls wat is this