27. Tools

1⃣ What we’re learning

He says we’re learning about Tools in Roblox Studio.

A Tool is something a player can:

  • Pick up

  • Hold

  • Use
    (like a sword, key, or food)


2⃣ What a Tool actually is

A Tool is an object you add in Roblox Studio.

👉 By itself, the Tool does nothing.

You must put parts/models inside it for it to work.


3⃣ Where tools go

Tools can go in two places:

  • StarterPack → player starts with it

  • Workspace → player finds it later

He puts it in StarterPack for easier testing.


4⃣ Looking at an existing tool

He inserts a sword tool from the Toolbox to show how tools are set up.

He deletes:

  • Scripts (not learning those yet)

  • ThumbnailCamera (only for Toolbox preview)


5⃣ Handle (very important)

Inside the Tool is a part named Handle.

👉 Handle is:

  • Where the player’s hand holds the tool

  • REQUIRED for tools to work

Rules:

  • Must be named Handle

  • Capital H

  • Lowercase won’t work


6⃣ Mesh inside the Handle

The Handle has a Mesh.

👉 The mesh makes the part look like a sword.
Without it → it’s just a block.


7⃣ PrimaryPart (quick mention)

If a tool has multiple parts, you may need a PrimaryPart.

👉 This controls:

  • Position

  • Rotation

Not a big deal if only one part.


8⃣ Testing the tool (problem appears)

He tests the game.

The tool equips, but it looks broken.


9⃣ Why it’s broken – Anchored parts

Problem #1:

  • Parts are Anchored

Anchored means:

  • Stuck in place

  • Can’t move

👉 Tools must move with the player
So all parts must be Unanchored


🔟 New problem – tool falls apart

After unanchoring:

  • Tool falls apart

Why?

  • Parts are not connected


1⃣1⃣ Solution – Welds

To keep parts together:

  • Use WeldConstraint

What welds do:

  • Stick parts together

  • Keep their distance

How he sets it up:

  • Part0 → Handle

  • Part1 → Other part

Repeat this for every part.


1⃣2⃣ Testing again

Now when he plays:

  • Tool stays together

  • Tool works correctly


1⃣3⃣ Tool properties (quick overview)

  • ToolTip

    • Text shown when hovering over tool

  • TextureId

    • Image shown in backpack

  • GripPosition / Orientation

    • How the player holds it

    • Trial and error

  • CanBeDropped

    • Can player drop it?

  • ManualActivation

    • Clicking does nothing unless scripted

  • RequiresHandle

    • Keep ON (recommended)


1⃣4⃣ Final reminder

For a tool to work:

Tool object
One part named Handle
Parts are Unanchored
Parts are Welded to Handle


🧠 One-sentence summary (his whole lesson)

👉 A Tool is an object that holds parts, needs a Handle, must not be anchored, and must be welded together to work properly.