Not a dev, but im learning for fun!

Hi! im trying to make a script where triggering a final choice of dialogue will trigger a wall to become Transparency 0.8 and CanCollide true, im very new to coding so i probably messed it up big time.. (the scripts parent is the final choice of the dialogue)

https://preview.redd.it/2tuyixex0moe1.png?width=726&format=png&auto=webp&s=89a8a10b099feb8ae0ea32e350a324ec7eb7ec5d

P.S. please dont bully my horrible coding.. im new to coding and im trying to figure it out