of     1   

blueman164
#28747393Wednesday, July 07, 2010 1:45 AM GMT

I need help making a button that turns your legs invisible. Can anyone help me with this?
Ashram
#28747549Wednesday, July 07, 2010 1:47 AM GMT

function onTouch(hit) script.Parent.Touched:connect(onTouch) there I started ya off with beginning and end lol
blueman164
#28747644Wednesday, July 07, 2010 1:48 AM GMT

...Does anyone have real help?
Ashram
#28747814Wednesday, July 07, 2010 1:50 AM GMT

Your not really suppose to requests scripts and I did help by giving you the start of the script and the end of it
Legend26
#28747887Wednesday, July 07, 2010 1:51 AM GMT

script.Parent.Touched:connect(function (part) for _,v in pairs(part.Parent:GetChildren()) do if string.find(v.Name, "Leg") and v:IsA("BasePart") then v.Transparency = 1 end end end) Here's one way to do it.
blueman164
#28748138Wednesday, July 07, 2010 1:55 AM GMT

I tried that script, Legend, and it's not working...=/
Legend26
#28748258Wednesday, July 07, 2010 1:57 AM GMT

Is the script in a brick?
blueman164
#28748366Wednesday, July 07, 2010 1:58 AM GMT

Yes, It is.
Legend26
#28748401Wednesday, July 07, 2010 1:59 AM GMT

Strange, I tested it and it works.
blueman164
#28748481Wednesday, July 07, 2010 2:00 AM GMT

Is there another way you can make it?
Legend26
#28749051Wednesday, July 07, 2010 2:07 AM GMT

If this doesn't work, it's a problem on your end. The first was I showd you is more effeciant. function DoStuff (part) for i,v in pairs(part.Parent:GetChildren()) do if v.Name == "Left Leg" or v.Name == "Right Leg" then v.Transparency = 1 end end end script.Parent.Touched:connect(DoStuff)

    of     1