Ok, so I was making an error frame in ScreenGui number 1 in case that the car = nil and the localscript in ScreenGui number 2. Here is the code:
if not workspace.Car then
if game:GetService("UserInputService").TouchEnabled then
script.Parent.Parent.Parent.screen.Frame:TweenPosition(UDim2.new(0.216, 0,0.162, 0))
elseif game:GetService("UserInputService").KeyboardEnabled then
script.Parent.Parent.Parent.screen.Frame:TweenPosition(UDim2.new(0.344, 0,0.3, 0))
end
end
For some reason the output is Car is not a valid member of Workspace . Any help will be appreciated, thank you.

4 comments
Probably because there isnt a part/union/model named "Car"
I want to see how to see if the car is not existing in the workspace
If there is no object named "Car" (case and whitespace sensetive) in workspace, then that is why there is an error being thrown.
do findfirstchild on the car so that no error is being returned and then do if not car then