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

How to press a key such as 'e' to pick up an npc?

Asked by 5 years ago

I am trying to make a game where you save people from disasters, fire, floods etc. I want the player to be able to pickup an npc and I have absolutely no idea where to start. I know it's a lot to ask from some people just trying to help, but can someone help me in a way that doesn't just give me the complete code. i'm a newbie trying to learn. Thanks

1 answer

Log in to vote
0
Answered by 5 years ago

Check out https://developer.roblox.com/en-us/api-reference/class/UserInputService It has some neat examples of how to handle user input.

0
Ok. Will do. Thanks! odinbreaker -5 — 5y
Ad

Answer this question