I am making a gui where the size of the frame changes as the size of the block changes. How would I get the size of a block, and only the x and z?
frame= Instance.new('Frame')
frame = script.Parent.Size.X * 2
frame = script.Parent.Size.Z * 2
please help!!! Thank you!!!
[EDIT] I realized that ******.X or Z isn't possible, is there a way to just get the first number and the third number?

1 comment
Actually, it is possible. You just need to use UDim2 values. Also, you can scale the frame instead of getting the size, since it's much easier.