Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
TweenService = :()
LocalPlayer = Players.LocalPlayer
Workspace =
DEFAULT_CFRAME_WALK_SPEED =
DEFAULT_BV_SPEED =
DEFAULT_PRED =
DEFAULT_LOOK_PRED =
DEFAULT_LOOKV2_PRED =
DEFAULT_ABOVE_TWEEN =
STUCK_TIME_THRESHOLD =
STUCK_MOVE_EPS =
COLLIDE_MIN_DIST =
selectedPlayer =
cframeWalkActive =
universalForwardActive =
universalWalkToPlayersActive =
flyActive =
universalAutoFly =
aboveActive =
lookActive =
lookV2Active =
universalLook =
universalLookV2 =
uniCFrameMode =
uniFlyMode =
uniOffset =
uniMixWalkMode =
uniMixFlyMode =
bv, bg, ctrlRootPart = , ,
playerState = {}
lastMyPos =
lastMovedAt = ()
(n, a, b)
n < a a
n > b b
n
(plr)
(plr plr.Character) plr.Character
(plr)
ch = (plr)
ch
ch:() ch:()
ch:() ch:()
(plr)
ch = (plr)
ch
hum = ch:()
hum hum.Health hum.Health >
(plr, now)
part = (plr)
playerState[plr] playerState[plr] = {pos = , vel = .(,,), t = now}
st = playerState[plr]
part
st.pos = ; st.vel = .(,,); st.t = now
cur = part.Position
st.pos st.t
dt = .(, now - st.t)
st.vel = (cur - st.pos) / dt
st.vel = .(,,)
st.pos = cur
st.t = now
(plr, predSecs)
part = (plr)
part
st = playerState[plr]
st st.pos st.vel predSecs predSecs >
part.Position + st.vel * predSecs
part.Position
(pos)
pos
_,p (Players:())
p ~= LocalPlayer
pr = (p)
pr pr.Position (pos - pr.Position).Magnitude < COLLIDE_MIN_DIST
()
char = LocalPlayer.Character
char
root = char:() char:() char:()
root
ctrlRootPart = root
bg bg.Parent
bg = .()
bg.Name =
bg.P =
bg.D =
bg.MaxTorque = .(,,)
bg.CFrame = root.CFrame
bg.Parent = root
bv bv.Parent
bv = .()
bv.Name =
bv.MaxForce = .(,,)
bv.Velocity = .(,,)
bv.Parent = root
()
bv (() bv:() )
bg (() bg:() )
bv, bg, ctrlRootPart = , ,
(plr, mode, offset, forFly, predSecs)
plr
tgtPart = (plr)
tgtPart
predSecs = predSecs ((walkPredBox walkPredBox.Text (DEFAULT_PRED)) DEFAULT_PRED)
basePos = (plr, predSecs) tgtPart.Position
look =
ok, tgtCFrame = (() (tgtPart.CFrame) )
ok tgtCFrame look = tgtCFrame.LookVector look = .(,,)
offset = (offset )
mode == offset <=
forFly
basePos
hrp = LocalPlayer.Character (LocalPlayer.Character:() LocalPlayer.Character:() LocalPlayer.Character:())
hrp
.(basePos.X, hrp.Position.Y, basePos.Z)
basePos
dir = .(look.X, (forFly look.Y ), look.Z)
dir.Magnitude < dir = .(,,)
desired
mode ==
desired = basePos - dir.Unit * offset
desired = basePos + dir.Unit * offset
toDesiredXZ = .(desired.X - basePos.X, , desired.Z - basePos.Z)
distXZ = toDesiredXZ.Magnitude
distXZ < offset -
fromMe = LocalPlayer.Character (LocalPlayer.Character:() LocalPlayer.Character:() LocalPlayer.Character:())
angleVec
fromMe
angleVec = .(fromMe.Position.X - basePos.X, , fromMe.Position.Z - basePos.Z)
angleVec.Magnitude <
angleVec = .(,,)
angleVec = .(desired.X - basePos.X, , desired.Z - basePos.Z)
angleVec.Magnitude < angleVec = .(,,)
perimeterXZ = basePos + angleVec.Unit * offset
forFly
desired = .(perimeterXZ.X, desired.Y, perimeterXZ.Z)
hrp = LocalPlayer.Character (LocalPlayer.Character:() LocalPlayer.Character:() LocalPlayer.Character:())
y = hrp hrp.Position.Y basePos.Y
desired = .(perimeterXZ.X, y, perimeterXZ.Z)
(desired)
desired = desired + .(, , )
desired
(hrp, targetPos, stepDist)
(hrp hrp:()) targetPos
from = hrp.Position
dir = targetPos - from
dist = dir.Magnitude
dist <=
step = (stepDist) DEFAULT_CFRAME_WALK_SPEED
step <=
t = .(, step / dist)
newPos = from:(targetPos, t)
(targetPos - newPos).Magnitude <
offset = from - targetPos
offset.Magnitude < offset = .(,,)
offset = offset.Unit
newPos = targetPos + offset *
(newPos)
nearest, nd = , .huge
_,p (Players:())
p ~= LocalPlayer
pr = (p)
pr
d = (newPos - pr.Position).Magnitude
d < nd nd = d; nearest = pr
nearest
away = newPos - nearest.Position
away.Magnitude < away = .(,,)
newPos = nearest.Position + away.Unit * (COLLIDE_MIN_DIST + )
look = hrp.CFrame.LookVector
newCf = .(newPos, newPos + look)
(() hrp.CFrame = newCf )
(hrp, stepDist)
(hrp hrp:())
from = hrp.Position
horiz = .(hrp.CFrame.LookVector.X, , hrp.CFrame.LookVector.Z)
horiz.Magnitude <
step = (stepDist) DEFAULT_CFRAME_WALK_SPEED
step <=
newPos = from + horiz.Unit * step
(newPos)
newPos = newPos + .(, , )
newCf = .(newPos, newPos + horiz.Unit)
(() hrp.CFrame = newCf )
(destPos, speed)
destPos
()
ctrlRootPart bg bv
myPos = ctrlRootPart.Position
to = destPos - myPos
dist = to.Magnitude
dist <
bv.Velocity = .(,,)
dir = to.Unit
v = dir * ((speed) DEFAULT_BV_SPEED)
bv.Velocity = v
bg.CFrame = .(ctrlRootPart.Position, destPos)
(pos)
pos
ch = LocalPlayer.Character
hrp = ch (ch:() ch:() ch:())
hrp
myPos = hrp.Position
targetPos = .(pos.X, myPos.Y, pos.Z)
(() hrp.CFrame = .(myPos, targetPos) )
(pos, rollDeg)
pos
ch = LocalPlayer.Character
hrp = ch (ch:() ch:() ch:())
hrp
base = .(hrp.Position, pos)
roll = .(, , .((rollDeg) ))
(() hrp.CFrame = base * roll )
()
myChar = LocalPlayer.Character
myRoot = myChar (myChar:() myChar:() myChar:())
myRoot
best, bestDist = , .huge
_,p (Players:())
p ~= LocalPlayer (p)
pr = (p)
pr
d = (pr.Position - myRoot.Position).Magnitude
d < bestDist bestDist = d; best = p
best
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = LocalPlayer:()
main = .(, screenGui)
main.Name =
main.Size = .(, , , )
main.Position = .(, , , )
main.BackgroundColor3 = .(,,)
main.BorderSizePixel =
main.Active =
header = .(, main)
header.Size = .(,,,)
header.BackgroundColor3 = .(,,)
title = .(, header)
title.Position = .(,,,)
title.Size = .(,-,,-)
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(,,)
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
closeBtn = .(, header)
closeBtn.Size = .(,,,)
closeBtn.Position = .(, -, , -)
closeBtn.Text =
closeBtn.Font = .Font.Gotham
closeBtn.TextColor3 = .(,,)
closeBtn.BackgroundColor3 = .(,,)
closeBtn.BorderSizePixel =
tabBar = .(, main)
tabBar.Size = .(,-,,)
tabBar.Position = .(,,,)
tabBar.BackgroundTransparency =
t1 = .(, tabBar)
t1.Size = .(,-,,)
t1.Position = .(,,,)
t1.Text =
t1.Font = .Font.Gotham
t1.TextSize =
t1.BackgroundColor3 = .(,,)
t2 = .(, tabBar)
t2.Size = .(,-,,)
t2.Position = .(,,,)
t2.Text =
t2.Font = .Font.Gotham
t2.TextSize =
t2.BackgroundColor3 = .(,,)
pageMain = .(, main)
pageMain.Size = .(,-,,-)
pageMain.Position = .(,,,)
pageMain.BackgroundTransparency =
pageUni = .(, main)
pageUni.Size = pageMain.Size
pageUni.Position = pageMain.Position
pageUni.BackgroundTransparency =
pageUni.Visible =
listFrame = .(, pageMain)
listFrame.Size = .(,,,)
listFrame.BackgroundColor3 = .(,,)
listTitle = .(, listFrame)
listTitle.Size = .(,,,)
listTitle.BackgroundTransparency =
listTitle.Font = .Font.GothamBold
listTitle.TextSize =
listTitle.TextColor3 = .(,,)
listTitle.Text =
playerScroll = .(, listFrame)
playerScroll.Position = .(,,,)
playerScroll.Size = .(,-,,-)
playerScroll.BackgroundTransparency =
playerScroll.ScrollBarThickness =
listLayout = .(, playerScroll)
listLayout.Padding = .(,)
listLayout.SortOrder = .SortOrder.LayoutOrder
ctrl = .(, pageMain)
ctrl.Size = .(,,,)
ctrl.Position = .(,,,)
ctrl.BackgroundTransparency =
selLabel = .(, ctrl)
selLabel.Position = .(,,,)
selLabel.Size = .(,-,,)
selLabel.BackgroundTransparency =
selLabel.Font = .Font.Gotham
selLabel.TextSize =
selLabel.TextColor3 = .(,,)
selLabel.Text =
walkSpeedLbl = .(, ctrl)
walkSpeedLbl.Position = .(,,,)
walkSpeedLbl.Size = .(,,,)
walkSpeedLbl.BackgroundTransparency =
walkSpeedLbl.Font = .Font.Gotham
walkSpeedLbl.TextSize =
walkSpeedLbl.Text =
walkSpeedBox = .(, ctrl)
walkSpeedBox.Position = .(,,,)
walkSpeedBox.Size = .(,,,)
walkSpeedBox.Text = (DEFAULT_CFRAME_WALK_SPEED)
walkSpeedBox.ClearTextOnFocus =
walkSpeedBox.Font = .Font.Gotham
predLbl = .(, ctrl)
predLbl.Position = .(,,,)
predLbl.Size = .(,,,)
predLbl.BackgroundTransparency =
predLbl.Font = .Font.Gotham
predLbl.Text =
walkPredBox = .(, ctrl)
walkPredBox.Position = .(,,,)
walkPredBox.Size = .(,,,)
walkPredBox.Text = (DEFAULT_PRED)
walkPredBox.ClearTextOnFocus =
walkPredBox.Font = .Font.Gotham
lookPredLbl = .(, ctrl)
lookPredLbl.Position = .(,,,)
lookPredLbl.Size = .(,,,)
lookPredLbl.BackgroundTransparency =
lookPredLbl.Font = .Font.Gotham
lookPredLbl.Text =
lookPredBox = .(, ctrl)
lookPredBox.Position = .(,,,)
lookPredBox.Size = .(,,,)
lookPredBox.Text = (DEFAULT_LOOK_PRED)
lookPredBox.ClearTextOnFocus =
lookPredBox.Font = .Font.Gotham
lookV2PredLbl = .(, ctrl)
lookV2PredLbl.Position = .(,,,)
lookV2PredLbl.Size = .(,,,)
lookV2PredLbl.BackgroundTransparency =
lookV2PredLbl.Font = .Font.Gotham
lookV2PredLbl.Text =
lookV2PredBox = .(, ctrl)
lookV2PredBox.Position = .(,,,)
lookV2PredBox.Size = .(,,,)
lookV2PredBox.Text = (DEFAULT_LOOKV2_PRED)
lookV2PredBox.ClearTextOnFocus =
lookV2PredBox.Font = .Font.Gotham
cwalkBtn = .(, ctrl)
cwalkBtn.Position = .(,,,)
cwalkBtn.Size = .(,,,)
cwalkBtn.Text =
cwalkBtn.Font = .Font.Gotham
cwalkBtn.BackgroundColor3 = .(,,)
flySpeedLbl = .(, ctrl)
flySpeedLbl.Position = .(,,,)
flySpeedLbl.Size = .(,,,)
flySpeedLbl.BackgroundTransparency =
flySpeedLbl.Font = .Font.Gotham
flySpeedLbl.Text =
flySpeedBox = .(, ctrl)
flySpeedBox.Position = .(,,,)
flySpeedBox.Size = .(,,,)
flySpeedBox.Text = (DEFAULT_BV_SPEED)
flySpeedBox.ClearTextOnFocus =
flySpeedBox.Font = .Font.Gotham
flyPredLbl = .(, ctrl)
flyPredLbl.Position = .(,,,)
flyPredLbl.Size = .(,,,)
flyPredLbl.BackgroundTransparency =
flyPredLbl.Font = .Font.Gotham
flyPredLbl.Text =
flyPredBox = .(, ctrl)
flyPredBox.Position = .(,,,)
flyPredBox.Size = .(,,,)
flyPredBox.Text = (DEFAULT_PRED)
flyPredBox.ClearTextOnFocus =
flyPredBox.Font = .Font.Gotham
flyBtn = .(, ctrl)
flyBtn.Position = .(,,,)
flyBtn.Size = .(,,,)
flyBtn.Text =
flyBtn.Font = .Font.Gotham
flyBtn.BackgroundColor3 = .(,,)
aboveLbl = .(, ctrl)
aboveLbl.Position = .(,,,)
aboveLbl.Size = .(,,,)
aboveLbl.BackgroundTransparency =
aboveLbl.Font = .Font.Gotham
aboveLbl.Text =
aboveBox = .(, ctrl)
aboveBox.Position = .(,,,)
aboveBox.Size = .(,,,)
aboveBox.Text =
aboveBox.ClearTextOnFocus =
aboveBox.Font = .Font.Gotham
aboveTweenLbl = .(, ctrl)
aboveTweenLbl.Position = .(,,,)
aboveTweenLbl.Size = .(,,,)
aboveTweenLbl.BackgroundTransparency =
aboveTweenLbl.Font = .Font.Gotham
aboveTweenLbl.Text =
aboveTweenBox = .(, ctrl)
aboveTweenBox.Position = .(,,,)
aboveTweenBox.Size = .(,,,)
aboveTweenBox.Text = (DEFAULT_ABOVE_TWEEN)
aboveTweenBox.ClearTextOnFocus =
aboveTweenBox.Font = .Font.Gotham
aboveBtn = .(, ctrl)
aboveBtn.Position = .(,,,)
aboveBtn.Size = .(,,,)
aboveBtn.Text =
aboveBtn.Font = .Font.Gotham
aboveBtn.BackgroundColor3 = .(,,)
lookBtn = .(, ctrl)
lookBtn.Position = .(,,,)
lookBtn.Size = .(,,,)
lookBtn.Text =
lookBtn.Font = .Font.Gotham
lookV2Btn = .(, ctrl)
lookV2Btn.Position = .(,,,)
lookV2Btn.Size = .(,,,)
lookV2Btn.Text =
lookV2Btn.Font = .Font.Gotham
uniTitle = .(, pageUni)
uniTitle.Position = .(,,,)
uniTitle.Size = .(,-,,)
uniTitle.BackgroundTransparency =
uniTitle.Font = .Font.GothamBold
uniTitle.Text =
uniForwardBtn = .(, pageUni)
uniForwardBtn.Position = .(,,,)
uniForwardBtn.Size = .(,,,)
uniForwardBtn.Text =
uniForwardBtn.Font = .Font.Gotham
uniForwardBtn.BackgroundColor3 = .(,,)
uniToPlayersBtn = .(, pageUni)
uniToPlayersBtn.Position = .(,,,)
uniToPlayersBtn.Size = .(,,,)
uniToPlayersBtn.Text =
uniToPlayersBtn.Font = .Font.Gotham
uniToPlayersBtn.BackgroundColor3 = .(,,)
uniAutoFlyBtn = .(, pageUni)
uniAutoFlyBtn.Position = .(,,,)
uniAutoFlyBtn.Size = .(,,,)
uniAutoFlyBtn.Text =
uniAutoFlyBtn.Font = .Font.Gotham
uniAutoFlyBtn.BackgroundColor3 = .(,,)
cframeModeLabel = .(, pageUni)
cframeModeLabel.Position = .(,,,)
cframeModeLabel.Size = .(,,,)
cframeModeLabel.BackgroundTransparency =
cframeModeLabel.Font = .Font.GothamBold
cframeModeLabel.Text =
cNormalBtn = .(, pageUni)
cNormalBtn.Position = .(,,,)
cNormalBtn.Size = .(,,,)
cNormalBtn.Text =
cNormalBtn.Font = .Font.Gotham
cBehindBtn = .(, pageUni)
cBehindBtn.Position = .(,,,)
cBehindBtn.Size = .(,,,)
cBehindBtn.Text =
cBehindBtn.Font = .Font.Gotham
cFrontBtn = .(, pageUni)
cFrontBtn.Position = .(,,,)
cFrontBtn.Size = .(,,,)
cFrontBtn.Text =
cFrontBtn.Font = .Font.Gotham
flyModeLabel = .(, pageUni)
flyModeLabel.Position = .(,,,)
flyModeLabel.Size = .(,,,)
flyModeLabel.BackgroundTransparency =
flyModeLabel.Font = .Font.GothamBold
flyModeLabel.Text =
fNormalBtn = .(, pageUni)
fNormalBtn.Position = .(,,,)
fNormalBtn.Size = .(,,,)
fNormalBtn.Text =
fNormalBtn.Font = .Font.Gotham
fBehindBtn = .(, pageUni)
fBehindBtn.Position = .(,,,)
fBehindBtn.Size = .(,,,)
fBehindBtn.Text =
fBehindBtn.Font = .Font.Gotham
fFrontBtn = .(, pageUni)
fFrontBtn.Position = .(,,,)
fFrontBtn.Size = .(,,,)
fFrontBtn.Text =
fFrontBtn.Font = .Font.Gotham
mixWalkLabel = .(, pageUni)
mixWalkLabel.Position = .(,,,)
mixWalkLabel.Size = .(,,,)
mixWalkLabel.BackgroundTransparency =
mixWalkLabel.Font = .Font.GothamBold
mixWalkLabel.Text =
mWalkNormal = .(, pageUni)
mWalkNormal.Position = .(,,,)
mWalkNormal.Size = .(,,,)
mWalkNormal.Text =
mWalkBehind = .(, pageUni)
mWalkBehind.Position = .(,,,)
mWalkBehind.Size = .(,,,)
mWalkBehind.Text =
mWalkFront = .(, pageUni)
mWalkFront.Position = .(,,,)
mWalkFront.Size = .(,,,)
mWalkFront.Text =
mixFlyLabel = .(, pageUni)
mixFlyLabel.Position = .(,,,)
mixFlyLabel.Size = .(,,,)
mixFlyLabel.BackgroundTransparency =
mixFlyLabel.Font = .Font.GothamBold
mixFlyLabel.Text =
mFlyNormal = .(, pageUni)
mFlyNormal.Position = .(,,,)
mFlyNormal.Size = .(,,,)
mFlyNormal.Text =
mFlyBehind = .(, pageUni)
mFlyBehind.Position = .(,,,)
mFlyBehind.Size = .(,,,)
mFlyBehind.Text =
mFlyFront = .(, pageUni)
mFlyFront.Position = .(,,,)
mFlyFront.Size = .(,,,)
mFlyFront.Text =
offsetLbl = .(, pageUni)
offsetLbl.Position = .(,,,)
offsetLbl.Size = .(,,,)
offsetLbl.BackgroundTransparency =
offsetLbl.Font = .Font.Gotham
offsetLbl.Text =
offsetBox = .(, pageUni)
offsetBox.Position = .(,,,)
offsetBox.Size = .(,,,)
offsetBox.Text = (uniOffset)
offsetBox.ClearTextOnFocus =
offsetBox.Font = .Font.Gotham
uniLookBtn = .(, pageUni)
uniLookBtn.Position = .(,,,)
uniLookBtn.Size = .(,,,)
uniLookBtn.Text =
uniLookBtn.Font = .Font.Gotham
uniLookBtn.BackgroundColor3 = .(,,)
uniLookV2Btn = .(, pageUni)
uniLookV2Btn.Position = .(,,,)
uniLookV2Btn.Size = .(,,,)
uniLookV2Btn.Text =
uniLookV2Btn.Font = .Font.Gotham
uniLookV2Btn.BackgroundColor3 = .(,,)
playerRows = {}
(plr)
f = .()
f.Size = .(, -, , )
f.BackgroundColor3 = .(,,)
f.BorderSizePixel =
name = .(, f)
name.Size = .(, , , )
name.Position = .(,,,)
name.BackgroundTransparency =
name.Font = .Font.Gotham
name.TextSize =
name.Text = plr.Name
name.TextColor3 = .(,,)
name.TextXAlignment = .TextXAlignment.Left
btn = .(, f)
btn.Size = .(,,,)
btn.Position = .(,-,,-)
btn.Text =
btn.Font = .Font.Gotham
btn.BackgroundColor3 = .(,,)
btn.TextColor3 = .(,,)
{frame = f, name = name, btn = btn}
()
_,c (playerScroll:()) c:() c:()
playerRows = {}
_,p (Players:())
p ~= LocalPlayer
r = (p)
r.frame.Parent = playerScroll
r.btn.MouseButton1Click:(()
selectedPlayer = p
selLabel.Text = ..p.Name
_,v (playerRows) v.frame.BackgroundColor3 = .(,,)
r.frame.BackgroundColor3 = .(,,)
)
playerRows[p] = r
count =
_,c (playerScroll:()) c:() count = count +
playerScroll.CanvasSize = .(,,, count * + )
()
Players.PlayerAdded:(refreshPlayers)
Players.PlayerRemoving:(refreshPlayers)
walkSpeedBox.FocusLost:(() v = (walkSpeedBox.Text) DEFAULT_CFRAME_WALK_SPEED; walkSpeedBox.Text = (.(, v)) )
walkPredBox.FocusLost:(() v = (walkPredBox.Text) DEFAULT_PRED; walkPredBox.Text = (.(, v)) )
lookPredBox.FocusLost:(() v = (lookPredBox.Text) DEFAULT_LOOK_PRED; lookPredBox.Text = (.(, v)) )
lookV2PredBox.FocusLost:(() v = (lookV2PredBox.Text) DEFAULT_LOOKV2_PRED; lookV2PredBox.Text = (.(, v)) )
flySpeedBox.FocusLost:(() v = (flySpeedBox.Text) DEFAULT_BV_SPEED; flySpeedBox.Text = (.(, v)) )
flyPredBox.FocusLost:(() v = (flyPredBox.Text) DEFAULT_PRED; flyPredBox.Text = (.(, v)) )
aboveBox.FocusLost:(() aboveBox.Text = (.(, (aboveBox.Text) )) )
aboveTweenBox.FocusLost:(() aboveTweenBox.Text = (.(, (aboveTweenBox.Text) DEFAULT_ABOVE_TWEEN)) )
offsetBox.FocusLost:(() uniOffset = .(, (offsetBox.Text) uniOffset); offsetBox.Text = (uniOffset) )
cwalkBtn.MouseButton1Click:(()
cframeWalkActive = cframeWalkActive
cwalkBtn.Text = cframeWalkActive
cwalkBtn.BackgroundColor3 = cframeWalkActive .(,,) .(,,)
cframeWalkActive
universalForwardActive = ; uniForwardBtn.Text = ; uniForwardBtn.BackgroundColor3 = .(,,)
universalWalkToPlayersActive = ; uniToPlayersBtn.Text = ; uniToPlayersBtn.BackgroundColor3 = .(,,)
universalAutoFly = ; uniAutoFlyBtn.Text = ; uniAutoFlyBtn.BackgroundColor3 = .(,,)
flyActive = ; flyBtn.Text = ; flyBtn.BackgroundColor3 = .(,,)
()
)
uniForwardBtn.MouseButton1Click:(()
universalForwardActive = universalForwardActive
uniForwardBtn.Text = universalForwardActive
uniForwardBtn.BackgroundColor3 = universalForwardActive .(,,) .(,,)
universalForwardActive
cframeWalkActive = ; cwalkBtn.Text = ; cwalkBtn.BackgroundColor3 = .(,,)
universalAutoFly flyActive ()
)
uniToPlayersBtn.MouseButton1Click:(()
universalWalkToPlayersActive = universalWalkToPlayersActive
uniToPlayersBtn.Text = universalWalkToPlayersActive
uniToPlayersBtn.BackgroundColor3 = universalWalkToPlayersActive .(,,) .(,,)
universalWalkToPlayersActive
cframeWalkActive = ; cwalkBtn.Text = ; cwalkBtn.BackgroundColor3 = .(,,)
universalForwardActive = ; uniForwardBtn.Text = ; uniForwardBtn.BackgroundColor3 = .(,,)
universalAutoFly flyActive ()
)
uniAutoFlyBtn.MouseButton1Click:(()
universalAutoFly = universalAutoFly
uniAutoFlyBtn.Text = universalAutoFly
uniAutoFlyBtn.BackgroundColor3 = universalAutoFly .(,,) .(,,)
universalAutoFly
()
universalForwardActive = ; uniForwardBtn.Text = ; uniForwardBtn.BackgroundColor3 = .(,,)
universalWalkToPlayersActive = ; uniToPlayersBtn.Text = ; uniToPlayersBtn.BackgroundColor3 = .(,,)
flyActive aboveActive ()
)
flyBtn.MouseButton1Click:(()
flyActive = flyActive
flyBtn.Text = flyActive
flyBtn.BackgroundColor3 = flyActive .(,,) .(,,)
flyActive
()
cframeWalkActive = ; cwalkBtn.Text = ; cwalkBtn.BackgroundColor3 = .(,,)
universalForwardActive = ; uniForwardBtn.Text = ; uniForwardBtn.BackgroundColor3 = .(,,)
universalWalkToPlayersActive = ; uniToPlayersBtn.Text = ; uniToPlayersBtn.BackgroundColor3 = .(,,)
universalAutoFly aboveActive ()
)
aboveThread =
aboveBtn.MouseButton1Click:(()
aboveActive = aboveActive
aboveBtn.Text = aboveActive
aboveBtn.BackgroundColor3 = aboveActive .(,,) .(,,)
aboveActive
cframeWalkActive = ; cwalkBtn.Text = ; cwalkBtn.BackgroundColor3 = .(,,)
universalForwardActive = ; uniForwardBtn.Text = ; uniForwardBtn.BackgroundColor3 = .(,,)
universalWalkToPlayersActive = ; uniToPlayersBtn.Text = ; uniToPlayersBtn.BackgroundColor3 = .(,,)
flyActive = ; flyBtn.Text = ; flyBtn.BackgroundColor3 = .(,,)
universalAutoFly = ; uniAutoFlyBtn.Text = ; uniAutoFlyBtn.BackgroundColor3 = .(,,)
aboveThread aboveThread =
aboveThread = .(()
aboveActive screenGui.Parent
selectedPlayer (selectedPlayer)
tgt = (selectedPlayer)
tgt
height = (aboveBox.Text)
tweenTime = (aboveTweenBox.Text) DEFAULT_ABOVE_TWEEN
tweenTime = .(, tweenTime)
abovePos = .(tgt.Position.X, tgt.Position.Y + height, tgt.Position.Z)
desiredCFrame = .(abovePos, tgt.Position)
char = LocalPlayer.Character
hrp = char (char:() char:() char:())
hrp
ok, tw = (()
TweenService:(hrp, TweenInfo.(tweenTime, .EasingStyle.Linear, .EasingDirection.Out), { = desiredCFrame})
)
ok tw
tw:()
waited =
waited < tweenTime tw.PlaybackState == .PlaybackState.Playing aboveActive
.(.(, tweenTime))
waited = waited +
(() hrp.CFrame = desiredCFrame )
(() hrp.CFrame = desiredCFrame )
.()
.()
.()
)
aboveThread =
)
lookBtn.MouseButton1Click:(()
lookActive = lookActive
lookBtn.Text = lookActive
lookBtn.BackgroundColor3 = lookActive .(,,) .(,,)
lookActive
universalLook = ; uniLookBtn.Text = ; uniLookBtn.BackgroundColor3 = .(,,)
lookV2Active = ; lookV2Btn.Text = ; lookV2Btn.BackgroundColor3 = .(,,)
)
lookV2Btn.MouseButton1Click:(()
lookV2Active = lookV2Active
lookV2Btn.Text = lookV2Active
lookV2Btn.BackgroundColor3 = lookV2Active .(,,) .(,,)
lookV2Active
universalLookV2 = ; uniLookV2Btn.Text = ; uniLookV2Btn.BackgroundColor3 = .(,,)
lookActive = ; lookBtn.Text = ; lookBtn.BackgroundColor3 = .(,,)
)
uniLookBtn.MouseButton1Click:(()
universalLook = universalLook
uniLookBtn.Text = universalLook
uniLookBtn.BackgroundColor3 = universalLook .(,,) .(,,)
universalLook
lookActive = ; lookBtn.Text = ; lookBtn.BackgroundColor3 = .(,,)
universalLookV2 = ; uniLookV2Btn.Text = ; uniLookV2Btn.BackgroundColor3 = .(,,)
)
uniLookV2Btn.MouseButton1Click:(()
universalLookV2 = universalLookV2
uniLookV2Btn.Text = universalLookV2
uniLookV2Btn.BackgroundColor3 = universalLookV2 .(,,) .(,,)
universalLookV2
lookV2Active = ; lookV2Btn.Text = ; lookV2Btn.BackgroundColor3 = .(,,)
universalLook = ; uniLookBtn.Text = ; uniLookBtn.BackgroundColor3 = .(,,)
)
()
cNormalBtn.BackgroundColor3 = (uniCFrameMode == ) .(,,) .(,,)
cBehindBtn.BackgroundColor3 = (uniCFrameMode == ) .(,,) .(,,)
cFrontBtn.BackgroundColor3 = (uniCFrameMode == ) .(,,) .(,,)
cNormalBtn.MouseButton1Click:(() uniCFrameMode = ; () )
cBehindBtn.MouseButton1Click:(() uniCFrameMode = ; () )
cFrontBtn.MouseButton1Click:(() uniCFrameMode = ; () )
()
()
fNormalBtn.BackgroundColor3 = (uniFlyMode == ) .(,,) .(,,)
fBehindBtn.BackgroundColor3 = (uniFlyMode == ) .(,,) .(,,)
fFrontBtn.BackgroundColor3 = (uniFlyMode == ) .(,,) .(,,)
fNormalBtn.MouseButton1Click:(() uniFlyMode = ; () )
fBehindBtn.MouseButton1Click:(() uniFlyMode = ; () )
fFrontBtn.MouseButton1Click:(() uniFlyMode = ; () )
()
()
mWalkNormal.BackgroundColor3 = (uniMixWalkMode == ) .(,,) .(,,)
mWalkBehind.BackgroundColor3 = (uniMixWalkMode == ) .(,,) .(,,)
mWalkFront.BackgroundColor3 = (uniMixWalkMode == ) .(,,) .(,,)
mWalkNormal.MouseButton1Click:(() uniMixWalkMode = ; () )
mWalkBehind.MouseButton1Click:(() uniMixWalkMode = ; () )
mWalkFront.MouseButton1Click:(() uniMixWalkMode = ; () )
()
()
mFlyNormal.BackgroundColor3 = (uniMixFlyMode == ) .(,,) .(,,)
mFlyBehind.BackgroundColor3 = (uniMixFlyMode == ) .(,,) .(,,)
mFlyFront.BackgroundColor3 = (uniMixFlyMode == ) .(,,) .(,,)
mFlyNormal.MouseButton1Click:(() uniMixFlyMode = ; () )
mFlyBehind.MouseButton1Click:(() uniMixFlyMode = ; () )
mFlyFront.MouseButton1Click:(() uniMixFlyMode = ; () )
()
t1.MouseButton1Click:(() pageMain.Visible = ; pageUni.Visible = ; t1.BackgroundColor3 = .(,,); t2.BackgroundColor3 = .(,,) )
t2.MouseButton1Click:(() pageMain.Visible = ; pageUni.Visible = ; t2.BackgroundColor3 = .(,,); t1.BackgroundColor3 = .(,,) )
closeBtn.MouseButton1Click:(()
cframeWalkActive =
universalForwardActive =
universalWalkToPlayersActive =
universalAutoFly =
flyActive =
aboveActive =
universalLook =
universalLookV2 =
()
screenGui:()
)
dragging, dragStart, startPos = , ,
header.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = main.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
header.InputChanged:((input)
dragging input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStart
main.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
RunService.RenderStepped:((dt)
now = ()
_,p (Players:()) (p, now)
cframeWalkActive selectedPlayer (selectedPlayer)
hrp = LocalPlayer.Character (LocalPlayer.Character:()
LocalPlayer.Character:() LocalPlayer.Character:())
hrp
stepDist = (walkSpeedBox.Text) DEFAULT_CFRAME_WALK_SPEED
desired = (selectedPlayer, uniCFrameMode, uniOffset, , (walkPredBox.Text) DEFAULT_PRED)
desired
(hrp, desired, stepDist)
universalForwardActive
hrp = LocalPlayer.Character (LocalPlayer.Character:()
LocalPlayer.Character:() LocalPlayer.Character:())
hrp
stepDist = (walkSpeedBox.Text) DEFAULT_CFRAME_WALK_SPEED
(hrp, stepDist)
universalWalkToPlayersActive
nearest = ()
hrp = LocalPlayer.Character (LocalPlayer.Character:()
LocalPlayer.Character:() LocalPlayer.Character:())
hrp nearest (nearest)
desired = (nearest, uniCFrameMode, uniOffset, , (walkPredBox.Text) DEFAULT_PRED)
desired
stepDist = (walkSpeedBox.Text) DEFAULT_CFRAME_WALK_SPEED
(hrp, desired, stepDist)
flyActive selectedPlayer (selectedPlayer)
desired = (selectedPlayer, uniFlyMode, uniOffset, , (flyPredBox.Text) DEFAULT_PRED)
desired
bvSpeed = (flySpeedBox.Text) DEFAULT_BV_SPEED
(desired, bvSpeed)
universalAutoFly
nearest = ()
nearest (nearest)
desired = (nearest, uniFlyMode, uniOffset, , (flyPredBox.Text) DEFAULT_PRED)
desired
bvSpeed = (flySpeedBox.Text) DEFAULT_BV_SPEED
()
(desired, bvSpeed)
lookPred = (lookPredBox.Text) DEFAULT_LOOK_PRED
lookV2Pred = (lookV2PredBox.Text) DEFAULT_LOOKV2_PRED
lookActive selectedPlayer (selectedPlayer)
tgt = (selectedPlayer, lookPred)
tgt (() (tgt) )
lookV2Active selectedPlayer (selectedPlayer)
tgt = (selectedPlayer, lookV2Pred)
tgt (() (tgt, ) )
universalLook
nearest = ()
nearest (nearest)
tgt = (nearest, lookPred)
tgt (() (tgt) )
universalLookV2
nearest = ()
nearest (nearest)
tgt = (nearest, lookV2Pred)
tgt (() (tgt, ) )
myHRP = LocalPlayer.Character (LocalPlayer.Character:()
LocalPlayer.Character:() LocalPlayer.Character:())
myHRP
lastMyPos lastMyPos = myHRP.Position; lastMovedAt = now
(myHRP.Position - lastMyPos).Magnitude > STUCK_MOVE_EPS
lastMovedAt = now
lastMyPos = myHRP.Position
activeCframeModes = cframeWalkActive universalForwardActive universalWalkToPlayersActive
activeCframeModes (now - lastMovedAt) > STUCK_TIME_THRESHOLD
(() myHRP.CFrame = myHRP.CFrame + .(, , ) )
lastMovedAt = now
lastMyPos = myHRP.Position
(flyActive universalAutoFly)
bv bv.Velocity.Magnitude ==
()
)
()
basiscally just a gui lookat gui and it might be very confusing to use but once you know how to use it be good but yea. Fly, lookat, lookatv2(look all ways) cframe auto walk, autowalk(i just added that to added that) and mostly prediction and universal page to keep aiming at nearbyplayers also the normal front and back was just made for me to try to make it get behind them and front