I've been searching for a few hours trying to find some kind of script or something that will allow me to use my 'R' key as a zoom toggle so I don't have to hold down the key to stay zoomed in. I just want something that makes it so I can press the key once an it zooms in and then press it again and it zooms out. If anyone knows a script like this I sure could use it.

Thanks in advance.