hello there, so i discovered that you can get code from github repositories, but idrk how to execute them, when i try doing it it just errors
i get the script like this:
local code = http:GetAsync("https://github.com/repository/blob/main/script.lua", true)
local func = loadstring(code)
func()
when i execute func() it just errors saying that im calling a nil value (since when i loadstring the “code” it just returns nil)
so the actual question is
the code
variable should return the code itself or it returns something else? bc when i print it it doesnt seems to be the actual script.
if anyone could help me with this.
thanks!