So, I’m working on the 2013 CoreGui rework project in my free time, and I stumbled across this safechat script I took from the toolbox. I remember seeing these weird variables in many assets before, and it makes me wonder if these are stolen. They seem to be in orders like L_1_, L_2_ until L_N_, and they don’t even make sense when they are put in functions.
Here is one sample of the codes with those weird variables from this safechat script: https://create.roblox.com/store/asset/12491679605/Good-Ol-SafeChat
function show(L_2_arg1, L_3_arg2, L_4_arg3)
L_3_arg2 = L_3_arg2 > 28 and L_3_arg2 or 29
for L_5_forvar1 = 1, #L_4_arg3 do
local L_6_, L_7_ = clone:clone(), type(L_4_arg3[L_5_forvar1]) == 'table' and L_4_arg3[L_5_forvar1]
L_6_.Name = L_2_arg1
L_6_.Text = L_7_ and L_7_['#text'] or L_4_arg3[L_5_forvar1]
L_6_.Position = UDim2.new(OffsetToScale({L_2_arg1 * 145,0})[1]*320, 0, OffsetToScale({0, 29 * (L_5_forvar1 - 1)})[2]*20, 0)
L_6_.Parent = chat2
L_6_.MouseEnter:connect(function()
for L_8_forvar1, L_9_forvar2 in next, chat2:children() do
if (L_9_forvar2.Name > L_6_.Name) then
L_9_forvar2:destroy()
elseif (L_9_forvar2.Name == L_6_.Name) then
L_9_forvar2.BackgroundColor3 = clone.BackgroundColor3
end
end
L_6_.BackgroundColor3 = Color3.new(177 / 255, 176 / 255, 179 / 255)
if (L_7_) and (type(L_7_.utterance) ~= 'string') then
show(L_2_arg1 + 1, L_6_.Position.Y.Scale - math.floor(#L_7_.utterance / 2) * (OffsetToScale({0,29})[2]*20), L_7_.utterance)
end
end)
L_6_.MouseButton1Click:connect(function()
local L_10_ = sound:clone()
L_10_.Parent = workspace
L_10_:destroy()
__SendMessage__(L_6_.Text)
chat2:clearAllChildren()
chat1.Image = 'rbxassetid://4578446196'
chat1.HoverImage = 'rbxassetid://4578446576'
if chat1:FindFirstChild("ModalButton")~=nil then
chat1.ModalButton:destroy()
end
end)
end
end
I don’t know if this was how old scripts were written back then. I want to make sure that this is okay to use because it’s the best one I could find. If anyone can identify this, it will be very much appreciated.