Read velocity of plane and just set pitch

How to read airspeed of plane and set airspeed?!
How to set only pitch for plane and not other attitude angle With LUA?!
I’m confusing