so the way i would structure the .new function in my module scripts changed. except I came into a problem
function toolSystem.new(gui)
local newToolSystem = setmetatable({
gui = gui,
tools = {
"unequipped"
},
selectedTool = tools[1]
}, toolSystem)
return newToolSystem
end
the tools[1]
is underlined orange which im assuming means that, that wont work. how can i do this?