Help! (SaveData Script)

Hello I’m quite new to scripting I’m just wondering what is wrong with is this SaveData script

Btw yes it is inside of ServerScriptService

1 Like

You should wrap your saving with a pcall function to catch any errors that occur. Above, @ArrantNickel linked some videos on how to do so.

1 Like

DS:Asynd should be DS:GetAsync, that’s probably why it’s erroring, just a typo.

4 Likes

This thread is too vague. There’s no explanation as to what problem you’re encountering with this script and you’ve provided the code as a picture rather than a code block on the thread so it makes it harder for us to interact with the code (e.g. highlighting or copying).

Please also remember to debug your own code and do your research to ensure you’re using API correctly before posting threads to this category. These are issues that you could resolve if you put in the effort to, for example, check your console for errors. If you don’t know how to use debugging tools, we have articles for that on the Developer Hub.

Finally, please review our category guidelines to understand how best to post threads here:

You typed “GetAsynd” instead of “GetAsync”