Advertisement
trixade

Untitled

Oct 13th, 2021
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.02 KB | None | 0 0
  1. local Weapon = game:GetService("ReplicatedStorage").Weapon
  2. Old = hookfunction(require(Weapon).fire, function(p89, p90)
  3.     p89.is_pap = true
  4.     p89.ammo = math.huge
  5.     p89.equip_time = 0
  6.     p89.stored_ammo = math.huge
  7.     p89.max_ammo = math.huge
  8.     p89.max_stored = math.huge
  9.     p89.is_auto = true
  10.     p89.shoot_wait = 0.000000000000000000000000000000000000000001
  11.     p89.inaccuracy = 0
  12.     return Old(p89, p90)
  13. end)
  14. Old2 = hookfunction(require(Weapon).play_animation, function(self, AnimName)
  15.     if AnimName == "Fire" then
  16.         local AnimFunc = self.animations[AnimName]
  17.         hookfunction(AnimFunc, function() end)
  18.     end
  19.     return Old2(self, AnimName)
  20. end)
  21. function update()
  22.     if require(Weapon).instance == game.Players.LocalPlayer.Character:FindFirstChild("M16A2/M203") then
  23.         local A = require(Weapon["M16A2/M203"].Animations.Fire)
  24.         hookfunction(A[true], function() end)
  25.         hookfunction(A[false], function() end)
  26.     end
  27. end
  28. game:GetService("RunService").Stepped:Connect(update)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement