-- Important script, don't delete.

local StaminaModule = require(script.Parent.StaminaModule)
local regenRate = 1
local regenInterval = 0.225

while true do
	if StaminaModule.StaminaCanRegen then
		StaminaModule.AddStamina(regenRate)
	end
	wait(regenInterval)
end
