Do the tools not work for custom characters?

Hello, I am facing a problem. For my game I created custom characters. But it seems that the “Equipped” and “UnEqquiped” events of a tool do not work for this character.
Indeed with a default roblox character, these events work but not with my character.

If anyone would know why and how to solve this problem, I would be very grateful.
Thank you in advance

6 Likes

U don’t have to use tools, if u want them to have a sword just weld it to the character using a script then use userinputservice to get the input

4 Likes

There are 2 things that come in mind to fix this.

  1. Is to create your own instance Bool value “equipped” false/true.
    and when you equip the tool change the value to true, and then have a
    function waiting for Character.Tool.equipped.Changed vis versa with
    unequipped.

  2. like @xlxAuroraxIx stated is a much better alternative. Weld the tool to the hand and
    use userinputservice, this results in a smoother system.

8 Likes

Thank you very much for your answers, I want to animate the sword, I can replace the weld by Motor6 right?

2 Likes

I usually just weld the tool to the character and make the animation load in the character for attacks, if that was what u meant by animating.

1 Like

No I mean to animate the sword itself, with the scabbard

1 Like

Yes, Motor6D works as long as you’re not setting a C0 or C1.

1 Like

yup, then the sword will be part of the rig.

A question: if i want to equip and unequip the sword i need to weld it to the character (weld by using "Edit Rig"plugin?) and just change trancperency like 1 if i unequiped and 0 i when equiped