How do i utilize 5 var's Att/Def/Spd/Mp/Hp??

Att/Def/Spd/MP/Hp
Dm will equal negative hp as a result of a calulator meaning. Your Att - His Def = Dm as 5-3=2/ -2hp to thing
Speed/Spd will decide your turn in a battle or position. i really need to figure this out as its my main goal besides
Leveling up with xp to then add points to stats. Im thinking of making face down rpg like game but need help.
i can make inventories/time/hp/$$$/Monster hp/Talking/and some other things but what i really want is knowledge on
how to use and create these 5 basic stats for any Base Rpg game with the info anyone in G-E will be able to make RPG's
[wow i figured dm out/Very easy:: hp-=Enemyname.att-Yourname.def;=Att/def are actor vars]
[erase(255,255,255,1);/draw_from("BARACTOR", (float)Yourname.hp*.4/Yourname.maxhp*100-108, 10, 1);--->
<---Hp/MAxhp actor vars:: You need to put this in canvas actor draw actor, and need a bar image/Displays hp as bar graph]
(Mp stat should be easy as i have made it for Cavemage which has like 7 spells)
ITs easy to make use of mp/spells/-/as you use the if>= thing to use the spell if you have enough mp
then add effects to the spell when it collides/-mp to you when you use the spell/mp is actor var
Dm will equal negative hp as a result of a calulator meaning. Your Att - His Def = Dm as 5-3=2/ -2hp to thing
Speed/Spd will decide your turn in a battle or position. i really need to figure this out as its my main goal besides
Leveling up with xp to then add points to stats. Im thinking of making face down rpg like game but need help.
i can make inventories/time/hp/$$$/Monster hp/Talking/and some other things but what i really want is knowledge on
how to use and create these 5 basic stats for any Base Rpg game with the info anyone in G-E will be able to make RPG's
[wow i figured dm out/Very easy:: hp-=Enemyname.att-Yourname.def;=Att/def are actor vars]
[erase(255,255,255,1);/draw_from("BARACTOR", (float)Yourname.hp*.4/Yourname.maxhp*100-108, 10, 1);--->
<---Hp/MAxhp actor vars:: You need to put this in canvas actor draw actor, and need a bar image/Displays hp as bar graph]
(Mp stat should be easy as i have made it for Cavemage which has like 7 spells)
ITs easy to make use of mp/spells/-/as you use the if>= thing to use the spell if you have enough mp
then add effects to the spell when it collides/-mp to you when you use the spell/mp is actor var