Script Error : SOLVED

Hi, I am currently wring a story and I have this error

It is just on a simple choice and it collapses when it needs to, I just don’t know what the problem could be

If anyone could help, I will be really grateful. :blue_heart::blue_heart::blue_heart:

1 Like

Hi! Could you please show more of your code?

sure, i’ll get it now

Is this good?
&overlay GOLD_KEY opacity 0 in 1
&overlay SILVER_KEY opacity 0 in 1
@overlay BRASS_KEY opacity 0 in 1
@overlay DIAMOND_KEY shifts to 235 250 in zone 1 in 1
This one?
“Yes” { #this is the bit where the error is
Lets see if it fits in the door
&zoom on 0 0 to 100% in 2
@overlay DIAMOND_KEY shifts to -67 239 in zone 1 in 2
sound Alarm-Danger
Oh no.
I need to try a different key quickly
@overlay DIAMOND_KEY shifts to 267 323 in 1
goto key_game
“No” {
@overlay DIAMOND_KEY shifts to 267 323 in 1
goto key_game

After this

Do you have another } ?

1 Like

I added one in, but the error is still there

Try putting the dash - lower so it’s _

Sounds with - in the middle usually have issues.

1 Like

Yes, it worked! Thank you so much @JemU776 and @EtherealWitch for helping . :blue_heart::blue_heart::blue_heart:

1 Like

@Sydney_H please can you close this thread, the problem has been solved

1 Like

Closed by OP request. :smiley: