Any idea on how i could go about making a skill point system?

I know the basics of scripting but I want to make a skill point system, all tutorials I can find are pre-made and not to my liking or too old, I’m not too sure where to start or what i could do, so if anyone has done anything similar to this i was hoping for some pointers.
It would just be a simple get skill points from idk other stuff i’ll figure out later but for right now all i want is to be able to upgrade health, damage, and speed or whatever, so like if anyone knows how that could work please help!

Start with the GUI. Then add stat points as Datastores. Finish by linking the buttons to the Datastore