Run it
Copy the script and paste it into your executor.
-- fixed loadstring
-- loadstring(game:HttpGet("https://raw.githubusercontent.com/tomatotxt/code/refs/heads/main/rayfield"))()
local oldhttpget
oldhttpget = hookfunction(game.HttpGet, function(self, url, ...)
if url == "https://sirius.menu/rayfield" or url == "https://raw.githubusercontent.com/SiriusSoftwareLtd/Rayfield/main/source.lua" then
return oldhttpget(self, "https://raw.githubusercontent.com/tomatotxt/code/refs/heads/main/rayfield", ...)
end
return oldhttpget(self, url, ...)
end)
local ishooked
ishooked = hookfunction(isfunctionhooked, function(func, ...)
if func == game.HttpGet then
return false
end
return ishooked(func, ...)
end)
print("Sirhurt RayField Fix Ready.")Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, sirius.menu.
Allows Rayfield UI Library to work on SirHurt Executor. How to Use: Execute this before running the script your having issues with and it will automatically redirect the scripts Rayfield loader to a fixed version of Rayfield. Sorry for ugly ahh chatgpt thumbnail.