Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in next, game.ReplicatedStorage.Weapons:GetChildren() do
- for i,c in next, v:GetChildren() do -- for some reason, using GetDescendants dsent let you modify weapon ammo, so I do this instead
- for i,x in next, getconnections(c.Changed) do
- x:Disable() -- probably not needed
- end
- if c.Name == "Ammo" or c.Name == "StoredAmmo" then
- c.Value = 300 -- don't set this above 300 or else your guns wont work
- 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
- c.Value = 0
- elseif c.Name == "Range" then
- c.Value = 9e9
- elseif c.Name == "Auto" then
- c.Value = true
- elseif c.Name == "FireRate" or c.Name == "BFireRate" then
- c.Value = 0.02 -- don't set this lower than 0.02 or else your game will crash
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement