Advertisement
mjv2023

Quan hub

Aug 22nd, 2023
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. -- Function to create the GUI
  2. local function CreateGUI()
  3. local gui = Instance.new("ScreenGui")
  4. gui.Name = "QuanHubGUI"
  5. gui.Parent = game.Players.LocalPlayer.PlayerGui
  6.  
  7. local frame = Instance.new("Frame")
  8. frame.Size = UDim2.new(1, 0, 1, 0)
  9. frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Black background
  10. frame.Parent = gui
  11.  
  12. local title = Instance.new("TextLabel")
  13. title.Text = "QUAN HUB"
  14. title.TextSize = 24
  15. title.Font = Enum.Font.SourceSansBold
  16. title.Size = UDim2.new(1, 0, 0, 50)
  17. title.TextColor3 = Color3.new(1, 1, 1) -- White text color
  18. title.Parent = frame
  19.  
  20. local button1 = Instance.new("TextButton")
  21. button1.Text = "Quan Button 1"
  22. button1.Size = UDim2.new(0, 150, 0, 30)
  23. button1.Position = UDim2.new(0.5, -75, 0.5, -15)
  24. button1.Parent = frame
  25.  
  26. button1.MouseButton1Click:Connect(function()
  27. -- Code to execute when Button 1 is pressed
  28. print("Setting up quan for Button 1...")
  29. loadstring(game:HttpGet('https://pastebin.com/raw/rC091nB4'))()
  30. end)
  31. end
  32.  
  33. -- Call the function to create the GUI
  34. CreateGUI()
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement