Advertisement
HawkPB

Earthscape Tycoon Gun Script

Feb 20th, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. -- use after having weapons in your hotbar, it wont work if you dont
  2.  
  3.  
  4. for _,t in pairs(getgc(true)) do
  5. if type(t) == 'table' then
  6. if rawget(t, "Ammo") then
  7. rawset(t, "Ammo", math.huge)
  8. if rawget(t,'FireRate') then
  9. rawset(t,'FireRate', 1000)
  10. if rawget(t,'ReloadTime') then
  11. rawset(t,'ReloadTime', 0.5)
  12. if rawget(t,'Shells') then
  13. rawset(t,'Shells', 5)-- I think work only on shotguns
  14. if rawget(t,'RecoilMax') then
  15. rawset(t,'RecoilMax', 0)
  16. if rawget(t,'GunType') then
  17. rawset(t,'GunType', 'Auto')
  18. if rawget(t,'RecoilMin') then
  19. rawset(t,'RecoilMin', 0)
  20. if rawget(t,'HipSpread') then
  21. rawset(t,'HipSpread', 0)
  22. if rawget(t,'AimSpread') then
  23. rawset(t,'AimSPread', 0)
  24. end
  25. end
  26. end
  27. end
  28. end
  29. end
  30. end
  31. end
  32. end
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement