Note: I edited your post to fix the code formatting. In future, please use the correct formatting (you can click the “Code Sample” button when editing your post.
Your problem is that you’re not starting your timer. After setting wait_time, you need:
$Timer.start()
Second, remove that code in _process(). autostart is a boolean property that toggles whether the timer should start automatically when it enters the tree. You’re not doing anything with that code.
Finally, remove all those pass lines. They do literally nothing.
To improve this code, you can set “Autostart” to true and “Wait Time” to `0.7’ in the Inspector, and set your animation to “Autoplay” in the AnimationPlayer and you won’t need any of this code but the timeout callback.