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

Understanding GetFriendsAsync of Players Service, How Would It Be Used? [closed]

Asked by
M39a9am3R 3210 Moderation Voter Community Moderator
10 years ago
Edited 7 years ago

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.

0
Try using UpdateAsync to avoid overwriting the data. What code do you have connected to the PlayerAdded event? adark 5487 — 10y
0
I feel like you may be setting the credits before you set the v.credits.Value PiggyJingles 358 — 10y
0
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. M39a9am3R 3210 — 10y
0
Comments irrelevant. Question abandoned. Question assumed for testing purposes. Question locked. M39a9am3R 3210 — 8y

Locked by M39a9am3R

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?