Guest

AMIR X HUB

Feb 22nd, 2026
6
0
Never
Not a member of gistpad yet? Sign Up, it unlocks many cool features!
None 3.89 KB | None | 0 0
  1. -- AMIR X HUB BIG MENU
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Title = Instance.new("TextLabel")
  6. local Close = Instance.new("TextButton")
  7. local Minimize = Instance.new("TextButton")
  8.  
  9. ScreenGui.Parent = game.CoreGui
  10.  
  11. -- القائمة الرئيسية
  12. Frame.Parent = ScreenGui
  13. Frame.Size = UDim2.new(0,400,0,250)
  14. Frame.Position = UDim2.new(0.5,-200,0.5,-125)
  15. Frame.BackgroundColor3 = Color3.fromRGB(40,0,80)
  16. Frame.Active = true
  17. Frame.Draggable = true
  18.  
  19. -- العنوان
  20. Title.Parent = Frame
  21. Title.Size = UDim2.new(1,0,0,40)
  22. Title.BackgroundColor3 = Color3.fromRGB(80,0,150)
  23. Title.Text = "AMIR X HUB"
  24. Title.TextColor3 = Color3.new(1,1,1)
  25. Title.TextScaled = true
  26.  
  27. -- زر الإغلاق
  28. Close.Parent = Frame
  29. Close.Size = UDim2.new(0,40,0,40)
  30. Close.Position = UDim2.new(1,-40,0,0)
  31. Close.Text = "X"
  32. Close.BackgroundColor3 = Color3.fromRGB(200,0,0)
  33.  
  34. Close.MouseButton1Click:Connect(function()
  35. ScreenGui:Destroy()
  36. end)
  37.  
  38. -- زر التصغير
  39. Minimize.Parent = Frame
  40. Minimize.Size = UDim2.new(0,40,0,40)
  41. Minimize.Position = UDim2.new(1,-80,0,0)
  42. Minimize.Text = "-"
  43. Minimize.BackgroundColor3 = Color3.fromRGB(0,120,255)
  44.  
  45. local minimized = false
  46.  
  47. Minimize.MouseButton1Click:Connect(function()
  48. if minimized then
  49. Frame.Size = UDim2.new(0,400,0,250)
  50. minimized = false
  51. else
  52. Frame.Size = UDim2.new(0,400,0,40)
  53. minimized = true
  54. end
  55. end)
RAW Gist Data Copied