of     1   

ZeroHour66
#139601909Tuesday, July 08, 2014 2:30 AM GMT

this works in one tool, but when I put it in a second one, then it breaks, and neither script work. script.Parent.Equipped:connect(function(mouse) print'equipped' mouse.Button1Down:connect(function() for i, v in pairs(script.Parent:GetChildren()) do v.Anchored = true v.Transparency = .8 v.Parent = Workspace wait() script.Parent.Parent = Workspace end end) end)
smunkey
#139602745Tuesday, July 08, 2014 2:38 AM GMT

It probably has something to do with the 'i, v' part. But I don't see anything wrong with the script.
hunter11153
#139604742Tuesday, July 08, 2014 2:58 AM GMT

It depends what part your looking for. But I think this might fix it. script.Parent.Equipped:connect(function(mouse) print'equipped' mouse.Button1Down:connect(function() for i, v in pairs(script.Parent:GetChildren()) do if v:isA("Part") then v.Anchored = true v.Transparency = .8 v.Parent = Workspace wait() script.Parent.Parent = Workspace end end) end)
hunter11153
#139604857Tuesday, July 08, 2014 2:59 AM GMT

if the part is a tool instead, then replace "Part" with "HopperBin"
ZeroHour66
#139621506Tuesday, July 08, 2014 6:17 AM GMT

Now it doesn't work at all.

    of     1