How to make a welcome message for all users to see

Hello Developers,

I have been making a game for a week or so now and I’m trying to figure out, how to make a welcome message for all users to see, if you can help that would be great!

Thanks!

Make a RemoteEvent in ReplicatedStorage and in a server script when the event game.Players.PlayerAdded is fired, use :FireAllClients with the text parameter on the RemoteEvent.
In a LocalScript in StarterGui do this:

game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function(text)
    game.StarterGui:SetCore(“ChatMakeSystemMessage”, {
    Text = text;
    Color = Color3.fromRGB(0,0,0)
    })
end)
1 Like
game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function(player,text)
    game.StarterGui:SetCore(“ChatMakeSystemMessage”, {
    Text = text;
    Color = Color3.fromRGB(0,0,0)
    })
end)

Don’t forget about that the argument1 is player

1 Like