If you act like a creep again, I'll call the police.
Tips
usage
Literally 'to play (the role of) a hooligan'. The verb 耍 attaches to a role-noun (耍赖 'to play the rogue', 耍滑头 'to act slick'). 耍流氓 commonly carries a sexual-harassment connotation, not just generic rowdiness.
register
Casual/colloquial. In serious legal/news writing, 性骚扰 (xìng sāorǎo, 'sexual harassment') is the formal term.