This script is currently removing the HumanoidRootPart and also destroying various parts of the character as on touched, but what I need it to do is to just remove the HumanoidRootPart. Please help!
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("HumanoidRootPart") then
hit:Destroy()
end
end)
Thanks in advance.

1 comment
Just :Destroy() the HumanoidRootPart instead of Hit. Should be EXTREMELY easy to figure out if you truly understand the above code you wrote.