From 7fb89f595d7e7d0dd837a8eb39b37d2d0f134931 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:03:07 +0200 Subject: [PATCH 1/6] Fix autocomplete in Aero #2067 Fixes autocomplete issues in the Aero theme --- MainModule/Client/UI/Aero/Console.rbxmx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/MainModule/Client/UI/Aero/Console.rbxmx b/MainModule/Client/UI/Aero/Console.rbxmx index 3898430593..79bab25e8a 100644 --- a/MainModule/Client/UI/Aero/Console.rbxmx +++ b/MainModule/Client/UI/Aero/Console.rbxmx @@ -856,7 +856,17 @@ return function(data, env) if c == 'Text' and text.Text ~= '' and open then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + + local args = string.split(text.Text, splitKey) + args[#args] = nil + local textWithoutLastArg = table.concat(args, splitKey) + + if textWithoutLastArg ~= "" then + textWithoutLastArg ..= splitKey + end + + text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " + elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else From 8897bb6d57bb6cdfff2dfc50ea8a6b8499bb04c9 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:06:32 +0200 Subject: [PATCH 2/6] remove unnecessary whitespace --- MainModule/Client/UI/Aero/Console.rbxmx | 2 -- 1 file changed, 2 deletions(-) diff --git a/MainModule/Client/UI/Aero/Console.rbxmx b/MainModule/Client/UI/Aero/Console.rbxmx index 79bab25e8a..56748e9629 100644 --- a/MainModule/Client/UI/Aero/Console.rbxmx +++ b/MainModule/Client/UI/Aero/Console.rbxmx @@ -856,7 +856,6 @@ return function(data, env) if c == 'Text' and text.Text ~= '' and open then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - local args = string.split(text.Text, splitKey) args[#args] = nil local textWithoutLastArg = table.concat(args, splitKey) @@ -866,7 +865,6 @@ return function(data, env) end text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " - elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else From d22ea71ce98d40c76cc40fb79bc3f530f4723026 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:07:49 +0200 Subject: [PATCH 3/6] Fix autocomplete in Rounded #2067 --- MainModule/Client/UI/Rounded/Console.rbxmx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MainModule/Client/UI/Rounded/Console.rbxmx b/MainModule/Client/UI/Rounded/Console.rbxmx index 7fe37cfd5c..95993c1716 100644 --- a/MainModule/Client/UI/Rounded/Console.rbxmx +++ b/MainModule/Client/UI/Rounded/Console.rbxmx @@ -658,7 +658,15 @@ return function(data, env) if c == 'Text' and text.Text ~= '' and open then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + local args = string.split(text.Text, splitKey) + args[#args] = nil + local textWithoutLastArg = table.concat(args, splitKey) + + if textWithoutLastArg ~= "" then + textWithoutLastArg ..= splitKey + end + + text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else From 0759396dab2e375953b87fde15887e44d619c023 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:09:45 +0200 Subject: [PATCH 4/6] Fix autocomplete in Steampunk #2067 --- MainModule/Client/UI/Steampunk/Console.rbxmx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MainModule/Client/UI/Steampunk/Console.rbxmx b/MainModule/Client/UI/Steampunk/Console.rbxmx index a396f21c1e..b7d779352c 100644 --- a/MainModule/Client/UI/Steampunk/Console.rbxmx +++ b/MainModule/Client/UI/Steampunk/Console.rbxmx @@ -251,7 +251,15 @@ return function(data, env) if text.Text ~= "" and openConsole then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + local args = string.split(text.Text, splitKey) + args[#args] = nil + local textWithoutLastArg = table.concat(args, splitKey) + + if textWithoutLastArg ~= "" then + textWithoutLastArg ..= splitKey + end + + text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else From 118614e6320564ed6580d39b533c59179b5d20e2 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:12:32 +0200 Subject: [PATCH 5/6] Fix autocomplete in Unity #2067 --- MainModule/Client/UI/Unity/Console.rbxmx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MainModule/Client/UI/Unity/Console.rbxmx b/MainModule/Client/UI/Unity/Console.rbxmx index ad7aaab422..dd3bd8d439 100644 --- a/MainModule/Client/UI/Unity/Console.rbxmx +++ b/MainModule/Client/UI/Unity/Console.rbxmx @@ -712,7 +712,15 @@ return function(data, env) if c == 'Text' and text.Text ~= '' and open then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + local args = string.split(text.Text, splitKey) + args[#args] = nil + local textWithoutLastArg = table.concat(args, splitKey) + + if textWithoutLastArg ~= "" then + textWithoutLastArg ..= splitKey + end + + text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else From 15ec07102aefca1cc1b8de2003ba23093fd59e72 Mon Sep 17 00:00:00 2001 From: thatgato Date: Mon, 11 May 2026 12:14:13 +0200 Subject: [PATCH 6/6] Fix autocomplete in WindowsXP #2067 --- MainModule/Client/UI/Windows XP/Console.rbxmx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MainModule/Client/UI/Windows XP/Console.rbxmx b/MainModule/Client/UI/Windows XP/Console.rbxmx index 80d13ec54a..fef4c60aff 100644 --- a/MainModule/Client/UI/Windows XP/Console.rbxmx +++ b/MainModule/Client/UI/Windows XP/Console.rbxmx @@ -630,7 +630,15 @@ return function(data, env) if c == 'Text' and text.Text ~= '' and open then if string.sub(text.Text, string.len(text.Text)) == " " then if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + local args = string.split(text.Text, splitKey) + args[#args] = nil + local textWithoutLastArg = table.concat(args, splitKey) + + if textWithoutLastArg ~= "" then + textWithoutLastArg ..= splitKey + end + + text.Text = textWithoutLastArg .. players["Entry 0"].Text .. " " elseif scroll:FindFirstChild("Entry 0") then text.Text = string.split(scroll["Entry 0"].Text, "<")[1] else