Hi 808,
Here is the working version :
local net = require "net"
-- The Http constructor expect the server address
local client = net.Http("https://pastebin.com")
-- The Http:get() method expect the resource you want to access (the uri)
local response = client:get("/raw/xdznhdet")
-- load() returns a function, so you need to call the result to execute it
load(response, "internet chunk", "bt", { print = print })()
But once again I really discourage running Lua code from remote sources.
In this example, I provided an environment table to the load
function which contains only the members that the downloaded source code will be able to use (here the print
function) to secure/sandbox a little more this kind of usage.