Certain substrings are being removed when MessageOut receives them. Here’s a list of example output and resulting strings with the current behavior:
/foo/
→ /foo/bar
→ bar
/a1b2c3d4/
→ /a1b2c3d4/bar
→ bar
/foo a/
→ /foo
→ /foo
/foo ab/
→ /foo ab/
///
→ ///
!@#$%
→ !@#$%
/123 45/
→ /123 45/
It seems like if the substring enclosed within pairs of /
begins with an alphanumeric character, it isn’t included unless it has a space followed by two characters.
Here’s a script you can run in the command bar to reproduce this:
local LogService = game:GetService("LogService")
local outputs = {}
local connection = LogService.MessageOut:Connect(function(message)
table.insert(outputs, message)
end)
local examples = {
"/foo/",
"/foo/bar",
"/a1b2c3d4/",
"/a1b2c3d4/bar",
"/foo a/",
"/foo",
"/foo ab/",
"///",
"!@#$%",
"/123 45/",
}
for _, example in examples do
print(example)
task.wait()
end
connection:Disconnect()
for i, originalString in examples do
if outputs[i] ~= originalString then
print(`⌠{outputs[i]} != {originalString}`)
else
print(`✅ {outputs[i]} == {originalString}`)
end
end
Here’s a place with that script in it:
MessageOutRepro.rbxl (54.3 KB)
1 post - 1 participant