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

I'm trying to make a ko = money leaderboard, any help finishing it?

I'm making a leaderboard where when you kill an enemy, you get 10 money. The problem is, I have no idea how to make the ko wo part and make it so that 1 kill = 10 money. Any help? Here's the scipt:

game.Players.PlayerAdded:connect(function(p)
	local stats = Instance.new("IntValue", p)
	stats.Name = ("leaderstats")
	
	local money = Instance.new("IntValue", stats)
	money.Name = "Money"
	money.Value = 50
	
	local Kills = Instance.new("IntValue", stats)
	Kills.Name = Kills
	Kills.Value = 0
end)

Thanks!

2 comments

0

I would say go on the wiki and copy the leaderboard script, then edit it. When you're learning, copy and edit scripts. It's an excellent way to learn.

0

K

1 answer

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