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.
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
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"
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()