Hi I've tryed to do a gui who it will show the money that we will earn (4 guy in game and it will show it like a global leaderboard but only for the money) but i don't know how to do it I try to do something but It won't work....
here is the script:
local Players = game:GetService("Players")
game.Players.ChildAdded:connect(function(player)
local indicateur = math.random(1,4)
if indicateur == 1 then
script.Parent.Indicator1.Text = " "..Players:WaitForChild("leaderstats"):FindFirstChild("Argent").Value
end
if indicateur == 2 then
script.Parent.Indicator2.Text = " "..Players:WaitForChild("leaderstats"):FindFirstChild("Argent").Value
end
if indicateur == 3 then
script.Parent.Indicator3.Text = " "..Players:WaitForChild("leaderstats"):FindFirstChild("Argent").Value
end
if indicateur == 4 then
script.Parent.Indicator4.Text = " "..Players:WaitForChild("leaderstats"):FindFirstChild("Argent").Value
end
end)
any Idea to fix it ?

2 comments
I got an error at the last end at line 14 of your script I don't know why
Sorry, fixed it now! I used "else if" because I'm used to different languages, but it's supposed to be together; "elseif".