DataStoring Problem

And btw I can’t do the PCALL function cuz it kicked me from the game

And I already have a script that saves and calls the pcall function

pcall(function()
savedData = DataStore:GetAsync(ID)
end)

Ohhh my bad. I misread the use of your bind to close. I don’t believe it has any affect on your datastore, but it could kick the player before the data could save.

Anyways, the reason is because you are writing to the same key 2 times in a row. You should be saving a table instead, or have two different keys, but that’d be more of a hassle. With a table you can store multiple values under the same key.

Is there a way to do that or what

Yes there is. You can look at this to see how you could structure a datastore to save a table. Datastore with tables - #6 by ReturnedTrue