Humanoid.Died:connect(onDied)Humanoid.Running:connect(onRunning)Humanoid.Jumping:connect(function(e)onState(e,sJumping)end)Humanoid.GettingUp:connect(function(e)onState(e,sGettingUp)end)Humanoid.FreeFalling:connect(function(e)onState(e,sFreeFalling)end)Humanoid.FallingDown:connect(function(e)onState(e,sFallingDown)end)
-- connect up

Humanoid.Died:connect(onDied)
Humanoid.Running:connect(onRunning)
Humanoid.Jumping:connect(function(state)
	onState(state, sJumping)
end)
Humanoid.GettingUp:connect(function(state)
	onState(state, sGettingUp)
end)
Humanoid.FreeFalling:connect(function(state)
	onState(state, sFreeFalling)
end)
Humanoid.FallingDown:connect(function(state)
	onState(state, sFallingDown)
end)
