I tryed find tutorials on yt and nothing And idk how to make it. Thx
✓ ANSWER ACCEPTED
How to make invite reward or something?? Or friend joined game :D
1 answer
✓ Accepted answer
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Players.PlayerAdded:Connect(function(Player2)
if Player:IsFriendsWith(Player2.UserId) then
-- Put the reward yourself
end
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
