Run it
Copy the script and paste it into your executor.
Players, RS = :(), :()
lp, cam = Players.LocalPlayer, .CurrentCamera
CFG = { fov = , hitChance = , headChance = , wallcheck = , players = , bots = }
FIRE = {}
_, n ({ , , , , , , })
r = RS.Voxel.Remotes:(n)
r FIRE[r] = n
Ballistics = (RS.Voxel.Ballistics)
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
(model)
hum = model:()
hum hum.Health > model:() ~=
()
center, best, bestDist = cam.ViewportSize / , , CFG.fov
myTeam = (lp.Team)
(model)
root = model:() model:()
root (model)
p, on = cam:(root.Position)
on
d = (.(p.X, p.Y) - center).Magnitude
d >= bestDist
CFG.wallcheck
params.FilterDescendantsInstances = { lp.Character, model }
:(cam.CFrame.Position, root.Position - cam.CFrame.Position, params)
best, bestDist = model, d
CFG.players
_, pl (Players:())
pl ~= lp pl.Character (pl.Team == pl.Team ~= lp.Team) (pl.Character)
rigs = CFG.bots :()
rigs
_, m (rigs:())
m:() ~= myTeam (m)
best
(name, a)
muzzle = a[]
(muzzle) ~= (a[]) ~=
.() > CFG.hitChance
model = ()
model
part = model:(.() <= CFG.headChance )
part
speed, arc = Ballistics.SPEED ,
name ==
tool = lp.Character lp.Character:()
speed = Ballistics.RIFLE_SPEED * ((tool (tool:())) )
arc = Ballistics.RIFLE_ARC
point = part.Position + .(.(-, ), .(-, ), .(-, )) /
root = model:()
root root.AssemblyLinearVelocity.Magnitude >
dist = (point - muzzle).Magnitude
ok, t = (Ballistics.flightTime, dist, speed, arc)
point += root.AssemblyLinearVelocity * (ok t dist / speed)
plain = (point - muzzle).Unit
aim = plain
name ==
ok, v = (Ballistics.launch, muzzle, point, speed, arc)
ok (v) == v.Magnitude > aim = v.Unit
name ==
i = , #a (a[i]) == a[i] = plain
a[] = aim
(a[]) == a[] = plain
(a[]) == a[] =
old
old = (, , ((self, ...)
method = ()
name = method == FIRE[self]
name
a, n = { ... }, (, ...)
(rewrite, name, a)
(method)
(self, .(a, , n))
(self, ...)
))voxel wars fps silent aim

Universal