I don't know how you would detect if state has been interrupted and after a second it would say if it got interrupted.
The script looks like this: local animation = script.Parent.Freefall
local humanoid = script.Parent.Parent.Parent.Humanoid
local character = humanoid.Parent
humanoid.FreeFalling:Connect(function()
wait(1)
if character:FindFirstChild("Rope") == nil then
humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)
humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)
local ActiveTracks = humanoid:GetPlayingAnimationTracks()
for _,v in pairs(ActiveTracks) do
v:Stop()
end
local load = humanoid:LoadAnimation(animation)
character.Animate.Disabled = true
load:Play()
humanoid.GettingUp:Connect(function()
load:Stop()
character.Animate.Disabled = false
end)
end
end)
