Your sentences imply that the two actions happen at the same time, which are not logical.
Obviously he had to see where his target is first as he entered the room, before he started pointing his gun.
To state that one action happened after another, you can say that:
He came into the room and pointed his gun at me.
not a teacher