This isn't doing anything to the Gui, but it prints.

local Box = script.Parent.Box
local Indicator = script.Parent.Indicator

while true do
wait(1)
Indicator.Size = Indicator.Size + UDim2.new{0, 10},{0, 0}
print("larger")
end

2 comments

0

You are using incorrect syntax. UDim2.new uses parentheses, not curly brackets.

0

Thanks.