game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
-- 1. Клики
local clicks = Instance.new("IntValue")
clicks.Name = "Clicks"
clicks.Value = 0
clicks.Parent = leaderstats
-- 2. Монеты
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Value = 0
coins.Parent = leaderstats
-- 3. Перерождения
local rebirths = Instance.new("IntValue")
rebirths.Name = "Rebirths"
rebirths.Value = 0
rebirths.Parent = leaderstats
-- 4. Скорость
local speed = Instance.new("NumberValue")
speed.Name = "Speed"
speed.Value = 0.0
speed.Parent = leaderstats
-- 5. Выносливость
local stamina = Instance.new("IntValue")
stamina.Name = "Stamina"
stamina.Value = 10 -- Базовая выносливость
stamina.Parent = leaderstats
end)