Hello, I am relatively new to scripting. I understand how tables and for loops work and have stumbled upon the GetFriendsAsync function of Players.
I am trying to understand how I would utilize the function to gather friends of a particular player and potentially make an invitation reward system in the future. I was wondering if someone may provide me a quick explanation on how to use it.

4 comments
Try using UpdateAsync to avoid overwriting the data. What code do you have connected to the PlayerAdded event?
I feel like you may be setting the credits before you set the v.credits.Value
I have three different scripts that can change the value of the credits, one is time operated, one is from the actual maker of the credits which also loads what saved data you have, and the last one is in the post.
Comments irrelevant. Question abandoned. Question assumed for testing purposes. Question locked.