Expected Behavior
local foo =
{
bar = function(args)
if args[1]:IsA("BasePart") then
print("Hello World!")
end
end,
}
Actual Behavior
local foo =
{
function(args)
if args[1]:IsA("BasePart") then
print("Hello World!")
end
end,
}
Where It Happens: Built-In script editor for Roblox Studio
When It Happens: Constantly
Use the file below to follow the reproduction steps.
Baseplate.rbxl (30.1 KB)
Reproduction Steps:
- Select the script named Example under
ServerScriptService
- Double click the now selected script to open the script editor
- Navigate to the ribbon bar, click Format Selection, and lastly, click Format Document in the drop-down menu that appears