Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
UIS = :()
RunService = :()
Lighting = :()
flying =
noclip =
fullbright =
clearFog =
speeds = {, , , }
speedIndex =
currentSpeed = speeds[speedIndex]
keys = {W=, A=, S=, D=, Up=, Down=}
char, root
bodyVel = .()
bodyVel.MaxForce = .(, , )
bodyVel.P =
()
char = player.Character player.CharacterAdded:()
root = char:()
()
()
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player:()
panel = .()
panel.Size = .(, , , )
panel.Position = .(, , , )
panel.BackgroundColor3 = .(, , )
panel.BorderSizePixel =
panel.ClipsDescendants =
panel.Parent = gui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = panel
layout = .()
layout.Padding = .(, )
layout.HorizontalAlignment = .HorizontalAlignment.Center
layout.VerticalAlignment = .VerticalAlignment.Top
layout.Parent = panel
(text)
btn = .()
btn.Size = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.TextColor3 = .(, , )
btn.Font = .Font.GothamBold
btn.TextSize =
btn.Text = text
btn.AutoButtonColor =
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
hover = .()
hover.Thickness =
hover.Color = .(, , )
hover.Parent = btn
btn.MouseEnter:(() hover.Thickness = )
btn.MouseLeave:(() hover.Thickness = )
btn
toggleBtn = ()
toggleBtn.Size = .(, , , )
toggleBtn.TextSize =
toggleBtn.BackgroundColor3 = .(, , )
toggleBtn.Parent = panel
flyBtn = ()
flyBtn.Parent = panel
noclipBtn = ()
noclipBtn.Parent = panel
speedBtn = ()
speedBtn.Parent = panel
colorBtn = ()
colorBtn.Parent = panel
fullbrightBtn = ()
fullbrightBtn.Parent = panel
clearFogBtn = ()
clearFogBtn.Parent = panel
rejoinBtn = ()
rejoinBtn.Parent = panel
panel, toggleBtn, flyBtn, noclipBtn, speedBtn, colorBtn, fullbrightBtn, clearFogBtn, rejoinBtn
panel, toggleBtn, flyBtn, noclipBtn, speedBtn, colorBtn, fullbrightBtn, clearFogBtn, rejoinBtn = ()
dragStart
dragInput
dragStartPos
dragging =
(input)
dragStart = input.Position
dragStartPos = panel.Position
dragging =
(input)
dragging
delta = input.Position - dragStart
panel.Position = .(, dragStartPos.X.Offset + delta.X, , dragStartPos.Y.Offset + delta.Y)
()
dragging =
panel.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
(input)
)
panel.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
(input)
)
panel.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
()
)
collapsed =
toggleBtn.MouseButton1Click:(()
collapsed = collapsed
_, child (panel:())
child:() child ~= toggleBtn
child.Visible = collapsed
panel.Size = collapsed .(, , , ) .(, , , )
toggleBtn.Text = collapsed
)
flyBtn.MouseButton1Click:(()
root
flying = flying
flyBtn.Text = flying
bodyVel.Parent = flying root
)
noclipBtn.MouseButton1Click:(()
noclip = noclip
noclipBtn.Text = .. (noclip )
)
speedBtn.MouseButton1Click:(()
speedIndex = speedIndex % #speeds +
currentSpeed = speeds[speedIndex]
speedBtn.Text = .. currentSpeed
)
colorBtn.MouseButton1Click:(()
newColor = .(.(, ), .(, ), .(, ))
flyBtn.BackgroundColor3 = newColor
noclipBtn.BackgroundColor3 = newColor
speedBtn.BackgroundColor3 = newColor
colorBtn.BackgroundColor3 = newColor
fullbrightBtn.BackgroundColor3 = newColor
clearFogBtn.BackgroundColor3 = newColor
rejoinBtn.BackgroundColor3 = newColor
)
fullbrightBtn.MouseButton1Click:(()
fullbright = fullbright
fullbrightBtn.Text = .. (fullbright )
fullbright
Lighting.Brightness =
Lighting.OutdoorAmbient = .(, , )
Lighting.Brightness =
Lighting.OutdoorAmbient = .(, , )
)
clearFogBtn.MouseButton1Click:(()
clearFog = clearFog
clearFogBtn.Text = .. (clearFog )
clearFog
Lighting.FogStart =
Lighting.FogEnd =
Lighting.FogColor = .(, , )
Lighting.FogStart =
Lighting.FogEnd =
Lighting.FogColor = .(, , )
)
rejoinBtn.MouseButton1Click:(()
:():(.PlaceId, player)
)
UIS.InputBegan:((input, gpe)
gpe
k = input.KeyCode
k == .KeyCode.W keys.W =
k == .KeyCode.A keys.A =
k == .KeyCode.S keys.S =
k == .KeyCode.D keys.D =
k == .KeyCode.Space keys.Up =
k == .KeyCode.LeftShift keys.Down =
)
UIS.InputEnded:((input)
k = input.KeyCode
k == .KeyCode.W keys.W =
k == .KeyCode.A keys.A =
k == .KeyCode.S keys.S =
k == .KeyCode.D keys.D =
k == .KeyCode.Space keys.Up =
k == .KeyCode.LeftShift keys.Down =
)
RunService.RenderStepped:(()
flying root
cam = .CurrentCamera
dir = .zero
keys.W dir += cam.CFrame.LookVector
keys.S dir -= cam.CFrame.LookVector
keys.A dir -= cam.CFrame.RightVector
keys.D dir += cam.CFrame.RightVector
keys.Up dir += .(, , )
keys.Down dir -= .(, , )
bodyVel.Velocity = dir.Magnitude > dir.Unit * currentSpeed .zero
noclip char
_, part (char:())
part:()
part.CanCollide =
)
player.CharacterAdded:(()
()
flying =
bodyVel.Parent =
flyBtn.Text =
noclip
_, part (char:())
part:()
part.CanCollide =
)