Script "end" system

(i know i have posted this a lot of times but im not getting a response)

so whenever i used to script, the auto end system always helped me out in closing functions etc because i never know when to close them, but now my end system is not working causing me to not script, its very annoying for some reason. i tried, to reset all settings, reopen studio, and reinstall it but it only made things worse by changing the color of the script

please help me

2 Likes

Here it is in simple:

Events functions (when creating them on connect)

part.Touched:Connect(function()
	
end) -- Yes ')'

Functions:

function just_Here()
	
end -- No ')'

Pcalls:

local succed = pcall(function()

end) -- Yes ')'

(I am unsure what you are trying to achieve)

1 Like

i know that but i dont know where to put them since im not so professional with lua

imagine if im writing a code which is like 95 lines long
the auto end helps me out because im kind of dumb to understand when and where to put
but without that my script will fail

1 Like

Oh. So is the auto close disabled?

1 Like

i dont know that setting existed but, let me check for a setting like that (or im being dumb again and its another setting)

2 Likes

The correct one should be ‘Studio Settings’.

1 Like

this is the only thing that said Auto Closing in the script editor and they both are checked
image

1 Like

I have no idea. Sorry, you may try restart Roblox studio and if it continues to occur, re-install it.

1 Like

i restarted it more than 10 times i can say that, and i reinstalled it 2 times

1 Like

You probably made a syntax error in your code somewhere that it’s preventing the autoclosing from working properly.

2 Likes

Try to Reset all settings.
2020-12-26_LI

1 Like

i tried that several times but it did nothing

1 Like

What are you trying to script?

Edit: Replied to the wrong person, Sorry.
(@dragon21x50)

1 Like

im Trying to script my UI’s

and @BenMactavsin here it is


the end did not come up automatically
and yes they are referenced

Did you press Shift and Enter buttons at the same time or just Enter when you switched to next line?

1 Like

i never realized im pressing shift and enter, im so dumb and embarrassed right now, thanks for telling me
i have been learning scripting for such a long time and i do this, im out of words

1 Like