So when trying to create a function it doesn't automatically put a end) when I press the enter key and as well when putting in lines of code inside the function it doesn't indent. I don't know why but it was working fine a few days ago and me manually having to indent and type end is kinda annoying. Is there a way to fix this?

how it looks in studio:

game.Players.PlayerAdded:Connect(function()
local level = instance.new("IntValue", player) -- doesnt indent--
--end) should be here but it doesn't add it-- 

1 comment

0

When you do the :Connect(function()) Just click Enter behind the last bracket.