How to making something happen when near (like screenshake when something)

I need help making something to where you are near a part the camera starts to shake, I am using EZ camera shaker.

I’ve been looking for it but I cant find anything related to something like this.

i cant really code anything like this so ive been trying to look for a script on the toolbox but no luck.