How do i make a function happen with a number between 10 - 99, Instead of > 99?

Hello, how would i make this script print something out if they fall from anywhere between 10- 99?


hum.StateChanged:Connect(function(oldState, newState)
	if newState == Enum.HumanoidStateType.Landed then
		local fallVelocity = -root.Velocity.Y
		if fallVelocity > 40 then
			print("Ragdoll")
		end
	end
end)

I’m guessing you mean fallVelocity:

if fallVelocity >= 10 or fallVelocity <= 99 then

This will check if the velocity is bigger or equal to 10 and if it’s smaller or equal to 99.

hum.StateChanged:Connect(function(oldState, newState)
	if newState == Enum.HumanoidStateType.Landed then
		local fallVelocity = -root.Velocity.Y
		if fallVelocity > 40 and fallVelocity < 90 then -- greater than 40 and lesser than 90
			print("Ragdoll")
		end
	end
end)