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

How to make a GUI button that fires a keycode?

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

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!

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