
KeylessUniversal

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
local flying = false
local noclip = false
local dJumpEnabled = false
local canDoubleJump = false
local speed = 50
local upPressed, downPressed = false, false
local bv, bg
-- // UI SETUP // --
local screenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
screenGui.Name = "CommandChatFly_Final_V18"
screenGui.ResetOnSpawn = false
-- The Top Bar (Trigger)
local topBar = Instance.new("TextButton", screenGui)
topBar.Size = UDim2.new(0, 380, 0, 50)
topBar.Position = UDim2.new(0.5, -190, 0, 10)
topBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
topBar.BorderSizePixel = 0
topBar.Text = "Type command /fly to fly and /unfly to stop fly."
topBar.TextColor3 = Color3.fromRGB(0, 0, 0)
topBar.Font = Enum.Font.SourceSansBold
topBar.TextSize = 16
topBar.Visible = false
-- // EASTER EGG MENU (CLEANED WITH KILL CMD) // --
local eggContainer = Instance.new("Frame", screenGui)
eggContainer.Size = UDim2.new(0, 450, 0, 320)
eggContainer.Position = UDim2.new(0.5, -225, 0.4, -160)
eggContainer.BackgroundTransparency = 1
eggContainer.Visible = false
local eggText = Instance.new("TextLabel", eggContainer)
eggText.Size = UDim2.new(1, 0, 1, 0)
eggText.BackgroundTransparency = 1
eggText.TextColor3 = Color3.fromRGB(0, 0, 0)
eggText.Font = Enum.Font.SourceSansBold
eggText.TextSize = 18
eggText.TextWrapped = true
eggText.TextStrokeTransparency = 0.8
eggText.Text = "Easter egg! 🥚:\nCommands Found:\n\n• /jump200 -> /unJumping\n• /speed200 -> /unSpeed\n• /noclip -> /unNoclip\n• /doubleJump -> /unDoubleJump\n\nIf /killCommandChatFly turn off"
local closeBtn = Instance.new("TextButton", eggContainer)
closeBtn.Size = UDim2.new(0, 35, 0, 35)
closeBtn.Position = UDim2.new(1, -35, 0, 0)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.Font = Enum.Font.SourceSansBold
-- // FLY BUTTONS // --
local btnContainer = Instance.new("Frame", screenGui)
btnContainer.Size = UDim2.new(0, 100, 0, 220)
btnContainer.Position = UDim2.new(1, -120, 0.5, -110)
btnContainer.BackgroundTransparency = 1
btnContainer.Visible = false
btnContainer.ZIndex = 10
local function createBtn(pos, text)
local b = Instance.new("TextButton", btnContainer)
b.Size = UDim2.new(0, 100, 0, 100)
b.Position = pos
b.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
b.Text = text
b.Font = Enum.Font.SourceSansBold
b.TextSize = 30
b.TextColor3 = Color3.fromRGB(0, 0, 0)
b.ZIndex = 11
return b
end
local upBtn = createBtn(UDim2.new(0, 0, 0, 0), "UP")
local downBtn = createBtn(UDim2.new(0, 0, 0, 110), "DOWN")
-- // NOCLIP LOGIC // --
local noclipConnection
noclipConnection = RunService.Stepped:Connect(function()
if noclip then
local char = LocalPlayer.Character
if char then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") and part.CanCollide then
part.CanCollide = false
end
end
end
end
end)
-- // DOUBLE JUMP LOGIC // --
local djConnection = UserInputService.JumpRequest:Connect(function()
if not dJumpEnabled then return end
local char = LocalPlayer.Character
local hum = char and char:FindFirstChildOfClass("Humanoid")
if hum and canDoubleJump then
canDoubleJump = false
hum:ChangeState(Enum.HumanoidStateType.Jumping)
end
end)
-- // INTRO // --
local introLabel = Instance.new("TextLabel", screenGui)
introLabel.Size = UDim2.new(1, 0, 0, 50)
introLabel.Position = UDim2.new(0, 0, 0.5, -25)
introLabel.BackgroundTransparency = 1
introLabel.Text = "the command chat fly"
introLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
introLabel.Font = Enum.Font.SourceSansBold
introLabel.TextSize = 40
introLabel.TextTransparency = 1
introLabel.TextStrokeTransparency = 1
task.spawn(function()
TweenService:Create(introLabel, TweenInfo.new(1), {TextTransparency = 0, TextStrokeTransparency = 0.5}):Play()
task.wait(3)
TweenService:Create(introLabel, TweenInfo.new(1), {TextTransparency = 1, TextStrokeTransparency = 1}):Play()
task.wait(1.1)
topBar.Visible = true
end)
-- // COMMANDS // --
LocalPlayer.Chatted:Connect(function(msg)
local cmd = msg:lower()
local char = LocalPlayer.Character
local hum = char and char:FindFirstChildOfClass("Humanoid")
if not hum then return end
if cmd == "/fly" then
flying = true
btnContainer.Visible = true
hum.PlatformStand = true
bg = Instance.new("BodyGyro", char.HumanoidRootPart)
bg.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
bv = Instance.new("BodyVelocity", char.HumanoidRootPart)
bv.MaxForce = Vector3.new(9e9, 9e9, 9e9)
task.spawn(function()
while flying and char.Parent do
RunService.RenderStepped:Wait()
bg.CFrame = workspace.CurrentCamera.CFrame
local yDir = (upPressed and speed or 0) + (downPressed and -speed or 0)
bv.Velocity = (hum.MoveDirection * speed) + Vector3.new(0, yDir, 0)
end
if bv then bv:Destroy() end
if bg then bg:Destroy() end
end)
elseif cmd == "/unfly" then flying = false btnContainer.Visible = false hum.PlatformStand = false
elseif cmd == "/noclip" then noclip = true
elseif cmd == "/unnoclip" then noclip = false
elseif cmd == "/doublejump" then
dJumpEnabled = true
hum.StateChanged:Connect(function(_, newState)
if newState == Enum.HumanoidStateType.Landed then canDoubleJump = false
elseif newState == Enum.HumanoidStateType.Freefall then canDoubleJump = true end
end)
elseif cmd == "/undoublejump" then dJumpEnabled = false
elseif cmd == "/jump200" then hum.JumpPower = 200
elseif cmd == "/speed200" then hum.WalkSpeed = 200
elseif cmd == "/unjumping" then hum.JumpPower = 50
elseif cmd == "/unspeed" then hum.WalkSpeed = 16
elseif cmd == "/killcommandchatfly" then
flying = false
noclip = false
dJumpEnabled = false
if noclipConnection then noclipConnection:Disconnect() end
if djConnection then djConnection:Disconnect() end
screenGui:Destroy()
end
end)
-- // INPUT BINDINGS // --
upBtn.MouseButton1Down:Connect(function() upPressed = true end)
upBtn.MouseButton1Up:Connect(function() upPressed = false end)
upBtn.MouseLeave:Connect(function() upPressed = false end)
downBtn.MouseButton1Down:Connect(function() downPressed = true end)
downBtn.MouseButton1Up:Connect(function() downPressed = false end)
downBtn.MouseLeave:Connect(function() downPressed = false end)
topBar.MouseButton1Click:Connect(function() eggContainer.Visible = true end)
closeBtn.MouseButton1Click:Connect(function() eggContainer.Visible = false end)



@beaulahbozeman What do you mean trt?