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

The Text wont pop up and after i wont delete ?

Asked by 4 years ago
Edited 4 years ago

What the out put says :

11:32:04.975 - Players.JordanTheDev_Team.PlayerGui.ScreenGui.TextLabel.Script:157: Expected <eof>, got 'end'

my script:

wait(5) script.parent.Text = "w" wait(0.10) script.parent.Text = "wh" wait(0.10) script.parent.Text = "why" wait(0.10) wait(1) script.parent.Text = "h" wait(0.10) script.parent.Text = "he" wait(0.10) script.parent.Text = "hel" wait(0.10) script.parent.Text = "hell" wait(0.10) script.parent.Text = "hello" wait(0.10) script.parent.Text = "hello t" wait(0.10) script.parent.Text = "hello th" wait(0.10) script.parent.Text = "hello the" wait(0.10) script.parent.Text = "hello ther" wait(0.10) script.parent.Text = "hello there" wait(0.10) wait(1) script.parent.Text = "M" wait(0.10) script.parent.Text = "My " wait(0.10) script.parent.Text = "My N" wait(0.10) script.parent.Text = "My Na" wait(0.10) script.parent.Text = "My Nam" wait(0.10) script.parent.Text = "My Name" wait(0.10) script.parent.Text = "My Name I" wait(0.10) script.parent.Text = "My Name Is" wait(0.10) script.parent.Text = "My Name Is J" wait(0.10) script.parent.Text = "My Name Is Jo" wait(0.10) script.parent.Text = "My Name Is Jor" wait(0.10) script.parent.Text = "My Name Is Jord" wait(0.10) script.parent.Text = "My Name Is Jorda" wait(0.10) script.parent.Text = "My Name Is Jordan" wait(0.10) script.parent.Text = "My Name Is Jordan!" wait(0.10) wait(1) script.parent.Text = "T" wait(0.10) script.parent.Text = "To" wait(0.10) script.parent.Text = "Tod" wait(0.10) script.parent.Text = "Toda" wait(0.10) script.parent.Text = "Today" wait(0.10) script.parent.Text = "Today I" wait(0.10) script.parent.Text = "Today I W" wait(0.10) script.parent.Text = "Today I Wa" wait(0.10) script.parent.Text = "Today I Wan" wait(0.10) script.parent.Text = "Today I Want" wait(0.10) script.parent.Text = "Today I Want To P" wait(0.10) script.parent.Text = "Today I Want To Pl" wait(0.10) script.parent.Text = "Today I Want To Pla" wait(0.10) script.parent.Text = "Today I Want To Play" wait(0.10) script.parent.Text = "Today I Want To Play A" wait(0.10) script.parent.Text = "Today I Want To Play A G" wait(0.10) script.parent.Text = "Today I Want To Play A Ga" wait(0.10) script.parent.Text = "Today I Want To Play A Gam" wait(0.10) script.parent.Text = "Today I Want To Play A Game" wait(0.10) script.parent.Text = "Today I Want To Play A Game W" wait(0.10) script.parent.Text = "Today I Want To Play A Game Wi" wait(0.10) script.parent.Text = "Today I Want To Play A Game Wit" wait(0.10) script.parent.Text = "Today I Want To Play A Game With" wait(0.10) script.parent.Text = "Today I Want To Play A Game With Y" wait(0.10) script.parent.Text = "Today I Want To Play A Game With Yo" wait(0.10) script.parent.Text = "Today I Want To Play A Game With You" wait(0.10) wait(2) script.parent.Text = ":" wait(0.10) script.parent.Text = ":)" wait(0.10) wait(2) script.parent.Text = "F" wait(0.10) script.parent.Text = "Fi" wait(0.10) script.parent.Text = "Fin" wait(0.10) script.parent.Text = "Fini" wait(0.10) script.parent.Text = "Finis" wait(0.10) script.parent.Text = "Finish" wait(0.10) script.parent.Text = "Finish T" wait(0.10) script.parent.Text = "Finish Th" wait(0.10) script.parent.Text = "Finish The" wait(0.10) script.parent.Text = "Finish The O" wait(0.10) script.parent.Text = "Finish The Ob" wait(0.10) script.parent.Text = "Finish The Obb" wait(0.10) script.parent.Text = "Finish The Obby" wait(0.10) script.parent.Text = "Finish The Obby A" wait(0.10) script.parent.Text = "Finish The Obby Ah" wait(0.10) script.parent.Text = "Finish The Obby Ahe" wait(0.10) script.parent.Text = "Finish The Obby Ahea" wait(0.10) script.parent.Text = "Finish The Obby Ahead" wait(0.10)

game.StarterGui.ScreenGui.Text.Visible = false

end

0
This formatting tho rabbi99 714 — 4y
0
ikr rexhawk 222 — 4y
0
i fource me to put it whis way Idk why the fortmat is good on roblox studio LOL idk why JordanTheDev_Team 33 — 4y

2 answers

