While typing this code it won’t indent and auto complete correctly, please see GIFs provided below;
Code
workspace.Part.Touched:Connect(function()
if true then
end
end)
local Variable = "Hi"
local Indent = "true"
Anonymous Function
https://gyazo.com/b1011a19c76998662bd383327987d7a0
–
If Statement
https://gyazo.com/93b69da25ed201f812057ce224dbcb7a
(also happens for anything else that has an “end”, ie: do end, while loop, for loop)
–
Doesn’t indent correctly
https://gyazo.com/74df4648014d6470f947f47166d2e858
I’m using the latest version of Windows 10 Pro with the latest version of Studio
(please kindly let me know if you need more information, I’ll be happy to provide)