Guest User

Untitled

a guest
May 23rd, 2020
931
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. local GunModifications = {
  2. "CamShakeMagnitude",
  3. "FireFreq",
  4. "MagSize",
  5. "FireAuto",
  6. "BulletSpeed",
  7. "Bullet Spread",
  8. "BulletsPerShot"
  9. }
  10.  
  11. function ModifyWeaponValue(value, temp_var_1)
  12. for i,v in next, getgc() do
  13. if type(v) == "table" then
  14. for i2, v2 in next, v do
  15. if tostring(i2) == "CamShakeMagnitude" then
  16. v[value] = temp_var_1
  17. end
  18. end
  19. end
  20. end
  21. end
  22.  
  23. ModifyWeaponValue(GunModifications[1], 0);
  24. ModifyWeaponValue(GunModifications[2], 10000);
  25. ModifyWeaponValue(GunModifications[3], math.huge);
  26. ModifyWeaponValue(GunModifications[4], true);
  27. ModifyWeaponValue(GunModifications[5], 100000000);
  28. ModifyWeaponValue(GunModifications[6], 1110);
  29. ModifyWeaponValue(GunModifications[7], 10);
Add Comment
Please, Sign In to add comment