Bounce Pad Stops Player's Movement Temporarily for Unknown Reason

The video shows the problem. The purple parts are bounce pads.

Code:


bouncePad.Touched:Connect(function(touch)
	local char = touch.Parent
	
	if game.Players:GetPlayerFromCharacter(char) and char:FindFirstChild("HumanoidRootPart") and not char:FindFirstChild("HumanoidRootPart"):FindFirstChild("BodyVelocity") then
		
		local bodyVelocity = Instance.new("BodyVelocity")
		bodyVelocity.Velocity = Vector3.new(0, 60, 0)
		bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
		bodyVelocity.P = math.huge
		bodyVelocity.Parent = char.HumanoidRootPart

		wait(0.3)

		bodyVelocity:Destroy()		
	end
end)

change MaxForce to something like Vector3.zero ?

1 Like