function Functions.CreateModelTween(W,T,X)local Q=Instance.new("\067\070\114\097\109\101\086\097\108\117\101")Q.Value=W.PrimaryPart.CFrame Q.Changed:Connect(function(T)W:SetPrimaryPartCFrame(T)end)local t=TweenService:Create(Q,T,X)t:Play()t.Completed:Wait()end

function Functions.CreateModelTween(Model, TweenInformation, Goal)
	local CFrameValue = Instance.new("CFrameValue")
	CFrameValue.Value = Model.PrimaryPart.CFrame
	
	CFrameValue.Changed:Connect(function(Value)
		Model:SetPrimaryPartCFrame(Value)
	end)
	
	local Tween = TweenService:Create(CFrameValue, TweenInformation, Goal)
	Tween:Play()
	Tween.Completed:Wait()
end
