What is wrong with my script? In my mind it should work, but it doesn’t. Here’s the problem message. Players.SilentSuprion.PlayerGui.LoadingGui.Frame.BackgroundFrame.IndicatorFrame.LocalScript:7: attempt to index boolean with ‘TweenSize’
Here’s my script line 7:
Indicator:TweenSize(UDim2.new(0,1,0))
2 Likes
Indicator is a boolean
not a GuiObject
. Secondly, that’s not how you use TweenSize
. UDim2s take 4 values (xScale, xOffset, yScale, yOffset).
2 Likes
Oh thanks so it would be UDim?
1 Like
If you’re talking GuiObjects, then UDim2.new() is what you use inside of those parameters.
Brief example:
Indicator:TweenSize(UDim2.new(1,0,1,0))
1 Like