Run it
Copy the script and paste it into your executor.
Rayfield = (:())()
RunService = :()
players = :()
= :()
plr = players.LocalPlayer
camera = .CurrentCamera
mouse = plr:()
hue =
rainbowFov =
rainbowSpeed =
aimFov =
aiming =
predictionStrength =
smoothing =
aimbotEnabled =
wallCheck =
stickyAimEnabled =
teamCheck =
healthCheck =
minHealth =
circleColor = .(, , )
targetedCircleColor = .(, , )
Window = Rayfield:({
Name = ,
LoadingTitle = ,
LoadingSubtitle = ,
ConfigurationSaving = {
Enabled = ,
FolderName = ,
FileName =
},
})
Aimbot = Window:()
fovCircle = .()
fovCircle.Thickness =
fovCircle.Radius = aimFov
fovCircle.Filled =
fovCircle.Color = circleColor
fovCircle.Visible =
currentTarget =
(player)
teamCheck player.Team == plr.Team
(targetCharacter)
targetHead = targetCharacter:()
targetHead
origin = camera.CFrame.Position
direction = (targetHead.Position - origin).unit * (targetHead.Position - origin).magnitude
raycastParams = RaycastParams.()
raycastParams.FilterDescendantsInstances = {plr.Character, targetCharacter}
raycastParams.FilterType = .RaycastFilterType.Blacklist
raycastResult = :(origin, direction, raycastParams)
raycastResult raycastResult.Instance ~=
()
nearestPlayer =
shortestCursorDistance = aimFov
shortestPlayerDistance = .huge
cameraPos = camera.CFrame.Position
_, player (players:())
player ~= plr player.Character player.Character:() (player)
player.Character.Humanoid.Health >= minHealth healthCheck
head = player.Character.Head
headPos = camera:(head.Position)
screenPos = .(headPos.X, headPos.Y)
mousePos = .(mouse.X, mouse.Y)
cursorDistance = (screenPos - mousePos).Magnitude
playerDistance = (head.Position - cameraPos).Magnitude
cursorDistance < shortestCursorDistance headPos.Z >
(player.Character) wallCheck
playerDistance < shortestPlayerDistance
shortestPlayerDistance = playerDistance
shortestCursorDistance = cursorDistance
nearestPlayer = player
nearestPlayer
(player)
player player.Character player.Character:() player.Character:()
head = player.Character.Head
hrp = player.Character.HumanoidRootPart
velocity = hrp.Velocity
predictedPosition = head.Position + (velocity * predictionStrength)
predictedPosition
(from, to)
from:(to, smoothing)
(player)
predictedPosition = (player)
predictedPosition
player.Character.Humanoid.Health >= minHealth healthCheck
targetCFrame = .(camera.CFrame.Position, predictedPosition)
camera.CFrame = (camera.CFrame, targetCFrame)
RunService.RenderStepped:(()
aimbotEnabled
offset =
fovCircle.Position = .(mouse.X, mouse.Y + offset)
rainbowFov
hue = hue + rainbowSpeed
hue > hue =
fovCircle.Color = .(hue, , )
aiming currentTarget
fovCircle.Color = targetedCircleColor
fovCircle.Color = circleColor
aiming
stickyAimEnabled currentTarget
headPos = camera:(currentTarget.Character.Head.Position)
screenPos = .(headPos.X, headPos.Y)
cursorDistance = (screenPos - .(mouse.X, mouse.Y)).Magnitude
cursorDistance > aimFov (wallCheck (currentTarget.Character)) (currentTarget)
currentTarget =
stickyAimEnabled currentTarget
currentTarget = ()
currentTarget
(currentTarget)
currentTarget =
)
mouse.Button2Down:(()
aimbotEnabled
aiming =
)
mouse.Button2Up:(()
aimbotEnabled
aiming =
)
aimbot = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
aimbotEnabled = Value
fovCircle.Visible = Value
})
smoothingslider = Aimbot:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
smoothing = - (Value / )
,
})
predictionstrength = Aimbot:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
predictionStrength = Value
,
})
wallcheck = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
wallCheck = Value
})
stickyaim = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
stickyAimEnabled = Value
})
teamchecktoggle = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
teamCheck = Value
})
healthchecktoggle = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
healthCheck = Value
})
minhealth = Aimbot:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
minHealth = Value
,
})
aimbotfov = Aimbot:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
aimFov = Value
fovCircle.Radius = aimFov
,
})
circlecolor = Aimbot:({
Name = ,
Color = circleColor,
Callback = (Color)
circleColor = Color
fovCircle.Color = Color
})
targetedcirclecolor = Aimbot:({
Name = ,
Color = targetedCircleColor,
Callback = (Color)
targetedCircleColor = Color
})
circlerainbow = Aimbot:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
rainbowFov = Value
})Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu.