Make a sentry (ENT)

Hello

I don’t know how I make a sentry with ENT.Type =“ai”.

I know which I can use npc_turret_floor with SetModel but I prefer make a complete turret with an ai wich hate players :P.

Can you help me or give me a tuto ?

Thank you

search on youtube, there are lots of tuts for u to watch, espcecially there is a “spinning-searching-killing” turret

Probably not for Lua though.

OP, this is out of your league. Don’t try it.

it is relativley simple to make a lua turret. Making the model turn ect is out of your league.