Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My NPC's arms keep falling off?

Asked by 8 years ago

I barely got into NPCs and I have problems into creating them.

0
Could it be possible that you're missing the Motor6D's required to hold the arms up? Nickoakz 231 — 8y
0
How can I do that? GeezuzFusion 200 — 8y

2 answers

Log in to vote
3
Answered by 8 years ago

You aren't supplying much information, so I'll assume that the the arms are CanCollide false and the NPC has no joints.

Use :MakeJoints() on the NPC Model to create joints for it, which should stop the arms falling off.

0
It's Just the basics of A NPC. The model contains everything it needs to be an NPC, just that arms are falling by default. GeezuzFusion 200 — 8y
0
I bet the user also wants to keep animations. Nickoakz 231 — 8y
1
Is there a Humanoid in the NPC? And does the Humanoid have Health? UniversalDreams 205 — 8y
0
Yes and yes GeezuzFusion 200 — 8y
1
It's probably another property. Compare the NPC to your player and see what's missing or is different. UniversalDreams 205 — 8y
Ad
Log in to vote
0
Answered by
3x6x0 0
8 years ago

just create a script inside the arms and inside it put this:

local function anchorNPC --Name this anything you want
    script.Parent.Anchored = true
end

EASIER WAY:

script.Parent.Anchored = true

Answer this question