I tested this before and it worked, but now one part of the script does not work! Here is the script(problems included):
function LoadAsset()
Box = script.Parent
Frame = script.Parent.Parent
if Box.Text == "Loading Assets" then -- from here
wait(0.2)
Box.Text = "Loading Assets."
end
if Box.Text == "Loading Assets." then
wait(0.2)
Box.Text = "Loading Assets.."
end
if Box.Text == "Loading Assets.." then
wait(0.2)
Box.Text = "Loading Assets..."
end
if Box.Text == "Loading Assets..." then
wait(0.2)
Box.Text = "Loading Assets" -- till here does not work!
end
function End() -- the rest works fine
Frame.Visible = false
end
while wait(10)do
End()
end
end
while true do
LoadAsset()
end
As you can see the broken bit is making a text loop repeating it again and again. during early testing it worked, but no it does not!

1 comment
ok