Is there a good way to make a controllable turret?

I’m trying to make a naval game with ships, but i can’t get the turrets to work. Can anybody send me any tutorials or help me with this?

I tried making this turret but it will not move in the slightest.


This maybe a good tutorial

I’ve already tried that tutorial, the scripting is too disorganised and i just can’t implement the script into the turret im trying to make for my ship.