Weld not moving with part when moved on server, but is working on client-side

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want a part to move with a hinge part.

  2. What is the issue? Include screenshots / videos if possible!
    It works fine on client-side, but not on server side although the part it’s welded to moves on the server

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Messing with weld constraints and such, still no response on the server.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

(video of the thing working on client but not server.)

code for the turning, works fine, reference just in case.

script.TurnStarted.OnServerEvent:Connect(function(p_yor,direction)
			if direction == "up" then
				if UDAmount + 1 ~= TurnVariables.UpLimit then
					UDAmount = UDAmount + 1
				end
				TS:Create(Hinge,TweenInfo.new(TurnVariables.TurnSpeed),{Rotation = Vector3.new(UDAmount,LRAmount,0)}):Play()
			elseif direction == "down" then
				if UDAmount - 1 ~= -TurnVariables.DownLimit then
					UDAmount = UDAmount - 1
				end
				TS:Create(Hinge,TweenInfo.new(TurnVariables.TurnSpeed),{Rotation = Vector3.new(UDAmount,LRAmount,0)}):Play()
			elseif direction == "left" then
				if LRAmount + 1 ~= TurnVariables.LeftLimit then
					LRAmount = LRAmount + 1
				end
				TS:Create(Hinge,TweenInfo.new(TurnVariables.TurnSpeed),{Rotation = Vector3.new(UDAmount,LRAmount,0)}):Play()
			elseif direction == "right" then
				if LRAmount - 1 ~= -TurnVariables.RightLimit then
					LRAmount = LRAmount - 1
				end
				TS:Create(Hinge,TweenInfo.new(TurnVariables.TurnSpeed),{Rotation = Vector3.new(UDAmount,LRAmount,0)}):Play()
			end
		end)