I am making a tycoon with a leaderboard for cash.
-- leaderboard made by roboy5857
function onPlayerEntered(newPlayer)
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
local Moneyz = Instance.new("IntValue")
Moneyz.Name = "Moneyzz"
Moneyz.Value = 5
Moneyz.Parent = stats
end
It won't work, why?
