I need help with keypad (invisible overlays, etc)

so i was following joseph evans tutorial on making a keypad with flashing keys. i used his exact overlays with the exact names and didn’t change their size at all. however, when i press the 1 key, it says there’s an error with the overlay when my script is fine. then when i click the keys other than 1 they don’t flash but only make the computer sound. lastly, when i press just one key, it immediately goes to the if / else thing and always shows incorrect even if its the correct digit when i want u to type the full answer and then dertermine whether its correct or not.
i followed the exact code but all that’s happening is a bunch of mishaps.

Summary

INT. BLACK with KEYPAD
@overlay KEY1 create
@overlay KEY2 create
@overlay KEY3 create
@overlay KEY4 create
@overlay KEY5 create
@overlay KEY6 create
@overlay KEY7 create
@overlay KEY8 create
@overlay KEY9 create
@overlay KEY0 create

@overlay 1 create from KEYBLANK
@overlay 2 create from KEYBLANK
@overlay 3 create from KEYBLANK
@overlay 4 create from KEYBLANK
@overlay 5 create from KEYBLANK
@overlay 6 create from KEYBLANK
@overlay 7 create from KEYBLANK
@overlay 8 create from KEYBLANK
@overlay 9 create from KEYBLANK
@overlay 0 create from KEYBLANK

@overlay 1 shifts to 41 389
@overlay 1 scales to 1.000 1.000
@overlay 2 shifts to 122 386
@overlay 2 scales to 1.000 1.000
@overlay 3 shifts to 205 389
@overlay 3 scales to 1.000 1.00
@overlay 4 shifts to 41 292
@overlay 4 scales to 1.000 1.000
@overlay 5 shifts to 126 294
@overlay 5 scales to 1.000 1.000
@overlay 6 shifts to 205 290
@overlay 6 scales to 1.000 1.000
@overlay 7 shifts to 43 198
@overlay 7 scales to 1.000 1.000
@overlay 8 shifts to 124 198
@overlay 8 scales to 1.000 1.000
@overlay 9 shifts to 209 196
@overlay 9 scales to 1.000 1.000
@overlay 0 shifts to 122 105
@overlay 0 scales to 1.000 1.000

label keypad_start
@FIVEKEYPOINTS =0
NARR
Enter 5 digit code:

tappable
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}

if (FIVEKEYPOINTS =5) {
sound computer_ding
@pause for 2
} else {
NARR
Incorrect digits.
goto keypad_start

}

Can I pm you to help you with this?

of course

tell me if you figured if you have not figured it out, I have used it too so I might help

i haven’t sadly

what is the problem with it?

it looks like you are missing a lot of the tap. you need to make a tappable for each this is how mine look if you wanna compare

INT. LIVING ROOM BACK with KEYPAD to 0.122 165 246 in zone 2 with DRAGON 2 to 0.288 94 233 in zone 2

@cut to zone 2
@overlay KEYPAD moves to layer -50
@JANE spot 0.698 251 224
@overlay 1Z create from KEYBLANK
@overlay 2Z create from KEYBLANK
@overlay 3Z create from KEYBLANK
@overlay 4Z create from KEYBLANK
@overlay 5Z create from KEYBLANK
@overlay 6Z create from KEYBLANK
@overlay 7Z create from KEYBLANK
@overlay 8Z create from KEYBLANK
@overlay 9Z create from KEYBLANK
@overlay 0Z create from KEYBLANK
@overlay KEY3 create
@overlay KEY7 create

@overlay KEY5 create
@overlay KEY9 create
@overlay 1Z shifts to 170 293 in zone 2
@overlay 1Z scales to 0.122 0.122 in zone 2
@overlay 2Z shifts to 180 293 in zone 2
@overlay 2Z scales to 0.122 0.122 in zone 2
@overlay 3Z shifts to 190 293 in zone 2
@overlay 3Z scales to 0.122 0.122 in zone 2
@overlay 4Z shifts to 171 282 in zone 2
@overlay 4Z scales to 0.122 0.122 in zone 2
@overlay 5Z shifts to 180 282 in zone 2
@overlay 5Z scales to 0.122 0.122 in zone 2
@overlay 6Z shifts to 190 282 in zone 2
@overlay 6Z scales to 0.122 0.122 in zone 2
@overlay 7Z shifts to 170 271 in zone 2
@overlay 7Z scales to 0.122 0.122 in zone 2
@overlay 8Z shifts to 180 271 in zone 2
@overlay 8Z scales to 0.122 0.122 in zone 2
@overlay 9Z shifts to 190 271 in zone 2
@overlay 9Z scales to 0.122 0.122 in zone 2
@overlay 0Z shifts to 180 259 in zone 2
@overlay 0Z scales to 0.122 0.122 in zone 2
@overlay KEY3 shifts to 165 246 in zone 2
@overlay KEY3 scales to 0.122 0.122
@overlay KEY5 shifts to 165 246 in zone 2
@overlay KEY5 scales to 0.122 0.122
@overlay KEY7 shifts to 165 246 in zone 2
@overlay KEY7 scales to 0.122 0.122
@overlay KEY9 shifts to 165 246 in zone 2
@overlay KEY9 scales to 0.122 0.122
@zoom on 516 291 to 501% in 0
tappable
“1Z”{

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“2Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“3Z” {

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0

}
“4Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“5Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“6Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“7Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“8Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“9Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“0Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}

