im new to scripting and in lua to detect if an keyboard key what been touched
example i want to do a function that makes the baseplate tranparency = 0.5
function() BaseplateTranparency if io.read() = e do game.Workspace.Baseplate.Transparency = 0.5 if io.read() = q do game.Workspace.Baseplate.Transparency = 1 end
