I am making a horror game and whenever you use a Gear (Key) on a locked door you lose the key from your inventory. How would I do that?
Use the Destroy method
Destroy
key:Destroy()