RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a admin gui that works"
-- local script (StarterGUI) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local adminGui = Instance.new("Frame", screenGui) adminGui.BackgroundColor3 = Color3.fromRGB(0, 0, 0) adminGui.Size = UDim2.new(0.25, 0, 0.25, 0) adminGui.Position = UDim2.new(0.375, 0, 0.375, 0) local titleLabel = Instance.new("TextLabel", adminGui) titleLabel.Text = "Admin GUI" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) titleLabel.Size = UDim2.new(1, 0, 0.2, 0) local commandBox = Instance.new("TextBox", adminGui) commandBox.PlaceholderText = "Enter command here" commandBox.TextColor3 = Color3.fromRGB(255, 255, 255) commandBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) commandBox.Size = UDim2.new(0.8, 0, 0.2, 0) commandBox.Position = UDim2.new(0.1, 0, 0.3, 0) local submitButton = Instance.new("TextButton", adminGui) submitButton.Text = "Submit" submitButton.TextColor3 = Color3.fromRGB(255, 255, 255) submitButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) submitButton.Size = UDim2.new(0.8, 0, 0.2, 0) submitButton.Position = UDim2.new(0.1, 0, 0.6, 0) -- Note: This is a basic admin GUI layout. You will need to add your own admin command handling system to make it functional.