script.Parent.Position.X.Scale = script.Parent.Position.X.Scale - .01
It says I cannot set the scale. I'm not quite sure why not.
script.Parent.Position.X.Scale = script.Parent.Position.X.Scale - .01
It says I cannot set the scale. I'm not quite sure why not.
You can only set the top-level element of a complex property, not the individual components.
script.Parent.Position = UDim2.new(script.Parent.X.Scale - .01, script.Parent.X.Offset, script.Parent.Y.Scale, script.Parent.Y.Offset)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Oh so basicly, I can't just change the X.Scale I have to set the offset also?
You have to set all four at once, ROBLOX doesn't allow you to set individual components directly.
Thank you I got it too work. If you want to check it out its my only active place. Its the +1 numbers floating up.