local Toggle = AimTab:CreateToggle({
Name = "Infinite Ammo",
CurrentValue = false,
Flag = "InfiniteAmmo",
Callback = function(state)
_G.infiniteAmmo = state
task.spawn(function()
while _G.infiniteAmmo do
local player = game.Players.LocalPlayer
local tool = player.Character and player.Character:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Stuff") then
local ammoValues = tool.Stuff.Values
ammoValues.CurrentAmmo.MaxValue = math.huge
ammoValues.StoredAmmo.MaxValue = math.huge
ammoValues.CurrentAmmo.Value = math.huge
ammoValues.StoredAmmo.Value = math.huge
end
task.wait(0.5) -- Prevents excessive loops
end
end)
end
})
To embed this project on your website, copy the following code and paste it into your website's HTML: