So when I try to add +0.2 value to an IntValue, it just stays at 0 no matter how many times I click. How could I make this work?
COMMUNITY QUESTION
How can I make an IntValue with decimals?
1 answer
You need to use a number value. it is a seperate instance that you create. Number values allow any number and int values only allow integers. You can use decimals in number values. Mark this as correct if this helped.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Lmk if you have any questions.
Yeah, i've tried that, but then my global leaderboard won't work, maybe it's the script. I can send it to you and if you would be able to figure out whats the problem i would be thankful
use math.floor or smth in your leaderboard script. ordered datastores can't store decimal numbers, only integers
he said he want decimals in his leaderboard, but it's impossible
Yeah unless you make your own leaderboard gui which is actually more simple than you think. Another roundabout solution in your same position I did is concatenate the different numbers after a decimal into a string so the leadeboard would show it. Though it is quite a roundabout method.