As thenachotech1113 commented, playerIn is always equal to false in your code, and your second if statement needs it to be true in order to run.
So yep, just do some playerIn = true; magic somewhere in order to solve your issue.
Kind regards,
Nathan.
↧