Today i will show you how to make leaderstats in Roblox.
If this tutorial helped you please give it a like and subscribe.
If you use the script then please give me credits for it.
Script:
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local cash = Instance.new("IntValue")
cash.Name = "Cash"
cash.Value = 0
cash.Parent = leaderstats
end)
Thanks for watching!