So I have the script that makes the GUI grow to fill the Empty XP Bar every 10 sec. I am trying to make a script so when you collect something it makes it grow bigger. Any edits to the script to help? Thanks! ****Original Script

waitTime = 5
for i = 0, 1, .1 do
  script.Parent.Size = UDim2.new(i,0,1,0)
  wait(waitTime)
  waitTime = waitTime + 5 --Waits five more seconds each time the script loops around
end

2 comments

0

Any errors? What is wrong with the script?

0

Nothing is wrong with this, he just doesn't specify what he needs help with. this question was my answer to a previous post of his: https://scriptinghelpers.org/questions/29816/how-would-you-make-the-gui-get-bigger-by-the-seconds-you-enter#33205