I'm making a LuaC engine, and it utilizes PCall, but I need the string converted to a table.
plr.Chatted:connect(function(msg)
local function compile(...)
local func,err = pcall(...)
if (func) then
sc("LuaC script executed",BrickColor.Green().Color)
else
sc(err,BrickColor.Red().Color)
end
end
compile(msg)
end)
