
@name Jumper
@persist Entity:entity Strength Height [OldPos NewPos Force Vector]:vector   

if (first()) {
    runOnTick(1)
    Entity = entity()
    
    Strength = 5
    Height = 250
    
    Entity:setMass(Strength)   
}

OldPos = Entity:pos()
NewPos = owner():pos()
Force = NewPos - OldPos
Vector = (Force + $Force)* Height
Entity:applyForce(Vector)
