Overlay error please help 😊

I was following this template and I keep getting this error

And here my script

Can anyone help me figure out the error?

1 Like

ui will not work after AND

Okay thank you

1 Like

Still doesn’t work

1 Like

Yes ui’s work with AND and THEN. ui’s work exactly like regular overlays

1 Like

Which line does this warning message show up for?

In line 1541

Try changing the word ui to overlay (you used it 3 times in one line)
You can keep the &, AND, THEN when you use overlay

Which line is that? You cut off the line numbers in your screenshot above

Oh sorry this is the line

I dont see anything wrong with those commands. Are you sure that’s the line? There should be a yellow triangle on the line where the warning is at. Can you show a whole screenshot of your script without cropping the screenshot?

Try putting the β€œRIGHT” { command on the next line.