I am new to coding although i am preatty good at gui coding. I want it so when a player joins the game it checks if they are in the group and if they are they recieve a flame of a random color.

Could someone explain how to make that?