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

Check for friends list?

Asked by 9 years ago

Whats the thing that you can check if there on your friends list? As you can see in this block of code I made omey a acceptable answer but can I just make anyone on my friends list acceptable. I know theres a way I just can't find it. Thanks

if script.Parent.Parent.TextBox.Text:lower()=="omeybabyface" then
        Par.Level.Value=Par.Level.Value+1

1 answer

Log in to vote
1
Answered by
SanityMan 239 Moderation Voter
9 years ago
player:IsFriendsWith(youruserId)

Also, instead of putting your raw userid, if you are the owner of the place, you can do game.CreatorId.

0
Thanks :) GetSporked 5 — 9y
0
No problem! SanityMan 239 — 9y
Ad

Answer this question