For context, I’m writing a UI-based clicking game, here is what it looks like so far, this is by no means what I want it to look like, I’m just worrying about the functionality before the looks right now.
Anyways, as you can see in one of the screenshots below, I have a script updating a TextLabel constantly with the value of the IntValue. I want to know if I would be able to tween this, so that each time it updates, it would tween from the current number to the next. My current issue is that, with the current code, it’s converting to a string and I don’t know how I would do this If anyone could help out with some suggestions or give me an example of how I would be able to achieve this, that would be great, I’m relatively new to LuaU, only been working with it on and off for about a year now.
Here is an example of what I’d like to do from the game Mole Bonking Simulator (WeMakeGame):