Datastore Script not working

very weird, i’ll look into it another time

Probably because the game shuts down before it saves. This is well explained in the solution to the post I linked. I am assuming this because @Arthur_Grandwell tested it and it worked. Make the game public and try it on roblox. Let me know if I have misunderstood though please.

I think he has Enable Studio Access to API Services disabled.

i have it enabled, don’t worry

https://www.roblox.com/games/8293431748/Private-USB-Dev-place

Here you go

I think it was on friends only, i’ve made it private and public again

I would reccomend creating leaderstats in a seperate script, personally. Try this tutorial, it worked well for me. ROBLOX Studio Leaderstats with Data Store Tutorial - YouTube

Please give him a propper reason as to why you should do that?

It is super unnecessary and if you want to efficiently save data you should use UpdateAsync()

Edit 1: you only need like 100 lines for a good datastore system so?

It makes the code less long and easier to read?