Not a member of gistpad yet?
Sign Up,
it unlocks many cool features!
- -- AMIR X HUB BIG MENU
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Minimize = Instance.new("TextButton")
- ScreenGui.Parent = game.CoreGui
- -- القائمة الرئيسية
- Frame.Parent = ScreenGui
- Frame.Size = UDim2.new(0,400,0,250)
- Frame.Position = UDim2.new(0.5,-200,0.5,-125)
- Frame.BackgroundColor3 = Color3.fromRGB(40,0,80)
- Frame.Active = true
- Frame.Draggable = true
- -- العنوان
- Title.Parent = Frame
- Title.Size = UDim2.new(1,0,0,40)
- Title.BackgroundColor3 = Color3.fromRGB(80,0,150)
- Title.Text = "AMIR X HUB"
- Title.TextColor3 = Color3.new(1,1,1)
- Title.TextScaled = true
- -- زر الإغلاق
- Close.Parent = Frame
- Close.Size = UDim2.new(0,40,0,40)
- Close.Position = UDim2.new(1,-40,0,0)
- Close.Text = "X"
- Close.BackgroundColor3 = Color3.fromRGB(200,0,0)
- Close.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
- -- زر التصغير
- Minimize.Parent = Frame
- Minimize.Size = UDim2.new(0,40,0,40)
- Minimize.Position = UDim2.new(1,-80,0,0)
- Minimize.Text = "-"
- Minimize.BackgroundColor3 = Color3.fromRGB(0,120,255)
- local minimized = false
- Minimize.MouseButton1Click:Connect(function()
- if minimized then
- Frame.Size = UDim2.new(0,400,0,250)
- minimized = false
- else
- Frame.Size = UDim2.new(0,400,0,40)
- minimized = true
- end
- end)
RAW Gist Data
Copied
