Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
player = Players.LocalPlayer
Camera = .CurrentCamera
aimlockEnabled =
aimlockKey = .KeyCode.Q
fovRadius =
npcList = {}
binding =
smoothness =
ScreenGui = .(, player.PlayerGui)
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
FOVCircle = .(, ScreenGui)
FOVCircle.Size = .(, fovRadius * , , fovRadius * )
FOVCircle.AnchorPoint = .(, )
FOVCircle.Position = .(, , , )
FOVCircle.BackgroundTransparency =
FOVCircle.BorderSizePixel =
FOVCircle.BorderColor3 = .(, , )
FOVCircle.Visible =
.(, FOVCircle).CornerRadius = .(, )
Main = .(, ScreenGui)
Main.Size = .(, , , )
Main.Position = .(, , , )
Main.BackgroundColor3 = .(, , )
Main.Active =
Main.Draggable =
.(, Main)
(txt, y, col)
b = .(, Main)
b.Size = .(, , , )
b.Position = .(, , , y)
b.BackgroundColor3 = col
b.Text = txt
b.TextColor3 = .(, , )
b.Font = .Font.Code
.(, b)
b
aimBtn = (, , .(, , ))
bindBtn = (, , .(, , ))
SliderBack = .(, Main)
SliderBack.Size = .(, , , )
SliderBack.Position = .(, , , )
SliderBack.BackgroundColor3 = .(, , )
.(, SliderBack)
SliderFill = .(, SliderBack)
SliderFill.Size = .(, , , )
SliderFill.BackgroundColor3 = .(, , )
.(, SliderFill)
SliderLabel = .(, SliderBack)
SliderLabel.Size = .(, , , )
SliderLabel.BackgroundTransparency =
SliderLabel.Text =
SliderLabel.TextColor3 = .(, , )
SliderLabel.Font = .Font.Code
SliderLabel.TextSize =
isSliding =
()
mousePos = UserInputService:().X
relativePos = .((mousePos - SliderBack.AbsolutePosition.X) / SliderBack.AbsoluteSize.X, , )
SliderFill.Size = .(relativePos, , , )
smoothness = .(relativePos * )
SliderLabel.Text = .. smoothness
SliderBack.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 isSliding =
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 isSliding =
)
UserInputService.InputChanged:((input)
isSliding input.UserInputType == .UserInputType.MouseMovement ()
)
()
temp = {}
_, v (:())
v:()
model = v.Parent
model model:() Players:(model) model ~= player.Character
targetPart = model:() model:() model:()
targetPart .(temp, targetPart)
npcList = temp
.DescendantAdded:((d) d:() .() () )
()
(target)
player.Character
origin = Camera.CFrame.Position
dir = (target.Position - origin).Unit * (target.Position - origin).Magnitude
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = {player.Character, Camera}
res = :(origin, dir, params)
res res.Instance:(target.Parent)
()
closest, shortest = , fovRadius
center = .(Camera.ViewportSize.X/, Camera.ViewportSize.Y/)
_, part (npcList)
part part.Parent
sPos, onScreen = Camera:(part.Position)
onScreen
dist = (.(sPos.X, sPos.Y) - center).Magnitude
dist < shortest (part)
shortest = dist
closest = part
closest
RunService.RenderStepped:(()
aimlockEnabled
target = ()
target
lookAt = .(Camera.CFrame.Position, target.Position)
smoothness ==
Camera.CFrame = lookAt
weight = .( - (smoothness / ), , )
Camera.CFrame = Camera.CFrame:(lookAt, weight)
)
()
aimlockEnabled = aimlockEnabled
aimBtn.Text = aimlockEnabled
aimBtn.BackgroundColor3 = aimlockEnabled .(, , ) .(, , )
FOVCircle.Visible = aimlockEnabled
aimBtn.MouseButton1Click:(toggle)
bindBtn.MouseButton1Click:(()
binding =
bindBtn.Text =
bindBtn.BackgroundColor3 = .(, , )
)
UserInputService.InputBegan:((i, gpe)
binding
aimlockKey = i.KeyCode
bindBtn.Text = .. i.KeyCode.Name
bindBtn.BackgroundColor3 = .(, , )
binding =
gpe i.KeyCode == aimlockKey
()
)
()aimbot and more!