local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "DonationPopup" screenGui.Parent = playerGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 450, 0, 400) mainFrame.Position = UDim2.new(0.5, -225, 0.5, -200) mainFrame.AnchorPoint = Vector2.new(0.5, 0.5) mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 16) corner.Parent = mainFrame local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(35, 35, 40)), ColorSequenceKeypoint.new(1, Color3.fromRGB(25, 25, 30)) }) gradient.Rotation = 45 gradient.Parent = mainFrame local glow = Instance.new("UIStroke") glow.Color = Color3.fromRGB(100, 100, 255) glow.Thickness = 3 glow.Transparency = 0.7 glow.Parent = mainFrame -- Close button local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.new(0, 32, 0, 32) closeButton.Position = UDim2.new(1, -36, 0, 8) closeButton.BackgroundColor3 = Color3.fromRGB(60, 60, 70) closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.Text = "×" closeButton.Font = Enum.Font.GothamBold closeButton.TextSize = 24 closeButton.Parent = mainFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 16) closeCorner.Parent = closeButton local helloText = Instance.new("TextLabel") helloText.Size = UDim2.new(1, 0, 0, 60) helloText.Position = UDim2.new(0, 0, 0, 30) helloText.BackgroundTransparency = 1 helloText.Text = "HELLO" helloText.TextColor3 = Color3.fromRGB(255, 255, 255) helloText.Font = Enum.Font.GothamBlack helloText.TextSize = 42 helloText.TextScaled = false helloText.TextXAlignment = Enum.TextXAlignment.Center helloText.Parent = mainFrame local descText = Instance.new("TextLabel") descText.Size = UDim2.new(1, -40, 0, 140) descText.Position = UDim2.new(0.5, 0, 0, 100) descText.AnchorPoint = Vector2.new(0.5, 0) descText.BackgroundTransparency = 1 descText.Text = "hi so i WAS gonna make the script inside of roblox but due to issues (i didnt feel like writing a api) i decided to make it a discord bot DONT WORRY ITS FREE I SWEAR" descText.TextColor3 = Color3.fromRGB(200, 200, 200) descText.Font = Enum.Font.Gotham descText.TextSize = 14 descText.TextWrapped = true descText.TextXAlignment = Enum.TextXAlignment.Center descText.Parent = mainFrame local donationText = Instance.new("TextLabel") donationText.Size = UDim2.new(1, -40, 0, 50) donationText.Position = UDim2.new(0.5, 0, 0, 250) donationText.AnchorPoint = Vector2.new(0.5, 0) donationText.BackgroundTransparency = 1 donationText.Text = "the servers cost me 5 bucks a month so i'd appreciate it if you perchance donated" donationText.TextColor3 = Color3.fromRGB(255, 215, 100) donationText.Font = Enum.Font.GothamMedium donationText.TextSize = 14 donationText.TextWrapped = true donationText.TextXAlignment = Enum.TextXAlignment.Center donationText.Parent = mainFrame local joinButton = Instance.new("TextButton") joinButton.Size = UDim2.new(0, 200, 0, 45) joinButton.Position = UDim2.new(0.5, 0, 0.9, 0) joinButton.AnchorPoint = Vector2.new(0.5, 0.5) joinButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) joinButton.TextColor3 = Color3.fromRGB(255, 255, 255) joinButton.Text = "JOIN DISCORD" joinButton.Font = Enum.Font.GothamBold joinButton.TextSize = 18 joinButton.Parent = mainFrame local joinCorner = Instance.new("UICorner") joinCorner.CornerRadius = UDim.new(0, 10) joinCorner.Parent = joinButton joinButton.MouseEnter:Connect(function() joinButton.BackgroundColor3 = Color3.fromRGB(108, 121, 262) end) joinButton.MouseLeave:Connect(function() joinButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) end) closeButton.MouseEnter:Connect(function() closeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 90) end) closeButton.MouseLeave:Connect(function() closeButton.BackgroundColor3 = Color3.fromRGB(60, 60, 70) end) closeButton.MouseButton1Click:Connect(function() screenGui:Destroy() end) joinButton.MouseButton1Click:Connect(function() local discordInvite = "https://discord.gg/CJjBkbJR32" local success, result = pcall(function() if setclipboard then setclipboard(discordInvite) end end) game:GetService("StarterGui"):SetCore("SendNotification", { Title = "thanks", Text = "the thing got copied to ur clipboard twin!", Duration = 5 }) end) local dragging = false local dragInput local dragStart local startPos local function update(input) local delta = input.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end mainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) mainFrame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end)