Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Weapon = game:GetService("ReplicatedStorage").Weapon
- Old = hookfunction(require(Weapon).fire, function(p89, p90)
- p89.is_pap = true
- p89.ammo = math.huge
- p89.equip_time = 0
- p89.stored_ammo = math.huge
- p89.max_ammo = math.huge
- p89.max_stored = math.huge
- p89.is_auto = true
- p89.shoot_wait = 0.000000000000000000000000000000000000000001
- p89.inaccuracy = 0
- return Old(p89, p90)
- end)
- Old2 = hookfunction(require(Weapon).play_animation, function(self, AnimName)
- if AnimName == "Fire" then
- local AnimFunc = self.animations[AnimName]
- hookfunction(AnimFunc, function() end)
- end
- return Old2(self, AnimName)
- end)
- function update()
- if require(Weapon).instance == game.Players.LocalPlayer.Character:FindFirstChild("M16A2/M203") then
- local A = require(Weapon["M16A2/M203"].Animations.Fire)
- hookfunction(A[true], function() end)
- hookfunction(A[false], function() end)
- end
- end
- game:GetService("RunService").Stepped:Connect(update)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement