Created a script but receiving an error message. Would love some feedback/advice

Thank you @Falco and @JammyDodger. Looks like i skipped a big chunk of this. I’ll have another go :slight_smile: