Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a script that when I click it activates a key?

What I'm saying is I want to have a script and when I click, for example, the key "1" activates. I tried some things but they didn't work. Please tell me a script that when you click, it activates a key on the keyboard. I need something like that. (please say where to edit to set the key if you wouldn't mind...)

1 comment

0

I dont think you can activate something on the keyboard by clicking. It'll have to be user input, using UserInputService. As far as I know.

1 answer

It is ideal to search before asking questions, so always try to look for an answer first.

You're deffintely looking for UserInputService

1 comment

0

I have searched for it ofc. that's why I came here

This discussion is preserved as it was. New answers, comments, and votes are closed.