I am trying to make a command bar and I am trying to make it disappear when I press a certain key code I used:
game:service'UserInputService'.InputBegan:connect(function(inputObject, gameProcessedEvent)
if (inputObject.KeyCode == Enum.KeyCode.E) then
game.StarterGui.ScreenGui.Input.Visible = true
print("Test")
end;
end);
Also it's a local script in Replicated First

3 comments
Didnt you already post this?
Its been like 10 minutes, maybe try longer before asking for help.
The print function works and yes I did but I needed more help