I want to make a growing frame. I want the frame to stop but it doesn't. What is wrong?
for i = 0,100,1 do
script.Parent.Scroll.Size = UDim2.new(0, i*20, 0, 75)
wait(math.random(0.08,0.80))
end
if script.Parent.Scroll.Size == UDim2.new(0, 750, 0, 75) then do
script.Parent.Scroll:Destroy()
end
end

2 comments
it doesnt make much of a difference. I already tried what you said and it doesnt work.