So I have a script which is meant to make one part transparent/CanCollide = false, but it doesn't work, can you identify the problem?
local folder = script.parent.parent function onClicked (mouse) folder.Stage1.L.Transparency = 1 folder.Stage1.L.CanCollide = false folder.Stage1.R.Transparency = 1 folder.Stage1.R.CanCollide = false folder.Stage2.L.Transparency = 0 folder.Stage2.L.CanCollide = true folder.Stage2.R.Transparency = 0 folder.Stage2.R.CanCollide = true wait(0.1) folder.Stage2.L.Transparency = 1 folder.Stage2.L.CanCollide = false folder.Stage2.R.Transparency = 1 folder.Stage2.R.CanCollide = false folder.Stage3.L.Transparency = 0 folder.Stage3.L.CanCollide = true folder.Stage3.R.Transparency = 0 folder.Stage3.R.CanCollide = true wait(0.1) folder.Stage3.L.Transparency = 1 folder.Stage3.L.CanCollide = false folder.Stage3.R.Transparency = 1 folder.Stage3.R.CanCollide = false folder.Stage4.L.Transparency = 0 folder.Stage4.L.CanCollide = true folder.Stage4.R.Transparency = 0 folder.Stage4.R.CanCollide = true wait(0.1) folder.Stage4.L.Transparency = 1 folder.Stage4.L.CanCollide = false folder.Stage4.R.Transparency = 1 folder.Stage4.R.CanCollide = false folder.Stage5.L.Transparency = 0 folder.Stage5.L.CanCollide = true folder.Stage5.R.Transparency = 0 folder.Stage5.R.CanCollide = true wait(0.1) folder.Stage5.L.Transparency = 1 folder.Stage5.L.CanCollide = false folder.Stage5.R.Transparency = 1 folder.Stage5.R.CanCollide = false folder.Stage6.L.Transparency = 0 folder.Stage6.L.CanCollide = true folder.Stage6.R.Transparency = 0 folder.Stage6.R.CanCollide = true wait(0.1) folder.Stage6.L.Transparency = 1 folder.Stage6.L.CanCollide = false folder.Stage6.R.Transparency = 1 folder.Stage6.R.CanCollide = false folder.Stage7.L.Transparency = 0 folder.Stage7.L.CanCollide = true folder.Stage7.R.Transparency = 0 folder.Stage7.R.CanCollide = true wait(0.1) folder.Stage7.L.Transparency = 1 folder.Stage7.L.CanCollide = false folder.Stage7.R.Transparency = 1 folder.Stage7.R.CanCollide = false folder.Stage8.L.Transparency = 0 folder.Stage8.L.CanCollide = true folder.Stage8.R.Transparency = 0 folder.Stage8.R.CanCollide = true wait(0.1) folder.Stage8.L.Transparency = 1 folder.Stage8.L.CanCollide = false folder.Stage8.R.Transparency = 1 folder.Stage8.R.CanCollide = false folder.Stage9.L.Transparency = 0 folder.Stage9.L.CanCollide = true folder.Stage9.R.Transparency = 0 folder.Stage9.R.CanCollide = true wait(0.1) folder.Stage9.L.Transparency = 1 folder.Stage9.L.CanCollide = false folder.Stage9.R.Transparency = 1 folder.Stage9.R.CanCollide = false folder.Stage10.L.Transparency = 0 folder.Stage10.L.CanCollide = true folder.Stage10.R.Transparency = 0 folder.Stage10.R.CanCollide = true end script.Parent.ClickDetector.MouseClick:connect(onClicked)