please make sure to paste the Share link of your space. You get this link by clicking the Share-button located at the toolbar at the top next to the Play button.
If you do not find the Share-button and if you’re a student, please ask your teacher to unlock space sharing for your student account
In your script you are setting two collision event handlers on the same item. Only one event handler of a type can be active on a single item. So in your case, your last collision event overwrites the previous one on the camera item.
The linked post below gives you some more insight on how to use event handlers (and collision handlers).