How to stop rig moving away from HumanoidRootPart

(view from server)
image
Code that I’m pretty sure is doing this.
(local script in starterCharacterScripts)

function bounce(a,aa)
	rootPart.AssemblyLinearVelocity = aa * a
end

----enemy result is just a normal raycast
if enemy_result then
		if enemy_result.Instance.Name == "Spring" then
			script.Sound:Play()
			bounce(130,enemy_result.Instance.CFrame.UpVector)
		end
	end

on the local view everything looks fine but to other players you are completely detached from your HumanoidRootPart.

Since it’s a custom character, make sure the RootPart is properly attached to the model.

I know it’s better to simulate physics on the client but maybe try firing a RemoteEvent.