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

this wont do anything i checked output i dont see an error help please?

please

function settime (loadingdots)
	script.Parent.Text = loadingdots
	wait (1)
end
while true do
	settime("loading")
	settime("loading.")
	settime("loading..")
	settime("loading...")
	settime("loading....")
	settime("loading....")
end

help this is locaded in replicaded first for a loading screen

1 comment

0

for dots = 1,4 do settime(loading"..('.'):rep(dots)). Only LocalScripts will run in ReplicatedFirst

1 answer

✓ Accepted answer

i will tell you the truth, your loop i getting exhausted, since you didn't add wait()
For fixing its very simple

function settime (loadingdots)
    script.Parent.Text = loadingdots
end

for dot = 1,4 do
	settime("Loading"..('.'):rep(dot))
end

i think this is what you want

2 comments

0

i did add a wait and i think the problem was becuase it was a normal script instead of local script

0

yeah it was becuase it was not a local script thanks though if you check the function i added a wait so i could type least as possible

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