Dude, have you ever done something yourself? Wiki waits "with hands wide open", if this is your first programming language then I'd suggest read documentation first: http://www.lua.org/
When you don't understand anything from that (just like my first time), take a rest, eat something (prefere sweets) and come back to it, that should help since sugar raise your concentration, you'll "pull" knowledge easier.
Take a look here and then here, what do you think setPlayerTeam or setTeamColor does? Isn't it self-explained? I think so.
Duuuudeeee i have done something my self as a matter of fact ive done the lua file. he just tellin me whats wrong in it and ye i looked at the wiki,and im still looking thru it now. I been reading on the lua website to and i asked him cuase i dont know how or what format them functions go in to. So i think you go eat some candy or sweets and chill out. Go eat a bigazz cake or something. Tma is helping me out with this im trying to understand how to make a gm.