StatBase - v2.0 | save datas and create stats more easier!

StatBase - V2

Example2

Example

Hello, today i want to share my second version of my module!
Im so sorry for my bad english.

Download Source

Roblox Library: (StatBase - V2! - Roblox)

Scripting

-------- Example --------

local StatBase = require(game.ReplicatedStorage.StatBase.MainModule)

game.Players.PlayerAdded:Connect(function(p)
	StatBase.CreateStats(p.Name)
	StatBase.NewStat(p,"FirstStats","IntValue",0)
	StatBase.NewStat(p,"SecondStat","IntValue",0)
	StatBase.LoadData(p,"FirstDataStore","FirstStats")
	StatBase.LoadData(p,"SecondDataStore","SecondStat")
	--StatBase.SetData(p,"FirstDataStore","FirstStats") -- it saves the data
end)
Example

Exampleee

Current version: 2.0


5 Likes

Fixed some bugs nvm only use it if you want

1 Like

I honestly think its easier to just use folders on a player than this.

1 Like

Im pretty sure the gimic behind this is the fact that well you can save data like
:hand_with_index_finger_and_thumb_crossed: that

1 Like