So lately ive been making a city game and I want to make it so you get money once you join a team, or job. Heres what I got:
script.Name = "Leaderboard"
game.Players.PlayerAdded:connect(function(p)
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
stats.Parent = p
Instance.new("IntValue",stats).Name = "Money"
Instance.new("IntValue",p).Name = "Tycoon"
end)

1 comment
If you even want to get help from your free-modeled scripts, at least learn from somewhere how to script, and then try it. Even I can do it, but not helping, because this is a helping site, not a request site.