Iam using the Roblox book on how to script and copied it exactly, but it is not working for some reason. If someone can tell me at least what exactly is wrong with this please tell me. here is the script:
local Message = Instance.new("Message") -- Defines a new instance of a message for the entire script
Message.text = "Hello World" -- Sets text of the message Message.Parent = game.Workspace -- Our message is now inside the Workspace
wait(5) -- Waits 5 seconds
Message:Remove () -- Removes our message
Lua is case-sensitive.
Message.text is not a valid property of a Message Instance. Message.Text on the other hand, is.
Message.text = "Hello World"
Replace that with
Message.Text = "Hello World"
Just adding on to what they're saying; you need to use
Message.Text
instead of
Message.text