Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a money script that only gives money when you join a team?

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

0

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.

1 answer

script.Name = "leaderstats" try this

This discussion is preserved as it was. New answers, comments, and votes are closed.