--The button


script.Parent.Button.ClickDetector.MouseClick:connect(function(click)

if not (on) then on = true--On
    script.Parent.MeshPart.Transparency = 1
    script.Parent.MeshPart.CanCollide = false
elseif (on) then on = false --Off
    script.Parent.MeshPart.Transparency = 0
    script.Parent.MeshPart.CanCollide = true
    end
end)
