πŸ› οΈ Roblox Tool Scripting Notes

πŸ”§ What is a Tool?

A Tool is a special object that players can equip, hold, and use in-game (like swords, hammers, guns, etc.).


🧩 Where to Place Tools

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

🧬 Basic Tool Structure

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!


πŸš€ Tool Events

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