Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I tween a model?

So I tried to make an elvator, I have welded all the parts together with WeldConstraints. And the primarypart is Floor

Code:

local TS = game:GetService("TweenService")
local part = script.Parent:WaitForChild("Floor")
local tweenInfo = TweenInfo.new(
	5,
	Enum.EasingStyle.Quint,
	Enum.EasingDirection.Out,
	-1,
	true,
	3
)
local goal = {CFrame = CFrame.new(17, 19.5, 18.5)}

local tween = TS:Create(part, tweenInfo, goal)

tween:Play()

Nothing in output.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.