I would like all of the Parts of the Humanoid (Head, Torso, Left Arm, Right Arm, Left Leg, Right Leg) to set on Fire and for the BodyColor to change to Black. Also, I would like the Clothing of the Humanoid to be removed.
My goal is for this function to trigger on touch of the Part. Let us say if only the Left Leg touches the Part I would still like all of the other Body Parts to be effected.
I created a Script that kills any Humanoid when they touch the Part but I do not know how to set the Player on Fire and turn their BodyColor to the color of Black.
script.Parent.Touched:connect(function(hit) if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.Health = 0 end end)
if hit.Parent.Humaniod.Health = 0 then local F = Instance.new('Fire'):clone() local H = hit.Parent:FindFirstChild("Torso","Left Arm", "Right Arm", "Left Leg", "Right Leg","Head") F.Parent = H H.BrickColor = ('Black') hit.Parent:FindFirstChild("ShirtGraphic","PantsGraphic"):destroy()
If the destroying of the shirt doesn't work, try removing destroy()
and add in remove()