
Key Required

local invite = "https://discord.gg/bH7XWN3bkX"
local gui = Instance.new("ScreenGui")
gui.Name = "AspectHub"
gui.Parent = game:GetService("CoreGui")
gui.ResetOnSpawn = false
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0,320,0,190)
frame.Position = UDim2.new(0.5,-160,0.5,-95)
frame.BackgroundColor3 = Color3.fromRGB(25,25,25)
local title = Instance.new("TextLabel")
title.Parent = frame
title.Size = UDim2.new(1,0,0,40)
title.BackgroundTransparency = 1
title.Text = "AspectHub"
title.TextScaled = true
title.TextColor3 = Color3.new(1,1,1)
local subtitle = Instance.new("TextLabel")
subtitle.Parent = frame
subtitle.Size = UDim2.new(1,-20,0,35)
subtitle.Position = UDim2.new(0,10,0,45)
subtitle.BackgroundTransparency = 1
subtitle.Text = "Join our Discord for key"
subtitle.TextScaled = true
subtitle.TextColor3 = Color3.fromRGB(200,200,200)
local join = Instance.new("TextButton")
join.Parent = frame
join.Size = UDim2.new(0.8,0,0,45)
join.Position = UDim2.new(0.1,0,0.6,0)
join.Text = "Join Discord"
join.TextScaled = true
local close = Instance.new("TextButton")
close.Parent = frame
close.Size = UDim2.new(0,25,0,25)
close.Position = UDim2.new(1,-30,0,5)
close.Text = "X"
join.MouseButton1Click:Connect(function()
-- Try opening browser/Safari
if openurl then
openurl(invite)
elseif openUrl then
openUrl(invite)
else
-- Fallback if browser opening isn't supported
setclipboard(invite)
game:GetService("StarterGui"):SetCore(
"SendNotification",
{
Title = "AspectHub",
Text = "Invite copied to clipboard",
Duration = 5
}
)
end
end)
close.MouseButton1Click:Connect(function()
gui:Destroy()
end)No comments yet for this script.



