Tween is not allowing my script to go through

So I have this tween

wait(6)
								coroutine.wrap(function()
									game:GetService("TweenService"):Create(script.Parent,TweenInfo.new(2,Enum.EasingStyle.Quad),{Position=Vector3.new(script.Parent.Position.X,script.Parent.Position.Y,-325.25)}):Play()
									print('jarhe')
									game:GetService("TweenService"):Create(script.Parent.Parent.Right,TweenInfo.new(2,Enum.EasingStyle.Quad),{Position=Vector3.new(script.Parent.Parent.Right.X,script.Parent.Parent.Right.Y,-325.25)}):Play()
								end)()
								print('jaree')
								wait(2)
								print('jaree')

It’s supposed to print jaree as soon as I see that tween happen but instead only 1 tween in that coroutine happens, and then it doesn’t do the other tween. It prints jarhe but nothing after that.
This is critical lua error. Not my erorr.

What’s the coroutine there for? Playing tweens already run in a new thread. Because of this, you’re also playing both of your tweens at once.

i din’t understood this script alot but , i just got a random script i use alot on my games, i din’t used TweenService on this, because i feel like CFrame:Lerp is a bit more smooth and clean

local part1 =  "YourPartPathHere"
local part2 = "YourPartPathHere"

		for i = 0,1,.01 do
			wait()
			part1.CFrame = part1.CFrame:Lerp(part2.CFrame, i)
print("jaree")
		end

In this line, you forgot to add the Position property before using the axes. Your new line will look like

game:GetService("TweenService"):Create(script.Parent.Parent.Right,TweenInfo.new(2,Enum.EasingStyle.Quad),{Position=Vector3.new(script.Parent.Parent.Right.Position.X,script.Parent.Parent.Right.Position.Y,-325.25)}):Play()

And also here you might have added extra parentheses. Delete it.