Creating functions inside of functions does not insert "end" or "end)"

Roblox Studio won’t add in the end) or end when you put a function inside a function.

This happens only in Studio.
I do not know when this started happening, but it always happens for me.

Reproduction

Number 1

In a script type:

function studiobug()
	pcall(function()	
end

and then press enter/return. It should not add in

end)

like it is supposed to.

Number 2

Even creating for loops inside of functions won’t work!

This is basically the same as Number 1.

local studioBugTable = {"Number 1","Number 2"}

function studiobug()
	for i, v in pairs(studioBugTable) do	
end

and then press enter/return. It should not add in

end

Any type of function will not insert end) / end when you put it in a function.

Demo

Here are two demos that will give you a better idea.

The End!

Just a quick notice: I am just experiencing this. There is no crashing, freezing, or anything else.

10 Likes

confirmed happening to me as well