So what I'm trying to do is make the pink bridge change some properties when the button (with clickdetector obviously) is clicked. However, for some reason it does not work. Strange, my scripts are pretty much like that all the time and they always work without question. Anyway.
function Click()
game.Workspace.HPinkBridge.CanCollide = false
wait(0.1)
game.Workspace.HPinkBridge.Transparency = 0.6
end
script.Parent.ClickDetector.MouseClick:connect(Click)
There's no reason why it shouldn't work? Any ideas?

6 comments
Any errors in the output? Is the game FilteringEnabled or not?
The game is not FilteringEnabled, I will check the output.
Is HPinkBridge a model? If so, you need to change the CanCollide and Transparency property of each part in the model HPinkBridge.
When I tested it, it worked perfectly for me. I put the part in workspace, and named it "HPinkBridge" like you did. I put a normal script in it and copy and pasted code and it works perfectly. If it's a model, then I can show you a better way if you have a lot of parts
Nope it's a part. I'll try changing the name or something.
This is weird. There's no output, nothing. Nothing interfeering. Does this happen quite often? Is there an external reason for this? Shall I classify as an SCP?