Why do i have to press input twice for the very first time

what do you mean by bool is false?