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

Has the Instance "Message" been removed from Roblox?

Hi, I haven't opened studio in over an year and just has the urge on doing some code :P I decided to check to see what I remember by starting with the basics, creating a message. Unfortunately I cannot find the Instance anywhere, which leads me to this Question, Has it been removed completely or has the name been changed and I'm too blind to notice it?

Thanks for any and all the help.

3 answers

✓ Accepted answer

Hiya.

Messages work perfectly fine! I recommend using the newer Instance.new method however, to ensure your scripts are as up-to-date as possible.

A simple example to creating a message object:

local msg = Instance.new("Message")  --Assigning a variable is recommended now
msg.Parent = game.Workspace --Setting the parent of the message AFTER creating the object
msg.Text = "Hello world!" --Changing the text so it actually shows, if it has no text, nothing will show up

1 comment

0

Thanks, had to restart studio for it show.

I believe it has not been removed and I am not sure why you cant see it. Try using a hint

h = Instance.new("Hint", game.Workspace)
h.Text = "Hi"

1 comment

0

This way of creating new instances is no longer recommended! Please make sure you try using the newer method rather than this. It'll help you on the long run

The Roblox wiki says the instance "Message" is deprecated and it is not recommended for use with new work, but it still works. try this:

msg = Instance.new("Message")

msg.Parent = game.Workspace

msg.Text = "Text Here"

wait(2)

msg:remove()

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