Alright, so, basically, I made a script so when you die, it divides your money by half, however, this method brings a bad result, which is, let me actually provide an example since I'll probably confuse all of you.
1.2< The arrow marks the part that I want to get rid of, can anyone tell me how to do that? I thought about using string.Sub() but I have no idea how to use it after all, anyways, I would appreciate if anyone would've been able to teach me this.
Thanks!

1 comment
math.floor(1.2)