I have been trying to do this for a very long time, and I have decided to ask for help since I can’t find any other options.
I am trying to make a smooth number ticker (odometer) using a GUI.
This is the effect I am trying to achieve:
I have been experimenting with Tweening and ClipsDescendants but I haven’t made much progress.
If you can give me tips on creating this it would be greatly appreciated.
Here’s the progress I have so far in an rbxl file: odometer_indev1.rbxl (18.4 KB)
What I’m having trouble with is if the number gets to 9, how it would then loop to 0 without having to make an infinite tall gui of numbers or having the positions as crazy high values
edit: Also forgot to mention how I’m not sure how I will make it so it can do multiple digits too (and possibly separated with commas)
If you are using a text label for your number, then just change the number via your script while it is not visible (above the top portion of the frame). You shouldn’t need to have a strip of repeating numbers unless you are using images. In that case you can simple have the strip skip back to the top, but you will have to toy with the exact position to make it appear smooth.
What I’d do is whenever the tween is complete, delete the label that moved to the top and create a new label beneath the one that displays the current number