I am making a car park when its anchor and unanchor when the car not in park.

Add Part Called MainPart to your car body and add this script:
wait(.2)
if child.Name ~= "Rev" then
car.Body.MainPart.Anchored = true
end
to the end of Initialize script of you car (before “end)
”)
The only problem I have now is. When player leaves seats and drives car again the gui for the vecical wont show.
Sorry I forgot that part, add this code to script (you can see in photo)
car.Body.MainPart.Anchored = false
Could you explain a bit more about why this works (for others that will read this post)?
So basically, in the first part of my post when rev destroyed which means when car sound removed it anchors the vehicle
and in the other post, it unanchors vehicle before giving GUI
Sorry for another Confucian but now I see my GUI when in vehicle seat everything is fine but I can’t move forward or reverse. I could be my A-Chassis.
But that unanchors the part - it doesn’t make it non-CanCollide.
I never experienced something like that my vehicle moving normally when I sit again so I don’t know but I can help from discord if you want
Barocena#0001
Because this don’t looks right
Because you have to add this code to line 534 of initialize script check the photo I send
(we fixed at discord if you encounter the same problem, check your inspare plugins if there is some script that adds/removes sound to seat than add to if statement)
Example
if child.Name ~= "Rev" and child.Name ~= "Engine2" and child.Name ~= "Engine" then
That’s what I did.