Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GunModifications = {
- "CamShakeMagnitude",
- "FireFreq",
- "MagSize",
- "FireAuto",
- "BulletSpeed",
- "Bullet Spread",
- "BulletsPerShot"
- }
- function ModifyWeaponValue(value, temp_var_1)
- for i,v in next, getgc() do
- if type(v) == "table" then
- for i2, v2 in next, v do
- if tostring(i2) == "CamShakeMagnitude" then
- v[value] = temp_var_1
- end
- end
- end
- end
- end
- ModifyWeaponValue(GunModifications[1], 0);
- ModifyWeaponValue(GunModifications[2], 10000);
- ModifyWeaponValue(GunModifications[3], math.huge);
- ModifyWeaponValue(GunModifications[4], true);
- ModifyWeaponValue(GunModifications[5], 100000000);
- ModifyWeaponValue(GunModifications[6], 1110);
- ModifyWeaponValue(GunModifications[7], 10);
Add Comment
Please, Sign In to add comment