Is there any way I could get the actual number from a key pressed ( specifically a number key 1 - 9 )
So, when you press 1, it returns 1
I've tried KeyCode.Name, but that returns a written out version, "One".
function QuickSwitch(Key)
local KeyName = Key.KeyCode.Name
print(KeyName) --returns "One"
end

3 comments
if you want more numbers (like... all the numbers..) leave a comment and I'll help you out :)
alright i changed the code a bit and using a pre-created dictionary kinda helped, my old method was returning nil from the array.
"returning nil from the array" if it was returning nil from the array I provided it may be because I capitalised the start of the numers because in your post you said it returned "One" not "one" so it could just be that simple :)