im very new at scripting so please tell me how to do this
✓ ANSWER ACCEPTED
How do i make a script that moves a model to workspace when a certain NPC has died?
1 answer
✓ Accepted answer
You need to connect the npc died event to a function like this
local model = game.ReplicatedStorage.Model
workspace.Npc.Humanoid.Died:Connect(function()
model.Parent = workspace
end)
this is just an example of how you could do it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
