I need help rescripting my old player list

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    To rewrite my script.
  2. What is the issue? Include screenshots / videos if possible!
    The playerlist currently doesnt work anymore (Screenshot will be down below)
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Tried rescripting it but got lost.

From what I can tell here you are not calling a correct function?
In this you are calling the function Draw() but from what I can see there isn’t a function called Draw()?

So i would just need to remove the function Draw()?

I just noticed aswell, say i join first


whoever joins after me doesnt show up on the leaderboard now if i rejoin

it shows up, but when a player leaves it doesnt remove them from the list.

From what I can see with your script the easiest thing to do without having to mass rewire the code, would be to put your for loop inside of a function and then call that function every time a player is added/removed from the game

try adding a small wait function i guess