Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make an NPC put in ServerStorage not die?

When I clone an NPC into ServerStorage and take it out, it falls apart and dies. How do I fix this? I haven't worked with NPCs before so this might be some stupid question, but I'm learning and need some help for a game I've been working on. Please help! Thanks!

When I DO get it to work, this is what happens when the NPC is cloned and spawned... http://gyazo.com/72c9aa7a137de5f815d1aa5e163babcd

1 comment

0

Use MakeJoints before setting the NPC's parent to Workspace when you clone it. If that doesn't work, put MakeJoints after parenting the NPC clone to Workspace.

1 answer

✓ Accepted answer

First of please try using premade NPC's and then cloning it using:

some_variable = game:GetService("ServerStorage").NPC:Clone()
some_variable.Parent = workspace

and if the problem persists, then talk to us again. Otherwise, you might want to check on your NPC making skills, and use the wiki. The wiki is your friend!

This discussion is preserved as it was. New answers, comments, and votes are closed.