This is reposted btw
function module:Breathing(Player,Bool)
local Character = Player.Character
local plrData = game.ReplicatedStorage.PlayerData:FindFirstChild(Player.UserId)
print(CooldownModule:IsOnCooldown(Player.Character,"Breathing"))
if Bool and not CooldownModule:IsOnCooldown(Player.Character,"Breathing") and not CooldownModule:IsOnCooldown(Player.Character,"Active") then
print(Bool)
local Value = Instance.new("StringValue",Character)
Value.Name = "Breathing"
while Character:FindFirstChild("Breathing") and Bool do
if plrData.Breath.Value < 100 then
plrData.Breath.Value = plrData.Breath.Value + 1
wait(0.1)
end
end
elseif not Bool and Character:FindFirstChild("Breathing") then
CooldownModule:CreateCooldown(Character,"Breathing",0.2)
for i, v in pairs(Character:GetChildren()) do
if v.Name == "Breathing" then
v:Destroy()
end
end
end
end

2 comments
Which line does it say the timeout was on?
Also, you don't have to use 0.1. You can leave at as wait() and it will default to the smallest value possible.