18 lines
719 B
Lua
18 lines
719 B
Lua
--[[ Untuk Contoh tidak untuk produksi ]]
|
|
local http = game:HttpGet("https://git.warceuproject.org/Apapapa/AutoFarm/raw/branch/EndcodeVersion/raw/Fisch") --[[ 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)()
|