Waits until the specified value or function becomes true and then runs the script.
When the score reaches 5, the panda hides.