Oh my Jesus Christ. I found a solution. Thaumaturge was correct.
if dt > 0.60:
return task.cont
This piece of code ruined my game…my delta time was higher than 0.60 so it was just looping this code forever…
I guess ppython is faster than executed version.
Anyways…thanks for the answers guys!