So... Im trying to make a script but it doesnt work (Failed with no result)
Basicly, if a part A gets touched,then the part B gets invisible, but the part A is still visible! How to make that happen?
Please help, thanks!
Try this:
game.Workspace.PartA.Touched:connect(function() game.Workspace.PartB.Transparency = 1 end
I tried to make a script (when part "TouchMe" gets touched, the Arrow fades away) and it looks like this...
wait(.2) local a = game.Workspace.Arrow1.Arrow TouchMe = script.Parent function onTouch(Touched) if script.Parent:findFirstChild("Humanoid") then for i = 1, 50 do script.Parent.Transparency = a.Transparency-0.2 wait(1) end end end script.Parent.Touched:connect(onTouch)
..but that doesnt work! Please help!