My question is very simple. Whenever I (the admin) of the game join, I the want the server to write the message in the chatbox "The Admin Has Joined The Game".
1st Step
I tried to make a simple ChatMakeSystemMessage inside StarterPlayer --> StarterPlayerScripts --> LocalScript.
Inside the local script, I first tried to do the below code. All this below code does is that is writes on the chatbox "The Admin has joined the game" whenever the server starts. Which I don't want.
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "The Admin Has Joined The Game";
Font = Enum.Font.Cartoon;
FontSize = Enum.FontSize.Size24
})
2nd Step
So now I tried to make a PlayerAdded Event inside the LocalScript, and simply checked if the player who joined, if their name was "Soban06" (which is me). And if that was the case, we would write "The Admin Has Joined The Game". Else, we wouldn't do anything.
So here is my code with the PlayerAdded Event:
game.Players.PlayerAdded:Connect(function(Player)
if Player.Name == "Soban06" then
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "The Admin Has Joined The Game";
Font = Enum.Font.Cartoon;
FontSize = Enum.FontSize.Size24
})
end
end)
But when I do the above, nothing happens when I join the game. I am perfectly sure that when I join the game, my name on the leader board is the same as the one I mentioned in the script.
But nothing happens.
Please assist me in this.
Thanks

5 comments
Have you only tested it solo?
When you tested this, did you get another player to check if the system message appears on their screen?
@Raccoonyz Yes. I have only tested it in roblox studio as solo.
@gskw I tried it using the test feature in roblox studio. I started a test server in roblox studio with 2 players. But both of them can't see the admin joined message because their names are "Player1" and "Player2". Is there any way to include myself inside the test server? So that I can see if the message appears?
I think ChatMakeSystemMessage is client-side, maybe try to fire a remoteEvent on all clients and create the message from the client...