Hi, I’ve got this leaderboard (pictures below) and its a working leaderboard, but I’ve tried to apply KO’s to it but I’m not getting much luck. I was hoping that there is a way to apply a UserName and ammount of KO’s.
What it comes out as
Hi, I’ve got this leaderboard (pictures below) and its a working leaderboard, but I’ve tried to apply KO’s to it but I’m not getting much luck. I was hoping that there is a way to apply a UserName and ammount of KO’s.
What it comes out as
Try having people join your server with kills, instead of testing it in studio
Okay, I’ll try it in a game. Hopefully it works
Hm when I do it it says
10:14:25 -- UserId is not a valid member of workspace
Stack Begin
Script 'Workspace.Part.Script' , line 16 - function UpdateGui
Script 'Workspace.Part.Script' , line 35
Stack end
Why are you doing game:GetChildren()? This would return a table with all of the children of game. Workspace, Lighting, etc. Are you trying to loop through the players to get their UserIds? If so, I would use game.Players:GetPlayers(). Since UserId is a property in a Player, your line with V.UserId should work.