invalid argument #1 to 'setreadonly' (table expected)
osage-chan opened this issue · comments
Gust Who? commented
[string "init.lua"]:164: invalid argument #1 to 'setreadonly' (table expected)
Stack Begin
Script '[string "init.lua"]', Line 164
Script '', Line 5 - function webImport
Script '', Line 8
Stack End
and also a HTTP 403 error
Archiver commented
What I found what worked was deleting all the files ending in .iy
. Just add the following to your Hydroxide
pcall(function()
delfile("utilities.iy")
delfile("IY_FE.iy")
delfile("autoconf.iy")
delfile("dark_theme.iy")
end)
ARSON commented
what exploit are you using
Gust Who? commented
I found it why it wasn't working now.
local owner = "Upbolt"
local branch = "revision"
local function webImport(file)
return loadstring(game:HttpGetAsync(("https://raw.githubusercontent.com/%s/Hydroxide/%s/%s.lua"):format(owner, branch, file)), file .. '.lua',true)()
end
webImport("init")
webImport("ui/main")
instead of the one in the readme
(also deleting files ending in .iy doesnt work. It just deletes everything in Infinite Yield)