How to add a player to the playerlist?

Hello!

I was wondering how to add a Player to the PlayerList that’s not in game?

4 Likes

Next time try to ask less broad questions. Maybe make an attempt even if it’s failed and post it so we can build off from there.

From what I understand, a PlayerList is a list of all the players that ever joined your game. Can you elaborate on what you’re trying to do?

2 Likes

Basically, I’m trying to make it look like someone joined the game even tho they didn’t. When a player joins a game, their name is added to the CoreGui, the PlayerList CoreGui on the top right of your screen. I was wondering how to add players to it.

Oh so you mean adding a player that isn’t in the game to the Leaderboard. Well you can’t mess with CoreGui unfortunately, and even if you could, adding a player name to the leaderboard is probably a functionality somewhere in a CoreScript, which you can’t access and will throw an error if you tried to. Only solution is to make your own custom leaderboard. May I know the point of adding a player that’s not in the game to the leaderboard?

2 Likes

Of course. I’m basically making a game with some notes in them for my friends for later on, as a “memory”. Adding it would be a fun thing, I could troll my friends and make it seem like I’m in game when I’m not.

1 Like

I know this might sound like an extremely odd question, but how do scam games do it? Of course, they’re doing something extremely bad, but adding somoene to to the CoreGui isn’t harmful, is it?

1 Like

You can’t change anything about the CoreGui except disabling some parts of it, such as Playerlist and Backpack.
Just make your own playerlist

3 Likes

Scam games create an custom playerlist that looks like the Roblox one.

2 Likes

Well I don’t really remember hearing something about people being able to insert stuff into CoreGui. Even if they could, I don’t see the benefits of that. Exploiters may use CoreGui for mallicious stuff though.

I remember scam games making fake people send messages in the chat, but that’s something that the API presents.

1 Like

I understand, I’ll try and make my own leaderboard. Thank you!

1 Like

I can send you a copy of mine, it looks like the roblox one, and works

4 Likes

He probably wants to make an NPC that has the same functionality as a player: ingame cash, points etc.

1 Like

It is very suspicious that OP asks how scam games do it. And OP could have mentioned their use case beforehand.

4 Likes

This is possible, but you’d need to make your own Leaderboard GUI in order to do this. The default Leaderboard is a part of the CoreGui, which is typically uneditable. If you are trying to achieve this effect of showing a player who is not in game, I recommend you look into making your own custom leaderboard. You can make it look like the real one, or completely customise it.

1 Like

@pqranoiddboy here is my PlayerList:

1 Like

Although it is very suspicious, scam games are the example of an playerlist that has fake users on it, and that looks like Roblox’s playerlist.

3 Likes

I think your best honest bet is to make a custom leaderboard and just create an event that adds another player to the table, add me on discord I can help you out when I’m free.
Edit: also let me know what this is used for :slight_smile:

ScriptingGhostt#5292

1 Like