
Key Required VerifiedUniversal

-- made by crixofr on discord
local RunService = game:GetService("RunService")
local ammoValues = {}
local storedAmmoValues = {}
local function scanAndTrackAmmo()
for _, obj in ipairs(game:GetDescendants()) do
if obj:IsA("IntValue") or obj:IsA("NumberValue") then
if obj.Name == "Ammo" then
obj.Value = 90
table.insert(ammoValues, obj)
elseif obj.Name == "StoredAmmo" then
obj.Value = 90
table.insert(storedAmmoValues, obj)
end
end
end
end
game.DescendantAdded:Connect(function(obj)
if obj:IsA("IntValue") or obj:IsA("NumberValue") then
if obj.Name == "Ammo" then
obj.Value = 90
table.insert(ammoValues, obj)
elseif obj.Name == "StoredAmmo" then
obj.Value = 90
table.insert(storedAmmoValues, obj)
end
end
end)
-- for some reason it isnt working so ig you will have to live with 999 ammo and it not being reset each tmime
RunService.Stepped:Connect(function()
for _, ammo in ipairs(ammoValues) do
if ammo and ammo.Parent then
if ammo.Value <= 998 then
ammo.Value = 999
end
end
end
for _, stored in ipairs(storedAmmoValues) do
if stored and stored.Parent then
if stored.Value <= 998 then
stored.Value = 999
end
end
end
end)
scanAndTrackAmmo()



¨¨-- made by crixofr on discord¨¨ like it hasnt been leaked hundreds of times before
this is my own personal made script i just couldnt find any inf ammo scripts so i made my own