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

How do I simplify this so it isn't a long list and just runs from tween1 to week17 in a few lines?

a = 0.6
while true do
wait(a)
tween1:Play()
wait(a)
tween2:Play()
wait(a)
tween3:Play()
wait(a)
tween4:Play()
wait(a)
tween5:Play()
wait(a)
tween6:Play()
wait(a)
tween7:Play()
wait(a)
tween8:Play()
wait(a)
tween9:Play()
wait(a)
tween10:Play()
wait(a)
tween11:Play()
wait(a)
tween12:Play()
wait(a)
tween13:Play()
wait(a)
tween14:Play()
wait(a)
tween15:Play()
wait(a)
tween16:Play()
wait(a)
tween17:Play()
wait(a)
end

2 answers

local a = 0.6
local v = 1

while true do
	wait(a)
	tween..v:Play()
	v = v + 1
		if v == 18 then 
		break
	end
end

If this helps don't forget to accept as answer

1 comment

0

thank u sm but it says theres an error on the word tween "incomplete statement: expected assignment or a function call"

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