Hello, I’m trying to figure out how to make a prompt appear in my Obby, Using the same system that recently came out that allows people to ask if a player wants to enable notifications, Instead of enabling notifications I want it to ask the player if they want to add the game to there favorites and if they click yes then it does so.
1 Like
You can do this by making use of the PromptSetFavorite method of AvatarEditorService. Although it is meant for avatar items, it should work with games still:
game:GetService("AvatarEditorService"):PromptSetFavorite(game.PlaceId, 1, true)
(this must be in a local script)
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.