because you don't have anything to call the function and run it so your code isn't doing anything. Take a basic plugin and edit it and add that code to onpulse Have your reference at top reference default combat, then call to the PauseRotation
Initialize is a one time run and you need your...