Here’s just a little something I wanted to show, but I also hope this helps other people understand how to create a stat system, it’s not formatted properly to be used as a script, however, it provides a good idea on how to plan to prepare for creating a stat system script. If there’s any errors or feedback, please correct me. Thank you.
The game will be released hopefully by December, 2020.
Game Link : Rename In Progress - Roblox
–//Stat System Planning//–
If player level’s up then
250 * currentLevel = MaxXP
50 * currentLevel = Ryo (per level) [Example : 50(50) = 2500 Ryo]
50 * currentLevel = HP (per Level) [Example : 50(50) = 2500 HP]
100 * currentLevel = Chakra (per Level) [Example : 100(50) = 5000 Chakra]
25 * currentLevel = Stamina (per Level) [Example : 25(50) = 1250 Stamina]
1 * currentLevel = Strength (per level) [Example : 1(50) = 50 Strength]
Skillpoints = Skillpoints + 4 – rewards 4 points per level
XP = 0 – resets XP
Level = Level + 1 – promotes to next level
Stats
—// Level
Default Level = 1
—// XP
Default XP = 0
—// MaxXP
Default MaxXP = 250
—// Ryo
Default Ryo = 0
—// Skillpoints
Default Skillpoints = 0
—// Health
Default HP = 100
—// Chakra
Default Chakra = 100
—// Stamina
Default Stamina = 25
—// Strength
Default Strength = 1
–//PlayerData// (Cannot change this data, can only change by spending skill points.)
—// Chakra
– Each Skillpoint spent will grant + (200) * currentLevel = Chakra
—// Health
– Each Skillpoint spent will grant + (100) * currentLevel = HP
—// Stamina
– Each Skillpoint spent will grant + (50) * currentLevel = Stamina
—// Strength
– Each Skillpoint spent will grant + (2) * currentLevel = Strength
—// Rasegan Stages
– if currentLevel = 30 then stage(1) = Unlocked
– if currentLevel = 60 then stage(2) = Unlocked
– if currentLevel = 90 then stage(3) = Unlocked
– if currentLevel = 120 then stage(4) = Unlocked
– if currentLevel = 150 then stage(5) = Unlocked
– if currentLevel = 180 then stage(6) = Unlocked
—// Rebirth Data
– if currentLevel = 250 and has 100,000 Ryo then allow rebirth = 1
– Unlocks Throwable Rasegan(s)
– if currentLevel = 500 and has 250,000 Ryo and rebirth = 1 then allow rebirth = 2
– Unlocks Rasenshuriken(s)
– if currentLevel = 1000 and has 500,000 Ryo and rebirth = 2 then allow rebirth = 3
– Unlocks Throwable Rasenshuriken(s) + Chakra control – decides size of (Jutsu)
—// Jutsu Data
– prepareDamage = stage(num) * strength / 2
(Example : stage(5) * 5 / 2 = 12.5 Damage)
– finalDamage = prepareDamage x 50 = Damage
(Example : 12.5 X 50 = 625 Damage)