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

How to make a GUI button that fires a keycode?

Asked by 3 years ago

So I want to make a gui that when a player clicks a text button, it fires a keycode. For example I can make a reload button, and when clicked, it fires the R key, making the gun reload. Is there any way to do this? Please help.

1 answer

Log in to vote
0
Answered by
iactz 15
3 years ago

This very well could be possible but, not from what I know, so instead of doing that I feel like it could be more efficient to just have a remote that reloads the gun instead. That way you could just fire the remote everytime you wanted the player/the player wanted to reload. If this isn't what you mean or want then sorry I couldn't help you, have a good day!

Ad

Answer this question