I need to know how to make a money system. I know how to make a team and all, but I don't know how to add those extra things to the right of your name. Please help.
Thanks again, se22an21 :D
Here is a good script:
game.Players.PlayerAdded:connect(function(player) playerLeaderstats[player] = {} playerLeaderstats[player]["Money"] = 0 local leaderstats = Instance.new("Model") leaderstats.Name = "leaderstats" leaderstats.Parent = player local money = Instance.new("IntValue") money.Name = "Money" money.Value = playerLeaderstats[player]["Money"] money.Parent = leaderstats end) while wait(5) do for _, player in pairs(game.Players:GetPlayers()) do --We don't use the IntValue's value because an exploiter can modify it. playerLeaderstats[player]["Money"] = playerLeaderstats[player]["Money"] + 1 if player:FindFirstChild("leaderstats") then player.leaderstats.Money.Value = playerLeaderstats[player]["Money"] end end end
Closed as Not Constructive by koolkid8099, Uroxus, and BlackJPI
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?