Attempting to make a loading screen, but it's not changing the size?
size = 2
repeat
wait()
if size >= 591 then
script.Parent.Size = UDim2.new(0, size, 0, 30)
size = size + 1
wait(1)
end
until size == 591
Attempting to make a loading screen, but it's not changing the size?
size = 2
repeat
wait()
if size >= 591 then
script.Parent.Size = UDim2.new(0, size, 0, 30)
size = size + 1
wait(1)
end
until size == 591
I realized I was using the wrong symbol in line 4.
For those still reading this, a better way to do this would be by using TweenService
Are you trying to animate your gui?
If you are, try using Frame:TweenPosition()
Nope, I want the frame to become bigger.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Yeah, use a <=. Just edit it.