In studio in any place with team create, you can set Players.BanningEnabled to false and it will behave as expected, BanAsync() will not work. However, when the place is published, the published place has Players.BanningEnabled set to true. Furthermore, reopening to place will also result in Players.BanningEnabled being set back to true.
This bug does not occur in non team create and locally saved places.
Repro for in-game behavior:
- Open any place that has team create and set Players.BanningEnabled to false
- Publish the place
- Join the place and use Players:BanAsync to ban yourself
- It will ban you instead of throwing an error
Repro for studio behavior:
- Open any place that has team create and set Players.BanningEnabled to false
- Save or publish the place
- Close and reopen the same place
- Players.BanningEnabled will be true again