Make a sphere follow another sphere smoothly scripting problems

Hello!

I’m having problems with my script!
This is the first time posting, so it might not be perfect.

I want to make a sphere follow another sphere by preferably using “Tween Service” to move it smoothly.
I’m thriving to achieve a water drop to make a cartoon liquid that actually move like water and reacts to obstacles.

This is a recent script I tested, but it won’t work.

local Tweensevice = game:GetService(“TweenService”)

local Tweeninfo = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, 0,false,0)

local TweenToEnd = Tweensevice:Create(script.Parent, Tweeninfo, {Position = game.Workspace.EndPosition.Position})

while true do
TweenToEnd:Play()
TweenToEnd.Completed:Wait()
end

Thank you very much!

Try anchoring the ball if it isnt.

Id also recommend using mover constraints instead of tweens as tgeir better for interactive with physics

How do you mean it won’t work? Is it outputting an error?

Not really! The script works but not as i want it to. After the moving object (sphere) is in the end sphere it just stops following it.