Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how I can create stats to my dragon ball game?

I don t know how to create stats (agility attack and ki) to my dragon ball game plz help me

1 answer

local stats = Instance.new("StringValue",game.Players.LocalPlayer) 
stats.Name = "PlayerStats" 
local stat1 = Instance.new("NumberValue",stats) 
stat1.Name = "Agility" 
stat1.Value = 0
local stat2 = Instance.new("NumberValue",stats) 
stat2.Name = "Attack" 
stat2.Value = 0
local stat3 = Instance.new("NumberValue",stats) 
stat3.Name = "Ki" 
stat3.Value = 0

made in 30 seconds lol

This discussion is preserved as it was. New answers, comments, and votes are closed.