This code actually won’t work for a full model.
Based off of the code you have before,
local TweenService = game:GetService("TweenService")
local model = workspace.Taxi
local timeToMove = 4.5 -- Adjust this number to the speed (less = faster, more = slower)
local info = TweenInfo.new(timeToMove)
local function tweenModel(model, CF)
local CFrameValue = Instance.new("CFrameValue")
CFrameValue.Value = model:GetPrimaryPartCFrame()
CFrameValue:GetPropertyChangedSignal("Value"):Connect(function()
model:SetPrimaryPartCFrame(CFrameValue.Value)
end)
local tween = TweenService:Create(CFrameValue, info, {Value = CF})
tween:Play()
tween.Completed:Connect(function()
CFrameValue:Destroy()
end)
end
while true do
tweenModel(model, CFrame.new(-335.404, 2.069, 206.151)*CFrame.Angles(0,math.rad(model.PrimaryPart.Orientation.Y),0))
wait(timeToMove+0.5)
end
Tell me if this works
Make sure you replace the whole script you just did with this, no need to adjust anything but the value of timeToMove
.
Edit: Use the script I just edited. Also, set the PrimaryPart of the model to the “Cab Sign”.