Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
VirtualInputManager = :()
player = Players.LocalPlayer
playerGui = player:()
FIRST_CYCLE_INTERVAL =
DEFAULT_INTERVAL =
points = {
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, , ),
.(-, -, ),
}
enabled =
interval = DEFAULT_INTERVAL
xOffset =
yOffset =
routeToken =
savedHumanoidState = {}
hoverPosition =
lockActive =
antiAFKEnabled =
antiAFKThread =
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.DisplayOrder =
gui.Parent = playerGui
main = .()
main.Name =
main.Size = .(, , , )
main.Position = .(, , , )
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.Parent = gui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = main
mainStroke = .()
mainStroke.Thickness =
mainStroke.Color = .(, , )
mainStroke.Parent = main
topBar = .()
topBar.Name =
topBar.Size = .(, , , )
topBar.BackgroundColor3 = .(, , )
topBar.BorderSizePixel =
topBar.Parent = main
topBarCorner = .()
topBarCorner.CornerRadius = .(, )
topBarCorner.Parent = topBar
topCover = .()
topCover.Size = .(, , , )
topCover.Position = .(, , , -)
topCover.BackgroundColor3 = .(, , )
topCover.BorderSizePixel =
topCover.Parent = topBar
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamSemibold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
title.Parent = topBar
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.Font = .Font.GothamBold
toggleButton.TextSize =
toggleButton.Text =
toggleButton.BorderSizePixel =
toggleButton.Parent = topBar
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
content = .()
content.Name =
content.Size = .(, -, , -)
content.Position = .(, , , )
content.BackgroundTransparency =
content.Parent = main
listLayout = .()
listLayout.Padding = .(, )
listLayout.FillDirection = .FillDirection.Vertical
listLayout.SortOrder = .SortOrder.LayoutOrder
listLayout.Parent = content
()
character = player.Character
character character.Parent
character
(character)
character
,
humanoid = character:()
root = character:()
root, humanoid
(humanoid)
humanoid savedHumanoidState[humanoid]
savedHumanoidState[humanoid] = {
WalkSpeed = humanoid.WalkSpeed,
JumpPower = humanoid.JumpPower,
JumpHeight = humanoid.JumpHeight,
UseJumpPower = humanoid.UseJumpPower,
AutoRotate = humanoid.AutoRotate,
PlatformStand = humanoid.PlatformStand,
}
(humanoid)
humanoid
saved = savedHumanoidState[humanoid]
saved
humanoid.WalkSpeed = saved.WalkSpeed
humanoid.JumpPower = saved.JumpPower
humanoid.JumpHeight = saved.JumpHeight
humanoid.UseJumpPower = saved.UseJumpPower
humanoid.AutoRotate = saved.AutoRotate
humanoid.PlatformStand = saved.PlatformStand
savedHumanoidState[humanoid] =
(character, shouldLock)
root, humanoid = (character)
root humanoid
shouldLock
(humanoid)
humanoid.WalkSpeed =
humanoid.JumpPower =
humanoid.JumpHeight =
humanoid.AutoRotate =
humanoid.PlatformStand =
humanoid:(.HumanoidStateType.Physics)
root.AssemblyLinearVelocity = .zero
root.AssemblyAngularVelocity = .zero
(humanoid)
(character, targetPosition)
character character.Parent
character:(.(targetPosition))
hoverPosition = targetPosition
()
routeToken +=
hoverPosition =
lockActive =
character = ()
character
(character, )
(myToken)
enabled routeToken == myToken
character = ()
character
character
.()
(myToken, stepInterval)
index, point (points)
enabled routeToken ~= myToken
character = (myToken)
character
isLast = (index == #points)
isLast
lockActive =
(character, )
lockActive =
(character, )
target
isLast
target = point
target = .(
point.X + xOffset,
point.Y + yOffset,
point.Z
)
(character, target)
elapsed =
elapsed < stepInterval
enabled routeToken ~= myToken
.()
elapsed +=
()
routeToken +=
myToken = routeToken
.(()
firstCycle =
enabled routeToken == myToken
stepInterval = firstCycle FIRST_CYCLE_INTERVAL interval
firstCycle =
ok = (myToken, stepInterval)
ok
)
()
enabled
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.BackgroundColor3 = .(, , )
(parent, labelText, minValue, maxValue, defaultValue, step, suffix, onChanged)
holder = .()
holder.Size = .(, , , )
holder.BackgroundTransparency =
holder.Parent = parent
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.TextColor3 = .(, , )
label.Font = .Font.Gotham
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Text = labelText
label.Parent = holder
valueLabel = .()
valueLabel.Size = .(, , , )
valueLabel.Position = .(, -, , )
valueLabel.BackgroundTransparency =
valueLabel.TextColor3 = .(, , )
valueLabel.Font = .Font.Gotham
valueLabel.TextSize =
valueLabel.TextXAlignment = .TextXAlignment.Right
valueLabel.Parent = holder
track = .()
track.Size = .(, , , )
track.Position = .(, , , )
track.BackgroundColor3 = .(, , )
track.BorderSizePixel =
track.Parent = holder
trackCorner = .()
trackCorner.CornerRadius = .(, )
trackCorner.Parent = track
fill = .()
fill.Size = .(, , , )
fill.BackgroundColor3 = .(, , )
fill.BorderSizePixel =
fill.Parent = track
fillCorner = .()
fillCorner.CornerRadius = .(, )
fillCorner.Parent = fill
knob = .()
knob.Size = .(, , , )
knob.AnchorPoint = .(, )
knob.Position = .(, , , )
knob.BackgroundColor3 = .(, , )
knob.BorderSizePixel =
knob.Parent = track
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = knob
dragging =
(v)
suffix ==
.(, v, suffix)
(.(v + )) .. suffix
(v)
v = .(v, minValue, maxValue)
step
v = .((v / step) + ) * step
v = .(v, minValue, maxValue)
alpha = (v - minValue) / (maxValue - minValue)
fill.Size = .(alpha, , , )
knob.Position = .(alpha, , , )
valueLabel.Text = (v)
(v)
(x)
alpha = .((x - track.AbsolutePosition.X) / track.AbsoluteSize.X, , )
raw = minValue + ((maxValue - minValue) * alpha)
(raw)
(input)
dragging =
(input.Position.X)
track.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
(input)
)
knob.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
(input)
)
UserInputService.InputChanged:((input)
dragging
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
(input.Position.X)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
(defaultValue)
(content, , , , interval, , , (v)
interval = v
)
(content, , -, , xOffset, , , (v)
xOffset = .(v + )
)
(content, , -, , yOffset, , , (v)
yOffset = .(v + )
)
antiAFKHolder = .()
antiAFKHolder.Size = .(, , , )
antiAFKHolder.BackgroundTransparency =
antiAFKHolder.Parent = content
antiAFKLabel = .()
antiAFKLabel.Size = .(, -, , )
antiAFKLabel.Position = .(, , , )
antiAFKLabel.BackgroundTransparency =
antiAFKLabel.TextColor3 = .(, , )
antiAFKLabel.Font = .Font.Gotham
antiAFKLabel.TextSize =
antiAFKLabel.TextXAlignment = .TextXAlignment.Left
antiAFKLabel.Text =
antiAFKLabel.Parent = antiAFKHolder
antiAFKButton = .()
antiAFKButton.Size = .(, , , )
antiAFKButton.Position = .(, -, , )
antiAFKButton.BackgroundColor3 = .(, , )
antiAFKButton.TextColor3 = .(, , )
antiAFKButton.Font = .Font.GothamBold
antiAFKButton.TextSize =
antiAFKButton.Text =
antiAFKButton.BorderSizePixel =
antiAFKButton.Parent = antiAFKHolder
antiAFKCorner = .()
antiAFKCorner.CornerRadius = .(, )
antiAFKCorner.Parent = antiAFKButton
()
antiAFKEnabled
antiAFKButton.Text =
antiAFKButton.BackgroundColor3 = .(, , )
antiAFKButton.Text =
antiAFKButton.BackgroundColor3 = .(, , )
()
antiAFKThread = .(()
antiAFKEnabled
.( * )
antiAFKEnabled
VirtualInputManager:(, .KeyCode.Space, , )
.()
VirtualInputManager:(, .KeyCode.Space, , )
)
()
antiAFKEnabled =
antiAFKThread
.(antiAFKThread)
antiAFKThread =
antiAFKButton.MouseButton1Click:(()
antiAFKEnabled = antiAFKEnabled
()
antiAFKEnabled
()
()
)
toggleButton.MouseButton1Click:(()
enabled = enabled
()
enabled
character = ()
character
root = character:()
root
hoverPosition = root.Position
(character, )
lockActive =
()
()
)
player.CharacterAdded:((character)
.()
enabled
root = character:(, )
root
hoverPosition = root.Position
(character, )
lockActive =
()
)
player.CharacterRemoving:((character)
_, humanoid = (character)
humanoid
(humanoid)
)
RunService.Heartbeat:(()
enabled lockActive
character = ()
character hoverPosition
root, humanoid = (character)
root humanoid
(character, )
root.AssemblyLinearVelocity = .zero
root.AssemblyAngularVelocity = .zero
root.CFrame = .(hoverPosition)
)
draggingWindow =
dragStart
startPos
dragInput
topBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingWindow =
dragStart = input.Position
startPos = main.Position
dragInput = input
)
topBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
draggingWindow
input == dragInput
delta = input.Position - dragStart
main.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
draggingWindow =
)
()
()
Universal