A script that changes a model collision and transparency when a button is clicked and anchors the vehicle

i’m trying to make a vehicle that basically has a part that is upper, once it stops the player can click a button that should anchor the vehicle, and change the transparency and collision of the parts,

uploaded an image to show how is the part, the part called up, is 0 at the start, and when clicked 1, without collisions, the part called down transparency 0 and with collisions.