code till sell player before chat