Making the player launch forward while in midair

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.

1 Like

fixed using Assistant because i misused the statechanged event

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.