Fading door Numpad question

Hello everyone. I am having some problems finding out how to edit the fading door tool i use, so you cant use Numpad, but still make it possible to link it with an button.
I know its possible some how, but i cant find out how. here is the code where i think i shall change something:


function TOOL.Pressed(Player, Entity, Key, IDX)
	if !Entity:IsValid() then return end
	
	if (Entity.FadingDoor.Toggle) then
		if (Key) then
			if (Entity.FadingDoor.Active) then
				FadingDoor.Deactivate(Entity)
			else
				FadingDoor.Activate(Entity)
			end
		end
	else
		if (Key) then
			FadingDoor.Activate(Entity)
		else
			FadingDoor.Deactivate(Entity)
		end
	end
end

I can’t see it there. You are going to have to create a script.

Something you can help me with mate?

Negative

Okay thanks anyway.

Still need help mateys.