From 3a4a8fb58373338e046010df86a1a32811ca1303 Mon Sep 17 00:00:00 2001 From: kaiserandaxl <122803145+kaiserandaxl@users.noreply.github.com> Date: Sun, 24 Dec 2023 15:56:53 -0600 Subject: [PATCH] Update Remote.lua --- MainModule/Server/Core/Remote.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MainModule/Server/Core/Remote.lua b/MainModule/Server/Core/Remote.lua index 412be621fd..aeaae43939 100644 --- a/MainModule/Server/Core/Remote.lua +++ b/MainModule/Server/Core/Remote.lua @@ -1020,7 +1020,6 @@ return function(Vargs, GetEnv) Variable.Script = args[1]["Text"] end, - RunScript = function(p: Player, args: {}) local se = Variables.ScriptEditor[tostring(p.UserId)] local Name = args[1][1] @@ -1035,7 +1034,7 @@ return function(Vargs, GetEnv) oError(string.format("bad argument #2 to 'error' (number expected, got %s)", type(level)), 2) end - Remote.Terminal.LiveOutput(p, `LUA_DEMAND_ERROR: {reason}`) + Remote.MakeGui(p, "Output",{Title = 'Output'; Message = `LUA_DEMAND_ERROR: {reason}`}) oError(`Adonis ScriptEditor error: {reason}`, (level or 1) + 1) end; })