local T=TweenInfo.new(loopTimeA,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,-1,true,0)local E=TweenInfo.new(loopTimeB,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,-1,true,0)local i=attachmentA.Position+Vector3.new(.0,1000.0,.0)local C=attachmentB.Position+Vector3.new(.0,1000.0,.0)local W=TweenService:Create(attachmentA,T,{Position=i})local r=TweenService:Create(attachmentB,E,{Position=C})W:Play()r:Play()


local tweenInfoA = TweenInfo.new(
	loopTimeA, -- Time
	Enum.EasingStyle.Quad, -- 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 tweenInfoB = TweenInfo.new(
	loopTimeB, -- Time
	Enum.EasingStyle.Quad, -- 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 targetPosA = attachmentA.Position + Vector3.new(0.0, 1000.0, 0.0)
local targetPosB = attachmentB.Position + Vector3.new(0.0, 1000.0, 0.0)
local tweenA = TweenService:Create(attachmentA, tweenInfoA, {Position = targetPosA})
local tweenB = TweenService:Create(attachmentB, tweenInfoB, {Position = targetPosB})
tweenA:Play()
tweenB:Play()
