Advertisement
CaviaScript

Big Paintball Script ALL GUNS!

Nov 14th, 2021
24,027
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local library = require(game:GetService("ReplicatedStorage").Framework.Library)
  2.  
  3. local env = getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.Game["First Person Controller"])
  4.  
  5. local unlock_all = true
  6.  
  7. --// Gun Bypass
  8. local old_fire = library.Network.Fire
  9. library.Network.Fire = newcclosure(function(self, ...)
  10. local args = {...}
  11.  
  12. if unlock_all and tostring(self) == "Request Respawn" then
  13. args[1] = "1"
  14. end
  15.  
  16. return old_fire(self, unpack(args))
  17. end)
  18.  
  19. local old_own = env.DoesOwnGun
  20. env.DoesOwnGun = function(...)
  21. return (unlock_all and true) or old_own(...)
  22. end
  23. --
  24.  
  25. --// Unlock All
  26. local old_own_gun = library.GunCmds.DoesOwnGun
  27. library.GunCmds.DoesOwnGun = newcclosure(function(self, ...)
  28. return (unlock_all and true) or old_own_gun(self, ...)
  29. end)
  30. --
  31.  
  32. --// Unlock Offsale
  33. for _, gun in next, library.Directory.Guns do
  34. gun["offsale"] = false
  35. end
  36. --
Advertisement
RAW Paste Data Copied
Advertisement