Log in to vote
0
Answered by
Sulfone 141
4 years ago

<eof> is short for "end of file", so it's saying it got an end when it expected the file to end. This is since nothing in the script needs an end.

So remove the end to fix it.

Unrelated to the problem: it'll be useful to learn about for loops and string.sub. They'll let you do this without having to type out every change and wait(0.10) - much less work for you to do then, and shorter code!

Ad
Log in to vote
0
Answered by 4 years ago

I don't know what your script is about but to fix this I am pretty sure you need to put an end.

If the end is underlined red try put more ends until the underline is gone.

This is how your script should be:

wait(5) script.parent.Text = "w" wait(0.10) script.parent.Text = "wh" wait(0.10) script.parent.Text = "why" wait(0.10) wait(1) script.parent.Text = "h" wait(0.10) script.parent.Text = "he" wait(0.10) script.parent.Text = "hel" wait(0.10) script.parent.Text = "hell" wait(0.10) script.parent.Text = "hello" wait(0.10) script.parent.Text = "hello t" wait(0.10) script.parent.Text = "hello th" wait(0.10) script.parent.Text = "hello the" wait(0.10) script.parent.Text = "hello ther" wait(0.10) script.parent.Text = "hello there" wait(0.10) wait(1) script.parent.Text = "M" wait(0.10) script.parent.Text = "My " wait(0.10) script.parent.Text = "My N" wait(0.10) script.parent.Text = "My Na" wait(0.10) script.parent.Text = "My Nam" wait(0.10) script.parent.Text = "My Name" wait(0.10) script.parent.Text = "My Name I" wait(0.10) script.parent.Text = "My Name Is" wait(0.10) script.parent.Text = "My Name Is J" wait(0.10) script.parent.Text = "My Name Is Jo" wait(0.10) script.parent.Text = "My Name Is Jor" wait(0.10) script.parent.Text = "My Name Is Jord" wait(0.10) script.parent.Text = "My Name Is Jorda" wait(0.10) script.parent.Text = "My Name Is Jordan" wait(0.10) script.parent.Text = "My Name Is Jordan!" wait(0.10) wait(1) script.parent.Text = "T" wait(0.10) script.parent.Text = "To" wait(0.10) script.parent.Text = "Tod" wait(0.10) script.parent.Text = "Toda" wait(0.10) script.parent.Text = "Today" wait(0.10) script.parent.Text = "Today I" wait(0.10) script.parent.Text = "Today I W" wait(0.10) script.parent.Text = "Today I Wa" wait(0.10) script.parent.Text = "Today I Wan" wait(0.10) script.parent.Text = "Today I Want" wait(0.10) script.parent.Text = "Today I Want To P" wait(0.10) script.parent.Text = "Today I Want To Pl" wait(0.10) script.parent.Text = "Today I Want To Pla" wait(0.10) script.parent.Text = "Today I Want To Play" wait(0.10) script.parent.Text = "Today I Want To Play A" wait(0.10) script.parent.Text = "Today I Want To Play A G" wait(0.10) script.parent.Text = "Today I Want To Play A Ga" wait(0.10) script.parent.Text = "Today I Want To Play A Gam" wait(0.10) script.parent.Text = "Today I Want To Play A Game" wait(0.10) script.parent.Text = "Today I Want To Play A Game W" wait(0.10) script.parent.Text = "Today I Want To Play A Game Wi" wait(0.10) script.parent.Text = "Today I Want To Play A Game Wit" wait(0.10) script.parent.Text = "Today I Want To Play A Game With" wait(0.10) script.parent.Text = "Today I Want To Play A Game With Y" wait(0.10) script.parent.Text = "Today I Want To Play A Game With Yo" wait(0.10) script.parent.Text = "Today I Want To Play A Game With You" wait(0.10) wait(2) script.parent.Text = ":" wait(0.10) script.parent.Text = ":)" wait(0.10) wait(2) script.parent.Text = "F" wait(0.10) script.parent.Text = "Fi" wait(0.10) script.parent.Text = "Fin" wait(0.10) script.parent.Text = "Fini" wait(0.10) script.parent.Text = "Finis" wait(0.10) script.parent.Text = "Finish" wait(0.10) script.parent.Text = "Finish T" wait(0.10) script.parent.Text = "Finish Th" wait(0.10) script.parent.Text = "Finish The" wait(0.10) script.parent.Text = "Finish The O" wait(0.10) script.parent.Text = "Finish The Ob" wait(0.10) script.parent.Text = "Finish The Obb" wait(0.10) script.parent.Text = "Finish The Obby" wait(0.10) script.parent.Text = "Finish The Obby A" wait(0.10) script.parent.Text = "Finish The Obby Ah" wait(0.10) script.parent.Text = "Finish The Obby Ahe" wait(0.10) script.parent.Text = "Finish The Obby Ahea" wait(0.10) script.parent.Text = "Finish The Obby Ahead" wait(0.10)
end
    -- Add more ends if its underlined red until its not.

Answer this question