Run it
Copy the script and paste it into your executor.
env = ( ())
env.AutoWinCleanup (env.AutoWinCleanup)
Players = :()
UIS = :()
TS = :()
WS = :()
LP = Players.LocalPlayer
alive, loopOn = ,
conns = {}
(c) .(conns, c) c
()
o = WS
_, name ({, , , })
o = o o:(name)
o
(pad)
pad:() pad
pad:(, )
()
pad = ()
pad ()
part = (pad)
char = LP.Character
root = char char:()
part root
root.CFrame = part.CFrame + .(, part.Size.Y / + , )
root.AssemblyLinearVelocity = .zero
_, p (pad:() {pad} pad:())
p:()
(, root, p, )
(, root, p, )
C = {
bg = .(, , ), panel = .(, , ),
row = .(, , ), rowHi = .(, , ),
off = .(, , ), text = .(, , ),
a1 = .(, , ), a2 = .(, , ),
red = .(, , ),
}
(class, props, parent)
o = .(class)
k, v (props) o[k] = v
parent o.Parent = parent
o
(o, r) (, {CornerRadius = .(, r)}, o)
(o, rot)
(, {Color = ColorSequence.(C.a1, C.a2), Rotation = rot }, o)
gui = (, {
Name = (.(, )),
ResetOnSpawn = , DisplayOrder = ,
ZIndexBehavior = .ZIndexBehavior.Sibling,
})
mounted =
_, fn ({
() gethui () ,
() :() ,
() LP:(, ) ,
})
ok, p = (fn)
ok p
ok2 = (() gui.Parent = p )
ok2 gui.Parent == p mounted =
mounted ()
main = (, {
AnchorPoint = .(, ),
Size = .(, , , ),
Position = .(, , , ),
BackgroundColor3 = C.bg, BorderSizePixel = ,
}, gui)
(main, )
((, {Thickness = , Color = .(, , )}, main), )
header = (, {
Size = .(, , , ), BackgroundColor3 = C.panel, BorderSizePixel = ,
}, main)
(header, )
(, {
Size = .(, , , ), Position = .(, , , -),
BackgroundColor3 = C.panel, BorderSizePixel = ,
}, header)
n = ,
d = (, {
Size = .(, , , ), Position = .(, + (n - ) * , , -),
BackgroundColor3 = .(, , ), BorderSizePixel = ,
}, header)
(d, )
(d, * n)
header.Active =
dragging, start, startPos
(header.InputBegan:((i)
i.UserInputType == .UserInputType.MouseButton1 i.UserInputType == .UserInputType.Touch
dragging, start, startPos = , i.Position, main.Position
))
(UIS.InputChanged:((i)
dragging (i.UserInputType == .UserInputType.MouseMovement i.UserInputType == .UserInputType.Touch)
d = i.Position - start
main.Position = .(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
))
(UIS.InputEnded:((i)
i.UserInputType == .UserInputType.MouseButton1 i.UserInputType == .UserInputType.Touch
dragging =
))
list = (, {
Size = .(, -, , -), Position = .(, , , ),
BackgroundTransparency = ,
}, main)
(, {Padding = .(, )}, list)
winBtn = (, {
Size = .(, , , ), BackgroundColor3 = C.row,
Text = , TextColor3 = C.text,
Font = .Font.GothamBold, TextSize = ,
AutoButtonColor = , BorderSizePixel = ,
}, list)
(winBtn, )
((, {Thickness = , Color = .(, , )}, winBtn), )
(winBtn.MouseEnter:(() winBtn.BackgroundColor3 = C.rowHi ))
(winBtn.MouseLeave:(() winBtn.BackgroundColor3 = C.row ))
(winBtn.MouseButton1Click:(()
ok = ()
winBtn.Text = ok
.(, () winBtn.Text = )
))
row = (, {
Size = .(, , , ), BackgroundColor3 = C.row,
Text = , AutoButtonColor = , BorderSizePixel = ,
}, list)
(row, )
(, {
Size = .(, -, , ), Position = .(, , , ),
BackgroundTransparency = , Text = , TextColor3 = C.text,
Font = .Font.GothamMedium, TextSize = , TextXAlignment = .TextXAlignment.Left,
}, row)
sw = (, {
Size = .(, , , ), Position = .(, -, , -),
BackgroundColor3 = C.off, BorderSizePixel = ,
}, row)
(sw, )
sg = (sw, )
sg.Enabled =
knob = (, {
Size = .(, , , ), Position = .(, , , -),
BackgroundColor3 = .(, , ), BorderSizePixel = ,
}, sw)
(knob, )
(row.MouseButton1Click:(()
loopOn = loopOn
sg.Enabled = loopOn
sw.BackgroundColor3 = loopOn .(, , ) C.off
TS:(knob, TweenInfo.(), {
Position = loopOn .(, -, , -) .(, , , -)
}):()
))
.(()
alive
.()
loopOn (autoWin)
)
(UIS.InputBegan:((i)
i.KeyCode == .KeyCode.RightShift UIS:()
main.Visible = main.Visible
))
env.AutoWinCleanup = ()
alive, loopOn = ,
_, c (conns) (() c:() )
(() gui:() )
env.AutoWinCleanup =
()Auto win im lazy btw