Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion MainModule/Client/UI/Aero/Console.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,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
Expand Down
10 changes: 9 additions & 1 deletion MainModule/Client/UI/Rounded/Console.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion MainModule/Client/UI/Steampunk/Console.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion MainModule/Client/UI/Unity/Console.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion MainModule/Client/UI/Windows XP/Console.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading