Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Frame Size not changing?

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

2 answers

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

1 comment

0

Yeah, use a <=. Just edit it.

Are you trying to animate your gui?

If you are, try using Frame:TweenPosition()

1 comment

0

Nope, I want the frame to become bigger.

This discussion is preserved as it was. New answers, comments, and votes are closed.