Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

how do i make the message stacked on top of each other instead of a long line?

Asked by 9 years ago

local h = Instance.new("Message") h.Parent = Workspace h.Text = "plz make sure to push the button and stand on the red brick! " wait(5) h:Remove()

script works but when i try to put it on top of each other...

local h = Instance.new("Message") h.Parent = Workspace h.Text = "plz remember to push the button and stand on top of the red brick! " wait(5) h:Remove()

...it doesnt work. so help?

thx

0
What do you mean by "put it on top of each other"? darkelementallord 686 — 9y
0
like USArmyRanger2003 0 — 9y
0
like its like a book? not in a long line but like when your typing and you push enter it goes to the next line? does that help? USArmyRanger2003 0 — 9y
0
Eh, you can't do that with "Message" instances, you would need to use GUIs darkelementallord 686 — 9y
View all comments (3 more)
0
man. USArmyRanger2003 0 — 9y
0
Also, please don't create multiple question posts for the same question, you can edit your question using the button to the right of the screen darkelementallord 686 — 9y
0
oh sry USArmyRanger2003 0 — 9y

1 answer

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
9 years ago

You can do this using newline characters, ex.

Instance.new("Message",workspace).Text="This is on one line\nThis is on another line"

or

Instance.new("Message",workspace).Text=[[This is on one line
This is on another line]]

"\n" is translated into a newline character if you want to write it all out on one line, otherwise you need to use double brackets to create a multiline string.

Ad

Answer this question