local Players = game:GetService("Players") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer if getnamecallmethod then local function setupRapidFire(tool) if tool and tool:FindFirstChild("GunScript") then for _, v in ipairs(getconnections(tool.Activated)) do local funcinfo = debug.getinfo(v.Function) for i = 1, funcinfo.nups do local c, n = debug.getupvalue(v.Function, i) if type(c) == "number" then debug.setupvalue(v.Function, i, 1e-20) end end end end end local function onCharacterAdded(character) RunService.Heartbeat:Connect(function() local tool = character:FindFirstChildOfClass("Tool") setupRapidFire(tool) end) end if localPlayer.Character then onCharacterAdded(localPlayer.Character) end localPlayer.CharacterAdded:Connect(onCharacterAdded) end