Player fall slower after touching part?

Hello! I am trying to make the player fall slower after touching a part, I tried this with using BodyVelocity but I don’t notice a change in the falling speed, here is the script:

script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		if not hit.Parent:FindFirstChild("Fall") and not hit.Parent:FindFirstChild("Gravity") then 
			local animation = Instance.new("Animation")
			animation.AnimationId = "rbxassetid://6404521916"
			animation.Name = "Fall"
			animation.Parent = hit.Parent
			local track = hit.Parent.Humanoid:LoadAnimation(animation)
			track:Play()
			
			local gravity = Instance.new("BodyVelocity")
			gravity.Name = "Gravity"
			gravity.P = 10000
			gravity.MaxForce = Vector3.new(0,100000,0)
			gravity.Parent = hit.Parent
		end
	end
end)

The Fall animation is made to show load an animation of the player falling on the character, and Gravity isn’t doing anything, this script is inside of the part that the player touches. Could anyone help?

Thanks for reading!

2 Likes

What happens is that you are putting Body Velocity on the model itself, what you have to do is put it in one of the parts of the model and seriously do not put it so high (in my opinion I would put it like that) but it depends on how much gravity you want

local gravity = Instance.new("BodyVelocity")
		gravity.Name = "Gravity"
		gravity.P = 100
		gravity.MaxForce = Vector3.new(0,5250,0)
		gravity.Parent = hit.Parent.UpperTorso
6 Likes

Ohh okay. Thank you, it works!

1 Like