How to make leaderstats in Roblox! Roblox Scripting Tutorial

Опубликовано: 01 Апрель 2026
на канале: DevSimonn
145
6

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!