Is there a way to equip and unequip items on keypress? It would work with transparency...probably...
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)
And then somehow there is a script when you're holding a tool and when you hit a key (I, Z, E, Q, O, etc.).
I tried this script...made by me...
--- Objects ----
local glass = script.Parent.Parent.Handle
--- Scripts ----
function keyDown(key)
if key == "I" then
glass.Transparency = 0
end
end
function keyDown(key)
if key == "I" then
glass.Transparency = 1
end
end
It didn't work. Becuase I'm bad a scripting...Don't judge me.
So if you can help me, or show an example? Then I would really appreciate it. Thanks :3

2 comments
Sir for now I want you to completely switch up and use UserInputService
How do I do that?