What's a good organized way to make a skill tree?

I’m gonna be making a skill tree with parts, and clickdetectors since that’s the easiest way there is. I’d like to know a few things though before I start such as:

  1. How I should setup my skill tree
  2. Should I use OOP, and why it would be useful
  3. Is it possible to do server scripts only for this kind of skill tree?

I’ve never really made a skill tree before, let alone with OOP so I definitely would like take some notes thanks for reading.

EDIT: Also forgot to mention what kind of skill tree I’m making. Basically every player that joins the game gets a random magic and this random magic will have it’s own skill tree progression for abilities you can use.

2 Likes
  1. A table containing the players data.
  2. You should use OOP for this case as it can be more organized and easier to assign players skills.
  3. Yes

What if I want to have categories for each magic, and I want to make sure that one skill can only be acquired after another skill has been acquired?

An example would be that there’s fire magic and ice magic and I want to check if a player who wants to buy an ice magic skill has the less priority ice magic skills before allowing them to purchase the one they want.

Pretty sure you can make that skill inherit properties or methods from one skill(because OOP) . (not sure if that’d be helpful for you?)