You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
A way to save my leaderstats -
What is the issue? Include screenshots / videos if possible!
I don’t know how -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have watched so many tutorials and read so many topics but cant find my answer
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder") --making leaderstats
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Size = Instance.new("IntValue") --making coins
Size.Name = "Size"
Size.Parent = leaderstats
local Rebirth = Instance.new("IntValue") --making coins
Rebirth.Name = "Rebirths"
Rebirth.Parent = leaderstats
end)
this is my code, how would I save rebirths? Where do I start and what do I do?