Here’s the script that didn’t work:
while wait(0) do
if script.Parent.Humanoid.StateChanged and script.Parent.Humanoid:GetState() == 5 then
script.Parent.HumanoidRootPart:ApplyImpulse(Vector3.new(100000000000,0,0))
end
end
The force is extremely high because I wanted it to be more noticeable.