Lua Error

Hi.

I’ve got a LUA Error

local model = tostring(self.Entity.GetModel())

I need to know if they are using a male model
if string.find(model, “male” or “Male”, 1, false ) != nil then

self in this manner means LocalPlayer()

I’m trying to retrive the model name but it won’t work

[lua]if string.find(string.lower(LocalPlayer():GetModel()), “male” ) then[/lua]