Hi,
Here is my script, I wrote it from memory, and then checked it with some previous ones I have made. The only issue I can think of is that I'm trying to turn the canCollide of a Union off.
back=game.Workspace.backdoor1
script.Parent.ClickDetector.MouseClick:connect(function(clicked)
function onClicked()
back.CanCollide=false
back.Transparency=.6
end
end)
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Thanks!

1 comment
Why do you have a function inside of another function? Lines 4, 7, and 10 are not nessecary. :/