How does click combat work?

Remove this too:

This is whats causing your error, you can just use hit as its serving as your instance!

2 Likes

when i run the game, the output tells me that “hit” is one of the dummys body parts and that theres no humanoid root part, even after i remove the part

1 Like

Which body part? Does it just say Model?

1 Like

it says “Head” heres the output message: Infinite yield possible on 'Workspace.R6.Head:WaitForChild("HumanoidRootPart")'

1 Like

The HumanoidRootPart is inside the model, not head or humanoid.

1 Like

Thats means it should be hit.Parent:WaitForChild, I think it didnt work last time cause we had that other random part said above. Thanks too @temporaryacount101

1 Like

im debating on if the hitbox should be in the humanoid root part or not, since its causing so many errors

Ill try it out! thank you so much!

2 Likes

The hitbox should be a child of the character, it just needs to take the position of the HumanoidRootPart

Im heading to bed, good luck on your testing :stuck_out_tongue:

1 Like

Oh one more thing, im confused on where exactly do i put hit.parent:WaitForChild() @Ripxff :sweat_smile:

1 Like

thank you!!! ill try this out goodnight!

1 Like

That should replace the if statement parameter we talked ab earlier

1 Like