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