I have no idea how to even start this, but I’m trying to get a restricted moving machine gun. similar to the ones in the call of duty series that are already positioned.
It’s just the same as any other “weapon”, only thing it can’t be moved. So, make a script for shooting, rotating, anything you want, and then make it “useable” by the player(for example, if the player is in range, and if the “use” button had been pressed, place the camera behind the gun(or switch to the gun’s camera if you prefer that), deactivate the player, and activate the gun’s scripts. After pressing the use button again, reverse the process.)