Hey there, I was working with making a UI loading screen when the text should move, but when I did it, the text was not moving. Here is all the code:
local LoadingGui = script.Parent.Parent.Parent:WaitForChild("LoadingGui") local LoadingFrame = script.Parent.Parent:WaitForChild("LoadingFrame") local LoadingText = script.Parent:WaitForChild("LoadingText") while true do LoadingText.Text = "Loading." wait(1) LoadingText.Text = "Loading.." wait(1) LoadingText.Text = "Loading..." wait(1) LoadingText.Text = "Loading" end wait(10) LoadingGui:Destroy
I don't know why it did not work, but help would be highly appreciated.
Thank you!
At line 17, use Destroy() not just Destroy or else it won't work
It would be good to use ~~~~~~~~~~~~~~~~~ while wait(1) do ~~~~~~~~~~~~~~~~~ in line 5
if it still doesn't work, send any error messages you had