Advertisement
pa1nx9

Arsenal GUN MODS OCTOBER 2021

Oct 6th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
  2. for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
  3. for i,x in next, getconnections(c.Changed) do
  4. x:Disable() -- probably not needed
  5. end
  6. if c.Name == "Ammo" or c.Name == "StoredAmmo" then
  7. c.Value = 300 -- don't set this above 300 or else your guns wont work
  8. elseif c.Name == "AReload" or c.Name == "RecoilControl" or c.Name == "EReload" or c.Name == "SReload" or c.Name == "ReloadTime" or c.Name == "EquipTime" or c.Name == "Spread" or c.Name == "MaxSpread" then
  9. c.Value = 0
  10. elseif c.Name == "Range" then
  11. c.Value = 9e9
  12. elseif c.Name == "Auto" then
  13. c.Value = true
  14. elseif c.Name == "FireRate" or c.Name == "BFireRate" then
  15. c.Value = 0.02 -- don't set this lower than 0.02 or else your game will crash
  16. end
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement