Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I save Player Data?

Asked by 7 years ago

Hey guys, I am creating a Tycoon. I want it to save the player data. This is like Blood Moon Tycoon. When a player walks into his/her Tycoon it automatically saves the progress. Creating this is so difficult. I created a few of these questions and only got a Wiki Page. I used the Scripting Helpers page, this still didn't work. My main problem is the DataStoreService. According to the instructions of this website, I have to load it in. How? I just want a script and instruction on where to put it. This is so confusing! Any ideas. If you are going to give me a link, give me one that shows how to do this for a begginer. For example if it says "Load the DataStoreServices", can you give me a link that explains how. Thanks Jetlikesferraris

1 answer

Log in to vote
0
Answered by 7 years ago

You may need to enable DataStore access: https://scriptinghelpers.org/questions/11222/not-able-to-access-datastore-from-studio

Otherwise, it's already "loaded", you just need to access it via game:GetService("DataStoreService"), as shown in various examples. Crazycat's links is good: http://wiki.roblox.com/index.php?title=Saving_Player_Data

Ad

Answer this question