Slowing down the script?

Is there really no way to slow down a script? This way I can use what I already have.

The delay function doesn't seem to work, this person had the same issue:

Is it a known bug?