The setup I pasted will loop indefinitely and repeat at the interval set in the Length Float it will loop until the stop function is called. So if your entire shake happens over .5 seconds set it to .5 seconds if its a .2 second camera shake set it to .2 and so on that way it completes its cycle and starts over.