I dont want that screw thing that makes the door move when my robloxian pushes it. So I want a script that makes it move by using a button (e.g press f and it opens). So please does any one know how to make it? Still new being a scripter.
UserInputService is used when you want a script to pick up input from the keyboard or mouse. There's an event called InputBegan that is triggered when the game receives an input. It has a parameter called input, which you can use to check what key was pressed.
function onKeyPress(input) if input.KeyCode == Enum.KeyCode.F then --If the key pressed was F then --Insert code here end end game:GetService("UserInputService").InputBegan:connect(onKeyPress)
Here are some links that explain what KeyCode and Enum is. The rest of the code that moves the door can vary depending on how you want it to move. Just comment how you want it to move and I can help you with it.