Usually you have to press a number on your keyboard to equip a tool but I want it so that I always have a tool I my hand just like in arsenal. I also want to be able to cycle through the tools by pressing Q. How might I do this?
How do I make my tool always equipped and can cycle through my tools by pressing Q?
1 answer
ScriptingHelpers isn't a request site, but I can point you in the right direction with some things you can review.
'I want it so that I always have a tool I my hand just like in arsenal'
Welding could be used in this case to make the tool's parts effectively 'stick' to the player's arms, so you could make it look like the tool is constantly in your hand
' I also want to be able to cycle through the tools by pressing Q. '
UserInputService is useful here, as it can detect when a player presses something on their keyboard. For a more mobile-friendly approach, you could use Context Action Service to create a mobile button if the user is on mobile.
6 comments
ill give it a try
Ok!
wait, I don't actually think that welding it is a good idea because then i think I'd have to redo my entire gun script
Maybe try and do the userinputservice part first, making it so when you press q is switches to a new tool before the welding idea
Ok
hope this helped
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
And you also might want to use for loops combined with tables to avoid having more elseif's than the chinese population