Baldi's Basics in Education and learning (3D)

So I am making a 3D Baldi’s Basics game. I used the ray-casting extension, but with that I can’t make an inventory. Also, I can’t make the player do a 180 degree turn when you press the spacebar. Can you help?
(My game incase you want it:)