Tool only works on the second equip

Hello,

I am currently trying to equip a clone tool to a player but for some reason, the first time it is Equipped, it does not appear at the player. Instead, it appears at the last coordinates it was at before I moved it to replicated storage. Pressing the button again unequips the tool, and the third click equips it in the hand correctly.

So far I have tried:

qPerfectionWeld.

Copying another tool and swapping out the guts.

Running the game with just the tool and Handle part.

The outcome is the same. All other tools are working fine.

I encountered this issue once before, but was somehow able to fix it, however even copying code and a Handle from a working tool is not doing the business.

My google adventure on this (the past two days) yielded one single relevant result, a reddit thread with no answers.

Please help.

edit: Managed to mitigate the issue by calling Equip twice, like this:

EquipTool()
EquipTool()

But it’s less than ideal, and could cause problems down the line.

1 Like

Just unanchor every part of the tool.

none of the parts are anchored.

I am cloning from replicated storage and welding by script, so none of my tools are anchored.

1 Like

Maybe something is wrong with the script

It is the same script in all the other tools, which works first time; only this tool is affected.

Starting to suspect you are trolling here tbh.

2 Likes

Just send me that script, and put the tool into the starter pack