-- Decompiled with the Synapse X Luau decompiler.


local l__Parent__1 = script.Parent;
local l__SocialService__1 = game:GetService("SocialService");
local l__LocalPlayer__2 = game.Players.LocalPlayer;
function onButtonPressed()
	local v2, v3 = pcall(function()
		return l__SocialService__1:CanSendGameInviteAsync(l__LocalPlayer__2);
	end);
	if v3 == true then
		l__SocialService__1:PromptGameInvite(l__LocalPlayer__2);
	end;
end;
l__Parent__1.MouseButton1Click:Connect(onButtonPressed);
l__Parent__1.TouchTap:Connect(onButtonPressed);
