What do you want to achieve? make new line for text after click
What is the issue? error
What solutions have you tried so far? there is no solutions
Japanese.MouseButton1Click:Connect(function()
LogoName.Text = "白羽鉄道"
Rule.Text = "ルール"
Rules.Text = "1.ルールに従い運行を楽しんでください。"
"2.ルール違反等をした場合罰せされます。 "
"3.乗務員室に入るのはおやめ下さい。"
"4.社員募集等のことをしつこく聞かないでください。
"5.基本的に運転体験は行っておりませんので運転体験をやらせろなどの発言はおやめ下さい。"
end)
改行 is i want to do. But i cant find the solution.
Use [[ ]]
.
Japanese.MouseButton1Click:Connect(function()
LogoName.Text = "白羽鉄道"
Rule.Text = "ルール"
Rules.Text = [[1.ルールに従い運行を楽しんでください
2.ルール違反等をした場合罰せされます。
3.乗務員室に入るのはおやめ下さい。
4.社員募集等のことをしつこく聞かないでください。
5.基本的に運転体験は行っておりませんので運転体験をやらせろなどの発言はおやめ下さい。]]
end)
Edit : You should probably rename this topic to “Multiple lines on a single string” or something, title sounds a bit off-topic.
1 Like
noblemaxx
(monkeybaby)
January 3, 2023, 1:34pm
#4
I believe text UI take a single string as the input, so you would have to combine all the rules into one string or create more UI elements. Edit: you can have multiple line strings.
Japanese.MouseButton1Click:Connect(function()
LogoName.Text = "白羽鉄道"
Rule.Text = "ルール"
Rules.Text = "1.ルールに従い運行を楽しんでください。
2.ルール違反等をした場合罰せされます。
3.乗務員室に入るのはおやめ下さい。
4.社員募集等のことをしつこく聞かないでください。
5.基本的に運転体験は行っておりませんので運転体験をやらせろなどの発言はおやめ下さい。"
end)
Edit: @calvin_coco is correct, use his method.
1 Like
system
(system)
Closed
January 17, 2023, 1:34pm
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.