Pretty straight forward. How does one get a value from a table based on a named index?
(e.g. {[“Car”] = 10, [“Truck”] = 50}. I want to get the value from using the string “Truck”).
LoadedAnimations[Tool.Name] = {Equip = EquipAnimTrack, Idle = IdleAnimTrack}
-- (should be: '["Gun"] = {Equip = EquipAnimTrack, Idle = IdleAnimTrack})
local ToolAnimations = table.find(LoadedAnimations, Tool.Name)
-- I want to find the value based on the index name thing (["Gun"]) from the previous table