where should i put my local script for my user input service to work? i have been struggling with this for a while. if you have an answer please detail it
✓ ANSWER ACCEPTED
where to put my local script for my user input service to work?
2 answers
✓ Accepted answer
A LocalScript can be placed anywhere the client runs to run UserInputService
Examples :
-- StarterPlayer
-- StarterCharacter
-- StarterGui
-- StarterPack
Please upvote if this helped you :D
You can put the LocalScript anywhere where the client can run it, like StarterPlayerScripts or StarterGui. Get it by doing
game:GetService("UserInputService")
Your problem is probably that you are not using it correctly, please explain your problem further so we can help you easier.
1 comment
0
your answer also helped but the other one was better for me
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
thank you for the in depth answer!