Hello! Right now I'm trying to make a game with multiple (player) classes, and in order to prevent clutter I want to put all the classes into a modulescript. I would then return a dictionary of classes and their individual stats and specials. Right now I have this in the module.
1 | local Classes = { } |
2 | Classes [ "Shedletsky" ] = { |
3 | health = 100 |
4 | damage = 10 |
5 | } |
6 |
7 | return Classes |
It dosent seem to work though. Any help would be appreciated, even just a link to a helpful article.