--[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] -- LocalScript (put in StarterPlayerScripts or StarterGui) local Players = game:GetService("Players") local StarterGui = game:GetService("StarterGui") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- YOUR Discord invite link local DISCORD_LINK = "https://discord.gg/mMs39yxHxS" -- Create the GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "DiscordLinkGui" screenGui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 280, 0, 90) frame.Position = UDim2.new(0, 20, 0, 20) frame.BackgroundColor3 = Color3.fromRGB(54, 57, 63) frame.BorderSizePixel = 0 frame.Parent = screenGui -- Add corner rounding local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = frame -- Discord text label local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.35, 0) title.Position = UDim2.new(0, 0, 0, 5) title.BackgroundTransparency = 1 title.Text = "Join My Discord!" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Parent = frame -- Link display local linkLabel = Instance.new("TextLabel") linkLabel.Size = UDim2.new(1, -20, 0.25, 0) linkLabel.Position = UDim2.new(0, 10, 0.38, 0) linkLabel.BackgroundTransparency = 1 linkLabel.Text = DISCORD_LINK linkLabel.TextColor3 = Color3.fromRGB(220, 220, 220) linkLabel.TextScaled = true linkLabel.Font = Enum.Font.Gotham linkLabel.TextXAlignment = Enum.TextXAlignment.Left linkLabel.Parent = frame -- Copy button local copyButton = Instance.new("TextButton") copyButton.Size = UDim2.new(0.9, 0, 0.32, 0) copyButton.Position = UDim2.new(0.05, 0, 0.65, 0) copyButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) copyButton.Text = "📋 Copy Link" copyButton.TextColor3 = Color3.fromRGB(255, 255, 255) copyButton.TextScaled = true copyButton.Font = Enum.Font.GothamBold copyButton.Parent = frame local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 8) buttonCorner.Parent = copyButton -- Hover effects local hoverTween = TweenService:Create( copyButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(70, 82, 200)} ) local unhoverTween = TweenService:Create( copyButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(88, 101, 242)} ) copyButton.MouseEnter:Connect(function() hoverTween:Play() end) copyButton.MouseLeave:Connect(function() unhoverTween:Play() end) -- Copy function copyButton.MouseButton1Click:Connect(function() setclipboard(DISCORD_LINK) copyButton.Text = "✅ Copied!" copyButton.BackgroundColor3 = Color3.fromRGB(46, 160, 67) wait(1.5) copyButton.Text = "📋 Copy Link" copyButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) end)