I inserted a Script in a baseplate in Workspace, added a reference to UserInputService, added an empty function “rotate” and “crash”, and did what you said in OP. I cannot reproduce the crash:
(click to view gif)
As you can see my Studio didn’t crash.
This means that your bug report isn’t specific enough, because I followed your steps and I did not see this bug. If you need help on what to put in your bug report, please see here:
https://devforum.roblox.com/t/steps-to-report-a-bug/24388
A full (minimal) repro would probably be appreciated here.