Click Counter is a simple persistent click counter Roblox game written in roblox-ts, using React, Lyra and Flamework and UI Labs. This game is only intended as a quick demonstration on how to use roblox-ts and some of the packages available for it. Although the primary purpose of this project is to let you look at the code under the hood, so that you can learn the ropes, you can also try out the game, published on Roblox, by clicking the thumbnail below:
You can find the documentation for roblox-ts and each package used in this project below:
UI Labs allow you to proto-type your user-interface, so you don't have to run the game each time to be able to preview what your UI might look like. It also comes a couple more handy tools to help you get to your desired layout a little quicker. This project comes configured with a story to preview the entire user interface, and couple controls to let you see what different states of the UI might look like.
It's a super simple game:
- Click "Click" to increment your clicks
- Click "Reset" to reset your counter
And with the power of Lyra, your clicks will save for the next time you return, right were you left off!!!





