Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am trying to make a collect action. Help?

Asked by 8 years ago

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

0
Any errors? What is wrong with the script? Shawnyg 4330 — 8y
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 User#9949 0 — 8y

Answer this question