Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit c45a00b

Browse files
authored
version check
1 parent d9876c9 commit c45a00b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

MLoader.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
Just execute "lua MLoader.lua" to use.
44
--]==]
55

6+
if not (_VERSION and _VERSION == "Lua 5.1" or _VERSION == "LuaJIT" or _VERSION == "Luau") then -- version check (if you have getfenv / setfenv function, you can remove this code.)
7+
print("Your Lua version is not supported for this script. This script only supports Lua 5.1.")
8+
return
9+
end -- version check end
10+
611
print("ByteLuaObfuscator (Github: \107\111\115\117\107\101\49\52) Loader (^C to exit)")
712
print("Put a path to an obfuscator module: ")
813

0 commit comments

Comments
 (0)