balance = 0 -- whatever the balance value is goes here
debt = -1.5 -- whatever the debt is goes here
if debt < 0 then -- if debt is negative
balance += math.abs(debt) -- here it turns the negative into positive and adds it in balance
debt = 0
end
print(balance) -- > 1.5