Need Help with Dropper Minigame

Hello, I’m trying to create a dropper minigame. I want to slow down a player’s fall when they touch the script parent. This script works, but players can’t move while falling. Any advice would be helpful!

Thank you!

local part = script.Parent

part.Touched:Connect(function(otherpart)
	local hrp = otherpart.Parent:FindFirstChild("HumanoidRootPart")

	local bodyvelocity = hrp and hrp:FindFirstChildWhichIsA("BodyVelocity")
	if hrp and not bodyvelocity then
		local InstanceVelocity = Instance.new("BodyVelocity")
		InstanceVelocity.Velocity = Vector3.new(0, -25, 0)
		InstanceVelocity.MaxForce = Vector3.new(10000, 10000, 10000)
		InstanceVelocity.P = 5000
		InstanceVelocity.Parent = hrp
	end
end)

ok i fixed it with chagning maxforce from InstanceVelocity.MaxForce = Vector3.new(10000, 10000, 10000) to InstanceVelocity.MaxForce = Vector3.new(0, 10000, 0)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.