Nema 17 4.2 Kg-cm not working

That is a step every 60us or 16K steps/second. I doubt that any stepper can go from 0 to 16K steps per second instantaneously. Try a much longer delay.

Robin2's simple stepper program may be of interest.

Also his stepper basics tutorial.

Did you properly set the coil current limit on the driver?

What is your microstepping set to?

For higher speeds you will need acceleration like with the AccelStepper library or the MobaTools stepper library.