Hi, I'm making a script to extend a frame. You shouldn't have to know why, but it extends to a point, then another GUI will be uncovered.
Anywho:
extend = game.StarterGui.MenuGuis.Frame.Donate.ExtenderFrame
function Extender()
extend.Size = UDim2.new(0,0,0,10)
wait(0.05)
extend.Size = UDim2.new(0,1,0,10)
wait(0.05)
extend.Size = UDim2.new(0,2,0,10)
wait(0.05)
extend.Size = UDim2.new(0,3,0,10)
wait(0.05)
extend.Size = UDim2.new(0,4,0,10)
wait(0.05)
extend.Size = UDim2.new(0,5,0,10)
wait(0.05)
extend.Size = UDim2.new(0,6,0,10)
wait(0.05)
extend.Size = UDim2.new(0,7,0,10)
end
script.Parent.MouseButton1Down:connect(Extender)

4 comments
And yes, I've tried making it local and global ( the variable )
Capitalize the word Size each time.
I've tried that, and it still does not work.
Now the script isn't even running....