In my tycoon I have a script which creates buttons for all the unowned items. The script clones a button model from ServerStorage and sets all of the stringvalues, intvalues, and so on, to be the values inside of the item that needs a button. Recently I asked a question about how to set the position of an object and someone said to use CFrames. So I went through and changed all of my scripts to assign position via CFrame. When I went into the game though, I quickly realized the my buttons were appearing like this: | and not like this: _ . I will note that the buttons were sticking out of the ground halfway. Is there any way to fix this and still use CFrames or should I just go back to Position for this particular instance? Thanks!
Note: If you need any additional information please ask for it in the comments below.

5 comments
The first example you gave is what I am doing. The second example you gave is what I was doing. Could you help me see how changing the orientation will make the button lie flat?
No wait your first example is close to what I am doing
I am getting the xyz values from a vector3 value and I am puting the Value of the vector3 value inside of CFrame.new
Do I need to put something in as the fourth parameter of CFrame? Or do I need to create a vector3, put the value inside of it, and then put that vector3 inside of CFrame?
If your button's orientation is 0,0,0 but it's still standing vertically, then the sizing of your button part is the problem. If you want to make a 4x4 button lie flat, the size should be (4, 1, 4). The Y-Axis should be the short one.