Coroutine.wrap running twice

coroutine.wrap(function()
	while true do
		wait(5)
		print("FIRING")
	end
end)()	

Put this in a server script and publish it to a roblox game and look at the developer console, it will start printing “FIRING” twice

Note: It has to be in a live game, studio didnt work for me

1 Like

This isnt actually the function running twice, there is currently a glitch where everything in the console outputs twice.

1 Like

This is not ROBLOXCRITICAL. Critical bugs prevent multiple high-profile or an extremely large number of games from being joined/played or developed.

With that aside, this is probably related to the new developer console. Since there are two running side-by-side, output from the developer console may be displayed twice.

5 Likes

local var = 0
while wait(1) do
	var = var + 1
	print(var)
end

Seems like it is just a bug with the developer console beta.

2 Likes

Closing as this thread reports bug more accurately.