Symplify the script with a boolean var

Instead of writing function when you get the key, you can instantiate a boolean var at the begining “thekey=false”, when you take the mirror, you change thekey=true. In every function you just add if condition “thekey==true” and you get less lines in this script :


Privacy & Terms