Cant move Union block using tween serivce

I am trying to Tween a union to a position, however everytime I do so this happens:
image

Here is my code for a button that is supposed to trigger it:

local TS = game:GetService("TweenService")

local info = TweenInfo.new(
	5,
	Enum.EasingStyle.Sine,
	Enum.EasingDirection.In,
	0,
	true,
	2
)
local a = TS:Create(workspace.TsunamiWave, info, workspace.endd.Position)

script.Parent.Touched:Connect(function()
	a:Play()
end)
local TS = game:GetService("TweenService")

local info = TweenInfo.new(
	5,
	Enum.EasingStyle.Sine,
	Enum.EasingDirection.In,
	0,
	true,
	2
)
local a = TS:Create(workspace.TsunamiWave, info, {Position = workspace.endd.Position)

script.Parent.Touched:Connect(function()
	a:Play()
end)
1 Like