[SOLVED] "Attempt to call nil value" when trying to use function

Lol i had the same problem but with a decimal truncating function, ty