Run it
Copy the script and paste it into your executor.
()
()
()
()
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
LocalPlayer = Players.LocalPlayer
Camera = Workspace.CurrentCamera
Mouse = LocalPlayer:()
Rayfield = (:())()
Window = Rayfield:({
Name = ,
LoadingTitle = ,
LoadingSubtitle = ,
ConfigurationSaving = {Enabled = },
Discord = {Enabled = },
KeySystem = ,
})
MainTab = Window:(, )
ESPTab = Window:(, )
VisualsTab = Window:(, )
SettingsTab = Window:(, )
DebugTab = Window:(, )
AimbotSettings = {
Enabled = ,
FOVRadius = ,
Accuracy = ,
ShowFOV = ,
TeamCheck = ,
VisibilityCheck = ,
TargetPart = ,
Hotkey = .KeyCode.X,
IgnoreDeadPlayers = ,
}
ESPSettings = {
Enabled = ,
ShowBox = ,
ShowName = ,
ShowHealth = ,
ShowDistance = ,
ShowHealthBar = ,
ShowTracers = ,
BoxColor = .(, , ),
NameColor = .(, , ),
HealthColor = .(, , ),
DistanceColor = .(, , ),
TracerColor = .(, , ),
BoxThickness = ,
BoxTransparency = ,
TextSize = ,
TextOutline = ,
MaxDistance = ,
TeamCheck = ,
}
CurrentTarget =
FOVCircle =
AimbotConnection =
ESPObjects = {}
ESPConnection =
StatusLabel = MainTab:()
TargetLabel = MainTab:()
HotkeyLabel = MainTab:()
ESPStatusLabel = ESPTab:()
ESPCountLabel = ESPTab:()
(func, errorContext)
success, err = (func)
success
( .. (errorContext ) .. .. (err))
success
(player)
player player.Character
humanoid = player.Character:()
humanoid
humanoid.Health <=
humanoid:() == .HumanoidStateType.Dead
(player)
player player.Character
,
humanoid = player.Character:()
humanoid
,
humanoid.Health, humanoid.MaxHealth
(player)
health, maxHealth = (player)
maxHealth ==
(health / maxHealth) *
(percentage)
percentage >
.(, , )
percentage >
.(, , )
percentage >
.(, , )
.(, , )
()
FOVCircle
FOVCircle:()
FOVCircle = .()
FOVCircle.Thickness =
FOVCircle.NumSides =
FOVCircle.Radius = AimbotSettings.FOVRadius
FOVCircle.Color = .(, , )
FOVCircle.Transparency =
FOVCircle.Visible = AimbotSettings.ShowFOV
FOVCircle.Filled =
()
FOVCircle
ViewportSize = Camera.ViewportSize
FOVCircle.Position = .(ViewportSize.X / , ViewportSize.Y / )
FOVCircle.Radius = AimbotSettings.FOVRadius
FOVCircle.Visible = AimbotSettings.ShowFOV
(hitboxFolder)
#hitboxFolder:() ==
userId = hitboxFolder.Name
_, player (Players:())
(player.UserId) == userId
player
()
targets = {}
hitboxesFolder = Workspace:()
hitboxesFolder
targets
_, hitboxFolder (hitboxesFolder:())
hitboxFolder:()
#hitboxFolder:() >
player = (hitboxFolder)
player player ~= LocalPlayer
AimbotSettings.IgnoreDeadPlayers (player)
AimbotSettings.TeamCheck player.Team == LocalPlayer.Team
head = hitboxFolder:(AimbotSettings.TargetPart)
head
.(targets, {
Player = player,
Head = head,
HitboxFolder = hitboxFolder
})
targets
(part)
screenPos, onScreen = Camera:(part.Position)
.(screenPos.X, screenPos.Y), onScreen, screenPos.Z
(screenPos)
ViewportSize = Camera.ViewportSize
center = .(ViewportSize.X / , ViewportSize.Y / )
(screenPos - center).Magnitude
(screenPos)
distance = (screenPos)
distance <= AimbotSettings.FOVRadius
(head)
AimbotSettings.VisibilityCheck
character = LocalPlayer.Character
character
origin = Camera.CFrame.Position
targetPos = head.Position
direction = (targetPos - origin).Unit * (targetPos - origin).Magnitude
raycastParams = RaycastParams.()
filterList = {character}
hitboxesFolder = Workspace:()
hitboxesFolder
.(filterList, hitboxesFolder)
_, player (Players:())
player.Character
.(filterList, player.Character)
raycastParams.FilterDescendantsInstances = filterList
raycastParams.FilterType = .RaycastFilterType.Blacklist
raycastResult = Workspace:(origin, direction, raycastParams)
raycastResult
hitPart = raycastResult.Instance
hitPart.Transparency >=
hitPart.CanCollide
()
targets = ()
closestTarget =
shortestDistance = .huge
_, target (targets)
screenPos, onScreen, depth = (target.Head)
onScreen depth >
(screenPos)
(target.Head)
distance = (screenPos)
distance < shortestDistance
shortestDistance = distance
closestTarget = target
closestTarget
(target)
target target.Head
(target.Player)
head = target.Head
targetPos = head.Position
currentCFrame = Camera.CFrame
targetCFrame = .(currentCFrame.Position, targetPos)
smoothness = ( - AimbotSettings.Accuracy) /
newCFrame = currentCFrame:(targetCFrame, smoothness)
Camera.CFrame = newCFrame
(player)
ESPObjects[player]
espData = {
Player = player,
Drawings = {},
}
box = .()
box.Thickness = ESPSettings.BoxThickness
box.Transparency = ESPSettings.BoxTransparency
box.Color = ESPSettings.BoxColor
box.Filled =
box.Visible =
espData.Drawings.Box = box
name = .()
name.Text = player.Name
name.Size = ESPSettings.TextSize
name.Color = ESPSettings.NameColor
name.Center =
name.Outline = ESPSettings.TextOutline
name.Visible =
espData.Drawings.Name = name
healthText = .()
healthText.Text =
healthText.Size = ESPSettings.TextSize
healthText.Color = ESPSettings.HealthColor
healthText.Center =
healthText.Outline = ESPSettings.TextOutline
healthText.Visible =
espData.Drawings.HealthText = healthText
healthBarBG = .()
healthBarBG.Thickness =
healthBarBG.Transparency =
healthBarBG.Color = .(, , )
healthBarBG.Filled =
healthBarBG.Visible =
espData.Drawings.HealthBarBG = healthBarBG
healthBar = .()
healthBar.Thickness =
healthBar.Transparency =
healthBar.Color = .(, , )
healthBar.Filled =
healthBar.Visible =
espData.Drawings.HealthBar = healthBar
distance = .()
distance.Text =
distance.Size = ESPSettings.TextSize
distance.Color = ESPSettings.DistanceColor
distance.Center =
distance.Outline = ESPSettings.TextOutline
distance.Visible =
espData.Drawings.Distance = distance
tracer = .()
tracer.Thickness =
tracer.Transparency =
tracer.Color = ESPSettings.TracerColor
tracer.Visible =
espData.Drawings.Tracer = tracer
ESPObjects[player] = espData
(player)
ESPObjects[player]
espData = ESPObjects[player]
_, drawing (espData.Drawings)
drawing:()
ESPObjects[player] =
()
ESPSettings.Enabled
player, espData (ESPObjects)
_, drawing (espData.Drawings)
drawing.Visible =
trackedCount =
player, espData (ESPObjects)
player player.Parent (player)
_, drawing (espData.Drawings)
drawing.Visible =
ESPSettings.TeamCheck player.Team == LocalPlayer.Team
_, drawing (espData.Drawings)
drawing.Visible =
character = player.Character
character
_, drawing (espData.Drawings)
drawing.Visible =
rootPart = character:()
rootPart
_, drawing (espData.Drawings)
drawing.Visible =
distance = (rootPart.Position - Camera.CFrame.Position).Magnitude
distance > ESPSettings.MaxDistance
_, drawing (espData.Drawings)
drawing.Visible =
trackedCount = trackedCount +
headPos = character:()
headPos
_, drawing (espData.Drawings)
drawing.Visible =
screenPos, onScreen = Camera:(headPos.Position)
rootScreenPos = Camera:(rootPart.Position)
onScreen
_, drawing (espData.Drawings)
drawing.Visible =
head = character:()
torso = character:() character:()
head torso
headPos2D = Camera:(head.Position)
torsoPos2D = Camera:(torso.Position)
height = .(headPos2D.Y - torsoPos2D.Y) *
width = height /
ESPSettings.ShowBox
espData.Drawings.Box.Size = .(width, height)
espData.Drawings.Box.Position = .(screenPos.X - width/, screenPos.Y - height/)
espData.Drawings.Box.Color = ESPSettings.BoxColor
espData.Drawings.Box.Thickness = ESPSettings.BoxThickness
espData.Drawings.Box.Visible =
espData.Drawings.Box.Visible =
ESPSettings.ShowName
espData.Drawings.Name.Position = .(screenPos.X, screenPos.Y - height/ - )
espData.Drawings.Name.Text = player.Name
espData.Drawings.Name.Color = ESPSettings.NameColor
espData.Drawings.Name.Size = ESPSettings.TextSize
espData.Drawings.Name.Visible =
espData.Drawings.Name.Visible =
health, maxHealth = (player)
healthPercentage = (player)
ESPSettings.ShowHealth
espData.Drawings.HealthText.Position = .(screenPos.X, screenPos.Y - height/ - )
espData.Drawings.HealthText.Text = .(, .(health), .(maxHealth))
espData.Drawings.HealthText.Color = (healthPercentage)
espData.Drawings.HealthText.Size = ESPSettings.TextSize
espData.Drawings.HealthText.Visible =
espData.Drawings.HealthText.Visible =
ESPSettings.ShowHealthBar
barWidth = width
barHeight =
barX = screenPos.X - width/
barY = screenPos.Y + height/ +
espData.Drawings.HealthBarBG.Size = .(barWidth, barHeight)
espData.Drawings.HealthBarBG.Position = .(barX, barY)
espData.Drawings.HealthBarBG.Visible =
healthWidth = barWidth * (healthPercentage / )
espData.Drawings.HealthBar.Size = .(healthWidth, barHeight)
espData.Drawings.HealthBar.Position = .(barX, barY)
espData.Drawings.HealthBar.Color = (healthPercentage)
espData.Drawings.HealthBar.Visible =
espData.Drawings.HealthBarBG.Visible =
espData.Drawings.HealthBar.Visible =
ESPSettings.ShowDistance
espData.Drawings.Distance.Position = .(screenPos.X, screenPos.Y + height/ + )
espData.Drawings.Distance.Text = .(, .(distance))
espData.Drawings.Distance.Color = ESPSettings.DistanceColor
espData.Drawings.Distance.Size = ESPSettings.TextSize
espData.Drawings.Distance.Visible =
espData.Drawings.Distance.Visible =
ESPSettings.ShowTracers
ViewportSize = Camera.ViewportSize
espData.Drawings.Tracer.From = .(ViewportSize.X / , ViewportSize.Y)
espData.Drawings.Tracer.To = .(screenPos.X, screenPos.Y)
espData.Drawings.Tracer.Color = ESPSettings.TracerColor
espData.Drawings.Tracer.Visible =
espData.Drawings.Tracer.Visible =
ESPCountLabel:( .. trackedCount .. )
()
AimbotConnection
AimbotConnection:()
AimbotConnection = RunService.RenderStepped:(()
AimbotSettings.Enabled
()
target = ()
CurrentTarget = target
target
(target.Player)
TargetLabel:( .. target.Player.Name)
(target)
TargetLabel:()
TargetLabel:()
)
()
AimbotConnection
AimbotConnection:()
AimbotConnection =
CurrentTarget =
TargetLabel:()
()
ESPConnection
ESPConnection:()
_, player (Players:())
player ~= LocalPlayer
(player)
ESPConnection = RunService.RenderStepped:(()
ESPSettings.Enabled
()
)
()
ESPConnection
ESPConnection:()
ESPConnection =
player, espData (ESPObjects)
_, drawing (espData.Drawings)
drawing.Visible =
()
AimbotSettings.Enabled = AimbotSettings.Enabled
AimbotSettings.Enabled
StatusLabel:()
()
()
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
StatusLabel:()
()
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == AimbotSettings.Hotkey
()
)
Players.PlayerAdded:((player)
player ~= LocalPlayer
(player)
)
Players.PlayerRemoving:((player)
(player)
)
MainTab:()
MainTab:({
Title = ,
Content =
})
AimbotToggle = MainTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.Enabled = Value
Value
StatusLabel:()
()
StatusLabel:()
()
,
})
MainTab:()
MainTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.FOVRadius = Value
FOVCircle
FOVCircle.Radius = Value
,
})
MainTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.Accuracy = Value
,
})
MainTab:({
Title = ,
Content =
})
ESPTab:()
ESPToggle = ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.Enabled = Value
Value
ESPStatusLabel:()
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
ESPStatusLabel:()
()
,
})
ESPTab:()
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowBox = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowName = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowHealth = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowHealthBar = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowDistance = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.ShowTracers = Value
,
})
ESPTab:()
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.MaxDistance = Value
,
})
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.TextSize = Value
,
})
ESPTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.BoxThickness = Value
,
})
ESPTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
ESPSettings.TeamCheck = Value
,
})
VisualsTab:()
VisualsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.ShowFOV = Value
FOVCircle
FOVCircle.Visible = Value
,
})
VisualsTab:({
Name = ,
Color = .(, , ),
Flag = ,
Callback = (Value)
FOVCircle
FOVCircle.Color = Value
,
})
VisualsTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
FOVCircle
FOVCircle.Thickness = Value
,
})
VisualsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
FOVCircle
FOVCircle.Filled = Value
FOVCircle.Transparency = Value
,
})
VisualsTab:()
VisualsTab:({
Name = ,
Color = .(, , ),
Flag = ,
Callback = (Value)
ESPSettings.BoxColor = Value
,
})
VisualsTab:({
Name = ,
Color = .(, , ),
Flag = ,
Callback = (Value)
ESPSettings.NameColor = Value
,
})
VisualsTab:({
Name = ,
Color = .(, , ),
Flag = ,
Callback = (Value)
ESPSettings.DistanceColor = Value
,
})
VisualsTab:({
Name = ,
Color = .(, , ),
Flag = ,
Callback = (Value)
ESPSettings.TracerColor = Value
,
})
VisualsTab:({
Title = ,
Content =
})
SettingsTab:()
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.TeamCheck = Value
,
})
SettingsTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
AimbotSettings.VisibilityCheck = Value
Value
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
,
})
SettingsTab:({
Title = ,
Content =
})
SettingsTab:()
SettingsTab:({
Title = ,
Content =
})
SettingsTab:()
SettingsTab:({
Title = ,
Content =
})
SettingsTab:({
Name = ,
Callback = ()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
,
})
DebugTab:()
DebugTab:({
Name = ,
Callback = ()
hitboxesFolder = Workspace:()
hitboxesFolder
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
( .. .(, ))
()
(.(, ))
activeCount =
emptyCount =
deadCount =
aliveCount =
_, folder (hitboxesFolder:())
folder:()
childCount = #folder:()
childCount >
activeCount = activeCount +
player = (folder)
head = folder:()
alive = player (player)
alive
aliveCount = aliveCount +
deadCount = deadCount +
(.(, folder.Name))
(.(, player player.Name ))
(.(, alive ))
(.(, childCount))
(.(, head ))
player alive
health, maxHealth = (player)
(.(,
.(health),
.(maxHealth),
(player)
))
emptyCount = emptyCount +
(.(, ))
(.())
(.(, activeCount))
(.(, aliveCount))
(.(, deadCount))
(.(, emptyCount))
(.(, ) .. )
Rayfield:({
Title = ,
Content = .(, aliveCount, deadCount),
Duration = ,
Image = ,
})
,
})
DebugTab:({
Name = ,
Callback = ()
targets = ()
()
i, target (targets)
health, maxHealth = (target.Player)
(.(,
i,
target.Player.Name,
.(health),
.(maxHealth)
))
( .. #targets .. )
Rayfield:({
Title = ,
Content = #targets .. ,
Duration = ,
Image = ,
})
,
})
DebugTab:({
Name = ,
Callback = ()
targets = ()
( .. .(, ))
()
(.(, ))
#targets ==
()
i, target (targets)
visible = (target.Head)
screenPos, onScreen = (target.Head)
inFOV = (screenPos)
alive = (target.Player)
(.(, i, target.Player.Name))
(.(, alive ))
(.(, visible ))
(.(, onScreen ))
(.(, inFOV ))
(.(, (visible onScreen inFOV alive) ))
(.(, ) .. )
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
,
})
DebugTab:()
DebugTab:({
Name = ,
Callback = ()
()
()
()
( .. (AimbotSettings.Enabled))
( .. AimbotSettings.FOVRadius)
( .. AimbotSettings.Accuracy)
()
( .. (AimbotSettings.ShowFOV))
( .. (AimbotSettings.TeamCheck))
( .. (AimbotSettings.VisibilityCheck))
( .. (CurrentTarget CurrentTarget.Player.Name ))
()
( .. (ESPSettings.Enabled))
( .. (ESPSettings.ShowBox))
( .. (ESPSettings.ShowName))
( .. (ESPSettings.ShowHealth))
( .. (ESPSettings.ShowHealthBar))
( .. (ESPSettings.ShowDistance))
( .. (ESPSettings.ShowTracers))
( .. ESPSettings.MaxDistance .. )
( .. #Players:() - )
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
,
})
DebugTab:({
Name = ,
Callback = ()
()
( .. #ESPObjects)
visibleCount =
player, espData (ESPObjects)
anyVisible =
_, drawing (espData.Drawings)
drawing.Visible
anyVisible =
anyVisible
visibleCount = visibleCount +
( .. visibleCount)
( .. (ESPSettings.Enabled))
Rayfield:({
Title = ,
Content = visibleCount .. ,
Duration = ,
Image = ,
})
,
})
DebugTab:()
DebugTab:({
Name = ,
Callback = ()
AimbotSettings.Enabled
()
.()
()
ESPSettings.Enabled
()
.()
()
()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
,
})
()
()
()
()
()
RunService.RenderStepped:(()
()
)
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})
()
()
()
()
()
( .. AimbotSettings.FOVRadius)
( .. AimbotSettings.Accuracy)
()
()
()
()
()
()
()
()
()
()
()
()
()
StatusLabel:()
TargetLabel:()
HotkeyLabel:()
ESPStatusLabel:()
ESPCountLabel:()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu.
The script is a good Aimbot for weaponary , it has aimbot and all kind of customization , it has a quick togle to aimbote with clicking the "X" button . It has been ment and tested on pc , mobile may encounter bugs or not even work , play at ur own risks . Also Xeno is supported . It ll not be obfuscated , nor have any unquoted functions , everything is easy to understand and well organized , i hope yall will like my script , like and comment for more FREE scripts .