This is the documentation for my new module, EasyStats. It includes all code that you can use with it.
""
= string argument
#
= number argument
EasyStats.new(player,name,value)
Creates a new leaderstat.
"" player
= Name of the player you want the stat in.
"" name
= Name of the LeaderStat.
""/# value
EasyStats:ChangeValue(player, value, newName, newValue)
Changes the value of a specified leaderstat.
"" player
= Name of the player the stat changed is in.
"" value
= Name of the leaderstat you want changed.
"" newName, newValue
= New name and value of leaderstat specified, respectively.
EasyStats.Stat(string player,string value)
Reference to a certain leaderstat.
"" player
= Name of the player the stat referenced is in.
"" value
= Name of value referenced
EasyStats:MathValue(player,value,operation,number)
Do math on a number value.
"" player
= Name of the player the stat operated on is in.
"" value
= Name of the stat operated on.
"+,-,*,/" operation
= Operation performed on value.
# number
= Number operated with.
Thank you for reading!