Brick above NPC doesnt move with the npc

I have a brick part on top of the npc’s head and when I run the game the npc moves but the brick stays still,

Is the brick welded to the actual NPC?

Use a weldconstraint.

30 characters

Try doing it an accessory. If you do not how to do this here is a tutorial:

Don’t forget to mark this as the solution,
Theyoloman1920

Can I do this without the 2 getting stuck in each other. The part is an npc killbrick and I want it above the head but if I use the weld constraint they get stuck with eachother and the npc cant move.

Are you sure you’re using a WeldConstraint and not a Weld? If you are, what is Part0 and Part1 assigned to?

1 Like

At first, I assigned part0 (the brick) to part 1 the head but hat binds them together and npc cant move, and then I assigned part1 to an invisible hat but that didnt work either

Is the kill-brick anchored?
(30chars)

1 Like

Yes it ‍is anchored ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍

WaitI just unanchored it and it worked

There you have it lol, glad I could help.

1 Like

Yeah that fixed the problem, thanks.

1 Like

Now I have a different problem, the part used to fall when you jump on it but now that I jump on it, it doesn’t fall.

You could destroy the weld when the Part.Touched event fires

Sorry, what would I have to write for it to destroy the weldconstraint upon part.touched?

Can you please provide me with the hierarchy of your workspace and a picture of the code which kills the player when touched.
Also, is the Kill-Brick code in a server or local script?

This is the killbrick script, I also have another script which makes the brick drop but it doesnt work at all right now. I don’t know what you mean by hierarchy of my workspace (do you want a picture?) and the killbrick code is a local script. If you want a visual idea of what is supposed to fall here

Actually instead of a picture of the hierarchy, where is the WeldConstraint located? Is it parented to the Kill-Brick? Or the NPC?

The killbrick is located inside the npc and the WeldConstraint is inside the killbrick, the part0 is the killbrick and the part1 is the head, do I change any locations?

It should be fine, what’s the name of the Kill-Brick and NPC in the explorer?