Handle is very important for custom tools. It will be added to your inventory when touched. The handle can interact objects when screen-clicking on it.
There are several types of swings you can click on to trigger:
- Mode 0: Doesn't swing
- Mode 1: This mode is default, it can swing downward
- Mode 2: Aiming
When a Handle is unequipped by pressing backspace, A handle will be unlisted from your inventory and will drop itself along with connected parts. This is recommended for players in order to save your custom tools.
Description
"A handle which can be equipped when a player touches it, turning all connected parts into an equipable tool."
Misc.
Configuration
- Swing(number) [0 - 2] - The type of swinging for this tool. Swing 0: Doesn't swing on click; 1: Swck; 2: Follows the mouse cursor
- TriggerMode(number) [0 - 2] - Determines when this Handle should send trigger signals. TriggerMode 0: Trigger on mouse down; 1: Trigger on mouse up; 2: Trigger on mouse down and mouse up. If TriggerMode is set to anything else, it will trigger when the key TriggerMode is set to is pressed.
- ToolName(string) - The name of the tool.