local classes = {
{"Flanker", {}} -- The table in the array would hold the attributes you want
}
-- To reference it do this
local function GetClass(class: string)
for _, v in classes do
if v[1] == class then
return v -- or return whatever you want
end
end
end
local class = GetClass("Flanker")
print(class[1], class[2]) -- Output: Flanker {}
If you are setting metatables the intellisense should give you the prompts, but personally I have found this patchy for variables, only providing the prompt if I had used it before, but is better for methods.