Hi i have seen you capx you have to add 1 condition only
where
every tick >>> Add Block.Bullet.Speed * dt to totalDistance
Add Condition under every tick >>
Player is visible
I am trying to save your high score but every restart local storage item clears automatically
may be you have done something wrong
i don't have read your all events