I have a script for a currency called "Coins" and i need to add one more called "Diamonds" How can i do this without adding one more script?
game.Players.PlayerAdded:connect(function(plr)
local folder = Instance.new("Folder", plr)
folder.Name = "leaderstats"
local value = Instance.new("IntValue", folder)
value.Name = "Coins"
value.Value = 0 -- starting cash
end)

3 comments
I made this and it worked! but i need to put this into a developer product shop and i can't, what i am doing wrong?
If you send me the script I will be able to fix it
What do you mean?