My tween doesn't work when I test in character play mode? [SOLVED]

[Edit: I raised the brick slightly off the ground and now it works, seems like it was welded to the ground and for some reason only did that in test player mode]

So this code works if I click run with no player. But when I spawn in as a player, the tween doesn’t run. It’s in a server script.

local TweenService = game:GetService("TweenService")

local part = script.Parent

task.wait(4)

print("tweening")

local Info = TweenInfo.new(

8, -- Length

Enum.EasingStyle.Sine, -- Easing Style

Enum.EasingDirection.Out, -- Easing Direction

8, -- Times repeated

true, -- Reverse

0 -- Delay

)

local Goals =

{

Position = Vector3.new(-185.489, 16.828, -47.193),

}

local tween = TweenService:Create(part,Info,Goals)

tween:Play()

---185.489, 16.828, -47.193

Try this:

local Info = TweenInfo.new(
8,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
8,
true
)

TweenService:Create(part, Info, {Position = Vector3.new(-185.489, 16.828, -47.193)}):Play()