Is there is any way to fix this problem?
So I wrote a code, and I tested it.
01 | script.Parent.Frame.TextButton.MouseButton 1 Click:connect( function () |
02 | if script.Parent.Frame.TextLabel.Text = = "Hello! I'm mine248 and I'll be teaching you how to operate this train." then |
03 | script.Parent.Frame.TextLabel.Text = "Press the up key or W to go forwards." |
04 | elseif script.Parent.Frame.TextLabel.Text = = "Press the up key or W key to go forwards." then |
05 | script.Parent.Frame.TextLabel.Text = "Press the down key or S key to go forwards." |
06 | elseif script.Parent.Frame.TextLabel.Text = = "Press the down key or S key to go forwards." then |
07 | script.Parent.Frame.TextLabel.Text = "Go open the door, on the side the platform is at (a big peice of block)." |
08 | elseif script.Parent.Frame.TextLabel.Text = = "Go open the door, on the side the platform is at (a big peice of block)." then |
09 | script.Parent.Frame.TextLabel.Text = "Then wait until the timer counts to 1." |
I t would work from lines 1-3, then fail on the other. Is there a error that did it?