South Carolina's only federally recognized tribe is heading to court to ask a judge to allow it to have gambling on its reservation in York County.