Cant get script working properly - fnaf ai

What @Shoompla said.

Also, _physics_process gets called 60 times per second. Do you really want to be starting a timer 60 times per second? Perhaps you meant to start the timer in a different place, like _ready().