but it doesn’t seem to work. It doesn’t error, nor does it do anything. Is there a callback for this? If I can suggest one to be added I’d love to have one added as Player:GetFriendsOnline() caches and I won’t be able to update my UI.
From the roblox wiki you can see that it requires you to pass through so it prompts them, this however does not have an option where you can check if the event is being fired.
As you can see the only type is Player, where as for ResetButtonCallBack accepts to ways, one of which you can listen to the event be fired and execute a function:
No, there are no callback options. You can only use SetCore to send a friend request but you can’t control the behavior of buttons. PromptSendFriendRequest only accepts a player argument. Remove the function value and you’re good to go.