Chikironi
(chikironi)
October 3, 2024, 11:38pm
#1
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
Chikironi
(chikironi)
October 4, 2024, 1:35am
#3
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
Chikironi
(chikironi)
October 4, 2024, 3:09am
#5
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
Chikironi
(chikironi)
October 4, 2024, 3:20am
#7
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?
Chikironi
(chikironi)
October 4, 2024, 3:29am
#9
I added this print and I didn’t see anything in the output, so maybe the script is being yielded somehow.
1 Like
Turtle8684
(frederick)
October 4, 2024, 3:31am
#10
possibly you accidentally added a space after the word when you were setting the parts name to “BodyAttach”?
Chikironi
(chikironi)
October 4, 2024, 3:32am
#11
There were some spaces after a couple lines, I removed them and it still doesn’t work.
Turtle8684
(frederick)
October 4, 2024, 3:33am
#12
no like the part bodyattach
this
Chikironi
(chikironi)
October 4, 2024, 3:36am
#13
No spaces after it either. I don’t have any clue.
Turtle8684
(frederick)
October 4, 2024, 3:36am
#14
wheres the script located? serverscriptservice?
Chikironi
(chikironi)
October 4, 2024, 3:37am
#15
This script is in the workspace, and it’s a LocalScript.
Turtle8684
(frederick)
October 4, 2024, 3:37am
#16
oh
change it to a normal script and put it in serverscriptservice it should work then
Chikironi
(chikironi)
October 4, 2024, 3:40am
#17
It doesn’t work but I have an output now.
Turtle8684
(frederick)
October 4, 2024, 3:41am
#18
is your game r15 or r6?
if its r6 change it to [“Right Arm”]
Chikironi
(chikironi)
October 4, 2024, 3:42am
#19
It’s an R15 game. Would the player parts be located deeper in the player group?
Turtle8684
(frederick)
October 4, 2024, 3:43am
#20
try using :WaitForChild(“RightHand”) that might work