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

How to determine the backpack keys (1-0) and if they're being pressed or not?

Asked by 10 years ago

I am making a script currently that makes the BackpackUI disappear if you don't press the keys after 5 seconds. I don't know what to determine the keys would be called, or how to make the script know whether or not you are pressing the keys. If anyone can help me on that, it'd help. Thanks!

0
I do not think you can. fireboltofdeath 635 — 10y
0
You can.. Nickoakz 231 — 10y

1 answer

Log in to vote
0
Answered by
lomo0987 250 Moderation Voter
10 years ago

You are going to want to use this.. http://wiki.roblox.com/index.php?title=KeyDown_(Event) (That will help you with understanding how to code when a person presses a key..)

And..

http://wiki.roblox.com/index.php?title=CoreGuiType (This will help you with removing/adding the players backpack)

Ad

Answer this question