How could I make a script that allows you to click on a bottom (like the keyboard "D") or ect and it will change the backpack weapon like phantom forces to change the guns and ect
COMMUNITY QUESTION
How do you use a keyboard function on roblox to make you switch weapons on your backpack?
1 answer
Use welds not the backpack. The backpack allows for Unequipping weapons or items which is not what you want.
Also you need UserInputService to detect key presses
http://wiki.roblox.com/?title=API:Class/UserInputService
Weld the weapon or item to your hand.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I'll start you off by telling you that, to force an equip on a weapon, put it in the character. Use UserInputService and check when they press the key, and put the new weapon in the character.