Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you script a custom Welcome to *GAME NAME*. ?

2 answers

✓ Accepted answer

Hopefully this helps you out!

--[[
	B1n0ryD3v,
	NOTE: Make sure this is a LocalScript and is placed in StarterGui
--]]

game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
	Text = "Welcome to " ..tostring(game.Name) .. "!",
	Color = Color3.new(0, 255 / 255, 255 / 255)
})

You can use the SetCore ChatMakeSystemMessage to display a message in the chat.

Example (needs to be a local script)

local function send(msg)
	game:GetService('StarterGui'):SetCore("ChatMakeSystemMessage",{
		Text = msg,
		Color = Color3.fromRGB(255,249,56),
		Font = Enum.Font.Cartoon
		})
end

while true do
	wait(10)
	send('hi')
end

I hope this helps.

This discussion is preserved as it was. New answers, comments, and votes are closed.