the town is yours, all the buildings, the land etc are yours and you can make your own laws
it might be that you will be limited by your state and if you want to have the services afforded a town in your state there may be a number of hoops you will leap thru
there was a town outside Laramie, Wyo that was for sale, did sell, some people from Asia bought it, it is primarily a tourist town with a few amenities for tourists
there isn't much around it other than pristine landscape but tourists stop anyway
there is also a town for sale I believe in South Dakota(maybe it is North)
It is the same as any other real estate. You pay taxes to the state and county and such- and if anyone is renting any of the buildings then you collect the rent and make the payments. You are only buying the real estate. If the property owners are required to partially pay or totally pay for road repairs and such then you would owe that.
You are responsible for government, taxes, infrastructure (roads, schools, utilities, amenities), government, and laws (that still must adhere to federal, state, and county statutes).
Things like this are incredibly rare and are usually publicity stunts.
it is hell when your worst neighbor is elected "mayor".
What are the pros and cons of buying a town? What are the responsibilities?