Well I tried that code and at first there where no problems but there was no light when I pressed the f buton then I tried to rescript it that I dont need all this pick-up stuff.
I just wanted that if I press F the light appears and if I press again it dissapears