I want to share with you a custom PlayerList for your projects! You can replace the standard Roblox PlayerList with the one I made
The script updates the list of players when they join/exit the game, and even if the player changes the team, all players will see up-to-date information.
How do I set my group and ranks?
Instruction
Set your group ID to Line 74
Set your parameters in the ChangeTeam function, line 74-81
UpdateLogs - Sometimes I will post changes that I make to the code and publish so that you know what you should expect
UpdateLogs
In version 2.1.9, problems with dimensions have been fixed so now there should be no problems with dimensions on any devices
In version 2.1.8, the function of checking the number of characters in the playerβs nickname has been added. If the number of characters exceeds 15, then after 15 you will see three dots and no more. If the playerβs nickname is less than 15 characters, then you will see just the full nickname of the player
The PlayerList has been updated to version 2.1.5, I removed updating the list of players using while(1) do and now the list is updated via the RunService and the UpdatePlayerList function
Donβt know if it is just me put it does not put my name and someone elseβs name.
It also appears to be out of frame, looking at the screenshots it was supposed to be Nyxaris, hope you have a great day, this is one of my first comments and im looking forward for the improvement of the Playerlist.
Most likely you donβt have any team, which is why the script stops working and shows an error in the console. I fixed this problem in version 2.1.0. Just re-add PlayerList to your project and everything will work
It actually has size issues. As far as I know, this problem only occurs in the studio, if you publish your project and go through the game, then everything should be fine. In any case, I will work on the dimensions in the near future
Thank you for the reply, one small suggestion that might lag a bit, i think putting the userβs icon near their user would modernize the look, maybe add the function of pressing the user and seeing the normal buttons Roblox would display like Friend and Examine Avatar.
while wait(1) do
for i, v in pairs(game.Players:GetChildren()) do
if v:GetPropertyChangedSignal("Team") then
ChangeTeam(v)
end
end
....
end
Hey I was wondering, does the above code in this scoreboard create a bunch of property change signal connections that are never disconnected? or do property changed signals not duplicate if they are repeated? This is run every second for every player.
Hello!
Have you changed the icon through a script? Are you sure that you have replaced the group ID and configured the ranks in the script according to your group?
Yes, the above code in the leaderboard creates connections for property change signals that are never disabled. The GetPropertyChangedSignal method creates a new RBXScriptSignal object each time it is called. Therefore, the ChangeTeam function creates a new signal connection every time it is called
I fixed this problem in the new version of PlayerList in order to update the list of players not every second, but only when it is necessary, using RunService and the UpdatePlayerList function, respectively, this will not cause problems with the performance of the game
The group ID and ranks have been inserted correctly, and the icons that was originally there works perfectly. But when I change one of the Icon IDβs to one of my own decals they donβt seem to be visible. I do not get any errors in the output:))