Customizing a countdown clock

You could use event.room when entering a room to change the timer depending on the room.

on enter do
	if event.room == "room 1" then
		clock = 60
	elseif event.room == "room 2" then
		clock = 30
	end
end

or you could just add it to the room's script instead

on enter do
	clock = 30
end
2 Likes