Can you scale model with tween

there is a property in models called “Scale”
i know that you can do model:ScaleTo()
but can you make it with TweenService?

i donot think you can scale a model with tween service
but you can use model:ScaleTo() in a loop

#help-and-feedback:scripting-support

Same not sure if you can, I don’t really think about that. But you should try, see if you can.

models have no Size/Scale property so that isn’t possible
you either call model:ScaleTo() in a loop or loop through all the model children’s and tween them which is less performance ig

-- example 1
while true do
	model:ScaleTo(model:GetScale() * 1.1)
	task.wait()
end

-- example 2 (this is worse than example 1)
for _,i in model:GetChildren() do
	if i:IsA("BasePart") then
			TweenService:Create(i, 
				TweenInfo.new(4, Enum.EasingStyle.Sine, Enum.EasingDirection.In),
				{Size = i.Size * 2}
			):Play()
		
	end
end

-- example 3 (the most smooth one)
RunService.Heartbeat:Connect(function()
	model:ScaleTo(model:GetScale() * 1.05)
end)
2 Likes