Messages are rarely out of order when using print() inside of task.defer. It’s a very minor issue that I’m certain it hardly affects anybody at all, but it’s still a bug nonetheless that might lead to fixing other niche output issues of the same root cause.
To reproduce, spam-enter this code into the command bar until you get lucky.
local function foo()
print("3", os.clock())
end
print("1", os.clock())
task.defer(foo)
print("2", os.clock())
The message timestamps on the left and os.clock() values on the right are both proof it’s out of order.
