
4.1k Views
306 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Sending Friends Request to all players
local plrs = game:GetService("Players")
local sg = game:GetService("StarterGui")
local lp = plrs.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "InviteAllGUI"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.Parent = lp:WaitForChild("PlayerGui")
local fr = Instance.new("Frame")
fr.Name = "Panel"
fr.Size = UDim2.fromOffset(260, 120)
fr.AnchorPoint = Vector2.new(1, 1)
fr.Position = UDim2.new(1, -20, 1, -20)
fr.BackgroundColor3 = Color3.fromRGB(24, 26, 32)
fr.BorderSizePixel = 0
fr.Parent = gui
local uiCorner = Instance.new("UICorner", fr)
uiCorner.CornerRadius = UDim.new(0, 14)
local stroke = Instance.new("UIStroke", fr)
stroke.Thickness = 1
stroke.Color = Color3.fromRGB(60, 68, 80)
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
local title = Instance.new("TextLabel")
title.BackgroundTransparency = 1
title.Size = UDim2.new(1, -20, 0, 28)
title.Position = UDim2.fromOffset(10, 8)
title.Text = "Friends Utility"
title.Font = Enum.Font.GothamBold
title.TextSize = 16
title.TextColor3 = Color3.fromRGB(235, 240, 255)
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = fr
local btn = Instance.new("TextButton")










doesn't work