How do I position objects within a ViewportFrame?

I have a weapon selection UI and I want to have all the guns shown inside the boxes so the players know which gun they are picking.
I know that you need to use viewport frames but I have been struggling for days trying to figure out how to get them all to be positioned correctly.
How can I have all guns be rotated the same way and fit inside the boxes?
UI is something like this:

Place each weapon model inside their respective ‘ViewportFrame’ and set their ‘Origin Positions’ to Vector3.new(0, 0, x), where x is some negative value between 0 and -10 (will differ depending on the weapon’s size).

If you need further assistance I’d be willing to make the changes to a copy of the place file.

1 Like