1 2 3 4 5 6
function OnRequirePath(literal, raw) if type(literal) == 'string' then return literal end return raw:match '[^%.]+$' end