DataStoreService Error

So I finished my DataStoreService script, but I got a couple errors, and I want to see what was/were the errors that I commited, and that with your help :grin:. I tried so far searching on Youtube, and google.I did not found something, so heres my code:

If you can tell me whats wrong here I will be so grateful to you :slightly_smiling_face:

You have a typo!!
Line 18 you have a capital S.
GetASync should be GetAsync

Tiny, I know. But enough to yell at you and break code!
Same with your SetAsync on line 36.

2 Likes

no don’t do this, this causes memory leaks and shouldn’t be encouraged

1 Like

That’s my bad I was not aware, usually all my parts are just cloned from replicated storage