local i=false local D=TweenInfo.new(tweenTime,easingStyle,easingDirection,repeats,reverse,delayTime)local function m(i,m)local I=Instance.new("\067\070\114\097\109\101\086\097\108\117\101")I.Value=i:GetPrimaryPartCFrame();(I:GetPropertyChangedSignal("\086\097\108\117\101")):Connect(function()i:SetPrimaryPartCFrame(I.Value)end)local e=tweenService:Create(I,D,{Value=m})e:Play()e.Completed:Connect(function()I:Destroy()script.Disabled=true end)end wait(0)m(Model,goal1.CFrame)

local deb = false
local info = TweenInfo.new(tweenTime, easingStyle, easingDirection, repeats, reverse, delayTime)
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()
		script.Disabled=true
	end)
end
wait(0)
tweenModel(Model, goal1.CFrame)
