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)
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)