Is there a way to avoid auto-rounding on intvalues?

Basically, I’m scripting weights system whenever you lift it gives you + 0.25 strength value, but whenever I try to do it studio rounds the value back, which was 10 at start, so if you get 10.25 it rounds back to 10.

Is there a script or an option to disable rounding or something? because this is very annoying especially when making systems like this.

(I know there is couple more ways using more int values inside the tool when lifting you get + 1, but I’m just trying to find out if there is a alternative way of doing it, like simple)

Use NumberValue. Int only supports whole numbers this is the same in all programming languages.

1 Like

I’ll try, if it works I won’t reply, I’ll just put you on “Solution”

1 Like