
KeylessUniversal

--// LOAD CONSOLE V4
--// EVERYONE CAN USE ALL COMMANDS
--// Prefix: Load:
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "LoadConsole"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
--------------------------------------------------
-- OPEN BUTTON
--------------------------------------------------
local openButton = Instance.new("TextButton")
openButton.Size = UDim2.new(0,48,0,48)
openButton.Position = UDim2.new(1,-58,0.5,-24)
openButton.BackgroundColor3 = Color3.fromRGB(35,35,35)
openButton.Text = ">"
openButton.TextColor3 = Color3.new(1,1,1)
openButton.TextSize = 25
openButton.Font = Enum.Font.GothamBold
openButton.Parent = gui
local openCorner = Instance.new("UICorner")
openCorner.CornerRadius = UDim.new(0,10)
openCorner.Parent = openButton
--------------------------------------------------
-- CONSOLE
--------------------------------------------------
local console = Instance.new("Frame")
console.Size = UDim2.new(0,430,0,350)
console.Position = UDim2.new(1,-440,0.5,-175)
console.BackgroundColor3 = Color3.fromRGB(18,18,18)
console.Visible = false
console.Parent = gui
local consoleCorner = Instance.new("UICorner")
consoleCorner.CornerRadius = UDim.new(0,12)
consoleCorner.Parent = console
--------------------------------------------------
-- TITLE
--------------------------------------------------
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,-50,0,42)
title.BackgroundTransparency = 1
title.Text = " LOAD CONSOLE V4"
title.TextColor3 = Color3.new(1,1,1)
title.TextSize = 18
title.Font = Enum.Font.GothamBold
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = console
--------------------------------------------------
-- CLOSE
--------------------------------------------------
local close = Instance.new("TextButton")
close.Size = UDim2.new(0,42,0,42)
close.Position = UDim2.new(1,-42,0,0)
close.BackgroundTransparency = 1
close.Text = "X"
close.TextColor3 = Color3.fromRGB(255,80,80)
close.TextSize = 18
close.Font = Enum.Font.GothamBold
close.Parent = console
--------------------------------------------------
-- OUTPUT
--------------------------------------------------
local output = Instance.new("ScrollingFrame")
output.Size = UDim2.new(1,-20,1,-105)
output.Position = UDim2.new(0,10,0,48)
output.BackgroundColor3 = Color3.fromRGB(8,8,8)
output.BorderSizePixel = 0
output.ScrollBarThickness = 5
output.CanvasSize = UDim2.new(0,0,0,0)
output.Parent = console
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0,3)
layout.Parent = output
local function log(text)
local line = Instance.new("TextLabel")
line.Size = UDim2.new(1,-10,0,23)
line.BackgroundTransparency = 1
line.Text = tostring(text)
line.TextColor3 = Color3.fromRGB(220,220,220)
line.TextSize = 14
line.Font = Enum.Font.Code
line.TextXAlignment = Enum.TextXAlignment.Left
line.Parent = output
task.wait()
output.CanvasSize = UDim2.new(
0,
0,
0,
layout.AbsoluteContentSize.Y + 10
)
output.CanvasPosition = Vector2.new(
0,
math.max(0,layout.AbsoluteContentSize.Y)
)
end
--------------------------------------------------
-- COMMAND BOX
--------------------------------------------------
local commandBox = Instance.new("TextBox")
commandBox.Size = UDim2.new(1,-80,0,42)
commandBox.Position = UDim2.new(0,10,1,-52)
commandBox.BackgroundColor3 = Color3.fromRGB(35,35,35)
commandBox.TextColor3 = Color3.new(1,1,1)
commandBox.PlaceholderText = "Load: command"
commandBox.Text = ""
commandBox.ClearTextOnFocus = false
commandBox.TextSize = 14
commandBox.Font = Enum.Font.Code
commandBox.Parent = console
local boxCorner = Instance.new("UICorner")
boxCorner.CornerRadius = UDim.new(0,8)
boxCorner.Parent = commandBox
--------------------------------------------------
-- RUN BUTTON
--------------------------------------------------
local run = Instance.new("TextButton")
run.Size = UDim2.new(0,60,0,42)
run.Position = UDim2.new(1,-70,1,-52)
run.BackgroundColor3 = Color3.fromRGB(50,120,255)
run.Text = "RUN"
run.TextColor3 = Color3.new(1,1,1)
run.TextSize = 13
run.Font = Enum.Font.GothamBold
run.Parent = console
local runCorner = Instance.new("UICorner")
runCorner.CornerRadius = UDim.new(0,8)
runCorner.Parent = run
--------------------------------------------------
-- COMMAND SYSTEM
--------------------------------------------------
local PREFIX = "load:"
local function getCharacter()
return player.Character or player.CharacterAdded:Wait()
end
local function getHumanoid()
return getCharacter():FindFirstChildOfClass("Humanoid")
end
local function executeCommand(raw)
local command = raw:match("^%s*(.-)%s*$")
-- PREFIX CHECK
if command:sub(1,#PREFIX):lower() ~= PREFIX then
log("ERROR: Use Load: before commands.")
return
end
command = command:sub(#PREFIX + 1)
command = command:match("^%s*(.-)%s*$")
local args = {}
for word in command:gmatch("%S+") do
table.insert(args,word)
end
local cmd = (args[1] or ""):lower()
--------------------------------------------------
-- HELP
--------------------------------------------------
if cmd == "help" then
log("===== LOAD COMMANDS =====")
log("Load: help")
log("Load: info")
log("Load: speed 50")
log("Load: jump 100")
log("Load: sit")
log("Load: unsit")
log("Load: heal")
log("Load: reset")
log("Load: coords")
log("Load: announce Hello")
log("Load: devhelp")
log("Load: clear")
--------------------------------------------------
-- INFO
--------------------------------------------------
elseif cmd == "info" then
log("Player: "..player.Name)
log("UserId: "..player.UserId)
log("Everyone has developer access.")
--------------------------------------------------
-- SPEED
--------------------------------------------------
elseif cmd == "speed" then
local amount = tonumber(args[2])
if amount then
local h = getHumanoid()
if h then
h.WalkSpeed = math.clamp(amount,0,100)
log("WalkSpeed set to "..amount)
end
else
log("Usage: Load: speed 50")
end
--------------------------------------------------
-- JUMP
--------------------------------------------------
elseif cmd == "jump" then
local amount = tonumber(args[2])
if amount then
local h = getHumanoid()
if h then
h.JumpPower = math.clamp(amount,0,150)
log("JumpPower set to "..amount)
end
else
log("Usage: Load: jump 100")
end
--------------------------------------------------
-- SIT
--------------------------------------------------
elseif cmd == "sit" then
local h = getHumanoid()
if h then
h.Sit = true
log("You are sitting.")
end
--------------------------------------------------
-- UNSIT
--------------------------------------------------
elseif cmd == "unsit" then
local h = getHumanoid()
if h then
h.Sit = false
log("You stood up.")
end
--------------------------------------------------
-- HEAL
--------------------------------------------------
elseif cmd == "heal" then
local h = getHumanoid()
if h then
h.Health = h.MaxHealth
log("You have been healed.")
end
--------------------------------------------------
-- RESET
--------------------------------------------------
elseif cmd == "reset" then
local h = getHumanoid()
if h then
h.Health = 0
log("Character reset.")
end
--------------------------------------------------
-- COORDS
--------------------------------------------------
elseif cmd == "coords" then
local root = getCharacter():FindFirstChild("HumanoidRootPart")
if root then
local p = root.Position
log(
"X: "..math.floor(p.X)..
" | Y: "..math.floor(p.Y)..
" | Z: "..math.floor(p.Z)
)
end
--------------------------------------------------
-- ANNOUNCE
--------------------------------------------------
elseif cmd == "announce" then
local message = table.concat(args," ",2)
if message == "" then
log("Usage: Load: announce Hello everyone")
else
log("[ANNOUNCEMENT] "..message)
end
--------------------------------------------------
-- DEVHELP
--------------------------------------------------
elseif cmd == "devhelp" then
log("===== DEVELOPER COMMANDS =====")
log("Load: announce TEXT")
log("Load: info")
log("Load: speed NUMBER")
log("Load: jump NUMBER")
log("Load: heal")
log("Load: reset")
log("Load: coords")
--------------------------------------------------
-- CLEAR
--------------------------------------------------
elseif cmd == "clear" then
for _,child in ipairs(output:GetChildren()) do
if child:IsA("TextLabel") then
child:Destroy()
end
end
--------------------------------------------------
-- UNKNOWN
--------------------------------------------------
else
log("Unknown command: "..cmd)
log("Type Load: help")
end
end
--------------------------------------------------
-- RUN
--------------------------------------------------
local function runCommand()
if commandBox.Text ~= "" then
log("> "..commandBox.Text)
executeCommand(commandBox.Text)
commandBox.Text = ""
end
end
run.MouseButton1Click:Connect(runCommand)
commandBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
runCommand()
end
end)
--------------------------------------------------
-- OPEN / CLOSE
--------------------------------------------------
openButton.MouseButton1Click:Connect(function()
console.Visible = true
openButton.Visible = false
end)
close.MouseButton1Click:Connect(function()
console.Visible = false
openButton.Visible = true
end)
--------------------------------------------------
-- STARTUP
--------------------------------------------------
log("LOAD Console V4 loaded!")
log("Everyone has access.")
log("Prefix: Load:")
log("Type Load: help")No comments yet for this script.



