I want to make a frame that loads to stop at a specific position. When it reaches that position, I want it to wait 3 secs and then destroy the frames (there are 2 frames. 1 is named scroll and another is named backscroll).
In the output it says "then" expected near "=".
for i = 0,100,1 do
script.Parent.Scroll.Size = UDim2.new(0, i*16, 0, 40)
wait(math.random(0.08,0.80))
end
if script.Parent.Scroll.Size = UDim2.new(0, 400, 0, 40) then
wait (3)
script.Parent.Scroll.Size:Destroy()
end

8 comments
Why are you asking the same question so many times? ;-;
ITs not the same question......
if you read the last one, you would know. also this is entirely different script
Please make your question title relevant to your question content. It should be a one-sentence summary in question form. This is your final warning about this.
Why did I get a downvote? My answer answered his question, at the very least it did before he edited it.
what do you mean? How the heck am I supposed to ELABORATE on a question With 1 SENTENCE?
Make it more relevant to the question, Not just "Why isn't this working". Something like "How to make a GUI stop at specific position" Would give people more info on the question from just the title..
FINE! I FIXED IT HAPPY NOW???!!!!