Advertisement
Cakey3101

InviteFriends - Tutorial

May 26th, 2024
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | Source Code | 0 0
  1. local Players = game:GetService("Players")
  2. local SocialService = game:GetService("SocialService")
  3.  
  4. script.Parent.Button.MouseButton1Click:Connect(function()
  5.     SocialService:PromptGameInvite(Players.LocalPlayer)
  6. end)
Tags: lua
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement