-- https://discord.gg/PAZZ5652eQ local screenGui = Instance.new("ScreenGui") screenGui.Name = "DiscordUI" screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") screenGui.ResetOnSpawn = false local frame = Instance.new("Frame") frame.Name = "MainFrame" frame.Size = UDim2.new(0, 300, 0, 150) frame.Position = UDim2.new(0.5, -150, 0.5, -75) frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = frame local titleText = Instance.new("TextLabel") titleText.Name = "TitleText" titleText.Size = UDim2.new(1, 0, 0, 40) titleText.Position = UDim2.new(0, 0, 0, 15) titleText.BackgroundTransparency = 1 titleText.Text = "Join server for script" titleText.TextColor3 = Color3.fromRGB(255, 255, 255) titleText.Font = Enum.Font.GothamBold titleText.TextSize = 22 titleText.Parent = frame local linkText = Instance.new("TextLabel") linkText.Name = "LinkText" linkText.Size = UDim2.new(1, 0, 0, 40) linkText.Position = UDim2.new(0, 0, 0, 55) linkText.BackgroundTransparency = 1 linkText.Text = "https://discord.gg/PAZZ5652eQ" linkText.TextColor3 = Color3.fromRGB(255, 255, 255) linkText.Font = Enum.Font.Gotham linkText.TextSize = 16 linkText.Parent = frame local clickText = Instance.new("TextLabel") clickText.Name = "ClickText" clickText.Size = UDim2.new(1, 0, 0, 25) clickText.Position = UDim2.new(0, 0, 0, 95) clickText.BackgroundTransparency = 1 clickText.Text = "Click to copy" clickText.TextColor3 = Color3.fromRGB(255, 255, 255) clickText.Font = Enum.Font.Gotham clickText.TextSize = 14 clickText.Parent = frame local button = Instance.new("TextButton") button.Name = "CopyButton" button.Size = UDim2.new(1, 0, 1, 0) button.BackgroundTransparency = 1 button.Text = "" button.Parent = frame button.MouseButton1Click:Connect(function() local textToCopy = "https://discord.gg/PAZZ5652eQ" if pcall(function() setclipboard(textToCopy) end) then clickText.Text = "Copied" clickText.TextColor3 = Color3.fromRGB(255, 255, 255) wait(1) clickText.Text = "Click to copy" clickText.TextColor3 = Color3.fromRGB(255, 255, 255) end end) button.MouseEnter:Connect(function() frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) end) button.MouseLeave:Connect(function() frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) end) wait(10) if screenGui then screenGui:Destroy() end