So I'm trying to make my Mana round up from 0.5 or down from 0.49 and this current script doesnt work to round it?
P = script.Parent.Parent
while true do
wait(1)
P.bin.Mana.Value = P.bin.Mana.Value + (P.bin.MaxMana.Value / 120)
P.bin.Mana.Value = math.floor(P.bin.Mana.Value + 0.5)
end
The error is in this part
P.bin.Mana.Value = math.floor(P.bin.Mana.Value + 0.5)

1 comment
I need it to round, instead of it showing up as 29.833333333