@Coconut101 For the battery, just connect the proper color to the proper socket in the door switch. This can be tricky, since the screen is constantly moving.
Once you open the gate, run to the right and hide behind the giant barrel that the scientist and farmer are working on. The giant snake will eat the barrel and get knocked out!