Hi im making a game that has simular mechanics to dandys world and I was wondering how do I make character stats?? I have the models of the characters and the character shop pretty much done I wanna add a stat system tho but how would I make each character stat different and where would I start? most tutorials have the option to change the stats but thats not what i want I dont want the player to be able to change it, thanks.
2 Likes
You can write in modulscript inside of ReplicatedStorage
Module Script
local Characters = {}
Characters.Stats = {
Character1 = {
Speed = 15,
Jump = 5,
}
}
return Characters
5 Likes
I agree with what @xcreatee said, just create a modulescript, you can also include OOP and use a .new()
function to individually modify each character’s stats.
3 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.