For 99% of applications, Werner's answer is good enough. But since Marienplatz has offered a bounty, there presumably is interest in other ways to do this. So here, I show it done with a stack over a null entry. My preamble definition (output on the second line) appears to give the exact same result as
\textsuperscript (output on the first line).
But then, I show how both the size of the script as well as the height of it can be simply changed with my stacking approach, shown in
\footnotesize (and lowered) in the 3rd line of output, and in
\tiny (and raised) in the last line.
While I stick just to the standard text font sizes, it would be trivial to instead use a
\scalebox to get exactly the size of script text desired.
If there is a desire to place the script, not at a fixed elevation, but relative to the height of the character being scripted, that is easy too (just ask).