Hi guys! I made this code:
script.Parent.Size.X = UDim.new(1/4.5,0)
script.Parent.Size.Y = UDim.new(0,script.Parent.AbsoluteSize.X)
script.Parent.Position = UDim2.new(0,script.Parent.AbsoluteSize.X/2,0,1/45)
And I got this Output error:
00:41:16.160 - X cannot be assigned to 00:41:16.161 - Script 'Players.Player.PlayerGui.MenuGui.Frame.Frame.ImageLabel.LocalScript', Line 1 00:41:16.161 - Stack End
Why? What I wanted to do is that a gui is a scaled square (That means it shows up as a square on any screen size) and a tenth of it's size away from the parenting frame.

4 comments
When I ran this, the Y size didn't change.
Please post an explaination with your answer; simply posting code doesn't help the answer solve their question.
Asker* Brain farts are lethal.
The Y size is the object's X AbsoluteSize. If it didn't change that is your error. I put what you wanted to assign Y to.