Using the following snippet can cause Roblox to either close (when ran on the client) or shutdown (when ran on the server)
game.UserInputService:ResetPropertyToDefault('MouseBehavior')
If I publish a game with the snippet in a Script with RunContext Client (like this)
Then the following occurs:
The same happens on the server. If I change the RunContext to Server, or run the snippet in the console, then the following happens:
Edit: I would like to clarify that this issue seems to affect the engine in a weird way because it almost immediately forces Roblox to close/shutdown no matter the side that the snippet is running on. In the video of me running it via command bar, there isn’t even a print message stating that I ran it. Replication updates also fully pause as you can see in the video.
System Info:
CPU: AMD Ryzen 7 7800X3D 8-Core Processor
RAM: 64 GB
GPU: NVIDIA GeForce RTX 4070