Run it
Copy the script and paste it into your executor.
-- 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
.DescendantAdded:((obj)
obj:() obj:()
obj.Name ==
obj.Value =
.(ammoValues, obj)
obj.Name ==
obj.Value =
.(storedAmmoValues, obj)
)
RunService.Stepped:(()
_, ammo (ammoValues)
ammo ammo.Parent
ammo.Value <=
ammo.Value =
_, stored (storedAmmoValues)
stored stored.Parent
stored.Value <=
stored.Value =
)
()gives 999 ammo

Universal