Attach the script to a go containing the camera and send a message to that script with four parameters:
x = amountof shake inx-directiony = amountof shake iny-directiontime= duration of shake in secondsspeed= shakes per second - lower number means faster shaking
To try it out you can simply hot reload the script and it will initiate a shake immediately.