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

[Answered] Script not Running?

So, in my place I made a script to make a brick show a TextLabel in a SurfaceGui change every 5 seconds, but it won't run. Does it have to do with my script? Here is the script:

repeat
	game.Workspace.BulletinGui.Welcome.Enabled = true
	wait(5)
	game.Workspace.BulletinGui.Welcome.Enabled = false
	game.Workspace.BulletinGui.Notice.Enabled = true
	wait(5)
	game.Workspace.BulletinGui.Notice.Enabled = false
	game.Workspace.BulletinGui.Attention.Enabled = true
	wait(5)
	game.Workspace.BulletinGui.Attention.Enabled = false
	game.Workspace.BulletinGui.Admin.Enabled = true
	wait(5)
	game.Workspace.BulletinGui.Admin.Enabled = false
	game.Workspace.BulletinGui.GunID.Enabled = true
	wait(5)
	game.Workspace.BulletinGui.GunID.Enabled = false
until

1 comment

0

If your question is answers, scroll down to the answer, go next to the person name, and under it, there should be something that says "Accept Answer"

1 answer

✓ Accepted answer

Change your repeat loop to a while true do loop,

while true do

-- all of your code here

end

Because your repeat loop would need a check at the until part

g = true
repeat
print("blah")
wait()
until not g

Good luck!

3 comments

0

So just change your repeat to a while true do and your until to a end and keep all of your code. Good luck!

0

Thanks :D

0

Except meh answer? :D

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