I am trying to make a racing game where you sometimes go upside down but when I try to move the workspace with a local script it will not find Origin in the workspace because it thinks it is trying to look for a child of workspace. I want to make it rotate like the video below:
I’d love it if anyone can help me. Here is the script I am trying to change the Origin:
while true do
script.Parent:WaitForChild("CarModel")
if script.Parent.CarModel.Value then
workspace.Origin = script.Parent.CarModel.Value.PrimaryPart.CFrame
else
workspace.Origin = CFrame.new()
wait(1)
end
wait()
end