Hi, I made a button that prompts the invite friends GUI, although I would like to make it so that, once a player has invited one of their friends, they earn 5 Points. This is the code I have right now. How should I modify it so it adds 5 Points?
local button = script.Parent
local SocialService = game:GetService("SocialService")
local player = game.Players.LocalPlayer