ADVERTISEMENTREMOVE ADS
Game icon

Rapid Fire Open Source

Da Hood
1 week ago
Script preview thumbnail
Script Preview
ADVERTISEMENTREMOVE ADS
32 Lines • 1.05 KiB
Verified
Raw
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
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS