Fallen Magic Bullet Script
Fallen Magic Bullet Script
GetService;
local players = getService(game, "Players");
local workspace = getService(game, "Workspace");
local guiService = getService(game, "GuiService");
local replicatedStorage = getService(game, "ReplicatedStorage");
-- Functions
local getClosestToCursor = function()
local target = nil
local maxDistance = mathhuge
-- Hooks
local oldNamecall; oldNamecall = hookmetamethod(game, "__namecall",
function(self, ...)
local args = {...}
if tostring(self) == "VisualizeBullet" and getnamecallmethod() == "FireServer"
then
local v1 = getClosestToCursor().Character;
local v2 = getClosestToCursor().Character.Head;
local v3 = getClosestToCursor().Character.Head.CFrame;