So this is a script inside a part with a clickdetector. it is supposed to make a part is workspace called: "Mask" invisible, but turn it visible If it is visible. but its not working! Help!
if game.Workspace.Mask.Transparency ==1 then
script.Parent.ClickDetector.MouseHoverEnter:Connect(function()
game.Workspace.Mask.Transparency = 0
end)
else if game.Workspace.Mask.Transparency ==0 then
script.Parent.ClickDetector.MouseHoverEnter:Connect(function()
game.Workspace.Mask.Transparency = 1
end)
