Add transparency lua code to BRF

Add transparency lua code to BRF