Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Rojhann GUI V1 - Organized 3-Column Buttons
- local player = game.Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- -- Avoid duplication
- if playerGui:FindFirstChild("RojhannGUI") then return end
- -- Create GUI
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "RojhannGUI"
- screenGui.ResetOnSpawn = false
- screenGui.Parent = playerGui
- -- Main Frame
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 600, 0, 400)
- mainFrame.Position = UDim2.new(0.5, -300, 0.5, -200)
- mainFrame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- mainFrame.BorderSizePixel = 0
- mainFrame.Active = true
- mainFrame.Draggable = true
- mainFrame.Name = "MainFrame"
- mainFrame.Parent = screenGui
- -- Rounded frame
- local frameCorner = Instance.new("UICorner")
- frameCorner.CornerRadius = UDim.new(0, 20)
- frameCorner.Parent = mainFrame
- -- Title Label
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Size = UDim2.new(1, 0, 0, 50)
- titleLabel.Position = UDim2.new(0, 0, 0, 0)
- titleLabel.BackgroundTransparency = 1
- titleLabel.Text = "Rojhann GUI V1"
- titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- titleLabel.TextScaled = true
- titleLabel.Font = Enum.Font.SourceSansBold
- titleLabel.Parent = mainFrame
- -- Create a rounded button
- local function createButton(text, posX, posY)
- local button = Instance.new("TextButton")
- button.Size = UDim2.new(0, 150, 0, 40)
- button.Position = UDim2.new(0, posX, 0, posY)
- button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- button.TextColor3 = Color3.fromRGB(255, 0, 0)
- button.Text = text
- button.TextScaled = true
- button.Font = Enum.Font.SourceSansBold
- button.Parent = mainFrame
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 10)
- corner.Parent = button
- return button
- end
- -- Column X positions
- local leftX = 40
- local middleX = 225
- local rightX = 410
- -- Y spacing
- local spacing = 60
- local startY = 70
- -- Create buttons in 3 columns
- createButton("Skybox", leftX, startY)
- createButton("Jumpscare", leftX, startY + spacing)
- createButton("Decal", middleX, startY)
- createButton("Particle", middleX, startY + spacing)
- createButton("Music", rightX, startY)
Advertisement
Add Comment
Please, Sign In to add comment