coding noob needs help :(

ive not been able to test it yet is there any sketches that can point me in the right direction