tappable
“1Z”{

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“2Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“3Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“4Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“5Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“6Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“7Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“8Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“9Z” {

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0

}
“0Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}

tappable
“1Z”{

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“2Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“3Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“4Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“5Z” {

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0

}
“6Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“7Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“8Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“9Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“0Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}

tappable
“1Z”{

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“2Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“3Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“4Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“5Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“6Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“7Z” {

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0

}
“8Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“9Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}
“0Z” {

sound incorrect_buzzer

    NARRATOR
INCORRECT!

goto sonja_clue

}

@JANE spot 0.698 135 222
@zoom on 478 312 to 234% in 0
JANE (react_pumpfist_happy)
Yes its unlocked

i’m not sure what you mean by “tap” ?

the choice you only made one tapppable choice, but you need five numbers for the code, so you need to make it five time

so i duplicate the tappables 5x?

yes

and you need to change the text so it fit, like if number one is right you make it the right one and the other wrong

do i keep the points in the correct numbers? what will happen if i duplicate them?

use labels,

add this before

@NAME =0

i did put =0 at the start of the label is that ok

yes right after it is fine

so i duplicated them. it still wont flash and it goes straight to the if > else thing

can I see how it look now?

Summary

INT. BLACK with KEYPAD
@overlay KEY1 create
@overlay KEY2 create
@overlay KEY3 create
@overlay KEY4 create
@overlay KEY5 create
@overlay KEY6 create
@overlay KEY7 create
@overlay KEY8 create
@overlay KEY9 create
@overlay KEY0 create

@overlay 1 create from KEYBLANK
@overlay 2 create from KEYBLANK
@overlay 3 create from KEYBLANK
@overlay 4 create from KEYBLANK
@overlay 5 create from KEYBLANK
@overlay 6 create from KEYBLANK
@overlay 7 create from KEYBLANK
@overlay 8 create from KEYBLANK
@overlay 9 create from KEYBLANK
@overlay 0 create from KEYBLANK
@pause for 0.1

@overlay 1 shifts to 41 389
@overlay 1 scales to 1.000 1.000
@overlay 2 shifts to 122 386
@overlay 2 scales to 1.000 1.000
@overlay 3 shifts to 205 389
@overlay 3 scales to 1.000 1.00
@overlay 4 shifts to 41 292
@overlay 4 scales to 1.000 1.000
@overlay 5 shifts to 126 294
@overlay 5 scales to 1.000 1.000
@overlay 6 shifts to 205 290
@overlay 6 scales to 1.000 1.000
@overlay 7 shifts to 43 198
@overlay 7 scales to 1.000 1.000
@overlay 8 shifts to 124 198
@overlay 8 scales to 1.000 1.000
@overlay 9 shifts to 209 196
@overlay 9 scales to 1.000 1.000
@overlay 0 shifts to 122 105
@overlay 0 scales to 1.000 1.000

label keypad_start
@FIVEKEYPOINTS =0
NARR
Enter 5 digit code:

tappable
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}
“1”{

@overlay KEY1 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY1 opacity 0
@FIVEKEYPOINTS +1

}
“2”{

@overlay KEY2 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY2 opacity 0
@FIVEKEYPOINTS +1

}
“3”{

@overlay KEY3 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY3 opacity 0
@FIVEKEYPOINTS +1

}
“4”{

@overlay KEY4 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY4 opacity 0
@FIVEKEYPOINTS +1

}
“5”{

@overlay KEY5 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY5 opacity 0
@FIVEKEYPOINTS +1
}
“6”{

@overlay KEY6 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY6 opacity 0
}
“7”{

@overlay KEY7 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY7 opacity 0
}
“8”{

@overlay KEY8 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY8 opacity 0
}
“9”{

@overlay KEY9 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY9 opacity 0
}
“0”{

@overlay KEY0 opacity 1
sound computer_plink
@pause for 0.2
@overlay KEY0 opacity 0
}

if (FIVEKEYPOINTS =5) {
sound computer_ding
@pause for 2
} else {
NARR
Incorrect digits.
goto keypad_start

}

add this somewhere

@overlay KEYPAD moves to layer -50

thanks, my keys are flashing now :slight_smile: however the other problem still persists. (i press one key and takes me straight to if ? else code) and i forgot to say for some reason my overlay 1 key won’t show . it shows that ‘error cannot be found’ or smt like dat on the app.

1 Like