Macro SDK with function stubs for all Luraph macros to allow Lua scripts to remain functional while unobfuscated (eg: during development).
The official Luraph macros documentation contains the most up-to-date and complete information and instructions for utilization of Luraph macros.
You should load this script using an HTTP(S) request and loadstring
to ensure you always have the latest definitions. If offline development is needed, you may embed the SDK source file directly into your script; however, you must ensure to update this file when newer versions of Luraph are released.
load
(Lua 5.2+), loadstring
(Lua 5.1, Luau), or an equivalent function that allows scripts to be loaded.Current URL: https://raw.githubusercontent.com/Luraph/macrosdk/main/luraphsdk.lua
These snippets should be placed at the top of your script, or before the usage of any Luraph macros.
game:HttpGet
and loadstring
)if not LPH_OBFUSCATED then
loadstring(game:HttpGet("https://raw.githubusercontent.com/Luraph/macrosdk/main/luraphsdk.lua"))()
end
HttpService
and loadstring
)if not LPH_OBFUSCATED then
loadstring(game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/Luraph/macrosdk/main/luraphsdk.lua"))()
end
PerformHttpRequest
and load
)if not LPH_OBFUSCATED then
PerformHttpRequest("https://raw.githubusercontent.com/Luraph/macrosdk/main/luraphsdk.lua", function(errCode, res, headers, errData)
load(res)()
end)
end
Please open an issue, and we'll add your platform.
load
/loadstring
Please open a ticket on our Discord server, and we'll add this functionality if it's requested.