ScriptRoblox/endec/getraw.lua
2025-01-19 03:42:02 +07:00

18 lines
669 B
Lua

--[[ Untuk Contoh tidak untuk produksi ]]
local http = game:HttpGet("http://example.com/raw/enlua.txt") --[[ berhububung we di lokal ya tiggal pake lokal tapi lebih bagus nya external ]]
local key = "cdaaptnia"
function decrypt_code(encrypted, key)
local decoded = game.HttpService:base64Decode(encrypted)
local result = ""
for i = 1, #decode do
local char = string.byte(decode, i)
local key_char = string.byte(key, (i - 1) % #key + 1)
result = result .. string.char(bit32.bxor(char, key_char))
end
return game.HttpService:Base64Decode(result)
end
local decrypted_code = decrypt_code(http, key)
loadstring(decrypt_code)()