My game hides players from the Roblox CoreGui player list for a more immersive experience (oPlayer.Parent = nil). Issue is, it seems to be preventing chat messages from the hidden players from being viewed on clients where oPlayer is hidden.
Example
Player1 and Player2 are in the same server. Both players cannot see each other on the leaderboard. Meaning: both players are unable to see their chat messages
Example 2
Player1 and Player2 are in the same server. Player1 cannot see Player2 on the leaderboard. Player2 can see Player1’s messages, but Player1 cannot.
Is there a specific way to fix this? I’ve been trying to deep dive through the core chat scripts but I haven’t found anything useful yet.
Don’t change the player’s parent ever- that’s a recipe for disaster.
If I were you I’d use a fake playerlist that looks like the real one by reprogramming a clone of the real one and doing your best to replicate it.
Lots of things rely on the player instance, so removing it/setting it to a different parent is a bad idea.
Your solution is not officially supported by Roblox, it’s normal for stuff to break, you can’t just say “Nah” each time someone tells you you’re wrong Just clone the default playerlist, it takes 5 minutes.
You could try using Roblox’s chat functions to send custom messages into chat so that both players can see each other’s messages with the server acting as a middleman. Or, if you’re using the Legacy chat system (not recommended), you could more directly manipulate the events. (exactly why not recommended)
Yeah I saw the legacy chat system can be manipulated to work with it but it’s pretty old lol. Was hoping if there was some method someone found to make it work