local on = script.Parent.Parent.GoButton.ClickDetector.MouseClick = true
if on=true then script.Parent.CanCollide = false and script.Parent.Transparency = 1
else script.Parent.CanCollide = true and script.Parent.Transparency = 0
end
Hi, So I'm building like a tube slide depot thing for my game which looks like this: [I have a picture, but this site won't let me upload it. :(]
Anyways, when the Part called "GoButton" is clicked, the part which the script is in disappears and when "GoButton" is clicked a second time, it reappears. I haven't tested it yet and I'm new to Lua (this is my 2nd script with no prior experience before my first one, also on this site.) Do you guys think it'll work?
Thanks, King
