Player is not defined-bug removed, Projectile bug removed