game.Players.PlayerAdded:Connect(function(player) -- When a player joins the game
local value = Instance.new("NumberValue", player)-- Makes a value for the player
value.Name = "Currency"-- Gives it a name (Change this to what you want)
while wait(60) do
value.Value = value.Value + 50
end
end)
Now, I want to make the shop system. Because all the shop system I see is always using the leaderboard cash system, but I don’t know how to. If anyone can give me tips, tutorials, etc. to make one, I appreciate it
If the shop systems you see use leaderboard cash, presumably player.leaderstats.Cash.Value, it would literally be the same system except you’d be referencing player.Currency.Value instead. If you have only changed where the money is stored, that is all you’d have to update. If you need an example code to demonstrate this let me know.