How do you loop an event?

I was close the custom event is what I was doing wrong. However there is a problem when I use this. The camera shake doesn’t match the speed for the player you see when the button is used? (as there is 2 sprint and run). Can this be easily fixed?