Type doesn't return variables. Type only tells you what type of data the variable is, a string, number, or a table.
If you pass it a integer in both experience or prestige, it's going to tell you its an integer. That's it.
I'm having trouble discerning the information you are wanting.
If you're wanting to determine what an integer is (Experience level or Prestige level), the easiest way (IMO) would be to use two different integer ranges.
Say, Both experience and prestige are levels 0-10.
Then in your functions, Experience could be 0-10. Prestige could be 100-110.
When wanting to check which is which in a single function, (if x-100 =>0) then it's Prestige.
All your functions related to setting prestige could easily add/subtract 100 if you wanted to keep input for end users easy/to the 1-10 range for both.