Trying to get Enum.KeyCode.LeftAlt from the number 308, which is the value of the keycode. Is there any way I can do this?
EDIT: Found a temporary way to do this
local num = 308
for i,v in pairs(Enum.KeyCode:GetEnumItems()) do
if v.Value == num then
print("Found! Name: " .. v.Name)
end
end

3 comments
like the name of the key?
There is probs a way but idk how
Arsubia12 yeah, like I use some sort of function that passes 308 as an argument, and I want to get "LeftAlt" from it