Run it
Copy the script and paste it into your executor.
Players = :()
UIS = :()
RunService = :()
TweenService = :()
Lighting = :()
Camera = .CurrentCamera
LP = Players.LocalPlayer
:() .() :()
T = {
BG = .(,,), BG2 = .(,,),
Side = .(,,), Elem = .(,,),
Hover = .(,,), Acc = .(,,),
Acc2 = .(,,), Text = .(,,),
Sub = .(,,), Stroke = .(,,),
}
F = {
WalkSpeed = , JumpPower = , Gravity = , InfiniteJump = ,
Noclip = , ClickTP = ,
Fly = , FlySpeed = ,
Spectate = , SpectateTarget = ,
Fullbright = , NoFog = , ESP = ,
ESPDistance = , ESPHealth = , ESPName = , ESPTracers = , ESPTeamColor = ,
TeamCheck = ,
Aimbot = , AimbotPart = , AimbotFOVSize = , AimbotKey = .UserInputType.MouseButton2,
Triggerbot = , TriggerKey = .KeyCode.Q,
AntiAFK = , AntiFling = , AntiVoid = , AntiFall = ,
AutoFixLag = , LagLevel = ,
TrollTarget = , FollowPlayer =
}
Alive =
Connections = {}
(c) .(Connections, c); c
(cls, props)
i = .(cls)
k, v (props) k ~= i[k] = v
props.Parent i.Parent = props.Parent
i
(p, r) (, {CornerRadius = .(, r ), Parent = p})
(p, c, t, tr)
(, {Color = c T.Stroke, Thickness = t ,
Transparency = tr , ApplyStrokeMode = .ApplyStrokeMode.Border, Parent = p})
(i, info, props)
ok, t = (() TweenService:(i, info, props) )
ok t t:(); t
() c = LP.Character; c c:()
guiParent
gethui ok, h = (gethui); ok h guiParent = h
guiParent
ok, cg = (() :() )
ok cg guiParent = cg guiParent = LP:()
existing = guiParent:(); existing existing:()
ScreenGui = (, {
Name = , ResetOnSpawn = , IgnoreGuiInset = ,
DisplayOrder = , ZIndexBehavior = .ZIndexBehavior.Sibling, Parent = guiParent,
})
FovGui = (, {
Name = , ResetOnSpawn = , IgnoreGuiInset = ,
DisplayOrder = , Parent = guiParent,
})
FovCircle = (, {
Name = , Size = .(, F.AimbotFOVSize * , , F.AimbotFOVSize * ),
Position = .(, , , ), AnchorPoint = .(, ),
BackgroundTransparency = , BorderSizePixel = , Visible = , Parent = FovGui,
})
(FovCircle, )
(FovCircle, .(, , ), , )
(v)
F.WalkSpeed = v
h = (); h h.WalkSpeed = v
(v)
F.JumpPower = v
h = ()
h h.UseJumpPower = ; h.JumpPower = v
(v)
F.Gravity = v
.Gravity = v
(RunService.RenderStepped:(()
Alive
h = (); h
h.WalkSpeed ~= F.WalkSpeed h.WalkSpeed = F.WalkSpeed
h.UseJumpPower h.UseJumpPower =
h.JumpPower ~= F.JumpPower h.JumpPower = F.JumpPower
.Gravity ~= F.Gravity .Gravity = F.Gravity
))
(UIS.JumpRequest:(()
F.InfiniteJump Alive
h = ()
h h:(.HumanoidStateType.Jumping)
))
noclipConn, noclipOrig = , {}
(v)
F.Noclip = v
noclipConn noclipConn:(); noclipConn =
v
noclipConn = RunService.Stepped:(()
Alive
char = LP.Character; char
_, p (char:())
p:()
noclipOrig[p] == noclipOrig[p] = p.CanCollide
p.CanCollide p.CanCollide =
)
p, orig (noclipOrig)
p.Parent p:() p.CanCollide = orig
noclipOrig = {}
clickTPConn =
(v)
F.ClickTP = v
clickTPConn clickTPConn:(); clickTPConn =
v
clickTPConn = UIS.InputBegan:((input, gp)
gp
input.UserInputType ~= .UserInputType.MouseButton1
input.UserInputType ~= .UserInputType.Touch
char = LP.Character
hrp = char char:()
hrp
ray = Camera:(input.Position.X, input.Position.Y)
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = {char}
hit = :(ray.Origin, ray.Direction * , params)
hit hrp.CFrame = .(hit.Position + .(, , ))
)
flyConn =
originalC0s = {}
(v)
F.Fly = v
flyConn flyConn:(); flyConn =
char = LP.Character
char
rS = char:() char:()
lS = char:() char:()
rH = char:() char:()
lH = char:() char:()
v
originalC0s[char]
originalC0s[char] = { rS = rS rS.C0, lS = lS lS.C0, rH = rH rH.C0, lH = lH lH.C0 }
rS (rS, TweenInfo.(, .EasingStyle.Quad), {C0 = .(, , ) * .(.(-), , )})
lS (lS, TweenInfo.(, .EasingStyle.Quad), {C0 = .(-, , ) * .(.(-), , )})
rH (rH, TweenInfo.(, .EasingStyle.Quad), {C0 = .(, -, ) * .(.(), , )})
lH (lH, TweenInfo.(, .EasingStyle.Quad), {C0 = .(-, -, ) * .(.(), , )})
hum = char:()
hum hum.PlatformStand =
flyConn = RunService.RenderStepped:((dt)
Alive
char2 = LP.Character
hrp = char2 char2:()
hum2 = char2 char2:()
hrp hum2
hum2.PlatformStand =
bv = hrp:()
bv bv = (, {Name=, MaxForce=.(.huge,.huge,.huge), Velocity=.zero, Parent=hrp})
bg = hrp:()
bg bg = (, {Name=, MaxTorque=.(.huge,.huge,.huge), P=, D=, Parent=hrp})
dir = .zero
Camera
UIS:(.KeyCode.W) dir += Camera.CFrame.LookVector
UIS:(.KeyCode.S) dir -= Camera.CFrame.LookVector
UIS:(.KeyCode.A) dir -= Camera.CFrame.RightVector
UIS:(.KeyCode.D) dir += Camera.CFrame.RightVector
UIS:(.KeyCode.Space) dir += .yAxis
UIS:(.KeyCode.LeftControl) dir -= .yAxis
speed = F.FlySpeed
UIS:(.KeyCode.LeftShift) speed *=
dir.Magnitude >
dir = dir.Unit
targetCF = .(hrp.Position, hrp.Position + dir, .yAxis)
tiltCF = targetCF * .(.(-), , )
bg.CFrame = bg.CFrame:(tiltCF, .(dt * , , ))
targetCF = .(hrp.Position, hrp.Position + Camera.CFrame.LookVector, .yAxis)
bg.CFrame = bg.CFrame:(targetCF, .(dt * , , ))
bv.Velocity = bv.Velocity:(dir * speed, .(dt * , , ))
)
originalC0s[char]
orig = originalC0s[char]
rS orig.rS (rS, TweenInfo.(), {C0 = orig.rS})
lS orig.lS (lS, TweenInfo.(), {C0 = orig.lS})
rH orig.rH (rH, TweenInfo.(), {C0 = orig.rH})
lH orig.lH (lH, TweenInfo.(), {C0 = orig.lH})
originalC0s[char] =
hum = char:()
hrp = char:()
hrp
bv = hrp:(); bv bv:()
bg = hrp:(); bg bg:()
hum hum.PlatformStand =
fbConn, fbOrig, fogOrig = , ,
(v)
F.Fullbright = v
v
fbOrig
fbOrig = { ClockTime = Lighting.ClockTime, Brightness = Lighting.Brightness,
Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient,
GlobalShadows = Lighting.GlobalShadows, ExposureCompensation = Lighting.ExposureCompensation }
()
Lighting.ClockTime = ; Lighting.Brightness =
Lighting.Ambient = .(,,); Lighting.OutdoorAmbient = .(,,)
Lighting.GlobalShadows = ; Lighting.ExposureCompensation =
()
fbConn fbConn:()
fbConn = RunService.RenderStepped:(apply)
fbConn fbConn:(); fbConn =
fbOrig
k, v2 (fbOrig) (() Lighting[k] = v2 )
fbOrig =
(v)
F.NoFog = v
v
fogOrig fogOrig = { FogEnd = Lighting.FogEnd, FogStart = Lighting.FogStart, FogColor = Lighting.FogColor }
Lighting.FogEnd = ; Lighting.FogStart =
fogOrig
k, v2 (fogOrig) (() Lighting[k] = v2 )
fogOrig =
spectateConn =
(name)
F.Spectate name
plr = Players:(name)
plr plr.Character
hum = plr.Character:()
hum Camera.CameraSubject = hum
(v)
F.Spectate = v
spectateConn spectateConn:(); spectateConn =
v
(F.SpectateTarget)
spectateConn = RunService.RenderStepped:(()
Alive F.Spectate
(F.SpectateTarget)
)
char = LP.Character
hum = char char:()
hum Camera.CameraSubject = hum
espConn =
espCache = {}
tracerGui = (, {Name = , Size = .(, , , ), BackgroundTransparency = , ZIndex = , Parent = ScreenGui})
tracerCache = {}
(plr)
tracerCache[plr]
tracerCache[plr] = (, {
Name = , AnchorPoint = .(, ),
BackgroundColor3 = T.Acc, BorderSizePixel = , Size = .(, , , ),
Visible = , ZIndex = , Parent = tracerGui
})
tracerCache[plr]
(plr)
d = espCache[plr]; d
d.highlight d.highlight.Parent d.highlight:()
d.billboard d.billboard.Parent d.billboard:()
d.hbGui d.hbGui.Parent d.hbGui:()
tracerCache[plr] tracerCache[plr]:(); tracerCache[plr] =
espCache[plr] =
()
plr (espCache) (plr)
plr, f (tracerCache) f:(); tracerCache[plr] =
(plr, char)
(plr)
highlight = (, {
Name = , FillColor = T.Acc, OutlineColor = .(,,),
FillTransparency = , OutlineTransparency = ,
DepthMode = .HighlightDepthMode.AlwaysOnTop, Adornee = char, Parent = char,
})
head = char:() char:()
head
espCache[plr] = {highlight = highlight, character = char}
bb = (, {
Name = , Size = .(, ),
StudsOffset = .(, , ), AlwaysOnTop = , Adornee = head, Parent = char,
})
uiscale = (, {Scale = , Parent = bb})
nameLabel = (, {
Name = , Size = .(, , , ), BackgroundTransparency = ,
Text = plr.Name, TextColor3 = T.Text, TextStrokeColor3 = .(,,),
TextStrokeTransparency = , Font = .Font.GothamBold, TextSize = , Parent = bb,
})
distLabel = (, {
Name = , Size = .(, , , ), Position = .(, , , ),
BackgroundTransparency = , Text = , TextColor3 = T.Sub,
TextStrokeColor3 = .(,,), TextStrokeTransparency = ,
Font = .Font.Gotham, TextSize = , Parent = bb,
})
hbGui = (, {
Name = , Size = .(, ),
StudsOffset = .(-, , ), AlwaysOnTop = , Adornee = head, Parent = char,
})
hbBg = (, {
Name = , Size = .(, , , ), BackgroundColor3 = .(,,),
BackgroundTransparency = , BorderSizePixel = , Parent = hbGui,
})
(hbBg, )
hbFill = (, {
Name = , Size = .(, , , ), Position = .(, , , ),
AnchorPoint = .(, ), BackgroundColor3 = .(, , ), BorderSizePixel = , Parent = hbBg,
})
(hbFill, )
(plr)
espCache[plr] = {
highlight = highlight, billboard = bb, uiscale = uiscale, nameLabel = nameLabel, distLabel = distLabel,
hbGui = hbGui, hbFill = hbFill, character = char, head = head,
}
(v)
F.ESP = v
espConn espConn:(); espConn =
v
espConn = RunService.RenderStepped:((dt)
Alive
myChar = LP.Character
myHRP = myChar myChar:()
_, plr (Players:())
plr ~= LP
char = plr.Character
char
espCache[plr] (plr)
d = espCache[plr]
d d.character ~= char d.billboard.Parent d.highlight.Parent
(plr); (plr, char); d = espCache[plr]
d d.billboard
d.nameLabel.Visible = F.ESPName
d.distLabel.Visible = F.ESPDistance
d.hbGui.Enabled = F.ESPHealth
hrp = char:()
myHRP hrp
dist = (myHRP.Position - hrp.Position).Magnitude
d.distLabel.Text = .(, .(dist))
d.uiscale d.uiscale.Scale = .(dist / , , )
hum = char:()
hum d.hbFill
frac = .(hum.Health / .(hum.MaxHealth, ), , )
d.hbFill.Size = .(, , frac, )
frac >
d.hbFill.BackgroundColor3 = .(, , )
frac >
d.hbFill.BackgroundColor3 = .(, , )
d.hbFill.BackgroundColor3 = .(, , )
hlColor = T.Acc
F.ESPTeamColor plr.Team hlColor = plr.TeamColor.Color
hum hum.Health <= hlColor = .(, , )
d.highlight.FillColor = hlColor
tracer = (plr)
F.ESPTracers Camera hrp
screenPos, onScreen = Camera:(hrp.Position)
onScreen
from = .(Camera.ViewportSize.X / , Camera.ViewportSize.Y / )
to = .(screenPos.X, screenPos.Y)
dist = (to - from).Magnitude
center = (from + to) /
angle = .(.(to.Y - from.Y, to.X - from.X))
tracer.AnchorPoint = .(, )
tracer.Size = .(, dist, , )
tracer.Position = .(, center.X, , center.Y)
tracer.Rotation = angle
tracer.BackgroundColor3 = F.ESPTeamColor (plr.Team plr.TeamColor.Color T.Acc) T.Acc
tracer.Visible =
tracer.Visible =
tracer.Visible =
)
()
(Players.PlayerRemoving:((plr) (plr) ))
aimbotKeyDown =
triggerKeyDown =
lastTrigger =
(UIS.InputBegan:((input, gp)
gp
input.UserInputType == .UserInputType.Keyboard
F.AimbotKey input.KeyCode == F.AimbotKey aimbotKeyDown =
F.TriggerKey input.KeyCode == F.TriggerKey triggerKeyDown =
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2
F.AimbotKey input.UserInputType == F.AimbotKey aimbotKeyDown =
F.TriggerKey input.UserInputType == F.TriggerKey triggerKeyDown =
))
(UIS.InputEnded:((input, gp)
input.UserInputType == .UserInputType.Keyboard
F.AimbotKey input.KeyCode == F.AimbotKey aimbotKeyDown =
F.TriggerKey input.KeyCode == F.TriggerKey triggerKeyDown =
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.MouseButton2
F.AimbotKey input.UserInputType == F.AimbotKey aimbotKeyDown =
F.TriggerKey input.UserInputType == F.TriggerKey triggerKeyDown =
))
()
closest =
shortestDist = F.AimbotFOVSize
center = Camera.ViewportSize /
_, plr (Players:())
plr ~= LP plr.Character
hum = plr.Character:()
hum hum.Health >
(F.TeamCheck plr.Team == LP.Team plr.Team ~= )
targetPart = plr.Character:(F.AimbotPart)
targetPart
screenPos, onScreen = Camera:(targetPart.Position)
onScreen
dist2D = (.(screenPos.X, screenPos.Y) - center).Magnitude
dist2D < shortestDist
shortestDist = dist2D
closest = targetPart
closest
originalLagProps = {}
(level)
level ==
obj, props (originalLagProps)
obj obj.Parent
obj.Color = props.Color; obj.Material = props.Material
obj.Transparency = props.Transparency; obj.LocalTransparencyModifier = props.LocalTransparencyModifier
originalLagProps = {}
_, obj (:())
obj:() obj:()
originalLagProps[obj]
originalLagProps[obj] = { Color = obj.Color, Material = obj.Material, Transparency = obj.Transparency, LocalTransparencyModifier = obj.LocalTransparencyModifier }
level == obj.Material = .Material.Plastic
level == obj.Color = .(, , ); obj.Material = .Material.SmoothPlastic
level == obj.Color = .(, , ); obj.Material = .Material.Neon
level == obj.Transparency = ; obj.LocalTransparencyModifier =
()
char = LP.Character
char
hrp = char:()
hum = char:()
F.AntiFling hrp hrp.Velocity = .(, hrp.Velocity.Y, ); hrp.RotVelocity = .(, , )
F.AntiVoid hrp hrp.Position.Y < - hrp.CFrame = .(, , )
F.AntiFall hum
hum:(.HumanoidStateType.FallingDown, )
hum:(.HumanoidStateType.Ragdoll, )
(RunService.RenderStepped:((dt)
Alive
()
F.FollowPlayer F.TrollTarget
plr = Players:(F.TrollTarget)
plr plr.Character plr.Character:()
myHRP = LP.Character LP.Character:()
myHRP myHRP.CFrame = plr.Character.HumanoidRootPart.CFrame * .(, , )
F.Aimbot aimbotKeyDown
targetPart = ()
targetPart
Camera.CFrame = .(Camera.CFrame.Position, targetPart.Position)
F.Triggerbot triggerKeyDown
() - lastTrigger <
mousePos = UIS:()
ray = Camera:(mousePos.X, mousePos.Y)
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = {LP.Character}
hit = :(ray.Origin, ray.Direction * , params)
hit hit.Instance
hitModel = hit.Instance:()
hitModel
plr = Players:(hitModel)
plr plr ~= LP
(F.TeamCheck plr.Team == LP.Team plr.Team ~= )
lastTrigger = ()
(() :():(.()) )
(() () )
))
.(()
Alive
.()
F.AutoFixLag F.LagLevel ~= (setLagLevel, F.LagLevel)
)
.(()
Alive
.()
F.AntiAFK
(()
VU = :()
VU:(.(,), Camera.CFrame)
.()
VU:(.(,), Camera.CFrame)
)
)
()
opts = {}
_, p (Players:())
p ~= LP .(opts, {Name = p.Name, Value = p.Name})
opts
(name)
name
plr = Players:(name)
plr
char = LP.Character
myHRP = char char:()
tChar = plr.Character
tHRP = tChar tChar:()
myHRP tHRP
myHRP.CFrame = tHRP.CFrame * .(, , )
myHRP.AssemblyLinearVelocity = .zero
Main = (, {
Name = , Size = .(, ),
Position = .(, -, , -),
BackgroundColor3 = T.BG, BorderSizePixel = ,
ClipsDescendants = , Parent = ScreenGui, ZIndex = ,
})
(Main, ); (Main, T.Stroke, , )
MainScale = (, {Scale = , Parent = Main})
TopBar = (, {
Name = , Size = .(, , , ),
BackgroundTransparency = , Parent = Main, ZIndex = ,
})
DragRegion = (, {
Name = , Text = , AutoButtonColor = , BackgroundTransparency = ,
Size = .(, -, , ), Parent = TopBar, ZIndex = ,
})
(, {
Text = , Font = .Font.GothamBold, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ),
Size = .(, , , ), TextXAlignment = .TextXAlignment.Left, Parent = TopBar, ZIndex = ,
})
(, {
Text = , Font = .Font.GothamMedium, TextSize = , TextColor3 = T.Sub,
BackgroundTransparency = , Position = .(, , , ),
Size = .(, , , ), TextXAlignment = .TextXAlignment.Left, Parent = TopBar, ZIndex = ,
})
(, {
Size = .(, -, , ), Position = .(, , , -),
BackgroundColor3 = T.Stroke, BorderSizePixel = , Parent = TopBar, ZIndex = ,
})
MinBtn = (, {
Text = , Font = .Font.GothamBold, TextSize = , TextColor3 = T.Sub,
BackgroundColor3 = T.Elem, BackgroundTransparency = , AutoButtonColor = ,
Size = .(, ), Position = .(, -, , -), Parent = TopBar, ZIndex = ,
})
(MinBtn, ); (MinBtn, T.Stroke, , )
MinBtn.MouseEnter:(() (MinBtn, TweenInfo.(), {BackgroundColor3 = T.Hover, BackgroundTransparency = , TextColor3 = T.Text}) )
MinBtn.MouseLeave:(() (MinBtn, TweenInfo.(), {BackgroundColor3 = T.Elem, BackgroundTransparency = , TextColor3 = T.Sub}) )
CloseBtn = (, {
Text = , Font = .Font.GothamBold, TextSize = , TextColor3 = T.Sub,
BackgroundColor3 = T.Elem, BackgroundTransparency = , AutoButtonColor = ,
Size = .(, ), Position = .(, -, , -), Parent = TopBar, ZIndex = ,
})
(CloseBtn, ); (CloseBtn, T.Stroke, , )
CloseBtn.MouseEnter:(() (CloseBtn, TweenInfo.(), {BackgroundColor3 = T.Hover, BackgroundTransparency = , TextColor3 = .(, , )}) )
CloseBtn.MouseLeave:(() (CloseBtn, TweenInfo.(), {BackgroundColor3 = T.Elem, BackgroundTransparency = , TextColor3 = T.Sub}) )
Body = (, {
Name = , Size = .(, , , -), Position = .(, , , ),
BackgroundTransparency = , ClipsDescendants = , Parent = Main, ZIndex = ,
})
Sidebar = (, {
Name = , Size = .(, , , -), Position = .(, , , ),
BackgroundColor3 = T.Side, BorderSizePixel = , Parent = Body, ZIndex = ,
})
(Sidebar, ); (Sidebar, T.Stroke, , )
TabList = (, {
Name = , Size = .(, -, , -), Position = .(, , , ),
BackgroundTransparency = , Parent = Sidebar, ZIndex = ,
})
(, {SortOrder = .SortOrder.LayoutOrder, Padding = .(, ), Parent = TabList})
Content = (, {
Name = , Size = .(, -, , -), Position = .(, , , ),
BackgroundTransparency = , ClipsDescendants = , Parent = Body, ZIndex = ,
})
ContentHeader = (, {
Name = , Size = .(, , , ),
BackgroundTransparency = , Parent = Content, ZIndex = ,
})
PageTitle = (, {
Text = , Font = .Font.GothamBold, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ), Size = .(, , , ),
TextXAlignment = .TextXAlignment.Left, Parent = ContentHeader, ZIndex = ,
})
(, {
Size = .(, , , ), Position = .(, , , ),
BackgroundColor3 = T.Stroke, BorderSizePixel = , Parent = ContentHeader, ZIndex = ,
})
PageHolder = (, {
Name = , Size = .(, , , -), Position = .(, , , ),
BackgroundTransparency = , ClipsDescendants = , Parent = Content, ZIndex = ,
})
(parent, name, default, callback, isSub)
height = isSub
bgColor = isSub T.BG2 T.Elem
row = (, {
Size = .(, isSub - , , height),
Position = .(, isSub , , ),
BackgroundColor3 = bgColor, BorderSizePixel = , Parent = parent,
})
(row, )
isSub (row, T.Stroke, , )
(, {
Text = name, Font = .Font.GothamMedium, TextSize = isSub , TextColor3 = isSub T.Sub T.Text,
BackgroundTransparency = , Position = .(, , , ), Size = .(, -, , ),
TextXAlignment = .TextXAlignment.Left, Parent = row,
})
btn = (, {
Text = , AutoButtonColor = , BackgroundColor3 = T.BG,
Size = .(isSub , isSub ),
Position = .(, isSub - -, , isSub - -), Parent = row, ZIndex = ,
})
(btn, ); (btn, T.Stroke, , )
knob = (, {
BackgroundColor3 = .(,,), Size = .(isSub , isSub ),
Position = .(, , , isSub - -), Parent = btn, ZIndex = ,
})
(knob, )
state = default
(v, animate)
state = v
bg = v T.Acc T.BG
kc = v .(,,) .(,,)
pos = v .(, isSub - -, , isSub - -) .(, , , isSub - -)
animate
(btn, TweenInfo.(), {BackgroundColor3 = bg})
(knob, TweenInfo.(, .EasingStyle.Back, .EasingDirection.Out),
{Position = pos, BackgroundColor3 = kc})
btn.BackgroundColor3 = bg; knob.Position = pos; knob.BackgroundColor3 = kc
(default, )
btn.MouseButton1Click:(()
n = state; (n, )
callback .(() (callback, n) )
)
row.MouseEnter:(() (row, TweenInfo.(), {BackgroundColor3 = isSub T.Hover T.Hover}) )
row.MouseLeave:(() (row, TweenInfo.(), {BackgroundColor3 = bgColor}) )
{
set = (v) (v, ); callback .(() (callback, v) ) ,
get = () state , instance = row,
}
(parent, name, mn, mx, default, callback, fmt)
row = (, {
Size = .(, , , ), BackgroundColor3 = T.Elem,
BorderSizePixel = , Parent = parent,
})
(row, ); (row, T.Stroke, , )
(, {
Text = name, Font = .Font.GothamMedium, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ), Size = .(, -, , ),
TextXAlignment = .TextXAlignment.Left, TextYAlignment = .TextYAlignment.Center, Parent = row,
})
chip = (, {
Size = .(, ), Position = .(, -, , -),
BackgroundColor3 = T.BG2, BorderSizePixel = , Parent = row, ZIndex = ,
})
(chip, )
valLabel = (, {
Text = (default), Font = .Font.GothamBold, TextSize = , TextColor3 = T.Acc,
BackgroundTransparency = , Size = .(, , , ),
TextXAlignment = .TextXAlignment.Center, Parent = chip, ZIndex = ,
})
bar = (, {
BackgroundColor3 = T.BG2, BorderSizePixel = ,
Size = .(, -, , ), Position = .(, , , -),
Parent = row, ZIndex = ,
})
(bar, )
a0 = (default - mn) / (mx - mn)
fill = (, {
BackgroundColor3 = T.Acc, BorderSizePixel = ,
Size = .(a0, , , ), Parent = bar, ZIndex = ,
})
(fill, )
knob = (, {
BackgroundColor3 = T.BG, Size = .(, ),
AnchorPoint = .(, ), Position = .(a0, , , ),
Parent = bar, ZIndex = ,
})
(knob, ); (knob, T.Acc, , )
hitbox = (, {
Text = , BackgroundTransparency = , Size = .(, , , ),
Position = .(, , , -), Parent = bar, ZIndex = ,
})
value = default
(v) fmt (v) (.(v + ))
(v, fire)
value = .(v, mn, mx)
a = (value - mn) / (mx - mn)
fill.Size = .(a, , , )
knob.Position = .(a, , , )
valLabel.Text = (value)
fire callback (value)
(default, )
dragging =
(input)
pos, size = bar.AbsolutePosition, bar.AbsoluteSize
size.X <=
a = .((input.Position.X - pos.X) / size.X, , )
(mn + a * (mx - mn), )
hitbox.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging = ; (input)
)
(UIS.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch) (input)
))
(UIS.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch dragging =
))
row.MouseEnter:(() (row, TweenInfo.(), {BackgroundColor3 = T.Hover}) )
row.MouseLeave:(() (row, TweenInfo.(), {BackgroundColor3 = T.Elem}) )
{set = (v) (v, ) , get = () value , instance = row}
(parent, name, callback)
btn = (, {
Size = .(, , , ), BackgroundColor3 = T.Elem,
Text = , AutoButtonColor = , Parent = parent,
})
(btn, ); (btn, T.Stroke, , )
label = (, {
Text = name, Font = .Font.GothamMedium, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ), Size = .(, -, , ),
TextXAlignment = .TextXAlignment.Left, Parent = btn,
})
btn.MouseEnter:(()
(btn, TweenInfo.(), {BackgroundColor3 = T.Hover})
(label, TweenInfo.(), {TextColor3 = .(,,)})
)
btn.MouseLeave:(()
(btn, TweenInfo.(), {BackgroundColor3 = T.Elem})
(label, TweenInfo.(), {TextColor3 = T.Text})
)
btn.MouseButton1Click:(()
callback .(() (callback) )
)
btn
(key)
key
key == .UserInputType.MouseButton1
key == .UserInputType.MouseButton2
key.Name
(parent, name, defaultKey, callback)
currentKey = defaultKey
btn = (, {
Size = .(, , , ), BackgroundColor3 = T.Elem,
Text = , AutoButtonColor = , Parent = parent,
})
(btn, ); (btn, T.Stroke, , )
label = (, {
Text = name .. .. (currentKey), Font = .Font.GothamMedium,
TextSize = , TextColor3 = T.Text, BackgroundTransparency = , Position = .(, , , ),
Size = .(, -, , ), TextXAlignment = .TextXAlignment.Left, Parent = btn,
})
listening =
btn.MouseButton1Click:(()
listening
listening =
label.Text = name ..
conn
conn = UIS.InputBegan:((input, gp)
gp
input.UserInputType == .UserInputType.Keyboard
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.MouseButton2
newKey
input.UserInputType == .UserInputType.Keyboard
input.KeyCode == .KeyCode.Escape
listening =
label.Text = name .. .. (currentKey)
conn:()
newKey = input.KeyCode
newKey = input.UserInputType
currentKey = newKey
label.Text = name .. .. (currentKey)
listening =
conn:()
callback (currentKey)
)
)
btn.MouseEnter:(() (btn, TweenInfo.(), {BackgroundColor3 = T.Hover}) )
btn.MouseLeave:(() (btn, TweenInfo.(), {BackgroundColor3 = T.Elem}) )
btn
openDropdowns = {}
(keep)
_, d (openDropdowns) d ~= keep d.()
(parent, name, options, default, callback)
HH, IH, IG, PAD = , , ,
MAXH = IH * + IG *
CW, CH = ,
row = (, {
Name = .. (name), Size = .(, , , HH),
BackgroundColor3 = T.Elem, BorderSizePixel = , ClipsDescendants = , Parent = parent,
})
(row, ); (row, T.Stroke, , )
head = (, {
Text = , AutoButtonColor = , BackgroundTransparency = ,
Size = .(, , , HH), Parent = row, ZIndex = ,
})
(, {
Text = name, Font = .Font.GothamMedium, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ),
Size = .(, -(CW + ), , HH),
TextXAlignment = .TextXAlignment.Left, TextYAlignment = .TextYAlignment.Center,
Parent = head, ZIndex = ,
})
control = (, {
BackgroundColor3 = T.BG2, BorderSizePixel = ,
Size = .(CW, CH), Position = .(, -(CW + ), , -(CH / )),
Parent = head, ZIndex = ,
})
(control, ); (control, T.Stroke, , )
valLabel = (, {
Text = , Font = .Font.GothamMedium, TextSize = , TextColor3 = T.Sub,
BackgroundTransparency = , Position = .(, , , ), Size = .(, -, , ),
TextXAlignment = .TextXAlignment.Left, TextYAlignment = .TextYAlignment.Center,
TextTruncate = .TextTruncate.AtEnd, Parent = control, ZIndex = ,
})
chevron = (, {
Text = , Font = .Font.GothamBold, TextSize = , TextColor3 = T.Sub,
BackgroundTransparency = , Position = .(, -, , ), Size = .(, , , ),
TextXAlignment = .TextXAlignment.Center, TextYAlignment = .TextYAlignment.Center,
Parent = control, ZIndex = ,
})
list = (, {
Size = .(, -(PAD * ), , ), Position = .(, PAD, , HH),
BackgroundTransparency = , BorderSizePixel = , ClipsDescendants = ,
ScrollingDirection = .ScrollingDirection.Y, ScrollBarThickness = ,
ScrollBarImageColor3 = T.Acc, ScrollBarImageTransparency = ,
CanvasSize = .(, , , ), Parent = row, ZIndex = ,
})
(, {SortOrder = .SortOrder.LayoutOrder, Padding = .(, IG), Parent = list})
normalized, optionButtons = {}, {}
currentValue, currentLabel = ,
isOpen =
api = {}
(src)
out = {}
(src) ~= out
i, o (src)
(o) ==
text = o.Name o.Label o[]
value = o.Value; value == value = o[]
value == value = text
out[#out + ] = {label = (text), value = value, order = i}
out[#out + ] = {label = (o), value = o, order = i}
out
()
c = #normalized
c == IH (c * IH + (c - ) * IG)
()
full = ()
#normalized == IH
page = row.Parent
page page:() page = page.Parent
maxH = MAXH
page
pb = page.AbsolutePosition.Y + page.AbsoluteSize.Y
rt = row.AbsolutePosition.Y + HH
space = pb - rt - PAD
vis = .(, .((space + IG) / (IH + IG)))
maxH = .(MAXH, vis * IH + (vis - ) * IG)
.(full, maxH)
(value, labelText, fire)
currentValue = value; currentLabel = labelText (value)
valLabel.Text = currentLabel
fire callback .(() (callback, value, currentLabel) )
()
_, b (optionButtons) b:()
optionButtons = {}
i, o (normalized)
b = (, {
Text = , AutoButtonColor = , BackgroundColor3 = T.Hover,
BackgroundTransparency = , Size = .(, , , IH),
LayoutOrder = i, Parent = list, ZIndex = ,
})
(b, )
bl = (, {
Text = o.label, Font = .Font.Gotham, TextSize = , TextColor3 = T.Text,
BackgroundTransparency = , Position = .(, , , ),
Size = .(, -, , ), TextXAlignment = .TextXAlignment.Left,
TextTruncate = .TextTruncate.AtEnd, Parent = b, ZIndex = ,
})
b.MouseEnter:(()
(b, TweenInfo.(), {BackgroundTransparency = , BackgroundColor3 = T.Elem})
(bl, TweenInfo.(), {TextColor3 = .(,,)})
)
b.MouseLeave:(()
(b, TweenInfo.(), {BackgroundTransparency = , BackgroundColor3 = T.Hover})
(bl, TweenInfo.(), {TextColor3 = T.Text})
)
b.MouseButton1Click:(()
(o.value, o.label, ); api.()
)
.(optionButtons, b)
#normalized ==
.(optionButtons, (, {
Text = , Font = .Font.Gotham, TextSize = , TextColor3 = T.Sub,
BackgroundTransparency = , Size = .(, , , IH),
TextXAlignment = .TextXAlignment.Center, Parent = list, ZIndex = ,
}))
list.CanvasSize = .(, , , ())
(open)
isOpen == open
isOpen = open
row.Parent
h = ()
open
list.Visible =
list.Size = .(, -(PAD * ), , )
(list, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out),
{Size = .(, -(PAD * ), , h)})
(row, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out),
{Size = .(, , , HH + h + PAD)})
chevron.Text =
(list, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.In),
{Size = .(, -(PAD * ), , )})
(row, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.In),
{Size = .(, , , HH)})
chevron.Text =
api.open = () (api); ()
api.close = () row.Parent isOpen = ; ; ()
api.get = () currentValue
api.getLabel = () currentLabel
api.set = (v)
_, o (normalized)
o.value == v (o.value, o.label, );
api.setOptions = (newOpts, keepSel)
normalized = (newOpts); ()
found =
keepSel ~= currentValue ~=
_, o (normalized)
o.value == currentValue (o.value, o.label, ); found = ;
found
normalized[] (normalized[].value, normalized[].label, )
(, , )
isOpen row.Parent
h = ()
row.Size = .(, , , HH + h + PAD)
list.Size = .(, -(PAD * ), , h)
api.instance = row
normalized = (options); ()
initialFound =
default ~=
_, o (normalized)
o.value == default (o.value, o.label, ); initialFound = ;
initialFound
normalized[] (normalized[].value, normalized[].label, )
(, , )
head.MouseButton1Click:(() isOpen api.() api.() )
head.MouseEnter:(()
isOpen
(row, TweenInfo.(), {BackgroundColor3 = T.Hover})
)
head.MouseLeave:(()
isOpen
(row, TweenInfo.(), {BackgroundColor3 = T.Elem})
)
(UIS.InputBegan:((input)
isOpen
input.UserInputType ~= .UserInputType.MouseButton1
input.UserInputType ~= .UserInputType.Touch
pos = input.Position
abs, size = row.AbsolutePosition, row.AbsoluteSize
pos.X < abs.X pos.Y < abs.Y pos.X > abs.X + size.X pos.Y > abs.Y + size.Y
api.()
))
.(openDropdowns, api)
api
(parent, text)
frame = (, {
Size = .(, , , ), BackgroundTransparency = , Parent = parent,
})
(, {
Text = .(text), Font = .Font.GothamBold, TextSize = , TextColor3 = T.Sub,
BackgroundTransparency = , Position = .(, , , ), Size = .(, -, , ),
TextXAlignment = .TextXAlignment.Left, Parent = frame,
})
frame
tabButtons, tabPages = {}, {}
selectTab
TabInfo = {
Player = {Title = },
Visual = {Title = },
Combat = {Title = },
Troll = {Title = },
Teleport = {Title = },
Misc = {Title = }
}
(name)
btn = (, {
Name = name .. , Text = name, Font = .Font.GothamMedium, TextSize = ,
TextColor3 = T.Sub, TextXAlignment = .TextXAlignment.Left,
BackgroundColor3 = T.Elem, BackgroundTransparency = , AutoButtonColor = ,
Size = .(, , , ), Parent = TabList, ZIndex = ,
})
(btn, )
(, {PaddingLeft = .(, ), Parent = btn})
page = (, {
Name = name .. , Size = .(, , , ),
BackgroundTransparency = , BorderSizePixel = ,
ScrollBarThickness = , ScrollBarImageColor3 = T.Acc, ScrollBarImageTransparency = ,
CanvasSize = .(, , , ), AutomaticCanvasSize = .AutomaticSize.Y,
ScrollingDirection = .ScrollingDirection.Y, Visible = , Parent = PageHolder, ZIndex = ,
})
(, {SortOrder = .SortOrder.LayoutOrder, Padding = .(, ), Parent = page})
(, {PaddingRight = .(, ), PaddingBottom = .(, ), Parent = page})
tabButtons[name] = btn; tabPages[name] = page
btn.MouseButton1Click:(() (name) )
btn.MouseEnter:(()
tabPages[name] tabPages[name].Visible
(btn, TweenInfo.(), {BackgroundTransparency = , TextColor3 = T.Text})
)
btn.MouseLeave:(()
tabPages[name] tabPages[name].Visible
(btn, TweenInfo.(), {BackgroundTransparency = , TextColor3 = T.Sub})
)
page
selectTab = (name)
tb, tp = tabButtons[name], tabPages[name]
tb tp
_, d (openDropdowns) d.()
n, p (tabPages)
n == name
p.Visible = ; p.Position = .(, , , )
(p, TweenInfo.(, .EasingStyle.Quint, .EasingDirection.Out),
{Position = .(, , , )})
p.Visible =
n, b (tabButtons)
active = (n == name)
active b.BackgroundColor3 = T.Elem
(b, TweenInfo.(), {
TextColor3 = active T.Text T.Sub,
BackgroundTransparency = active ,
})
info = TabInfo[name] {Title = name}
PageTitle.Text = info.Title
playerPage = ()
(playerPage, ).LayoutOrder =
walkSlider = (playerPage, , , , , setWalkSpeed)
walkSlider.instance.LayoutOrder =
jumpSlider = (playerPage, , , , , setJumpPower)
jumpSlider.instance.LayoutOrder =
(playerPage, , , , , setGravity).instance.LayoutOrder =
(playerPage, , , (v) F.InfiniteJump = v ).instance.LayoutOrder =
(playerPage, , , setNoclip).instance.LayoutOrder =
(playerPage, ).LayoutOrder =
(playerPage, , , setClickTP).instance.LayoutOrder =
(playerPage, ).LayoutOrder =
flyPanel = (, {
Name = , Size = .(, , , ), BackgroundTransparency = ,
ClipsDescendants = , LayoutOrder = , Parent = playerPage,
})
(, {SortOrder = .SortOrder.LayoutOrder, Padding = .(, ), Parent = flyPanel})
(flyPanel, , , , , (v) F.FlySpeed = v ).instance.LayoutOrder =
flyToggle = (playerPage, , , (v)
(v)
h = v
flyPanel.Size = .(, , , h)
)
flyToggle.instance.LayoutOrder =
.(()
char = LP.Character LP.CharacterAdded:()
hum = char:(, )
hum
F.WalkSpeed = hum.WalkSpeed
F.JumpPower = hum.JumpPower
walkSlider walkSlider.(F.WalkSpeed)
jumpSlider jumpSlider.(F.JumpPower)
)
visualPage = ()
(visualPage, ).LayoutOrder =
spectateDropdown = (visualPage, , (), , (name)
F.SpectateTarget = name
(name)
)
spectateDropdown.instance.LayoutOrder =
(visualPage, , , (v)
v F.SpectateTarget spectateDropdown.()
F.SpectateTarget = spectateDropdown.()
(v)
).instance.LayoutOrder =
(visualPage, ).LayoutOrder =
espPanel = (, {
Name = , Size = .(, , , ), BackgroundTransparency = ,
ClipsDescendants = , LayoutOrder = , Parent = visualPage,
})
(, {SortOrder = .SortOrder.LayoutOrder, Padding = .(, ), Parent = espPanel})
(espPanel, , , (v) F.ESPDistance = v , ).instance.LayoutOrder =
(espPanel, , , (v) F.ESPHealth = v , ).instance.LayoutOrder = 2
createToggle(espPanel, "Name", true, function(v) F.ESPName = v end, true).instance.LayoutOrder = 3
createToggle(espPanel, "Tracers", false, function(v) F.ESPTracers = v end, true).instance.LayoutOrder = 4
createToggle(espPanel, "Team Color", false, function(v) F.ESPTeamColor = v end, true).instance.LayoutOrder = 5
local espToggle = createToggle(visualPage, "ESP", false, function(v)
setESP(v)
local h = v and (5 * 24 + 4 * 4) or 0
espPanel.Size = UDim2.new(1, 0, 0, h)
end)
espToggle.instance.LayoutOrder = 5
-- Combat Tab
local combatPage = createTab("Combat")
createHeader(combatPage, "AIMBOT").LayoutOrder = 1
local aimbotPanel = new("Frame", {
Name = "AimbotPanel", Size = UDim2.new(1, 0, 0, 0), BackgroundTransparency = 1,
ClipsDescendants = true, LayoutOrder = 3, Parent = combatPage,
})
new("UIListLayout", {SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 6), Parent = aimbotPanel})
createSlider(aimbotPanel, "FOV Size", 50, 400, F.AimbotFOVSize, function(v)
F.AimbotFOVSize = v
FovCircle.Size = UDim2.new(0, v * 2, 0, v * 2)
end).instance.LayoutOrder = 1
createToggle(aimbotPanel, "Show FOV Circle", false, function(v)
FovCircle.Visible = v
end).instance.LayoutOrder = 2
createDropdown(aimbotPanel, "Target Part", {"Head", "HumanoidRootPart", "Torso", "UpperTorso", "LowerTorso"}, "Head", function(v) F.AimbotPart = v end).instance.LayoutOrder = 3
createKeybind(aimbotPanel, "Aimbot Key", Enum.UserInputType.MouseButton2, function(v) F.AimbotKey = v end).LayoutOrder = 4
createToggle(combatPage, "Enable Aimbot", false, function(v)
F.Aimbot = v
-- 2 slider, 1 toggle, 1 dropdown, 1 keybind, 5 padding = 4*36 + 32 + 6*5 = 144+32+30 = 206
local h = v and 206 or 0
aimbotPanel.Size = UDim2.new(1, 0, 0, h)
end).instance.LayoutOrder = 2
createHeader(combatPage, "TRIGGERBOT").LayoutOrder = 4
local triggerPanel = new("Frame", {
Name = "TriggerPanel", Size = UDim2.new(1, 0, 0, 0), BackgroundTransparency = 1,
ClipsDescendants = true, LayoutOrder = 6, Parent = combatPage,
})
new("UIListLayout", {SortOrder = Enum.SortOrder.LayoutOrder, Padding = UDim.new(0, 6), Parent = triggerPanel})
createKeybind(triggerPanel, "Trigger Key", Enum.KeyCode.Q, function(v) F.TriggerKey = v end).LayoutOrder = 1
createToggle(combatPage, "Enable Triggerbot", false, function(v)
F.Triggerbot = v
local h = v and 32 or 0
triggerPanel.Size = UDim2.new(1, 0, 0, h)
end).instance.LayoutOrder = 5
createHeader(combatPage, "GENERAL").LayoutOrder = 7
createToggle(combatPage, "Team Check (ESP + Combat)", true, function(v) F.TeamCheck = v end).instance.LayoutOrder = 8
-- Troll Tab
local trollPage = createTab("Troll")
createHeader(trollPage, "FOLLOW TARGET").LayoutOrder = 1
local trollDropdown = createDropdown(trollPage, "Player", getPlayerOptions(), nil, function(name)
F.TrollTarget = name
end)
trollDropdown.instance.LayoutOrder = 2
createToggle(trollPage, "Follow (TP Back)", false, function(v) F.FollowPlayer = v end).instance.LayoutOrder = 3
-- Teleport Tab
local tpPage = createTab("Teleport")
createHeader(tpPage, "PLAYERS").LayoutOrder = 1
local tpDropdown = createDropdown(tpPage, "Player", getPlayerOptions(), nil)
tpDropdown.instance.LayoutOrder = 2
createButton(tpPage, "Teleport to Player", function()
local name = tpDropdown.get()
if name then teleportToPlayer(name) end
end).LayoutOrder = 3
createButton(tpPage, "Refresh List", function()
local opts = getPlayerOptions()
tpDropdown.setOptions(opts)
spectateDropdown.setOptions(opts)
trollDropdown.setOptions(opts)
end).LayoutOrder = 4
track(Players.PlayerAdded:Connect(function()
task.wait(0.2)
local opts = getPlayerOptions()
tpDropdown.setOptions(opts)
spectateDropdown.setOptions(opts)
trollDropdown.setOptions(opts)
end))
track(Players.PlayerRemoving:Connect(function()
task.wait(0.2)
local opts = getPlayerOptions()
tpDropdown.setOptions(opts)
spectateDropdown.setOptions(opts)
trollDropdown.setOptions(opts)
end))
-- Misc Tab
local miscPage = createTab("Misc")
createHeader(miscPage, "WORLD").LayoutOrder = 1
createToggle(miscPage, "Fullbright", false, setFullbright).instance.LayoutOrder = 2
createToggle(miscPage, "No Fog", false, setNoFog).instance.LayoutOrder = 3
createHeader(miscPage, "PROTECTION").LayoutOrder = 4
createToggle(miscPage, "Anti AFK", false, function(v) F.AntiAFK = v end).instance.LayoutOrder = 5
createToggle(miscPage, "Anti Fling", false, function(v) F.AntiFling = v end).instance.LayoutOrder = 6
createToggle(miscPage, "Anti Void", false, function(v) F.AntiVoid = v end).instance.LayoutOrder = 7
createToggle(miscPage, "Anti Fall Damage", false, function(v) F.AntiFall = v end).instance.LayoutOrder = 8
createHeader(miscPage, "PERFORMANCE").LayoutOrder = 9
local lagRow = new("Frame", {
Size = UDim2.new(1, 0, 0, 32), BackgroundTransparency = 1, Parent = miscPage,
})
lagRow.LayoutOrder = 10
new("UIListLayout", {FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 4), Parent = lagRow})
local lagOptions = {"None", "Low", "Medium", "High", "Max"}
local lagButtons = {}
for i, opt in ipairs(lagOptions) do
local btn = new("TextButton", {
Size = UDim2.new(0.2, -4, 1, 0), BackgroundColor3 = (i == 1) and T.Acc or T.Elem,
Text = opt, Font = Enum.Font.GothamMedium, TextSize = 10,
TextColor3 = (i == 1) and T.BG or T.Text, AutoButtonColor = false, Parent = lagRow,
})
corner(btn, 6); stroke(btn, T.Stroke, 1, 0)
btn.MouseButton1Click:Connect(function()
F.LagLevel = opt
setLagLevel(opt)
for j, b in ipairs(lagButtons) do
if j == i then
b.BackgroundColor3 = T.Acc
b.TextColor3 = T.BG
else
b.BackgroundColor3 = T.Elem
b.TextColor3 = T.Text
end
end
end)
table.insert(lagButtons, btn)
end
createToggle(miscPage, "Auto Fix Lag (5s)", false, function(v) F.AutoFixLag = v end).instance.LayoutOrder = 11
-- Open animation
Main.Position = UDim2.new(0.5, -300, 0.5, -195)
local openTween = tween(Main, TweenInfo.new(0.4, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
{Position = UDim2.new(0.5, -300, 0.5, -215)})
tween(MainScale, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Scale = 1})
-- Drag
do
local dragging, dragStart, startPos = false, nil, nil
DragRegion.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true; dragStart = input.Position; startPos = Main.Position
if openTween then openTween:Cancel() end
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then dragging = false end
end)
end
end)
track(UIS.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch) then
local d = input.Position - dragStart
Main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X,
startPos.Y.Scale, startPos.Y.Offset + d.Y)
end
end))
end
-- Minimize
local isMinimized = false
MinBtn.MouseButton1Click:Connect(function()
isMinimized = not isMinimized
local targetH = isMinimized and 46 or 430
tween(Main, TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { Size = UDim2.fromOffset(600, targetH) })
MinBtn.Text = isMinimized and "+" or "-"
end)
-- Close
CloseBtn.MouseButton1Click:Connect(function()
Alive = false
pcall(function() if F.Fly then setFly(false) end end)
pcall(function() if F.Noclip then setNoclip(false) end end)
pcall(function() if F.ClickTP then setClickTP(false) end end)
pcall(function() if F.Spectate then setSpectate(false) end end)
pcall(function() if F.Fullbright then setFullbright(false) end end)
pcall(function() if F.NoFog then setNoFog(false) end end)
pcall(function() if F.ESP then setESP(false) end end)
pcall(function() workspace.Gravity = 196.2 end)
pcall(function() setLagLevel("None") end)
for _, c in ipairs(Connections) do pcall(function() c:Disconnect() end) end
Connections = {}
if ScreenGui then ScreenGui:Destroy() end
if FovGui then FovGui:Destroy() end
end)
task.spawn(function()
task.wait(0.1)
if Alive then selectTab("Player") end
end)
Universal