how to simplify code

so I’ve been working on a alarm system and I’ve already done all the wiring and set up the programming but I’ve been told the code I’m using for the project was too complicated. Is there anything I can do to simplify the program. I have attached the code its the file labeled “Laser_Project.info”

Laser_Project.ino (2.79 KB)

(deleted)

(deleted)

no I found it on a website for arduino project ideas

Do you have any ideas on what I could take out to make the code smaller and less repetitive

(deleted)

No I'm just trying to make it smaller and why would I want to "pass it off as my own" what will that get me, I'm using this code for a security system of my own and i just want to make the code shorter

I want to make the code smaller because like I said earlier I've been told its too long and complicated

(deleted)