--Set the liftstop object Static no, physics no, Always Active yes, immobile=yes function lift_stop_init(e) end function lift_stop_main(e) if g_Entity[e]['y'] < g_PlayerPosY-20 and GetPlayerDistance(e) < 500 then if playerOnLiftMode =="up" then playerOnLiftMode = "stop" end end end