Make a proper rotate system

Roblox studio has the option to rotate in world space and in local space.

I wrote a tutorial with some examples, hope they help: