How do I make a part appear when the rig or dummy is destroy or dead

ok and I just put the script in the rig and group the rig with the part together?

I mean you could possibly do that, but the script would be changed if you do that I can make a script for you with the part inside the rig.

1 Like

oh that prob why it’s not working for me, so for your code where do I put the script and do I group the rig with the part or no?

For my script to work, put the script inside the rig and the part in workspace.

1 Like

If you want to change it I can help you and provide another changed script.

1 Like

I would like you to help me create a script that does the same thing where the rig and part are grouped together and the script is in the rig.

but yea your code work and everything it good rn so thanks.

local Part = script.Parent:FindFirstChild("Part")
local Humanoid = script.Parent:FindFirstChild("Humanoid")

local function onHumanoidDeath()
Part.CanColide = true
Part.Transparency = 1 
end

Humanoid.Died:Once(onHumanoidDeath)

I’m gonna go now, bye.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.