Trying to + a tween

Here is the updated script:

local tween = game:GetService("TweenService")

local tweenifo = TweenInfo.new(
		2, -- Time
		Enum.EasingStyle.Linear, -- EasingStyle
		Enum.EasingDirection.Out, -- EasingDirection
		-1, -- RepeatCount (when less than zero the tween will loop indefinitely)
		true, -- Reverses (tween will reverse once reaching it's goal)
		0 -- DelayTime
)


local tw = tween:Create(script.Parent,tweenifo, {script.Parent.Position + Vector3.new(12,12,12)})

tw:Play()
1 Like