So here is the shelf that we will hide stuff in.
Here is the code:
As you can see, I used the click detector again (line 33). You are probably wondering what a CFrame is (line 11). The CFrames essentially describes the position of a 3D piece. It takes place when I click on it. You can see is position changing. When I click on it, it changes a value to false or true to tell if the shelf is open or not.
Key System:
Here is the code: