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

How do i create my own leaderstats?

Hi Mighty friends, I wanna know how to make custom leaderstats but don't know how, Help of you can thanks alot.

1 comment

0

Go to youtube, and search for how to make a Custom leaderboard.

1 answer

Creating leaderstats needs a new instance called leaderstats. Here is the code.

game.Players.PlayerAdded:Connect(function(player)
lb = Instance.new("IntValue",player) --[[Here you set what are you creating and its parent]]
lb.Name = "leaderstats"--[[This has to be called leaderstats]]
Points = Instance.new("IntValue",lb)
Points.Name = "YourCurrency"--Set to whatever
--You can change its value with Points.Value
end
end)

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