So basically I have a script where you click on a plank and it falls down, makes a noise, and then dissappears but then, I get an error stating that ClickDetector is not a member or ClickDetector I checked my script and tried to find a fix but I could just not do it. Anything that could help?
local PlankBreak = script.Parent.ClickDetector
script.Parent.Parent.Anchored = false
Your script is inside the ClickDetector. Instead of using 'script.Parent.ClickDetector', use 'script.Parent'.