--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- GUI Setup
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "PurchasePrompt"
ScreenGui.ResetOnSpawn = false
ScreenGui.IgnoreGuiInset = true
ScreenGui.Parent = game.CoreGui
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 400, 0, 150)
Frame.Position = UDim2.new(0.5, -200, 0.5, -75)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BorderSizePixel = 0
Frame.Parent = ScreenGui
local TextLabel = Instance.new("TextLabel")
TextLabel.Size = UDim2.new(1, -20, 0, 100)
TextLabel.Position = UDim2.new(0, 10, 0, 10)
TextLabel.BackgroundTransparency = 1
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextScaled = true
TextLabel.Font = Enum.Font.SourceSansBold
TextLabel.Text = "Please purchase the script at:\nhttps://discord.com/invite/pWgT4qUcGj"
TextLabel.TextWrapped = true
TextLabel.Parent = Frame
local CopyButton = Instance.new("TextButton")
CopyButton.Size = UDim2.new(0.6, 0, 0, 30)
CopyButton.Position = UDim2.new(0.2, 0, 1, -40)
CopyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
CopyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CopyButton.Font = Enum.Font.SourceSansBold
CopyButton.Text = "Copy Invite"
CopyButton.TextScaled = true
CopyButton.Parent = Frame
-- Clipboard Function
CopyButton.MouseButton1Click:Connect(function()
if setclipboard then
setclipboard("https://discord.com/invite/pWgT4qUcGj")
CopyButton.Text = "Copied!"
wait(2)
CopyButton.Text = "Copy Invite"
else
CopyButton.Text = "Clipboard Failed"
end
end)
Comments
No comments yet
Be the first to share your thoughts!