Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
TweenService = :()
player = Players.LocalPlayer
playerGui = player:()
camera = .CurrentCamera
hubEnabled =
noclipActive =
shiftlockActive =
walkSpeed =
accentColor = .(, , )
freecamHintLabel =
stopFly
stopNoclip
stopShiftlock
stopSpectate
(value)
h, s = accentColor:()
.(h, .(s * , , ), value)
() ()
() ()
() ()
() ()
() ()
(origin, direction, filterInstances)
remainingDistance = direction.Magnitude
remainingDistance <=
dir = direction.Unit
currentOrigin = origin
_ = ,
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = filterInstances
params.RespectCanCollide =
result = :(currentOrigin, dir * remainingDistance, params)
result
result.Instance.CanCollide
result
stepped = (result.Position - currentOrigin).Magnitude +
currentOrigin = currentOrigin + dir * stepped
remainingDistance = remainingDistance - stepped
remainingDistance <=
cframeSpeedActive =
cframeSpeedButton
cframeSpeed =
cframeSpeedConnection =
cframeSpeedPosition =
stopCFrameSpeed
(deltaTime)
character = player.Character
humanoid = character character:()
humanoidRootPart = character character:()
humanoid humanoidRootPart
humanoid.SeatPart humanoid:() == .HumanoidStateType.Seated
()
cframeSpeedPosition
cframeSpeedPosition = humanoidRootPart.Position
camCFrame = camera.CFrame
flatLook = .(camCFrame.LookVector.X, , camCFrame.LookVector.Z)
flatRight = .(camCFrame.RightVector.X, , camCFrame.RightVector.Z)
flatLook.Magnitude > flatLook = flatLook.Unit
flatRight.Magnitude > flatRight = flatRight.Unit
moveVector = .(, , )
UserInputService:(.KeyCode.W) moveVector = moveVector + flatLook
UserInputService:(.KeyCode.S) moveVector = moveVector - flatLook
UserInputService:(.KeyCode.A) moveVector = moveVector - flatRight
UserInputService:(.KeyCode.D) moveVector = moveVector + flatRight
moveVector.Magnitude ==
moveVector = moveVector.Unit * cframeSpeed
horizontalDelta = moveVector * deltaTime
distance = horizontalDelta.Magnitude
distance >
direction = horizontalDelta.Unit
hit = (cframeSpeedPosition, direction * (distance + ), { character })
hit
safeDistance = .((hit.Position - cframeSpeedPosition).Magnitude - , )
horizontalDelta = direction * .(safeDistance, distance)
newHorizontalPos = cframeSpeedPosition + horizontalDelta
groundOffset = humanoid.HipHeight + humanoidRootPart.Size.Y /
groundHit = (newHorizontalPos + .(, , ), .(, -, ), { character })
targetY
groundHit
targetY = groundHit.Position.Y + groundOffset
targetY = cframeSpeedPosition.Y - * deltaTime
cframeSpeedPosition = .(newHorizontalPos.X, targetY, newHorizontalPos.Z)
facing = .(moveVector.X, , moveVector.Z)
facing.Magnitude <
facing = .(humanoidRootPart.CFrame.LookVector.X, , humanoidRootPart.CFrame.LookVector.Z)
humanoidRootPart.CFrame = .(cframeSpeedPosition, cframeSpeedPosition + facing)
humanoidRootPart.AssemblyLinearVelocity = .(, , )
()
cframeSpeedActive
cframeSpeedActive =
cframeSpeedConnection
cframeSpeedConnection:()
cframeSpeedConnection =
cframeSpeedPosition =
character = player.Character
humanoid = character character:()
humanoid
humanoid.AutoRotate =
humanoid.WalkSpeed = walkSpeed
cframeSpeedButton
cframeSpeedButton.Text =
cframeSpeedButton.BackgroundColor3 = ()
()
character = player.Character
humanoid = character character:()
character humanoid
humanoid.SeatPart humanoid:() == .HumanoidStateType.Seated
()
()
cframeSpeedActive =
humanoid.AutoRotate =
humanoid.WalkSpeed =
cframeSpeedConnection = RunService.Heartbeat:(updateCFrameSpeed)
cframeSpeedButton
cframeSpeedButton.Text =
cframeSpeedButton.BackgroundColor3 = accentColor
()
hubEnabled
cframeSpeedActive () ()
clickTeleportActive =
clickTeleportButton
(input, gameProcessed)
gameProcessed
clickTeleportActive
input.UserInputType ~= .UserInputType.MouseButton1
character = player.Character
humanoidRootPart = character character:()
humanoidRootPart
mouseLocation = UserInputService:()
viewportRay = camera:(mouseLocation.X, mouseLocation.Y)
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = { character }
result = :(viewportRay.Origin, viewportRay.Direction * , params)
result
currentRotation = humanoidRootPart.CFrame - humanoidRootPart.CFrame.Position
humanoidRootPart.CFrame = .(result.Position + .(, , )) * currentRotation
humanoidRootPart.AssemblyLinearVelocity = .(, , )
UserInputService.InputBegan:(onClickTeleportInput)
()
hubEnabled
clickTeleportActive = clickTeleportActive
clickTeleportButton
clickTeleportButton.Text = clickTeleportActive
clickTeleportButton.BackgroundColor3 = clickTeleportActive accentColor ()
espActive =
espButton
espHighlights = ({}, { __mode = })
espBillboards = ({}, { __mode = })
espConnections = ({}, { __mode = })
(plr)
plr plr.Team
plr.Team.TeamColor.Color
.(, , )
(plr)
leaderstats = plr plr:()
leaderstats
role = leaderstats:()
role
(role.Value)
(character)
character == player.Character
espHighlights[character]
plr = Players:(character)
color = (plr)
highlight = .()
highlight.Name =
highlight.FillColor = color
highlight.OutlineColor = color
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.DepthMode = .HighlightDepthMode.AlwaysOnTop
highlight.Parent = character
espHighlights[character] = highlight
connections = {}
espConnections[character] = connections
head = character:()
head plr
billboard = .()
billboard.Name =
billboard.Size = .(, , , )
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.Parent = head
espBillboards[character] = billboard
nameLabel = .()
nameLabel.Size = .(, , , )
nameLabel.BackgroundTransparency =
nameLabel.Font = .Font.GothamBold
nameLabel.TextSize =
nameLabel.TextColor3 = color
nameLabel.TextStrokeTransparency =
nameLabel.Text = plr.Name
nameLabel.Parent = billboard
roleLabel = .()
roleLabel.Size = .(, , , )
roleLabel.Position = .(, , , )
roleLabel.BackgroundTransparency =
roleLabel.Font = .Font.Gotham
roleLabel.TextSize =
roleLabel.TextColor3 = .(, , )
roleLabel.TextStrokeTransparency =
roleLabel.Text = (plr)
roleLabel.Parent = billboard
healthLabel = .()
healthLabel.Size = .(, , , )
healthLabel.Position = .(, , , )
healthLabel.BackgroundTransparency =
healthLabel.Font = .Font.Gotham
healthLabel.TextSize =
healthLabel.TextColor3 = .(, , )
healthLabel.TextStrokeTransparency =
healthLabel.Parent = billboard
humanoid = character:()
()
humanoid humanoid.MaxHealth >
pct = .(humanoid.Health / humanoid.MaxHealth, , )
healthLabel.Text = .(, .(humanoid.Health), .(humanoid.MaxHealth))
healthLabel.TextColor3 = .(.( * ( - pct)), .( * pct), )
humanoid
()
.(connections, humanoid.HealthChanged:(updateHealth))
()
newColor = (plr)
highlight.FillColor = newColor
highlight.OutlineColor = newColor
nameLabel.TextColor3 = newColor
.(connections, plr:():(updateTeamColor))
leaderstats = plr:()
leaderstats
role = leaderstats:()
role
.(connections, role:():(()
roleLabel.Text = (role.Value)
))
(character)
highlight = espHighlights[character]
highlight
highlight:()
espHighlights[character] =
billboard = espBillboards[character]
billboard
billboard:()
espBillboards[character] =
connections = espConnections[character]
connections
_, conn connections
conn:()
espConnections[character] =
(character)
espActive
(character)
(plr)
plr.CharacterAdded:(onCharacterAddedESP)
plr.Character espActive
(plr.Character)
_, plr Players:()
(plr)
Players.PlayerAdded:(onPlayerAddedESP)
()
hubEnabled
espActive = espActive
espActive
_, plr Players:()
plr.Character
(plr.Character)
espButton
espButton.Text =
espButton.BackgroundColor3 = accentColor
character espHighlights
(character)
espButton
espButton.Text =
espButton.BackgroundColor3 = ()
flying =
flySpeed =
flyConnection =
flyOriginalPhysicalProps =
flyPosition =
flyButton
()
character = player.Character
humanoid = character character:()
humanoid
humanoid.AutoRotate =
()
UserInputService.MouseBehavior = .MouseBehavior.Default
character = player.Character
humanoid = character character:()
humanoid
humanoid.AutoRotate =
(deltaTime)
character = player.Character
humanoid = character character:()
humanoidRootPart = character character:()
humanoid humanoidRootPart
humanoid.SeatPart humanoid:() == .HumanoidStateType.Seated
()
flyPosition
flyPosition = humanoidRootPart.Position
moveVector = .(, , )
camCFrame = camera.CFrame
UserInputService:(.KeyCode.W) moveVector = moveVector + camCFrame.LookVector
UserInputService:(.KeyCode.S) moveVector = moveVector - camCFrame.LookVector
UserInputService:(.KeyCode.A) moveVector = moveVector - camCFrame.RightVector
UserInputService:(.KeyCode.D) moveVector = moveVector + camCFrame.RightVector
UserInputService:(.KeyCode.Space) moveVector = moveVector + .(, , )
UserInputService:(.KeyCode.LeftControl) moveVector = moveVector - .(, , )
moveVector.Magnitude >
moveVector = moveVector.Unit * flySpeed
delta = moveVector * deltaTime
distance = delta.Magnitude
distance >
direction = delta.Unit
hit = (flyPosition, direction * (distance + ), { character })
hit
safeDistance = .((hit.Position - flyPosition).Magnitude - , )
delta = direction * .(safeDistance, distance)
flyPosition = flyPosition + delta
groundBelow = (flyPosition, .(, -, ), { character })
groundBelow
minClearance =
clearance = flyPosition.Y - groundBelow.Position.Y
clearance < minClearance
flyPosition = .(flyPosition.X, groundBelow.Position.Y + minClearance, flyPosition.Z)
lookVector = camCFrame.LookVector
humanoidRootPart.CFrame = .(flyPosition, flyPosition + lookVector)
humanoidRootPart.AssemblyLinearVelocity = .(, , )
()
flying =
flyPosition =
flyConnection
flyConnection:()
flyConnection =
character = player.Character
humanoidRootPart = character character:()
humanoidRootPart flyOriginalPhysicalProps ~=
humanoidRootPart.CustomPhysicalProperties = flyOriginalPhysicalProps
flyOriginalPhysicalProps =
humanoid = character character:()
humanoid
humanoid.PlatformStand =
()
flyButton
flyButton.Text =
flyButton.BackgroundColor3 = ()
()
character = player.Character
humanoid = character character:()
humanoidRootPart = character character:()
humanoid humanoidRootPart
humanoid.SeatPart humanoid:() == .HumanoidStateType.Seated
noclipActive ()
shiftlockActive ()
cframeSpeedActive ()
flying =
flyOriginalPhysicalProps = humanoidRootPart.CustomPhysicalProperties
humanoidRootPart.CustomPhysicalProperties = PhysicalProperties.(, , )
humanoid.PlatformStand =
()
flyConnection = RunService.RenderStepped:(updateFlight)
flyButton
flyButton.Text =
flyButton.BackgroundColor3 = accentColor
()
hubEnabled
flying () ()
freecamActive =
freecamConnection =
freecamButton
freecamYaw =
freecamPitch =
freecamSpeed =
(deltaTime)
rotation = .(, freecamYaw, ) * .(freecamPitch, , )
moveVector = .(, , )
UserInputService:(.KeyCode.W) moveVector = moveVector + rotation.LookVector
UserInputService:(.KeyCode.S) moveVector = moveVector - rotation.LookVector
UserInputService:(.KeyCode.A) moveVector = moveVector - rotation.RightVector
UserInputService:(.KeyCode.D) moveVector = moveVector + rotation.RightVector
UserInputService:(.KeyCode.Space) moveVector = moveVector + .(, , )
UserInputService:(.KeyCode.LeftControl) moveVector = moveVector - .(, , )
moveVector.Magnitude >
moveVector = moveVector.Unit * freecamSpeed
camera.CFrame = .(camera.CFrame.Position + moveVector * deltaTime) * rotation
UserInputService.InputChanged:((input)
freecamActive input.UserInputType == .UserInputType.MouseMovement
freecamYaw = freecamYaw - input.Delta.X *
freecamPitch = .(freecamPitch - input.Delta.Y * , -.(), .())
)
()
freecamActive =
freecamConnection
freecamConnection:()
freecamConnection =
UserInputService.MouseBehavior = .MouseBehavior.Default
camera.CameraType = .CameraType.Custom
character = player.Character
humanoid = character character:()
humanoid
camera.CameraSubject = humanoid
humanoidRootPart = character character:()
humanoidRootPart
humanoidRootPart.Anchored =
freecamButton
freecamButton.Text =
freecamButton.BackgroundColor3 = ()
()
()
shiftlockActive ()
look = camera.CFrame.LookVector
freecamYaw = .(-look.X, -look.Z)
freecamPitch = .(.(look.Y, -, ))
freecamActive =
camera.CameraType = .CameraType.Scriptable
UserInputService.MouseBehavior = .MouseBehavior.LockCenter
freecamConnection = RunService.RenderStepped:(updateFreecam)
character = player.Character
humanoidRootPart = character character:()
humanoidRootPart
humanoidRootPart.Anchored =
freecamButton
freecamButton.Text =
freecamButton.BackgroundColor3 = accentColor
()
hubEnabled
freecamActive () ()
MIN_SCALE =
MAX_SCALE =
INITIAL_SCALE =
currentScale = INITIAL_SCALE
originalHeadSizes = ({}, { __mode = })
originalMeshScales = ({}, { __mode = })
originalHeadJointC1 = ({}, { __mode = })
(character, head)
_, descendant character:()
descendant:() descendant.Part1 == head
descendant
(character, scale)
head = character:()
head head:()
originalHeadSizes[character]
originalHeadSizes[character] = head.Size
head.Size = originalHeadSizes[character] * scale
mesh = head:()
mesh
originalMeshScales[character]
originalMeshScales[character] = mesh.Scale
baseMeshScale = originalMeshScales[character]
mesh.Scale = .(baseMeshScale.X * scale, baseMeshScale.Y * scale, baseMeshScale.Z * scale)
joint = (character, head)
joint
originalHeadJointC1[character]
originalHeadJointC1[character] = joint.C1
baseC1 = originalHeadJointC1[character]
rotationOnly = baseC1 - baseC1.Position
joint.C1 = .(baseC1.Position * scale) * rotationOnly
(scale)
currentScale = scale
_, plr Players:()
plr.Character
(plr.Character, scale)
(character)
character:(, )
(character, currentScale)
(plr)
plr.CharacterAdded:(onCharacterAddedHead)
plr.Character
(plr.Character)
_, plr Players:()
(plr)
Players.PlayerAdded:(onPlayerAddedHead)
infJumpActive =
infJumpButton
()
infJumpActive
character = player.Character
humanoid = character character:()
humanoid
humanoid:(.HumanoidStateType.Jumping)
UserInputService.JumpRequest:(onJumpRequest)
()
hubEnabled
infJumpActive = infJumpActive
infJumpButton
infJumpButton.Text = infJumpActive
infJumpButton.BackgroundColor3 = infJumpActive accentColor ()
noclipConnection =
noclipButton
noclipOriginalCanCollide = ({}, { __mode = })
(character, enabled)
_, part character:()
part:()
enabled
original = noclipOriginalCanCollide[part]
original ~=
part.CanCollide = original
noclipOriginalCanCollide[part] ==
noclipOriginalCanCollide[part] = part.CanCollide
part.CanCollide =
()
character = player.Character
character
_, part character:()
part:() part.CanCollide
part.CanCollide =
()
noclipActive =
noclipConnection
noclipConnection:()
noclipConnection =
character = player.Character
character
(character, )
noclipButton
noclipButton.Text =
noclipButton.BackgroundColor3 = ()
()
character = player.Character
character
flying ()
noclipActive =
(character, )
noclipConnection = RunService.Heartbeat:(updateNoclip)
noclipButton
noclipButton.Text =
noclipButton.BackgroundColor3 = accentColor
()
hubEnabled
noclipActive () ()
keybinds = {
CFrameSpeed = .KeyCode.R,
ClickTeleport = .KeyCode.T,
Fly = .KeyCode.F,
Noclip = .KeyCode.C,
Freecam = .KeyCode.V,
Shiftlock = .KeyCode.LeftShift,
}
presetColors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
}
themedElements = {}
rebindingAction =
keybindButtons = {}
(instance, role)
.(themedElements, { instance = instance, role = role })
instance
()
panelColor = ()
sidebarColor = ()
titleColor = ()
buttonColor = ()
listColor = ()
_, entry themedElements
inst = entry.instance
inst inst.Parent
entry.role ==
inst.BackgroundColor3 = accentColor
entry.role ==
inst.BackgroundColor3 = panelColor
entry.role ==
inst.BackgroundColor3 = sidebarColor
entry.role ==
inst.BackgroundColor3 = titleColor
entry.role ==
inst.BackgroundColor3 = buttonColor
entry.role ==
inst.BackgroundColor3 = listColor
()
buttonColor = ()
cframeSpeedButton cframeSpeedButton.BackgroundColor3 = cframeSpeedActive accentColor buttonColor
clickTeleportButton clickTeleportButton.BackgroundColor3 = clickTeleportActive accentColor buttonColor
espButton espButton.BackgroundColor3 = espActive accentColor buttonColor
flyButton flyButton.BackgroundColor3 = flying accentColor buttonColor
freecamButton freecamButton.BackgroundColor3 = freecamActive accentColor buttonColor
infJumpButton infJumpButton.BackgroundColor3 = infJumpActive accentColor buttonColor
noclipButton noclipButton.BackgroundColor3 = noclipActive accentColor buttonColor
(newColor)
accentColor = newColor
()
()
(action, button)
rebindingAction = action
button.Text =
UserInputService.InputBegan:((input)
rebindingAction input.UserInputType == .UserInputType.Keyboard
input.KeyCode == .KeyCode.Escape
keybinds[rebindingAction] =
button = keybindButtons[rebindingAction]
button
button.Text =
rebindingAction == freecamHintLabel
freecamHintLabel.Text =
rebindingAction =
keybinds[rebindingAction] = input.KeyCode
button = keybindButtons[rebindingAction]
button
button.Text = input.KeyCode.Name
rebindingAction == freecamHintLabel
freecamHintLabel.Text = .. input.KeyCode.Name ..
rebindingAction =
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
rebindingAction
input.KeyCode == keybinds.CFrameSpeed
()
input.KeyCode == keybinds.ClickTeleport
()
input.KeyCode == keybinds.Fly
()
input.KeyCode == keybinds.Noclip
()
input.KeyCode == keybinds.Freecam
()
)
shiftlockConnection =
shiftlockButton
()
character = player.Character
humanoidRootPart = character character:()
humanoidRootPart
lookVector = camera.CFrame.LookVector
flatLook = .(lookVector.X, , lookVector.Z)
flatLook.Magnitude >
flatLook = flatLook.Unit
humanoidRootPart.CFrame = .(humanoidRootPart.Position, humanoidRootPart.Position + flatLook)
()
shiftlockActive =
shiftlockConnection
shiftlockConnection:()
shiftlockConnection =
UserInputService.MouseBehavior = .MouseBehavior.Default
character = player.Character
humanoid = character character:()
humanoid
humanoid.AutoRotate =
shiftlockButton
shiftlockButton.Text =
shiftlockButton.BackgroundColor3 = ()
()
character = player.Character
humanoid = character character:()
humanoid
flying ()
freecamActive ()
cframeSpeedActive ()
shiftlockActive =
humanoid.AutoRotate =
UserInputService.MouseBehavior = .MouseBehavior.LockCenter
shiftlockConnection = RunService.RenderStepped:(updateShiftlock)
shiftlockButton
shiftlockButton.Text =
shiftlockButton.BackgroundColor3 = accentColor
()
hubEnabled
shiftlockActive () ()
UserInputService.InputBegan:((input)
rebindingAction
input.KeyCode == keybinds.Shiftlock
()
keybinds.Shiftlock == .KeyCode.LeftShift input.KeyCode == .KeyCode.RightShift
()
)
spectateTarget =
()
spectateTarget =
freecamActive
character = player.Character
humanoid = character character:()
camera.CameraSubject = humanoid
camera.CameraType = .CameraType.Custom
(targetPlayer)
targetPlayer == player
character = targetPlayer.Character
humanoid = character character:()
humanoid
freecamActive ()
spectateTarget = targetPlayer
camera.CameraSubject = humanoid
camera.CameraType = .CameraType.Custom
()
character = player.Character
humanoid = character character:()
humanoid
humanoid.WalkSpeed = walkSpeed
humanoid.UseJumpPower =
(value)
walkSpeed = value
()
()
RunService.Heartbeat:(()
character = player.Character
humanoid = character character:()
humanoid humanoid.WalkSpeed ~= walkSpeed (flying noclipActive cframeSpeedActive)
humanoid.WalkSpeed = walkSpeed
)
player.CharacterAdded:((character)
()
()
()
()
()
character:(, )
()
)
hubToggleButton
()
hubEnabled =
()
()
()
()
()
()
espActive
espActive =
character espHighlights
(character)
espButton
espButton.Text =
espButton.BackgroundColor3 = ()
infJumpActive
infJumpActive =
infJumpButton
infJumpButton.Text =
infJumpButton.BackgroundColor3 = ()
clickTeleportActive
clickTeleportActive =
clickTeleportButton
clickTeleportButton.Text =
clickTeleportButton.BackgroundColor3 = ()
hubToggleButton
hubToggleButton.Text =
hubToggleButton.BackgroundColor3 = .(, , )
()
hubEnabled =
hubToggleButton
hubToggleButton.Text =
hubToggleButton.BackgroundColor3 = .(, , )
()
hubEnabled () ()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
EXPANDED_HEIGHT =
FRAME_WIDTH =
TITLEBAR_HEIGHT =
SIDEBAR_WIDTH =
frame = .()
frame.Size = .(, FRAME_WIDTH, , EXPANDED_HEIGHT)
frame.Position = .(, -FRAME_WIDTH / , , )
frame.BackgroundColor3 = ()
frame.BorderSizePixel =
frame.ClipsDescendants =
frame.Parent = screenGui
(frame, )
uiScale = .()
uiScale.Scale =
uiScale.Parent = frame
frameCorner = .()
frameCorner.CornerRadius = .(, )
frameCorner.Parent = frame
resizeHandle = .()
resizeHandle.Size = .(, , , )
resizeHandle.AnchorPoint = .(, )
resizeHandle.Position = .(, -, , -)
resizeHandle.BackgroundTransparency =
resizeHandle.Active =
resizeHandle.ZIndex =
resizeHandle.Parent = frame
resizeDotPositions = {
{ , }, { , }, { , }, { , }, { , }, { , },
}
_, dotPos resizeDotPositions
dot = .()
dot.Size = .(, , , )
dot.Position = .(, dotPos[], , dotPos[])
dot.BackgroundColor3 = .(, , )
dot.BackgroundTransparency =
dot.BorderSizePixel =
dot.Parent = resizeHandle
dotCorner = .()
dotCorner.CornerRadius = .(, )
dotCorner.Parent = dot
resizing =
resizeHandle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
resizing =
)
UserInputService.InputChanged:((input)
resizing (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
topLeft = frame.AbsolutePosition
desiredWidth = input.Position.X - topLeft.X
uiScale.Scale = .(desiredWidth / FRAME_WIDTH, , )
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
resizing =
)
titleBar = .()
titleBar.Active =
titleBar.Size = .(, , , TITLEBAR_HEIGHT)
titleBar.BackgroundColor3 = ()
titleBar.BorderSizePixel =
titleBar.Parent = frame
(titleBar, )
titleBarCorner = .()
titleBarCorner.CornerRadius = .(, )
titleBarCorner.Parent = titleBar
titleBarMask = .()
titleBarMask.Size = .(, , , )
titleBarMask.Position = .(, , , -)
titleBarMask.BackgroundColor3 = ()
titleBarMask.BorderSizePixel =
titleBarMask.ZIndex =
titleBarMask.Parent = titleBar
(titleBarMask, )
title = .()
title.Text =
title.Font = .Font.GothamBold
title.TextSize =
title.TextColor3 = .(, , )
title.BackgroundTransparency =
title.Size = .(, -, , )
title.Position = .(, , , )
title.TextXAlignment = .TextXAlignment.Left
title.Parent = titleBar
(xOffsetFromRight, text)
button = .()
button.Text = text
button.Font = .Font.GothamBold
button.TextSize =
button.TextColor3 = .(, , )
button.BackgroundColor3 = ()
button.Size = .(, , , )
button.Position = .(, xOffsetFromRight, , -)
button.Parent = titleBar
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = button
(button, )
button
closeButton = (-, )
minimizeButton = (-, )
gearButton = (-, )
hubToggleButton = .()
hubToggleButton.Text =
hubToggleButton.Font = .Font.GothamBold
hubToggleButton.TextSize =
hubToggleButton.TextColor3 = .(, , )
hubToggleButton.BackgroundColor3 = .(, , )
hubToggleButton.Size = .(, , , )
hubToggleButton.Position = .(, -, , -)
hubToggleButton.Parent = titleBar
hubToggleCorner = .()
hubToggleCorner.CornerRadius = .(, )
hubToggleCorner.Parent = hubToggleButton
hubToggleButton.MouseButton1Click:(toggleHub)
dragging =
dragStartMousePos =
dragStartFramePos =
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStartMousePos = input.Position
dragStartFramePos = frame.Position
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStartMousePos
frame.Position = .(
dragStartFramePos.X.Scale, dragStartFramePos.X.Offset + delta.X,
dragStartFramePos.Y.Scale, dragStartFramePos.Y.Offset + delta.Y
)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
sidebar = .()
sidebar.Size = .(, SIDEBAR_WIDTH, , -TITLEBAR_HEIGHT)
sidebar.Position = .(, , , TITLEBAR_HEIGHT)
sidebar.BackgroundColor3 = ()
sidebar.BorderSizePixel =
sidebar.Parent = frame
(sidebar, )
sidebarListLayout = .()
sidebarListLayout.Padding = .(, )
sidebarListLayout.SortOrder = .SortOrder.LayoutOrder
sidebarListLayout.Parent = sidebar
sidebarPadding = .()
sidebarPadding.PaddingTop = .(, )
sidebarPadding.PaddingLeft = .(, )
sidebarPadding.PaddingRight = .(, )
sidebarPadding.Parent = sidebar
divider = .()
divider.Size = .(, , , -TITLEBAR_HEIGHT)
divider.Position = .(, SIDEBAR_WIDTH, , TITLEBAR_HEIGHT)
divider.BackgroundColor3 = ()
divider.BorderSizePixel =
divider.Parent = frame
(divider, )
(scrollingFrame, listLayout)
()
scrollingFrame.CanvasSize = .(, , , listLayout.AbsoluteContentSize.Y + )
listLayout:():(update)
()
()
content = .()
content.Size = .(, -(SIDEBAR_WIDTH + ), , -TITLEBAR_HEIGHT)
content.Position = .(, SIDEBAR_WIDTH + , , TITLEBAR_HEIGHT)
content.BackgroundTransparency =
content.BorderSizePixel =
content.ScrollBarThickness =
content.ScrollBarImageColor3 = .(, , )
content.CanvasSize = .(, , , )
content.Visible =
content.Parent = frame
listLayout = .()
listLayout.Padding = .(, )
listLayout.SortOrder = .SortOrder.LayoutOrder
listLayout.Parent = content
(content, listLayout)
padding = .()
padding.PaddingLeft = .(, )
padding.PaddingRight = .(, )
padding.PaddingTop = .(, )
padding.PaddingBottom = .(, )
padding.Parent = content
content
movementContent = ()
visualContent = ()
playersContent = ()
settingsContent = .()
settingsContent.Size = .(, , , -TITLEBAR_HEIGHT)
settingsContent.Position = .(, , , TITLEBAR_HEIGHT)
settingsContent.BackgroundTransparency =
settingsContent.BorderSizePixel =
settingsContent.ScrollBarThickness =
settingsContent.CanvasSize = .(, , , )
settingsContent.Visible =
settingsContent.Parent = frame
settingsListLayout = .()
settingsListLayout.Padding = .(, )
settingsListLayout.SortOrder = .SortOrder.LayoutOrder
settingsListLayout.Parent = settingsContent
(settingsContent, settingsListLayout)
settingsPadding = .()
settingsPadding.PaddingLeft = .(, )
settingsPadding.PaddingRight = .(, )
settingsPadding.PaddingTop = .(, )
settingsPadding.PaddingBottom = .(, )
settingsPadding.Parent = settingsContent
minimized =
showingSettings =
currentCategory =
categoryEntries = {}
(name)
currentCategory = name
catName, info categoryEntries
isSelected = catName == name
info.indicator.Visible = isSelected
info.button.TextColor3 = isSelected .(, , ) .(, , )
showingSettings
info.content.Visible = isSelected
(state)
showingSettings = state
minimized
sidebar.Visible = state
divider.Visible = state
settingsContent.Visible = state
catName, info categoryEntries
info.content.Visible = ( state) (catName == currentCategory)
minimizeTween =
MINIMIZE_TWEEN_INFO = TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out)
(state)
minimized = state
minimizeTween
minimizeTween:()
minimizeTween =
minimized
minimizeButton.Text =
resizeHandle.Visible =
minimizeTween = TweenService:(frame, MINIMIZE_TWEEN_INFO, {
Size = .(, FRAME_WIDTH, , TITLEBAR_HEIGHT),
})
minimizeTween.Completed:(()
minimized
sidebar.Visible =
divider.Visible =
settingsContent.Visible =
_, info categoryEntries info.content.Visible =
)
minimizeTween:()
sidebar.Visible = showingSettings
divider.Visible = showingSettings
settingsContent.Visible = showingSettings
resizeHandle.Visible =
catName, info categoryEntries
info.content.Visible = ( showingSettings) (catName == currentCategory)
minimizeButton.Text =
minimizeTween = TweenService:(frame, MINIMIZE_TWEEN_INFO, {
Size = .(, FRAME_WIDTH, , EXPANDED_HEIGHT),
})
minimizeTween:()
minimizeButton.MouseButton1Click:(()
( minimized)
)
gearButton.MouseButton1Click:(()
( showingSettings)
)
closeButton.MouseButton1Click:(()
()
screenGui:()
)
nextLayoutOrder =
()
nextLayoutOrder = nextLayoutOrder +
nextLayoutOrder
(parent, text, onClick)
row = .()
row.Size = .(, , , )
row.BackgroundTransparency =
row.LayoutOrder = ()
row.Parent = parent
button = .()
button.Text = text
button.Font = .Font.GothamBold
button.TextSize =
button.TextColor3 = .(, , )
button.BackgroundColor3 = ()
button.Size = .(, , , )
button.Parent = row
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = button
button.MouseButton1Click:(onClick)
button
(parent, text)
hint = .()
hint.Font = .Font.Gotham
hint.TextSize =
hint.TextColor3 = .(, , )
hint.BackgroundTransparency =
hint.Size = .(, , , )
hint.LayoutOrder = ()
hint.TextXAlignment = .TextXAlignment.Left
hint.Text = text
hint.Parent = parent
hint
(parent, labelPrefix, min, max, initial, suffix, onChange)
row = .()
row.Size = .(, , , )
row.BackgroundTransparency =
row.LayoutOrder = ()
row.Parent = parent
label = .()
label.Font = .Font.Gotham
label.TextSize =
label.TextColor3 = .(, , )
label.BackgroundTransparency =
label.Size = .(, , , )
label.TextXAlignment = .TextXAlignment.Left
label.Parent = row
track = .()
track.Active =
track.Size = .(, , , )
track.Position = .(, , , )
track.BackgroundColor3 = ()
track.BorderSizePixel =
track.Parent = row
(track, )
trackCorner = .()
trackCorner.CornerRadius = .(, )
trackCorner.Parent = track
fill = .()
fill.BackgroundColor3 = accentColor
fill.BorderSizePixel =
fill.Size = .(, , , )
fill.Parent = track
(fill, )
fillCorner = .()
fillCorner.CornerRadius = .(, )
fillCorner.Parent = fill
knob = .()
knob.Active =
knob.Size = .(, , , )
knob.AnchorPoint = .(, )
knob.Position = .(, , , )
knob.BackgroundColor3 = .(, , )
knob.BorderSizePixel =
knob.ZIndex =
knob.Parent = track
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = knob
sliderDragging =
(alpha)
alpha = .(alpha, , )
knob.Position = .(alpha, , , )
fill.Size = .(alpha, , , )
value = min + (max - min) * alpha
label.Text = .(, labelPrefix, value, suffix)
(value)
(input)
trackPos = track.AbsolutePosition.X
trackSize = track.AbsoluteSize.X
trackSize <=
(input.Position.X - trackPos) / trackSize
knob.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
sliderDragging =
)
track.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
sliderDragging =
((input))
)
UserInputService.InputChanged:((input)
sliderDragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
((input))
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
sliderDragging =
)
initialAlpha = (initial - min) / (max - min)
(initialAlpha)
row
(name, content, layoutOrder)
button = .()
button.Text = name
button.Font = .Font.GothamBold
button.TextSize =
button.TextColor3 = .(, , )
button.BackgroundTransparency =
button.Size = .(, , , )
button.TextXAlignment = .TextXAlignment.Left
button.LayoutOrder = layoutOrder
button.Parent = sidebar
buttonPadding = .()
buttonPadding.PaddingLeft = .(, )
buttonPadding.Parent = button
indicator = .()
indicator.Size = .(, , , )
indicator.AnchorPoint = .(, )
indicator.Position = .(, -, , )
indicator.BackgroundColor3 = accentColor
indicator.BorderSizePixel =
indicator.Visible =
indicator.Parent = button
(indicator, )
indicatorCorner = .()
indicatorCorner.CornerRadius = .(, )
indicatorCorner.Parent = indicator
categoryEntries[name] = { button = button, indicator = indicator, content = content }
button.MouseButton1Click:(()
(name)
)
button
(, movementContent, )
(, visualContent, )
(, playersContent, )
(movementContent, , , , cframeSpeed, , (value)
cframeSpeed = value
)
cframeSpeedButton = (movementContent, , toggleCFrameSpeed)
clickTeleportButton = (movementContent, , toggleClickTeleport)
(movementContent, , , , flySpeed, , (value)
flySpeed = value
)
flyButton = (movementContent, , toggleFly)
freecamHintLabel = (movementContent, .. keybinds.Freecam.Name .. )
(movementContent, , , , freecamSpeed, , (value)
freecamSpeed = value
)
freecamButton = (movementContent, , toggleFreecam)
(movementContent, , , , .Gravity, , (value)
.Gravity = value
)
infJumpButton = (movementContent, , toggleInfJump)
noclipButton = (movementContent, , toggleNoclip)
shiftlockButton = (movementContent, , toggleShiftlock)
(movementContent, , , , walkSpeed, , (value)
(value)
)
espButton = (visualContent, , toggleESP)
(visualContent, , MIN_SCALE, MAX_SCALE, INITIAL_SCALE, , (value)
(value)
)
label = .()
label.Text =
label.Font = .Font.Gotham
label.TextSize =
label.TextColor3 = .(, , )
label.BackgroundTransparency =
label.Size = .(, -, , )
label.LayoutOrder = ()
label.TextXAlignment = .TextXAlignment.Left
label.Parent = playersContent
stopButton = .()
stopButton.Text =
stopButton.Font = .Font.GothamBold
stopButton.TextSize =
stopButton.TextColor3 = .(, , )
stopButton.BackgroundColor3 = ()
stopButton.Size = .(, , , )
stopButton.LayoutOrder = label.LayoutOrder
stopButton.AnchorPoint = .(, )
stopButton.Position = .(, , , )
stopButton.Parent = playersContent
stopCorner = .()
stopCorner.CornerRadius = .(, )
stopCorner.Parent = stopButton
(stopButton, )
stopButton.MouseButton1Click:(()
()
)
listRow = .()
listRow.Size = .(, , , )
listRow.BackgroundTransparency =
listRow.LayoutOrder = ()
listRow.Parent = playersContent
listFrame = .()
listFrame.Size = .(, , , )
listFrame.BackgroundColor3 = ()
listFrame.BorderSizePixel =
listFrame.ScrollBarThickness =
listFrame.CanvasSize = .(, , , )
listFrame.Parent = listRow
(listFrame, )
listCorner = .()
listCorner.CornerRadius = .(, )
listCorner.Parent = listFrame
listLayout = .()
listLayout.Padding = .(, )
listLayout.SortOrder = .SortOrder.LayoutOrder
listLayout.Parent = listFrame
(listFrame, listLayout)
listPadding = .()
listPadding.PaddingLeft = .(, )
listPadding.PaddingRight = .(, )
listPadding.PaddingTop = .(, )
listPadding.PaddingBottom = .(, )
listPadding.Parent = listFrame
playerButtons = {}
(plr)
plr == player
playerButtons[plr]
btn = .()
btn.Text = plr.Name
btn.Font = .Font.Gotham
btn.TextSize =
btn.TextColor3 = .(, , )
btn.BackgroundColor3 = ()
btn.Size = .(, , , )
btn.Parent = listFrame
(btn, )
btnCorner = .()
btnCorner.CornerRadius = .(, )
btnCorner.Parent = btn
btn.MouseButton1Click:(()
(plr)
)
playerButtons[plr] = btn
(plr)
btn = playerButtons[plr]
btn
btn:()
playerButtons[plr] =
_, plr Players:()
(plr)
Players.PlayerAdded:(addPlayerButton)
Players.PlayerRemoving:(removePlayerButton)
local backRow = Instance.new("Frame")
backRow.Size = UDim2.new(1, 0, 0, 32)
backRow.BackgroundTransparency = 1
backRow.LayoutOrder = 1
backRow.Parent = settingsContent
local backButton = Instance.new("TextButton")
backButton.Text = "< Back"
backButton.Font = Enum.Font.GothamBold
backButton.TextSize = 14
backButton.TextColor3 = Color3.fromRGB(255, 255, 255)
backButton.BackgroundColor3 = getButtonColor()
backButton.Size = UDim2.new(0, 100, 1, 0)
backButton.Parent = backRow
registerThemed(backButton, "button")
local backCorner = Instance.new("UICorner")
backCorner.CornerRadius = UDim.new(0, 8)
backCorner.Parent = backButton
backButton.MouseButton1Click:Connect(function()
setShowingSettings(false)
end)
local keybindsHeader = Instance.new("TextLabel")
keybindsHeader.Text = "Keybinds"
keybindsHeader.Font = Enum.Font.GothamBold
keybindsHeader.TextSize = 15
keybindsHeader.TextColor3 = Color3.fromRGB(255, 255, 255)
keybindsHeader.BackgroundTransparency = 1
keybindsHeader.Size = UDim2.new(1, 0, 0, 20)
keybindsHeader.TextXAlignment = Enum.TextXAlignment.Left
keybindsHeader.LayoutOrder = 2
keybindsHeader.Parent = settingsContent
local function createKeybindRow(order, label, action)
local row = Instance.new("Frame")
row.Size = UDim2.new(1, 0, 0, 32)
row.BackgroundTransparency = 1
row.LayoutOrder = order
row.Parent = settingsContent
local labelText = Instance.new("TextLabel")
labelText.Text = label
labelText.Font = Enum.Font.Gotham
labelText.TextSize = 14
labelText.TextColor3 = Color3.fromRGB(205, 205, 210)
labelText.BackgroundTransparency = 1
labelText.Size = UDim2.new(0.5, 0, 1, 0)
labelText.TextXAlignment = Enum.TextXAlignment.Left
labelText.Parent = row
local keyButton = Instance.new("TextButton")
keyButton.Text = keybinds[action].Name
keyButton.Font = Enum.Font.GothamBold
keyButton.TextSize = 13
keyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
keyButton.BackgroundColor3 = getButtonColor()
keyButton.Size = UDim2.new(0.5, -4, 0, 28)
keyButton.Position = UDim2.new(0.5, 4, 0, 2)
keyButton.Parent = row
registerThemed(keyButton, "button")
local keyButtonCorner = Instance.new("UICorner")
keyButtonCorner.CornerRadius = UDim.new(0, 6)
keyButtonCorner.Parent = keyButton
keybindButtons[action] = keyButton
keyButton.MouseButton1Click:Connect(function()
beginRebind(action, keyButton)
end)
end
createKeybindRow(3, "CFrame Speed", "CFrameSpeed")
createKeybindRow(4, "Click Teleport", "ClickTeleport")
createKeybindRow(5, "Fly", "Fly")
createKeybindRow(6, "Noclip", "Noclip")
createKeybindRow(7, "Freecam", "Freecam")
createKeybindRow(8, "Shiftlock", "Shiftlock")
local colorHeader = Instance.new("TextLabel")
colorHeader.Text = "UI Color"
colorHeader.Font = Enum.Font.GothamBold
colorHeader.TextSize = 15
colorHeader.TextColor3 = Color3.fromRGB(255, 255, 255)
colorHeader.BackgroundTransparency = 1
colorHeader.Size = UDim2.new(1, 0, 0, 20)
colorHeader.TextXAlignment = Enum.TextXAlignment.Left
colorHeader.LayoutOrder = 9
colorHeader.Parent = settingsContent
local swatchRow = Instance.new("Frame")
swatchRow.Size = UDim2.new(1, 0, 0, 30)
swatchRow.BackgroundTransparency = 1
swatchRow.LayoutOrder = 10
swatchRow.Parent = settingsContent
local swatchSize = 28
local spacing = 8
for i, color in presetColors do
local swatch = Instance.new("TextButton")
swatch.Text = ""
swatch.BackgroundColor3 = color
swatch.Size = UDim2.new(0, swatchSize, 0, swatchSize)
swatch.Position = UDim2.new(0, (i - 1) * (swatchSize + spacing), 0, 0)
swatch.Parent = swatchRow
local swatchCorner = Instance.new("UICorner")
swatchCorner.CornerRadius = UDim.new(1, 0)
swatchCorner.Parent = swatch
swatch.MouseButton1Click:Connect(function()
setAccentColor(color)
end)
end
end
selectCategory("Movement")
Universal