Swep get fire button released

I want to do something when the player releases the fire button (only once) and all that from the shared.lua file for my guns, however I cant find any info on how to do it. I tried to manually check the players keys but I cant figure out how to make the proper hook

Please help!


(User was banned for this post ("Wrong section, try Developer Discussion next time" - Shendow))

(☞゚ヮ゚)☞ https://facepunch.com/forumdisplay.php?f=65 ☜(゚ヮ゚☜)

You’re here long enough to know how to post in the correct subforum.

Did you move it? Cause atleast rn it seems to be in developer discussion (atleast for me)

Shendow moved it. Use

Player:KeyReleased in a

GM:Move hook or some similar predicted hook.