How do I make a model disappear and reappear using ClickDetector? This is what I did on the first script, then the second script
function click()
script.Parent.Parent["Moving Office Chair"].Transparency = 0.8
script.Parent.Parent["Moving Office Chair"].CanCollide = false
script.Parent.ClickDetector.MouseClick:connect(click)
function click()
script.Parent.Parent["Moving Office Chair"].Transparency = 0
script.Parent.Parent["Moving Office Chair"].CanCollide = true
script.Parent.ClickDetector.MouseClick:connect(click)
I'm guessing it's the problem where ["Moving Office Chair"] is. Also, this is a model, not a part.

2 comments
Your title and content are contradictory. You are asking two different questions.
Thank you, I fixed it.