How to send Gcode to ATtiny13A

I don't know if the SoftwareSerial library works on an Attiny13A

But you need to post the exact error message.

...R

PS ... To make it easy for people to help you please use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum