How can I determine the user operating system and device?

This thread is from 2016 but AFAIK nothing has changed about UserInputService. The consensus is still that you don’t need the device platform. You should be adjusting your interface based on screen size and input type.