Object Moving the Player by it self

So i have unanchored part with an BodyVelocity i destroy it after that i anchored the part move the player
here a video to make it clear

please anything would be helpful

Maybe put a script inside the part to check if it is moving:


local moving = false

script.Parent.Changed:Connect(function(property)
	if property == "Anchored" then
		
		if moving == false then
			moving = true
			
			local AnchorCoroutine = coroutine.wrap(function()
				repeat task.wait(1) until script.Parent.Velocity.Magnitude <= 0.01
				script.Parent.Anchored = true
				moving = false
			end)
			AnchorCoroutine()
			
		end
	end
end)
1 Like

didnt work sadlly but i change the script so it doesnt anchored the part but it weld it and it works ty