Two different issues with the same concept.
Basically what I am trying to do is that when "Esc" has been pressed it should set the timescale to 0. The way I tried to do it is setting it up via global variables. It doesn't work properly as it should.
The other issue is having a holster function, again I use variables but it doesn't work that well. Keep in mind I am using an attachable arm to the body so the object is called "Stick". Here is the code I set up for this:
I just really wanted to know in general why this code is not working. The stick = 1 means that is when the weapon is acquired which can be holstered and unholstered at any time. Wieldstick is the supposedly the code to equip it.