I've been trying to use an object to breakjoints on any object containing them, not just players. What do I have to specifically search for, and how?
the code so far will only work for objects containing a humanoid:
script.Parent.Touched:connect(function(hit)
if script.Parent.Transparency == 1 then return end
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent:BreakJoints()
end
end )
