A Tool is a special object that players can equip, hold, and use in-game (like swords, hammers, guns, etc.).
Instance that lives inside StarterPack.StarterPack are cloned into their Backpack.| Folder | Purpose |
|---|---|
StarterPack |
Tools here appear in the playerβs hotbar |
Backpack (in Player) |
Where tools are stored at runtime |
Workspace |
Tools dropped into the world |
plaintext
CopyEdit
Tool (Main container)
βββ Handle (Part) β required!
βββ Script / LocalScript
βββ Sounds, Effects, Animations (optional)
β The Handle is required for the tool to be held correctly!
| Event Name | What It Does |
|---|---|
Equipped |
Fires when the tool is equipped by the player |
Unequipped |
Fires when the tool is unequipped |
Activated |
Fires when the player left-clicks while holding the tool |
Deactivated |
Fires when the player releases the click |
Touched |
Detects when the Handle touches another object |