Tool falls on the floor instead of staying in hand?

I didn’t know where to put this, but whenever I equip the tool, it’s not in my hand.
Tool hierarchy:

(it doesn’t require a handle but I put one in to hopefully stop it from not working)
Script:
this one adds an m6d to the player when they join:


Nothing happens at all when I check output.
Thanks for your help!

1 Like

It needs to be anchored onto the player’s arm.

1 Like

How would I do this? Sorry if it’s really obvious, I’m new to doing this.

1 Like

set the m6d.Part0 to the players right arm

1 Like

I did not figure it out.


I added at line 9, and I’m not sure if that’s what I was supposed to do.

the m6d script seems completely fine

does the bodyattach also fall on the floor? or does the bodyattach stay in your hand while everything else falls

1 Like

The body attach does fall on the floor too.

1 Like

the only thing i can think of is one of the conditions of the if statement are somehow returning false
do you mind putting a print inside of the statement next to setting the M6D’s settings?


I added this print and I didn’t see anything in the output, so maybe the script is being yielded somehow.

1 Like

possibly you accidentally added a space after the word when you were setting the parts name to “BodyAttach”?

There were some spaces after a couple lines, I removed them and it still doesn’t work.

no like the part bodyattach

this
image

No spaces after it either. I don’t have any clue.

wheres the script located? serverscriptservice?

This script is in the workspace, and it’s a LocalScript.

oh
change it to a normal script and put it in serverscriptservice it should work then

It doesn’t work but I have an output now.

is your game r15 or r6?

if its r6 change it to [“Right Arm”]

It’s an R15 game. Would the player parts be located deeper in the player group?

try using :WaitForChild(“RightHand”) that might work