Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a three-dot animation without using wait loops?

Hello, i wanted to make a three dot animation that goes loading... (. , .. , ...) without using

wait(1)
script.Parent.Text = "Loading .."

and , how could i do it without that? Thanks.

1 answer

You can try the Changed event, but it would be a dirty way of doing it.

local text = script.Parent.Text
text = "Loading."

script.Parent.Changed:Connect(function(p)
if p == text then
wait(1)
if text == "Loading." then
	text = "Loading.."
elseif text == "Loading.." then
text = "Loading..."
elseif text == "Loading..." then
text = "Loading."
		end
	end
end)

1 comment

0

Doesn't seem to work, but thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.