Hello,
How can you make a system chat message that can be seen to EVERY client in the game server using a global script? Can you only make system messages in a LocalScript? This is for a PlayerAdded event, just so you know.
m = {} --"Inserts" message in line of code game.Players.PlayerAdded:Connect(function(player) for i,v in pairs(m) do m.Text = ("[System]: " ..player.name.. " has joined the game!") m.Color = BrickColor.new("Medium stone grey") m.Font = Enum.Font.SourceSansItalic m.FontSize = Enum.FontSize.Size18 end end)
Please reply to the thread or send a DM to my Discord (RealMathGeek#6390). Help is very appreciated at this point!
--RealMathGeek
You can't do this directly from a server script.
What you can do is use a server script to fire a remote event with FireAllClients(MessageData) and let each client create the message.
I've actually made a tutorial on YouTube, here's the link: https://www.youtube.com/watch?v=07XWZ7CLXUc