What does "local _ do" do?

Hello, I have a question.
I’m curious to know what “local _ do” does in a script. I’ve seen it before but I am still unsure what it does. Could someone explain?

For example:

local f do
	--Any random code here --
end

Im pretty sure that it is:

  1. Setting a blank variable named F
  2. Executing the code in do end

It is the same as

local f

do

end

For more information on do end, this reply here has some good information.

1 Like

Oh, I see now. Thanks for the answer!