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

How do i make this script repeat itself after its done?

here's the script,



game.Workspace.OHHH.Position = Vector3.new(-16.3, 0.5, -10.5)

wait(3)

game.Workspace.OHHH.Position = Vector3.new(-16.4, 0.5, -8.8)

I want to make it so the script repeats itself after its ben finished

2 comments

0

loop it

0

above the script do while true do

1 answer

✓ Accepted answer
while true do
	game.Workspace.OHHH.Position = Vector3.new(-16.3, 0.5, -10.5)

	wait(3)

	game.Workspace.OHHH.Position = Vector3.new(-16.4, 0.5, -8.8)

	wait(3)
end

3 comments

0

while true do infinitely loops

0

You need another wait before the end, or it will move and then immediately move back.

0

yeah I just noticed that lol

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