Hi.

I need a little help with some lua scripting in payday 2.
I have made a simple script to insta interact with enything, but i cant find out how to toggle it on/off.

When i press F1 the script starts, but i cant turn it off again.

All help is appreciated