Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
TweenService = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
Config = {
Aimbot = {
Enabled = ,
AlwaysOn = ,
AimKey = .UserInputType.MouseButton2,
TargetPart = ,
Smoothness = ,
FOV = ,
ShowFOV = ,
WallCheck = ,
MaxDistance = ,
},
Chams = {
Enabled = ,
ShowTeammates = ,
ShowEnemies = ,
TeamColor = .(, , ),
EnemyColor = .(, , ),
FillTransparency = ,
OutlineTransparency = ,
AlwaysOnTop = ,
},
Menu = {
ToggleKey = .KeyCode.RightShift,
},
}
TARGET_PARTS = { , , }
(plr)
plr == LocalPlayer
LocalPlayer.Team plr.Team
plr.Team ~= LocalPlayer.Team
(plr)
plr == LocalPlayer
LocalPlayer.Team ~= plr.Team == LocalPlayer.Team
(plr)
char = plr.Character
char
hum = char:()
hum hum.Health <=
char, hum
(char)
name = Config.Aimbot.TargetPart
char:(name)
char:()
char:()
highlights = {}
(plr)
h = highlights[plr]
h h:()
highlights[plr] =
()
cfg = Config.Chams
_, plr (Players:())
plr ~= LocalPlayer
char = (plr)
team, enemy = (plr), (plr)
want = cfg.Enabled char
((team cfg.ShowTeammates) (enemy cfg.ShowEnemies))
want
h = highlights[plr]
h h.Parent ~= char
h h:()
h = .()
h.Name =
h.Parent = char
highlights[plr] = h
h.Adornee = char
h.FillColor = team cfg.TeamColor cfg.EnemyColor
h.OutlineColor = team cfg.TeamColor cfg.EnemyColor
h.FillTransparency = cfg.FillTransparency
h.OutlineTransparency = cfg.OutlineTransparency
h.DepthMode = cfg.AlwaysOnTop
.HighlightDepthMode.AlwaysOnTop
.HighlightDepthMode.Occluded
(plr)
Players.PlayerRemoving:(removeHighlight)
aimHeld =
(input)
key = Config.Aimbot.AimKey
input.KeyCode == key input.UserInputType == key
rayParams = RaycastParams.()
rayParams.FilterType = .RaycastFilterType.Exclude
(part, char)
rayParams.FilterDescendantsInstances = { LocalPlayer.Character, Camera }
origin = Camera.CFrame.Position
result = :(origin, part.Position - origin, rayParams)
result == result.Instance:(char)
()
cfg = Config.Aimbot
mouse = UserInputService:()
best, bestDist
_, plr (Players:())
(plr)
char = (plr)
part = char (char)
part
worldDist = (part.Position - Camera.CFrame.Position).Magnitude
worldDist <= cfg.MaxDistance
pos, onScreen = Camera:(part.Position)
onScreen
d = (.(pos.X, pos.Y) - mouse).Magnitude
d <= cfg.FOV ( bestDist d < bestDist)
( cfg.WallCheck (part, char))
best, bestDist = part, d
best
RunService:(, .RenderPriority.Camera.Value + , ()
Camera = .CurrentCamera
cfg = Config.Aimbot
cfg.Enabled
(cfg.AlwaysOn aimHeld)
target = ()
target
goal = .(Camera.CFrame.Position, target.Position)
cfg.Smoothness <=
Camera.CFrame = goal
Camera.CFrame = Camera.CFrame:(goal, / cfg.Smoothness)
)
ACCENT = .(, , )
BG = .(, , )
PANEL = .(, , )
ELEMENT = .(, , )
TEXT = .(, , )
SUBTEXT = .(, , )
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
gui.Parent = LocalPlayer:()
(inst, r)
c = .(); c.CornerRadius = .(, r ); c.Parent = inst
(inst, color, th)
s = .(); s.Color = color; s.Thickness = th
s.ApplyStrokeMode = .ApplyStrokeMode.Border; s.Parent = inst; s
(parent, text, size, color, font)
l = .()
l.BackgroundTransparency =
l.Text = text; l.TextSize = size
l.TextColor3 = color TEXT
l.Font = font .Font.GothamMedium
l.TextXAlignment = .TextXAlignment.Left
l.Parent = parent
l
fovCircle = .()
fovCircle.AnchorPoint = .(, )
fovCircle.BackgroundTransparency =
fovCircle.Parent = gui
(fovCircle, )
fovStroke = (fovCircle, ACCENT, )
RunService.RenderStepped:(()
cfg = Config.Aimbot
fovCircle.Visible = cfg.Enabled cfg.ShowFOV
fovCircle.Size = .(cfg.FOV * , cfg.FOV * )
m = UserInputService:()
fovCircle.Position = .(m.X, m.Y)
)
main = .()
main.Name =
main.Size = .(, )
main.Position = .(, -, , -)
main.BackgroundColor3 = BG
main.BorderSizePixel =
main.Parent = gui
(main, )
(main, ACCENT, )
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = PANEL
titleBar.BorderSizePixel =
titleBar.Parent = main
(titleBar, )
title = (titleBar, , , TEXT, .Font.GothamBold)
title.Position = .(, )
title.Size = .(, -, , )
closeBtn = .()
closeBtn.Size = .(, )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = ELEMENT
closeBtn.Text =
closeBtn.TextColor3 = TEXT
closeBtn.Font = .Font.GothamBold
closeBtn.TextSize =
closeBtn.Parent = titleBar
(closeBtn, )
modalBtn = .()
modalBtn.Size = .(, )
modalBtn.BackgroundTransparency =
modalBtn.Text =
modalBtn.Modal =
modalBtn.Parent = main
dragging, dragStart, startPos
titleBar.InputBegan:((i)
i.UserInputType == .UserInputType.MouseButton1
dragging, dragStart, startPos = , i.Position, main.Position
)
UserInputService.InputChanged:((i)
dragging i.UserInputType == .UserInputType.MouseMovement
d = i.Position - dragStart
main.Position = .(startPos.X.Scale, startPos.X.Offset + d.X,
startPos.Y.Scale, startPos.Y.Offset + d.Y)
)
UserInputService.InputEnded:((i)
i.UserInputType == .UserInputType.MouseButton1 dragging =
)
tabBar = .()
tabBar.Size = .(, -, , )
tabBar.Position = .(, )
tabBar.BackgroundTransparency =
tabBar.Parent = main
tabLayout = .()
tabLayout.FillDirection = .FillDirection.Horizontal
tabLayout.Padding = .(, )
tabLayout.Parent = tabBar
pages, tabButtons = {}, {}
(name)
n, p (pages)
p.Visible = (n == name)
tabButtons[n].BackgroundColor3 = (n == name) ACCENT ELEMENT
tabButtons[n].TextColor3 = (n == name) .(, , ) SUBTEXT
(name)
page = .()
page.Size = .(, -, , -)
page.Position = .(, )
page.BackgroundTransparency =
page.BorderSizePixel =
page.ScrollBarThickness =
page.ScrollBarImageColor3 = ACCENT
page.CanvasSize = .()
page.AutomaticCanvasSize = .AutomaticSize.Y
page.Visible =
page.Parent = main
l = .(); l.Padding = .(, ); l.Parent = page
pages[name] = page
btn = .()
btn.Size = .(, )
btn.BackgroundColor3 = ELEMENT
btn.Text = name
btn.TextColor3 = SUBTEXT
btn.Font = .Font.GothamBold
btn.TextSize =
btn.Parent = tabBar
(btn, )
tabButtons[name] = btn
btn.MouseButton1Click:(() (name) )
page
(parent, h)
f = .()
f.Size = .(, -, , h )
f.BackgroundColor3 = PANEL
f.BorderSizePixel =
f.Parent = parent
(f, )
f
(parent, text, get, set)
f = (parent)
l = (f, text, ); l.Position = .(, ); l.Size = .(, -, , )
box = .()
box.Size = .(, ); box.Position = .(, -, , -)
box.Text = ; box.AutoButtonColor = ; box.Parent = f
(box, )
knob = .()
knob.Size = .(, ); knob.BackgroundColor3 = .(, , )
knob.Parent = box; (knob, )
()
on = ()
TweenService:(box, TweenInfo.(), { BackgroundColor3 = on ACCENT ELEMENT }):()
TweenService:(knob, TweenInfo.(),
{ Position = on .(, ) .(, ) }):()
box.MouseButton1Click:(() ( ()); () )
()
activeSlider
(parent, text, min, max, step, get, set)
f = (parent, )
l = (f, text, ); l.Position = .(, ); l.Size = .(, -, , )
v = (f, , , SUBTEXT); v.TextXAlignment = .TextXAlignment.Right
v.Position = .(, -, , ); v.Size = .(, )
track = .()
track.Size = .(, -, , ); track.Position = .(, )
track.BackgroundColor3 = ELEMENT; track.BorderSizePixel = ; track.Parent = f
(track, )
fill = .()
fill.BackgroundColor3 = ACCENT; fill.BorderSizePixel = ; fill.Parent = track
(fill, )
()
a = (() - min) / (max - min)
fill.Size = .(.(a, , ), , , )
v.Text = (())
(x)
a = .((x - track.AbsolutePosition.X) / track.AbsoluteSize.X, , )
val = min + (max - min) * a
val = .(val / step + ) * step
(.(val * ) / )
()
track.InputBegan:((i)
i.UserInputType == .UserInputType.MouseButton1
activeSlider = fromX; (i.Position.X)
)
()
UserInputService.InputChanged:((i)
activeSlider i.UserInputType == .UserInputType.MouseMovement
(i.Position.X)
)
UserInputService.InputEnded:((i)
i.UserInputType == .UserInputType.MouseButton1 activeSlider =
)
rebinding
(k)
k.EnumType == .UserInputType
k == .UserInputType.MouseButton1
k == .UserInputType.MouseButton2
k == .UserInputType.MouseButton3 k.Name
k.Name
(parent, text, get, set)
f = (parent)
l = (f, text, ); l.Position = .(, ); l.Size = .(, -, , )
b = .()
b.Size = .(, ); b.Position = .(, -, , -)
b.BackgroundColor3 = ELEMENT; b.TextColor3 = TEXT
b.Font = .Font.GothamBold; b.TextSize =
b.Text = (()); b.Parent = f
(b, )
b.MouseButton1Click:(()
b.Text =
rebinding = (key) (key); b.Text = (key)
)
(parent, text, options, get, set)
f = (parent)
l = (f, text, ); l.Position = .(, ); l.Size = .(, -, , )
b = .()
b.Size = .(, ); b.Position = .(, -, , -)
b.BackgroundColor3 = ELEMENT; b.TextColor3 = TEXT
b.Font = .Font.GothamBold; b.TextSize =
b.Text = (); b.Parent = f
(b, )
b.MouseButton1Click:(()
idx = .(options, ())
(options[idx % #options + ]); b.Text = ()
)
(parent, text, get, set)
presets = {
.(, , ), .(, , ), .(, , ),
.(, , ), .(, , ), .(, , ),
}
f = (parent)
l = (f, text, ); l.Position = .(, ); l.Size = .(, -, , )
sw = .()
sw.Size = .(, ); sw.Position = .(, -, , -)
sw.Text = ; sw.BackgroundColor3 = (); sw.Parent = f
(sw, )
sw.MouseButton1Click:(()
idx =
i, c (presets) c == () idx = i
nxt = presets[idx % #presets + ]
(nxt); sw.BackgroundColor3 = nxt
)
A = Config.Aimbot
aimPage = ()
(aimPage, , () A.Enabled , (v) A.Enabled = v )
(aimPage, , () A.AlwaysOn , (v) A.AlwaysOn = v )
(aimPage, , () A.AimKey , (k) A.AimKey = k )
(aimPage, , TARGET_PARTS, () A.TargetPart , (v) A.TargetPart = v )
(aimPage, , , , , () A.Smoothness , (v) A.Smoothness = v )
(aimPage, , , , , () A.FOV , (v) A.FOV = v )
(aimPage, , () A.ShowFOV , (v) A.ShowFOV = v )
(aimPage, , () A.WallCheck , (v) A.WallCheck = v )
(aimPage, , , , , () A.MaxDistance , (v) A.MaxDistance = v )
C = Config.Chams
visPage = ()
(visPage, , () C.Enabled , (v) C.Enabled = v )
(visPage, , () C.ShowTeammates , (v) C.ShowTeammates = v )
(visPage, , () C.ShowEnemies , (v) C.ShowEnemies = v )
(visPage, , () C.TeamColor , (v) C.TeamColor = v )
(visPage, , () C.EnemyColor , (v) C.EnemyColor = v )
(visPage, , , , , () C.FillTransparency , (v) C.FillTransparency = v )
(visPage, , , , , () C.OutlineTransparency , (v) C.OutlineTransparency = v )
(visPage, , () C.AlwaysOnTop , (v) C.AlwaysOnTop = v )
setPage = ()
(setPage, , () Config.Menu.ToggleKey , (k) Config.Menu.ToggleKey = k )
info = (setPage, , , SUBTEXT)
info.Size = .(, -, , )
info.TextWrapped =
()
(open)
main.Visible = open
closeBtn.MouseButton1Click:(() () )
UserInputService.InputBegan:((input, processed)
rebinding
key
input.UserInputType == .UserInputType.Keyboard
key = input.KeyCode
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.MouseButton2
input.UserInputType == .UserInputType.MouseButton3
key = input.UserInputType
key key ~= .UserInputType.MouseButton1
cb = rebinding; rebinding = ; (key)
input.KeyCode == Config.Menu.ToggleKey
( main.Visible)
(input) aimHeld =
)
UserInputService.InputEnded:((input)
(input) aimHeld =
)
RunService.Heartbeat:(()
ok, err = (updateChams)
ok ( .. (err))
)
(plr)
plr.CharacterRemoving:(() (plr) )
_, plr (Players:()) (plr)
Players.PlayerAdded:(hookPlayer)
REALISTIC HOME DEFENSE