I want to make a script that makes a txt button like grow in size (horizontally) and then stop at a specific spot. I also want it to say loading on it when the bar finished growing. I want it to load in this direction --------->... Can someone help me rewrite this? the size of the text box is {0, 0},{0, 110} (it is 0 because I want it to load. and it will grow once the script is right). The position is {0, 10},{0, 540}. script of what I have so far:
local h = script.Parent
local xSize = 1
local speed = 0.0025
while true do
xSize = xSize - speed
h.Size = UDim2.new(xSize, 0, 0, 0)
if xSize < -0.1 then
xSize = 1
end
wait()
while true do
function Load()
local h = script.Parent
wait (1)
h.Text = "Loading Map."
wait (.5)
h.Text = "Loading Map.."
wait (.5)
h.Text = "Loading Map..."
wait (1)
h.Text = "Loading Map."
wait (.5)
h.Text = "Loading Map.."
wait (.5)
h.Text = "Loading Map..."
wait (1)
h.Text = "Loading Map."
wait (.5)
h.Text = "Loading Map.."
wait (.5)
h.Text = "Loading Map..."
wait (1)
h.Text = "Loading Map."
wait (.5)
h.Text = "Loading Map.."
wait (.5)
h.Text = "Loading Map..."
end
Load()

1 comment
Please stop re-posting the same Question over and over again just to get an Answer! Be patient!