Run it
Copy the script and paste it into your executor.
teamCheck =
fov =
smoothing =
totalShots =
totalHits =
accuracy =
TriggerBotEnabled =
RunService = :()
UserInputService = :()
Players = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
FOVring = .()
FOVring.Visible =
FOVring.Thickness =
FOVring.Radius = fov
FOVring.Transparency =
FOVring.Color = .(, , )
FOVring.Position = Camera.ViewportSize /
FOVring.Filled =
ESPSettings = {
Enabled = ,
ShowBox = ,
ShowName = ,
ShowHP = ,
ShowFOVCircle = ,
RainbowESP = ,
}
CurrentTheme =
Theme = {
Dark = {
Background = .(, , ),
Accent = .(, , ),
Text = .(, , ),
SecondaryText = .(, , ),
Divider = .(, , ),
ToggleOff = .(, , ),
},
Light = {
Background = .(, , ),
Accent = .(, , ),
Text = .(, , ),
SecondaryText = .(, , ),
Divider = .(, , ),
ToggleOff = .(, , ),
}
}
watermarkBg = .()
watermarkBg.Visible =
watermarkBg.Position = .(Camera.ViewportSize.X - , )
watermarkBg.Size = .(, )
watermarkBg.Thickness =
watermarkBg.Filled =
watermarkBg.Color = .(, , )
watermarkBg.Transparency =
watermarkBg.Radius =
watermark = .()
watermark.Visible =
watermark.Position = .(Camera.ViewportSize.X - , )
watermark.Size =
watermark.Center =
watermark.Outline =
watermark.OutlineColor = .(,,)
watermark.Color = .(, , )
watermark.Text =
watermark.Font = .Fonts.Monospace
rainbowTime =
RunService.RenderStepped:((delta)
rainbowTime = rainbowTime + delta *
hue = rainbowTime %
color = .(hue, , )
ESPSettings.RainbowESP
watermark.Color = color
_, data (espElements)
data.nameTag.Color = color
data.healthText.Color = color
_, line (data.lines)
line.Color = color
)
hintText = .()
hintText.Visible =
hintText.Position = .(Camera.ViewportSize.X / , )
hintText.Size =
hintText.Center =
hintText.Outline =
hintText.OutlineColor = .(,,)
hintText.Color = .(, , )
hintText.Text =
hintText.Font = .Fonts.Monospace
.(, ()
hintText.Visible =
)
selfHPText = .()
selfHPText.Visible =
selfHPText.Center =
selfHPText.Outline =
selfHPText.OutlineColor = .(,,)
selfHPText.Color = .(, , )
selfHPText.Size =
selfHPText.Font = .Fonts.Monospace
RunService.RenderStepped:(()
LocalPlayer.Character LocalPlayer.Character:() LocalPlayer.Character:()
humanoid = LocalPlayer.Character.Humanoid
headPos = LocalPlayer.Character.Head.Position + .(, , )
screenPos, onScreen = Camera:(headPos)
onScreen
hpPerc = .(.(humanoid.Health / humanoid.MaxHealth * + ), , )
selfHPText.Text = (hpPerc) ..
selfHPText.Position = .(screenPos.X, screenPos.Y - )
selfHPText.Visible =
hpPerc >
selfHPText.Color = .(, , )
hpPerc >
selfHPText.Color = .(, , )
selfHPText.Color = .(, , )
selfHPText.Visible =
selfHPText.Visible =
)
.(()
.()
TriggerBotEnabled
rayParams = RaycastParams.()
rayParams.FilterDescendantsInstances = {LocalPlayer.Character, Camera}
rayParams.FilterType = .RaycastFilterType.Exclude
rayOrigin = Camera.CFrame.Position
rayDirection = Camera.CFrame.LookVector *
rayResult = :(rayOrigin, rayDirection, rayParams)
rayResult rayResult.Instance
hitPart = rayResult.Instance
model = hitPart:()
model
player = Players:(model)
player player ~= LocalPlayer
hum = model:()
hum hum.Health >
( teamCheck) (player.Team ~= LocalPlayer.Team)
()
.()
()
.()
)
(cframe)
ray = Ray.(cframe.Position, cframe.LookVector).Unit
target =
mag = .huge
_, v (Players:())
v.Character v.Character:()
v.Character:()
v.Character:()
v ~= LocalPlayer
(v.Team ~= LocalPlayer.Team teamCheck)
headPos = v.Character.Head.Position
closestPoint = ray:(headPos)
magBuf = (headPos - closestPoint).Magnitude
magBuf < mag
mag = magBuf
target = v
target
(success)
totalShots = totalShots +
success totalHits = totalHits +
accuracy = totalShots > (totalHits / totalShots)
accuracy <
fov = fov +
smoothing = .(, smoothing - )
accuracy >
smoothing = .(, smoothing + )
FOVring.Radius = fov
RunService.RenderStepped:(()
(UserInputService:(.UserInputType.MouseButton3)
UserInputService:(.KeyCode.E))
cam = Camera
screenCenter = cam.ViewportSize /
closestTarget = (cam.CFrame)
closestTarget closestTarget.Character closestTarget.Character:()
headPos = closestTarget.Character.Head.Position
ssHeadPoint, onScreen = cam:(headPos)
screenHead = .(ssHeadPoint.X, ssHeadPoint.Y)
onScreen (screenHead - screenCenter).Magnitude < fov
targetCFrame = .(cam.CFrame.Position, headPos)
cam.CFrame = cam.CFrame:(targetCFrame, smoothing)
hitChance = .() <
(hitChance)
)
espElements = {}
(player)
player == LocalPlayer
esp = {}
esp.nameTag = .()
esp.nameTag.Visible =
esp.nameTag.Center =
esp.nameTag.Outline =
esp.nameTag.Size =
esp.nameTag.Color = .(, , )
esp.nameTag.Text = player.Name
esp.healthText = .()
esp.healthText.Visible =
esp.healthText.Outline =
esp.healthText.Size =
esp.healthText.Color = .(, , )
esp.lines = {}
i = ,
line = .()
line.Visible =
line.Thickness =
line.Transparency =
line.Color = .(, , )
.(esp.lines, line)
espElements[player] = esp
()
ESPSettings.Enabled
_, data (espElements)
data.nameTag.Visible =
data.healthText.Visible =
_, ln (data.lines) ln.Visible =
_, player (Players:())
data = espElements[player]
data
player.Character
hrp = player.Character:()
head = player.Character:()
hum = player.Character:()
hrp head hum
rootPos, onScreen = Camera:(hrp.Position)
onScreen
top = Camera:(head.Position + .(, , ))
bottom = Camera:(hrp.Position - .(, , ))
height = .(top.Y - bottom.Y)
width = height *
left = .(rootPos.X - width/, top.Y)
right = .(rootPos.X + width/, top.Y)
bl = .(left.X, bottom.Y)
br = .(right.X, bottom.Y)
ESPSettings.ShowBox
boxColor = ESPSettings.RainbowESP .((() * ) % , , ) .(, , )
_, ln (data.lines)
ln.Color = boxColor
data.lines[].From = left; data.lines[].To = right; data.lines[].Visible =
data.lines[].From = right; data.lines[].To = br; data.lines[].Visible =
data.lines[].From = br; data.lines[].To = bl; data.lines[].Visible =
data.lines[].From = bl; data.lines[].To = left; data.lines[].Visible =
_, ln (data.lines) ln.Visible =
data.nameTag.Visible = ESPSettings.ShowName
ESPSettings.ShowName
data.nameTag.Position = .(rootPos.X, top.Y - )
ESPSettings.RainbowESP
data.nameTag.Color = .((() * + ) % , , )
ESPSettings.ShowHP
hpPerc = .(.(hum.Health / hum.MaxHealth * ), , )
data.healthText.Text = hpPerc ..
ESPSettings.RainbowESP
data.healthText.Color = .((() * + ) % , , )
data.healthText.Color = hpPerc > .(,,)
hpPerc > .(,,)
.(,,)
data.healthText.Position = .(right.X + , rootPos.Y - )
data.healthText.Visible =
data.healthText.Visible =
data.nameTag.Visible =
data.healthText.Visible =
_, ln (data.lines) ln.Visible =
data.nameTag.Visible =
data.healthText.Visible =
_, ln (data.lines) ln.Visible =
data.nameTag.Visible =
data.healthText.Visible =
_, ln (data.lines) ln.Visible =
FOVring.Visible = ESPSettings.ShowFOVCircle
_, plr (Players:()) (plr)
Players.PlayerAdded:(createESP)
Players.PlayerRemoving:((plr)
d = espElements[plr]
d
d.nameTag:()
d.healthText:()
_, ln (d.lines) ln:()
espElements[plr] =
)
RunService.RenderStepped:(updateESP)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = LocalPlayer:()
screenGui.Enabled =
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = Theme[CurrentTheme].Background
mainFrame.BorderSizePixel =
mainFrame.Parent = screenGui
uiCorner = .()
uiCorner.CornerRadius = .(, )
uiCorner.Parent = mainFrame
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = Theme[CurrentTheme].Background
titleBar.BorderSizePixel =
titleBar.Parent = mainFrame
titleLabel = .()
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = Theme[CurrentTheme].Text
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = titleBar
dragging, dragInput, dragStart, startPos
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
titleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
RunService.RenderStepped:(()
dragging dragInput
delta = dragInput.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
divider = .()
divider.Size = .(, , , )
divider.Position = .(, , , )
divider.BackgroundColor3 = Theme[CurrentTheme].Divider
divider.BorderSizePixel =
divider.Parent = mainFrame
(name, initial, callback, yPos)
cont = .()
cont.Size = .(, , , )
cont.Position = .(, , , yPos)
cont.BackgroundTransparency =
cont.Parent = mainFrame
lbl = .()
lbl.Size = .(, , , )
lbl.BackgroundTransparency =
lbl.Text = name
lbl.TextColor3 = Theme[CurrentTheme].SecondaryText
lbl.TextSize =
lbl.Font = .Font.GothamSemibold
lbl.TextXAlignment = .TextXAlignment.Left
lbl.Parent = cont
bg = .()
bg.Size = .(, , , )
bg.Position = .(, -, , -)
bg.BackgroundColor3 = initial Theme[CurrentTheme].Accent Theme[CurrentTheme].ToggleOff
bg.BorderSizePixel =
bg.Parent = cont
.(, bg).CornerRadius = .()
knob = .()
knob.Size = .(, , , )
knob.Position = initial .(, , , -) .(, , , -)
knob.BackgroundColor3 = .(,,)
knob.BorderSizePixel =
knob.Parent = bg
.(, knob).CornerRadius = .()
btn = .()
btn.Size = .(,,,)
btn.BackgroundTransparency =
btn.Text =
btn.Parent = cont
state = initial
btn.MouseButton1Click:(()
state = state
bg.BackgroundColor3 = state Theme[CurrentTheme].Accent Theme[CurrentTheme].ToggleOff
knob:(state .(,,,-) .(,,,-), , , , )
(state)
)
y =
(, ESPSettings.Enabled, (v) ESPSettings.Enabled = v , y) y +=
(, ESPSettings.ShowBox, (v) ESPSettings.ShowBox = v , y) y +=
(, ESPSettings.ShowName, (v) ESPSettings.ShowName = v , y) y +=
(, ESPSettings.ShowHP, (v) ESPSettings.ShowHP = v , y) y +=
(, ESPSettings.ShowFOVCircle,(v)
ESPSettings.ShowFOVCircle = v
FOVring.Visible = v
, y) y +=
(, ESPSettings.RainbowESP, (v) ESPSettings.RainbowESP = v , y) y +=
(, TriggerBotEnabled, (v) TriggerBotEnabled = v , y) y +=
themeCont = .()
themeCont.Size = .(, , , )
themeCont.Position = .(, , , y)
themeCont.BackgroundTransparency =
themeCont.Parent = mainFrame
themeLbl = .()
themeLbl.Size = .(, , , )
themeLbl.BackgroundTransparency =
themeLbl.Text =
themeLbl.TextColor3 = Theme[CurrentTheme].SecondaryText
themeLbl.TextSize =
themeLbl.Font = .Font.GothamSemibold
themeLbl.TextXAlignment = .TextXAlignment.Left
themeLbl.Parent = themeCont
themeBtn = .()
themeBtn.Size = .(, , , )
themeBtn.Position = .(, -, , -)
themeBtn.BackgroundTransparency =
themeBtn.Text =
themeBtn.Parent = themeCont
themeIcon = .()
themeIcon.Size = .(, , , )
themeIcon.BackgroundTransparency =
themeIcon.TextSize =
themeIcon.Font = .Font.SourceSansBold
themeIcon.Parent = themeBtn
()
CurrentTheme ==
themeIcon.Text =
themeIcon.TextColor3 = .(, , )
themeIcon.Text =
themeIcon.TextColor3 = .(, , )
()
themeBtn.MouseButton1Click:(()
CurrentTheme = CurrentTheme ==
mainFrame.BackgroundColor3 = Theme[CurrentTheme].Background
titleBar.BackgroundColor3 = Theme[CurrentTheme].Background
titleLabel.TextColor3 = Theme[CurrentTheme].Text
divider.BackgroundColor3 = Theme[CurrentTheme].Divider
_, child (mainFrame:())
child:() child ~= titleLabel child ~= themeIcon
child.TextColor3 = Theme[CurrentTheme].SecondaryText
()
)
UserInputService.InputBegan:((input, gp)
gp
input.KeyCode == .KeyCode.M
screenGui.Enabled = screenGui.Enabled
)
()