Your input doesn’t work because pressed is only called once. What you need to do is store your input in a variable, then process it using Tick, which is called every frame.
Here’s a network I created, which rotates a chair when pressing LMB or RMB. Note that I’m using the Delta value to multiply the rotation to make sure the rotation rate is constant. If you don’t do this the speed will change depending on framerate. As a result of this, the value I set in Rotation Speed becomes Rotation per Second.
Open the image in a separate tab to see it in full size.
