Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Function to create the GUI
- local function CreateGUI()
- local gui = Instance.new("ScreenGui")
- gui.Name = "QuanHubGUI"
- gui.Parent = game.Players.LocalPlayer.PlayerGui
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black background
- frame.Parent = gui
- local title = Instance.new("TextLabel")
- title.Text = "QUAN HUB"
- title.TextSize = 24
- title.Font = Enum.Font.SourceSansBold
- title.Size = UDim2.new(1, 0, 0, 50)
- title.TextColor3 = Color3.new(1, 1, 1) -- White text color
- title.Parent = frame
- local button1 = Instance.new("TextButton")
- button1.Text = "Quan Button 1"
- button1.Size = UDim2.new(0, 150, 0, 30)
- button1.Position = UDim2.new(0.5, -75, 0.5, -15)
- button1.Parent = frame
- button1.MouseButton1Click:Connect(function()
- -- Code to execute when Button 1 is pressed
- print("Setting up quan for Button 1...")
- loadstring(game:HttpGet('https://pastebin.com/raw/rC091nB4'))()
- end)
- end
- -- Call the function to create the GUI
- CreateGUI()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement