Help on CFrame roation

So recently I designed this bad boy with attempts to make it rotate and face anyone it sees not in group (on the X axis) But I ran into some problems,

The problems are that I put everything into models to keep it nice and tidy but now realised I somehow need to get CFrame of the entire model rather than parts inside the other models I never used CFrame on models so pls help

the bad boy

image The models inside the turret

Set A Primary Part and change the CFrame of that

How to set CFrame part as I never set them before I just used parts CFrame to rotate it

Click on the model and view the properties tab, look for PrimaryPart and select the part you wish to use.

But thing is I want to use whole model

moving the primary part would move the whole model

Here, this is probably what you need → Model | Documentation - Roblox Creator Hub

you can set primarypartcframe as so

script.Parent:SetPrimaryPartCFrame(CFrame.new(whatever))

but you’ll have to set the primary part first