This project uses github to serve .lua files. The hosting service allows you to use https://gui.rf.gd as a domain to access and execute .lua scripts.
To use the Loadstring host with your .lua file, follow these steps:
-
Host Your
.luaFile:- Ensure that your
.luafile is committed to your repository.
- Ensure that your
-
Access the File via URL:
- Construct the URL to access your
.luafile using the following format:https://gui.rf.gd?s=FileName.lua
- Construct the URL to access your
-
Use the URL in Loadstring:
- Use the URL in a
loadstringfunction to execute your script:loadstring(game:HttpGet("https://gui.rf.gd?s=FileName.lua"))()
- Use the URL in a
If you have a file named example.lua, you would use:
loadstring(game:HttpGet("https://gui.rf.gd?s=example.lua"))()