function constructor.GetSelf(self: constructor)
local lowerText = self.Objectif:lower():: string
local splitText = lowerText:split(" ")
if splitText[1] == "kill" then
print(`you objectif is a kill {splitText[2]}`)
elseif splitText[1] == "found" then
print(`you objectif is a found {splitText[2]}`)
end
end
``` I did like it I don’t know if it’s okay
1 Like