shoot
modules.shoot(target: Instance, gun: Tool)Parameters
Example
local starting_pos = game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position
local distance = 50
local closest = modules.closest_player(distance,starting_pos)
if not closest then return end
local gun = modules.get_gun(false)
if not gun then return end
modules.reload(gun)
task.wait(1)
modules.shoot(closest,gun) -- will fire 1 bulletLast updated