https://gyazo.com/20bb456a0fc6e31ddf17c91fdc9e5a8c

https://gyazo.com/300bd91631134d4708d8500d2bb4342a

this is my mobile gun system im trying to make, it has a 75mm auto cannon. How do I script a working turret and gun? I have like zero experience scripting.