-- Server Script game.Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(Char) local ListFrame = script.Parent.ListFrame if ListFrame:FindFirstChild(Player.Name) == nil then local Money = game.ServerStorage:FindFirstChild(Player.userId:FindFirstChild("Money")) local TemplateGUI = script.Parent.TemplateGUI:Clone() TemplateGUI.Name = Player.Name TemplateGUI:FindFirstChild("NameText").Text = Player.Name TemplateGUI:FindFirstChild("MoneyText").Text = Money.Value TemplateGUI.Parent = ListFrame TemplateGUI.Visible = false end end) end)
im trying to make a leaderboard surfacegui so everyone can see it in a building on my map the script above is what i have right now but with this the leaderboard is not in order i want it to be in order so highest money will be on top etc im not sure how i can achieve this can someone help me out. TY this is not for a global leaderboard.