of     1   

expoundings
#190002193Sunday, May 29, 2016 6:38 PM GMT

error: Scale cannot be assigned to line it errored on: Item.Position.X.Scale = 0 and Item is defined the line before it like this: local Item = Lottery[math.random(1, #Lottery)]:Clone() and yes lottery is defined
daireb
#190002289Sunday, May 29, 2016 6:39 PM GMT

What is Item?
BanTech
#190002407Sunday, May 29, 2016 6:40 PM GMT

you can't set scale or offset individually. You need to use UDim2.new() for the property, e.g. Item.Position = UDim2.new(0, Item.Position.X.Offset, Item.Position.Y.Scale, Item.Position.Y.Offset) -- if you only want to change X scale
Isosta
#190002439Sunday, May 29, 2016 6:40 PM GMT

use UDim2
expoundings
#190002529Sunday, May 29, 2016 6:41 PM GMT

lol completely forgot about that, haven't worked with guis enough to remember that, thanks @ban
daireb
#190002611Sunday, May 29, 2016 6:42 PM GMT

Yeah, thought it was a guy element, wasn't sure though :P Thought maybe he'd gone mad and was setting a part's scale, whatever that would be lol

    of     1