Police have warned there will be a dispersal order in several Wrexham towns after they was blighted by anti-social behaviour.