xValue = 512 yValue = 100 zValue = 512 script.Parent.Size = Vector3("xValue,yValue,zValue")``
When inputting a new size, use:
script.Parent.Size = Vector3.new(xValue,yValue,zValue)
Also quotation marks are not needed around the values.