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

Is it possible to make this script repeat every time a round ends?

local math = math.random(1, 7) 
wait(30)
print(math)
if math == 1 then
	script.Parent.Story1.Visible = true
end
if math == 2 then
	script.Parent.Story2.Visible = true
end
if math == 3 then
	script.Parent.Story3.Visible = true
end
if math == 4 then
	script.Parent.Story4.Visible = true
end
if math == 5 then
	script.Parent.Story5.Visible = true
end
if math == 6 then
	script.Parent.Story6.Visible = true
end
if math == 7 then
	script.Parent.Story7.Visible = true
end

1 answer

while true do

end

This should make it repeat. I believe you need to put it after:

print ()

or

wait(30)

2 comments

0

While is deprecated use while

1

Was uppercase While even a thing in the first place?

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