#How to turn off bounce after landing?

1 messages · Page 1 of 1 (latest)

agile wedge
hollow capeBOT
#

studio** You are now Level 3! **studio

agile wedge
#

Solved by this script:

local oldHeight = hrp.Position.Y

local moveMultiplier = 20

while task.wait() do
repeat task.wait() until hrp.Position.Y > oldHeight
repeat
local moveDirection = hum.MoveDirection.Unit

    local newForce = Vector3.new(moveDirection.X * moveMultiplier,
        hrp.AssemblyLinearVelocity.Y,
        moveDirection.Z * moveMultiplier)

    hrp.AssemblyLinearVelocity = newForce

    task.wait() 
until hrp.Position.Y <= oldHeight

local oldHeight = hrp.Position.Y

hrp.AssemblyLinearVelocity = Vector3.new(hrp.AssemblyLinearVelocity.X, 0, hrp.AssemblyLinearVelocity.Z)

end

polar folio
#

set elasticity on rig to 0 no need for this code