Aw man I love the Gorn! My favorite Star Trek alien!

Andrew, you're thinking of Creature from the Pit.

"The important question is not, are there aliens on other worlds? No. The important question is, do they have ray guns?"