local Players = game:GetService("Players") function onPlayerAdded(player) game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{ Text = ("[SERVER]: ".. player.Name .. " has entered the game."); Color = Color3.new(255,255,255); Font = Enum.Font.SourceSansBold; FontSize = Enum.FontSize.Size18; }) end Players.PlayerAdded:connect(onPlayerAdded) for _,player in pairs(Players:GetPlayers()) do onPlayerAdded(player) end
(This script is in StarterGUI).
Also, it's a regular script which located in StarterGUI.
If you want the welcome message to show to everyone, you have to put this script on the server side.
game.Players.PlayerAdded:Connect(function(plr) -- Checks when a player joins. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{ Text = ("[SERVER]: ".. plr.Name .. " has entered the game."); Color = Color3.new(255,255,255); Font = Enum.FontSize.Size18; }) end)
Otherwise, put this in a localscript in workspace.