Can you print something after the setasync? I’ve never had this happen to me before.
i printed allsave before the pcall also
Can you print something after the setasync? It shouldn’t take very long for it to attempt to save so…
hm it doesnt print “pcall ended”
Oh shoot. Can you do tostring(plr.UserId) instead of just plr.UserId?
same thing happens even when i do that
Can I see your code? Are there any errors?
There is no errors and the code is at the top
I meant with the tostring() also can you send the output.
the output is up here if you scroll up a bit the output is the same
With the tostring applied to the player id.
the output is same either way i dont think tostring affects it
Iirc playerid is a number and you can’t concatenate a number with string directly.
Edit: dumb autocorrect
still, nothing changes still doesnt print anything after pcall
encode your table with HttpService
then decode it when getting the data
game.Players.PlayerRemoving:Connect(function(plr)
print("Left.")
save(plr)
end)
game:BindToClose(function()
for i, plr in pairs(game.Players:GetPlayers()) do
save(plr)
end
end)
i fixed it by doing this - but sometimes its not running script because past shutdown
The code is not saving the data whatsoever also I’m pretty sure his table is empty. Not sure why it’s not giving the table in a readable format.
the table isnt empty + read the code i gave and what i said