Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

UserInputService sometimes works in Server?

Asked by 8 years ago

I'm using UserInputService and InputBegan to select certain tools in a game I'm creating. The Q, E, A, and D keys all snap the camera to certain positions and work 100% in Studio and in a server. The F, N, S, and R keys don't move the camera, but the InputBegan function is exactly the same (an if statement checking the key pressed and a separate function that fires if true). These 4 keys work 100% in Studio, but never in a server. I even added output printing to the beginning of the InputBegan functions for these letters and the functions themselves don't even fire. Any ideas?

2
What type of script are you using? Rhyles 80 — 8y
0
Oh. Now that you mention it, the only ones working are LocalScripts... SirloinBurgers 50 — 8y
0
Yep, that was it. Thanks! SirloinBurgers 50 — 8y

Answer this question