This local script is in starter character.
local Char = script.Parent
for _,v in pairs(Char:GetChildren())do
if v:IsA("BasePart") then
v.Touched:Connect(function()
if Char.UpperTorso.Velocity.Y <= -100 then
Char:FindFirstChild("Humanoid").Health = 0
end
end)
end
end
How do I check if that velocity suddenly changes to 0 (as in the person has stopped falling)?

5 comments
I'll be back in 10 min. to check any comments
Won't be here till 3:50 p.m. Eastern Time
this is a bad idea because of floating point errors and you only check once.
Funny that vel is never defined...so why do you even have it in the script?
Oh, i was going to use it but the final product of the script didn't need it and I forgot to delete it