Jump to content

[Share]Encrypt Lua Scripts -- By HaloShadow (3rdera)


Recommended Posts

Posted

If you need help, PM me and I'll help you on Team Viewer.

3rdera - HaloShadow Wrote:

[special Tutorial] Encrypting Lua Scripts

Summary:

 

* This tutorial walks a user through the method of encrypting their scripts.

* The skill level for this tutorial is low, everything is explained step by step.

 

Video Tutorial:

 

WATCH THE VIDEO IN 720p AND FULLSCREEN!

 

Download the file here:

http://3rdera.com/forum/download/file.php?id=32

 

Original post here:

http://3rdera.com/forum/viewtopic.php?f=16&t=737

This is only for CSS Lua, your encrypt.lua could look like this:

local script = string.dump(function()

local function h4x(strtbl)

    buffer=""

    for v in strtbl do

        buffer=buffer..strtbl[v]

    end

    return buffer

end

 

--Paste Lua script below this line

print("Lol")

--End of lua script

 

end)

 

buff=""

for v=1,string.len(script) do --Convert our string into a hex string.

    buff=buff..'\\'..string.byte(script,v)

end

 

file=io.open('encrypted.txt','w') --Output our bytecode into ascii format to encrypted.txt

file:write(buff)

file:flush()

file:close()

This will create this:

Code:

loadstring("\27\76\117\97\80\1\4\4\4\6\8\9\9\8\182\9\147\104\231\245\125\65\13\0\0\0\64\101\110\99\114\121\112\116\46\108\117\97\0\1\0\0\0\0\0\0\3\5\0\0\0\8\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\14\0\0\0\1\0\0\0\4\0\0\0\104\52\120\0\1\0\0\0\4\0\0\0\0\0\0\0\2\0\0\0\4\6\0\0\0\112\114\105\110\116\0\4\4\0\0\0\76\111\108\0\1\0\0\0\0\0\0\0\2\0\0\0\0\1\0\7\14\0\0\0\3\0\0\0\3\0\0\0\4\0\0\0\4\0\0\0\4\0\0\0\5\0\0\0\5\0\0\0\5\0\0\0\5\0\0\0\4\0\0\0\5\0\0\0\7\0\0\0\7\0\0\0\8\0\0\0\4\0\0\0\7\0\0\0\115\116\114\116\98\108\0\0\0\0\0\13\0\0\0\16\0\0\0\40\102\111\114\32\103\101\110\101\114\97\116\111\114\41\0\5\0\0\0\11\0\0\0\12\0\0\0\40\102\111\114\32\115\116\97\116\101\41\0\5\0\0\0\11\0\0\0\2\0\0\0\118\0\5\0\0\0\11\0\0\0\0\0\0\0\2\0\0\0\4\7\0\0\0\98\117\102\102\101\114\0\4\1\0\0\0\0\0\0\0\0\14\0\0\0\65\0\0\1\7\0\0\1\0\0\0\1\3\128\1\2\222\0\128\1\5\0\0\4\198\0\0\5\83\1\2\4\7\0\0\4\29\0\0\1\84\254\127\0\5\0\0\1\27\0\1\1\27\128\0\0\5\0\0\0\34\0\0\0\5\0\0\1\65\0\0\2\89\0\1\1\27\128\0\0")

credits : Shadow , CrzY-MikE for share it at another forum and me for share it here ;)

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN / E-Global x Lu4 DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
    • Added: 🎁 Seasonal Bonus System When the seasonal bonus is enabled, players receive additional bonus coins equal to bonus_season_percent of their donation amount. 💡 How it works (example): A player donates through their personal account and immediately receives regular coins. At the same time, bonus coins equal to 30% of the donation are credited. Example: Donation: 1000 coins → Bonus: 300 coins (30%) These bonus coins are not available immediately — they can be claimed later when the next season begins. 📅 When the bonus can be claimed: bonus_season_claim_start_date – the date when the "Claim" button becomes available. bonus_season_claim_end_date – the date after which the bonus can no longer be claimed. During this time window, the "Claim" button will appear in the personal account, allowing players to collect their accumulated bonus. 'bonus_season_enabled' => true, // Enable/disable the seasonal bonus system 'bonus_season_percent' => 30, // Percentage of the donation to be given as bonus coins (30 = 30%) 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Date when the Claim button becomes available in the new season   'bonus_season_enabled' => true, // Вкл./Выкл Сезонную бонусную систему? 'bonus_season_percent' => 30, // Процент, при донате получает монеты в процентах 30 = 30%, которые может использовать в следующем открытии 'bonus_season_claim_start_date' => '2025-07-30 00:00:00', // Дата когда доступна кнопка Claim в новом сезоне 'bonus_season_claim_end_date' => '2025-08-15 20:00:00', // Дата окончания когда кнопка Claim в новом сезоне
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market  
    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock