Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Check for friends list?

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

player:IsFriendsWith(youruserId)

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

2 comments

0

Thanks :)

0

No problem!

This discussion is preserved as it was. New answers, comments, and votes are closed.