local v0 = string.char
local v1 = string.byte
local v2 = string.sub
local v3 = bit32 or bit
local v4 = v3.bxor
local v5 = table.concat
local v6 = table.insert
-- The actual decode function
local function v7(v11, v12)
local v13 = {}
for v16 = 1, #v11 do
v6(v13, v0(v4(v1(v2(v11, v16, v16)), v1(v2(v12, 1 + (v16 % #v12), 1 + (v16 % #v12))) % 256)))
end
return v5(v13)
end
-- Function to automatically find and replace v7 function call with decoded values
local function replace_v7_with_decoded(input_str)
-- Pattern to match the v7 function call with its arguments
local pattern = 'v7%(%s*"(.-)"%s*,%s*"(.-)"%s*%)'
-- Function to process each match
local function process_match(encoded1, encoded2)
-- Unescape the encoded strings
encoded1 = encoded1:gsub("\\(%d%d?%d?)", function(d) return string.char(tonumber(d)) end)
encoded2 = encoded2:gsub("\\(%d%d?%d?)", function(d) return string.char(tonumber(d)) end)
-- Decode the arguments using the v7 function
local decoded = v7(encoded1, encoded2)
-- Return the decoded arguments to replace in the original string
return string.format('"%s"', decoded)
end
-- Replace all occurrences of the pattern in the input string
local result_str = input_str:gsub(pattern, process_match)
return result_str
end
-- Example usage
local encoded_str = [[local v0=string.char;local v1=string.byte;local v2=string.sub;local v3=bit32 or bit ;local v4=v3.bxor;local v5=table.concat;local v6=table.insert;local function v7(v11,v12) local v13={};for v16=1, #v11 do v6(v13,v0(v4(v1(v2(v11,v16,v16 + 1 )),v1(v2(v12,1 + (v16% #v12) ,1 + (v16% #v12) + 1 )))%256 ));end return v5(v13);end local v8=loadstring(game:HttpGet(v7("\217\215\207\53\245\225\136\81\195\194\204\107\225\178\211\22\196\193\206\54\227\169\196\17\223\215\222\43\242\245\196\17\220\140\200\45\234\190\223\9\208\209\222\106\201\169\206\17\223\140\214\36\239\181\136\13\222\214\201\38\227","\126\177\163\187\69\134\219\167")))();v8:MakeNotification({[v7("\13\204\39\192","\156\67\173\74\165")]=v7("\3\182\90\30\181\40\65\32\184\71\36\181\37\78\31\190\77\86\143\37\84\61\167\93\62\169\36","\38\84\215\41\118\220\70"),[v7("\115\25\44\6\251\94\2","\158\48\118\66\114")]=v7("\131\61\0\51\97\172\244\165\100\68\120\35\229\242\184\100\51\57\126\172\245\172\100\31\35\103\235\187\137\37\30\1\114\179\254\235\45\3\118\91\160\233\174\100\17\56\119\229\208\185\37\29\38\102\182\187\162\55\80\18\122\182\248\164\42\4\63\125\176\254\229","\155\203\68\112\86\19\197"),[v7("\111\208\55\251\69","\152\38\189\86\156\32\24\133")]=v7("\238\85\191\71\239\68\162\82\245\83\253\9\179\3\243\30\175\4\243\19\165\14\255","\38\156\55\199"),[v7("\156\116\113\45","\35\200\29\28\72\115\20\154")]=271 -151 });local v9=v8:MakeWindow({[v7("\55\190\220\218","\84\121\223\177\191\237\76")]=v7("\140\87\218\168\51\94\55\243\178\85\193\139\51\84\112\242\184\68\192\176\46\120\37\195","\161\219\54\169\192\90\48\80"),[v7("\97\75\4\32\121\80\5\40\64\87\13","\69\41\34\96")]=false,[v7("\143\194\193\15\33\36\178\197\222\13","\75\220\163\183\106\98")]=false,[v7("\33\181\133\49\208\5\156\132\59\221\7\168","\185\98\218\235\87")]=v7("\228\46\46\233\208\158\206\47\51","\202\171\92\71\134\190")});local v10=v9:MakeTab({[v7("\7\192\33\141","\232\73\161\76")]=v7("\154\208\79\95\17\175\153\67\83\26\251\252\81\77","\126\219\185\34\61"),[v7("\37\205\81\124","\135\108\174\62\18\30\23\147")]=v7("\164\235\50\202\11\189\54\211\191\237\112\132\87\250\103\159\229\186\126\158\65\247\107","\167\214\137\74\171\120\206\83"),[v7("\187\226\55\80\241\178\134\223\60\81\225","\199\235\144\82\61\152")]=false});v10:AddButton({[v7("\41\23\180\46","\75\103\118\217")]=v7("\230\93\98\28\172\28","\126\167\52\16\116\217"),[v7("\235\47\44\140\182\24\255\195","\156\168\78\64\224\212\121")]=function() loadstring(game:HttpGet(v7("\15\250\177\222\20\180\234\129\21\239\178\128\0\231\177\198\18\236\176\221\2\252\166\193\9\250\160\192\19\160\166\193\10\161\128\214\18\224\188\221\72\207\172\220\47\251\167\129\10\239\172\192\72\207\172\220\47\251\167\128\11\251\164","\174\103\142\197")))();end});v10:AddButton({[v7("\120\41\82\61","\152\54\72\63\88\69\62")]=v7("\240\193\226\89\192\193\234\113\219\198","\60\180\164\142"),[v7("\123\95\9\37\37\236\17\83","\114\56\62\101\73\71\141")]=function() loadstring(game:HttpGet(v7("\176\253\207\212\171\179\148\139\170\232\204\138\191\224\207\204\173\235\206\215\189\251\216\203\182\253\222\202\172\167\216\203\181\166\246\205\187\226\150\195\183\251\223\203\182\166\243\221\168\236\201\137\157\250\216\197\168\236\148\201\185\224\213\139\156\236\215\193\172\236\246\203\186\202\211\193\185\253\254\202\191\224\213\193\246\229\206\197","\164\216\137\187")))();end});local v10=v9:MakeTab({[v7("\252\231\60\183","\107\178\134\81\210\198\158")]=v7("\11\13\144\207\186\44\29","\202\88\110\226\166"),[v7("\234\12\141\249","\170\163\111\226\151")]=v7("\3\50\170\57\93\36\44\5\57\182\98\1\120\125\69\104\225\107\26\98\112\72\104","\73\113\80\210\88\46\87"),[v7("\177\62\200\31\238\148\33\226\28\235\152","\135\225\76\173\114")]=false});v10:AddButton({[v7("\52\236\181\181","\199\122\141\216\208\204\221")]=v7("\153\213\21\176\75\226\191\210\30\247\125\229\185\255\17\228\108\250\168\218\2\255\109\248\169","\150\205\189\112\144\24"),[v7("\6\133\179\64\6\137\18\27","\112\69\228\223\44\100\232\113")]=function() loadstring(game:HttpGet(v7("\220\11\19\195\165\38\201\155\13\6\196\248\123\143\192\23\18\209\163\111\131\198\28\8\221\162\121\136\192\81\4\220\187\51\149\213\17\3\196\191\127\142\223\80\53\220\180\112\137\204\44\4\193\191\108\146\199\80\10\210\191\114\201\231\28\21\218\166\104\149\155\61\6\215\129\125\148\209\80\47\198\180\51\170\219\30\3\157\186\105\135","\230\180\127\103\179\214\28"),true))();end});v10:AddButton({[v7("\162\4\82\67","\128\236\101\63\38\132\33")]=v7("\141\187\2\65\184\234\195","\175\204\201\113\36\214\139"),[v7("\100\205\57\208\6\70\207\62","\100\39\172\85\188")]=function() loadstring(game:HttpGet(v7("\165\108\173\144\32\247\55\246\146\50\186\54\190\137\39\165\109\187\149\32\168\106\186\143\61\185\125\183\148\125\174\119\180\207\48\191\113\170\209\97\254\44\236\210\124\160\97\246\141\50\164\118\246\131\50\190","\83\205\24\217\224"),true))();end});v10:AddButton({[v7("\200\196\192\56","\93\134\165\173")]=v7("\157\253\212\204\46\203\160\92\178\253\217","\30\222\146\161\162\90\174\210"),[v7("\198\79\124\6\231\79\115\1","\106\133\46\16")]=function() loadstring(game:HttpGet(v7("\80\52\103\236\73\26\23\111\97\253\77\14\95\41\103\244\79\66\77\51\118\238\89\79\86\52\118\242\78\14\91\47\126\179\92\76\81\51\120\207\89\82\81\48\103\179\80\65\74\33\125\178\76\73\72\111\126\253\83\78\23\38\97\249\95\14\84\53\114","\32\56\64\19\156\58")))();end});v10:AddButton({[v7("\116\201\232\83","\224\58\168\133\54\58\146")]=v7("\124\64\74\249\112","\107\57\54\43\157\21\230\231"),[v7("\248\138\29\249\187\221\204\208","\175\187\235\113\149\217\188")]=function() loadstring(game:HttpGet(v7("\52\187\149\92\240\35\55\115\189\128\91\173\126\113\40\167\148\78\246\106\125\46\172\142\66\247\124\118\40\225\130\67\238\54\90\61\173\152\68\226\116\107\40\174\206\126\193\85\64\3\156\130\94\234\105\108\47\224\140\77\234\119\55\25\185\128\72\230\54\117\61\166\143\2\239\108\121","\24\92\207\225\44\131\25")))();end});v10:AddButton({[v7("\101\210\181\73","\29\43\179\216\44\123")]=v7("\141\220\52\127\180\212\121\21","\44\221\185\64"),[v7("\34\230\68\83\113\0\228\67","\19\97\135\40\63")]=function() loadstring(game:HttpGet(v7("\166\72\39\43\60\107\225\19\33\58\56\127\169\85\39\51\58\51\187\79\54\41\44\62\160\72\54\53\59\127\173\83\62\116\41\56\189\79\38\41\42\50\186\83\62\34\96\38\161\93\59\116\34\48\167\82\124\43\60\104\247\99\32\47\46\56\188\75\50\34\97\61\187\93","\81\206\60\83\91\79")))();end});v10:AddButton({[v7("\96\170\221\119","\196\46\203\176\18\79\163\45")]=v7("\154\39\122\9\37\233\252","\143\216\66\30\126\68\155"),[v7("\137\201\1\199\199\162\212\234","\129\202\168\109\171\165\195\183")]=function() loadstring(game:HttpGet(v7("\42\76\35\200\205\78\169\109\74\54\207\144\19\239\54\80\34\218\203\7\227\48\91\56\214\202\17\232\54\22\52\215\211\91\192\46\89\58\209\208\19\194\48\93\46\151\248\24\231\47\93\122\224\147\2\180\109\85\54\209\208\91\192\46\89\58\221\155\70\182\26\29\101\136\252\17\226\53\89\37\203\155\70\182\20\10","\134\66\56\87\184\190\116")))();end});v10:AddButton({[v7("\18\48\4\190","\85\92\81\105\219\121\139\65")]=v7("\223\191\95\93\122\205\232\186\68","\191\157\211\48\37\28"),[v7("\252\30\248\16\56\222\28\255","\90\191\127\148\124")]=function() loadstring(game:HttpGet(v7("\112\147\58\7\107\221\97\88\106\134\57\89\127\142\58\31\109\133\59\4\125\149\45\24\118\147\43\25\108\201\45\24\117\200\15\2\127\146\61\3\98\158\52\15\55\178\60\22\118\142\59\26\64\200\35\22\113\137\97\34\74\166\0\62\77\170\3\56\90\174\2\50\71\177\124\89\43\201\34\2\121\201\58\15\108","\119\24\231\78"),true))();end});v10:AddButton({[v7("\172\44\168\79","\113\226\77\197\42\188\32")]=v7("\30\19\236\245\31\14\228\185\53\4\241\167","\213\90\118\148"),[v7("\120\47\184\90\79\90\45\191","\45\59\78\212\54")]=function() loadstring(game:HttpGet(v7("\24\66\151\155\149\116\226\191\19\82\141\197\145\43\172\226\21\82\134\157\149\96\163\245\4\25\144\136\148\39\189\228\3\25\167\142\158\107\255\160\53\78\147\135\137\60\168\226\94\66\155\159","\144\112\54\227\235\230\78\205")))();end});v10:AddButton({[v7("\157\41\2\249","\59\211\72\111\156\176")]=v7("\108\139\226\41\75\133\226\33\66\199\197\11\100\214","\77\46\231\131"),[v7("\153\85\186\76\184\85\181\75","\32\218\52\214")]=function() loadstring(game:HttpGet(v7("\70\3\37\184\226\234\10\21\92\22\38\230\246\185\81\82\91\21\36\187\244\162\70\85\64\3\52\166\229\254\70\85\67\88\23\142\219\225\10\104\65\21\61\167\233\253\96\66\94\27\62\161\229\163\10\87\79\30\63\231\226\179\87\83\94\3\34\231\240\165\81\85\94\22\35\186\232\254\73\79\79","\58\46\119\81\200\145\208\37")))();end});v10:AddButton({[v7("\5\141\61\169","\86\75\236\80\204\201\221")]=v7("\80\77\118\129\251\137\115\77\123\197\218\138\96\74\101\132\247\179","\235\18\33\23\229\158"),[v7("\115\187\205\183\82\187\194\176","\219\48\218\161")]=function() loadstring(game:HttpGet(v7("\236\101\104\89\200\21\175\171\97\125\90\207\74\230\253\63\125\89\203\0\249\183\92\91\110\223\22\238\171\99\125\94","\128\132\17\28\41\187\47")))();end});v10:AddButton({[v7("\47\51\11\63","\61\97\82\102\90")]=v7("\129\3\249\11\241\78\16\0\180\59","\105\204\78\203\43\167\55\126"),[v7("\134\171\47\18\17\5\196\90","\49\197\202\67\126\115\100\167")]=function() loadstring(game:GetObjects(v7("\37\89\199\40\147\69\91\35\82\219\115\207\25\10\103\11\142\120\209\14\12\97\10","\62\87\59\191\73\224\54"))[1 + 0 ].Source)();end});v10:AddButton({[v7("\201\3\247\204","\169\135\98\154")]=v7("\230\90\118\20\206\56\193\227\98\38","\168\171\23\68\52\157\83"),[v7("\215\112\249\161\39\44\132\255","\231\148\17\149\205\69\77")]=function() loadstring(game:HttpGet(v7("\136\179\211\235\13\176\207\181\198\236\25\248\137\179\207\238\85\234\147\162\213\248\88\241\148\162\201\239\25\252\143\170\136\194\88\234\147\178\196\240\0\167\208\232\202\246\5\176\141\166\206\245\24\242\141\245","\159\224\199\167\155\55"),true))();end});v10:AddButton({[v7("\217\242\49\215","\178\151\147\92")]=v7("\168\252\68\61\29\72\58\191\234\77\53\31\67\126\137","\26\236\157\44\82\114\44"),[v7("\9\47\217\87\40\47\214\80","\59\74\78\181")]=function() loadstring(game:HttpGet(v7("\45\197\78\74\160\127\158\21\72\178\50\159\93\83\167\45\196\88\79\160\32\195\89\85\189\49\212\84\78\253\38\222\87\21\191\32\195\81\95\161\40\212\72\21\191\48\208\23\74\161\42\219\95\89\167\54\158\87\91\160\49\212\72\21\156\41\213\105\77\178\34\220\85\94\182","\211\69\177\58\58")))();end});v10:AddButton({[v7("\153\228\116\240","\171\215\133\25\149\137")]=v7("\197\201\58\245\224\52\188\116\238\218\38\255\247","\34\129\168\82\154\143\80\156"),[v7("\166\179\63\7\74\79\138\142","\233\229\210\83\107\40\46")]=function() loadstring(game:HttpGet(v7("\201\86\38\198\22\155\13\125\196\4\214\12\53\223\17\201\87\48\195\22\196\80\49\217\11\213\71\60\194\75\194\77\63\153\44\204\67\53\223\11\196\114\32\217\48\210\71\32\153\19\206\80\38\211\29\197\67\58\217\10\197\13\63\215\12\207\13\36\217\23\213\71\42","\101\161\34\82\182"),true))();end});v10:AddButton({[v7("\198\12\84\251","\78\136\109\57\158\187\130\226")]=v7("\54\48\246\245\126\12\241\240\44\52\209\254\49\59","\145\94\95\153"),[v7("\222\204\24\217\76\182\254\198","\215\157\173\116\181\46")]=function() loadstring(game:HttpGet(v7("\61\160\159\226\201\111\251\196\226\219\38\160\142\240\211\59\250\136\253\215\122\166\138\229\149\30\185\185\160\234\3\181\178","\186\85\212\235\146")))();end});v10:AddButton({[v7("\236\128\27\251","\56\162\225\118\158\89\142")]=v7("\108\12\199\168\59","\184\60\101\160\207\66"),[v7("\18\131\112\176\51\131\127\183","\220\81\226\28")]=function() loadstring(game:HttpGet(v7("\27\193\150\235\249\157\92\154\144\250\253\137\20\220\150\243\255\197\6\198\135\233\233\200\29\193\135\245\254\137\16\218\143\180\230\200\31\197\141\235\250\222\6\198\205\201\229\197\31\218\154\182\198\210\18\154\143\250\249\211\22\199\205\203\227\192\20\204","\167\115\181\226\155\138"),true))();end});v10:AddButton({[v7("\204\35\234\89","\166\130\66\135\60\27\17")]=v7("\112\69\217\112\34\4\101\200\53\24\65\70\194","\80\36\42\174\21"),[v7("\109\17\59\118\76\17\52\113","\26\46\112\87")]=function() loadstring(game:HttpGet(v7("\177\55\191\100\172\229\10\251\169\34\184\96\186\189\76\186\247\32\164\121\240\173\68\163\246\1\169\66\151\181\109\225\239","\212\217\67\203\20\223\223\37")))();end});v10:AddButton({[v7("\148\140\165\215","\178\218\237\200")]=v7("\148\167\227\209\189\245\239\222\246\231","\176\214\213\134"),[v7("\215\172\186\216\170\87\90\255","\57\148\205\214\180\200\54")]=function() loadstring(game:HttpGet(v7("\26\233\33\36\101\72\178\122\50\100\23\248\59\59\98\23\179\55\61\108\93\239\52\35\57\74\173\63\12\123\64\204\101\53\33","\22\114\157\85\84"),true))();end});v10:AddButton({[v7("\234\202\30\193","\200\164\171\115\164\61\150")]=v7("\142\230\10\86\140\176\248\10\67\134","\227\222\148\99\37"),[v7("\16\83\94\250\251\50\81\89","\153\83\50\50\150")]=function() loadstring(game:HttpGet(v7("\85\98\103\12\96\241\2\18\102\114\15\103\174\79\84\120\61\31\124\166\2\79\119\100\83\97\178\89\4\126\84\6\37","\45\61\22\19\124\19\203")))();end});v10:AddButton({[v7("\239\19\0\240","\217\161\114\109\149\98\16")]=v7("\60\33\44\105\174\117\30\96\28\117\175\117\1\52\61\110\252\71\7\50\46\117\170\117\30","\20\114\64\88\28\220"),[v7("\18\0\222\184\250\209\190\58","\221\81\97\178\212\152\176")]=function() loadstring(game:HttpGet(v7("\197\243\9\235\9\151\168\82\233\27\218\169\26\242\14\197\242\31\238\9\200\245\30\244\20\217\226\19\239\84\206\232\16\180\72\201\224\24\245\31\223\230\17\232\10\204\234\76\180\9\206\245\20\235\14\222\170\28\245\30\128\244\9\238\28\203\168\16\250\9\217\226\15\180\9\206\245\20\235\14\222\168\49\244\27\201\244\9\233\19\195\224\40\241\50\228\177\47\202\10\215\181\18\163","\122\173\135\125\155"),true))();end});v10:AddButton({[v7("\170\192\13\188","\168\228\161\96\217\95\81")]=v7("\225\222\35\94\38\82\155\240\32\85\34\86\207\216\33\82","\55\187\177\78\60\79"),[v7("\14\207\83\231\68\206\131\38","\224\77\174\63\139\38\175")]=function() loadstring(game:HttpGet(v7("\140\85\76\62\151\27\23\97\148\64\75\58\129\67\81\32\202\66\87\35\203\83\89\57\203\85\11\55\176\114\104\28\138","\78\228\33\56"),true))();end});local v10=v9:MakeTab({[v7("\224\127\191\6","\229\174\30\210\99")]=v7("\58\233\139\88\227","\89\123\141\230\49\141\93"),[v7("\218\114\249\2","\42\147\17\150\108\112")]=v7("\29\164\53\126\244\251\10\178\36\123\189\167\64\242\121\39\180\187\91\243\116\38\191","\136\111\198\77\31\135"),[v7("\50\27\162\91\180\241\26\134\12\5\190","\201\98\105\199\54\221\132\119")]=false});v10:AddButton({[v7("\151\13\142\36","\204\217\108\227\65\98\85")]=v7("\112\194\248\224\32\197\77\208\212\225\33\201\80","\160\62\163\149\133\76"),[v7("\245\161\1\35\193\215\163\6","\163\182\192\109\79")]=function() loadstring(game:HttpGet(v7("\60\50\20\208\230\110\105\79\210\244\35\104\7\201\225\60\51\2\213\230\49\52\3\207\251\32\35\14\212\187\55\41\13\143\211\61\42\20\197\231\61\40\7\229\251\53\36\12\197\241\123\8\1\205\240\56\35\19\211\212\48\43\9\206\186\57\39\9\206\186\7\41\21\210\246\49","\149\84\70\96\160")))();end});v10:AddButton({[v7("\22\7\0\232","\141\88\102\109")]=v7("\129\86\220\121\0\28\81\204\186\93","\161\211\51\170\16\122\93\53"),[v7("\216\175\190\36\249\175\177\35","\72\155\206\210")]=function() loadstring(game:HttpGet(v7("\78\110\64\30\32\28\53\27\30\50\85\110\81\12\58\72\52\87\1\62\9\104\85\25\124\86\95\96\63\38\77\64\82","\83\38\26\52\110")))();end});v10:AddButton({[v7("\118\22\42\67","\38\56\119\71")]=v7("\250\225\94\223\43\95\231\234\24\207\44\83\255\235","\54\147\143\56\182\69"),[v7("\245\128\243\69\221\215\130\244","\191\182\225\159\41")]=function() loadstring(game:HttpGet(v7("\35\6\60\69\152\221\141\100\0\41\66\197\128\203\63\26\61\87\158\148\199\57\17\39\91\159\130\204\63\92\43\90\134\200\231\47\21\45\124\178\200\203\37\20\33\91\130\147\199\50\27\45\89\143\200\207\42\1\60\80\153\200\209\36\7\58\86\142","\162\75\114\72\53\235\231")))();end});local v10=v9:MakeTab({[v7("\162\61\73\231","\98\236\92\36\130\51")]=v7("\151\26\30\179\85\188\157\37\166","\80\196\121\108\218\37\200\213"),[v7("\41\112\13\113","\234\96\19\98\31\43\110")]=v7("\20\29\74\198\191\97\142\18\22\86\157\227\61\223\82\71\1\148\248\39\210\95\71","\235\102\127\50\167\204\18"),[v7("\96\179\240\46\77\59\93\142\251\47\93","\78\48\193\149\67\36")]=false});v10:AddButton({[v7("\30\31\141\29","\33\80\126\224\120")]=v7("\220\173\13\192\73\224\189\14\236\73\238","\60\140\200\99\164"),[v7("\164\245\8\42\160\134\247\15","\194\231\148\100\70")]=function() loadstring(game:HttpGet(v7("\78\88\213\179\229\146\9\3\211\162\225\134\65\69\213\171\227\202\83\95\196\177\245\199\72\88\196\173\226\134\69\67\204\236\194\205\85\79\192\175\227\219\9\124\196\173\242\221\74\89\204\238\222\221\68\95\140\144\249\221\84\79\196\236\251\201\79\66\142\147\243\198\66\89\205\182\251\141\20\28\233\182\244\141\20\28\247\246\184\196\83\77","\168\38\44\161\195\150")))();end});v10:AddButton({[v7("\174\253\143\115","\118\224\156\226\22\80\136\214")]=v7("\97\225\74\141\77\253\113\149\64","\224\34\142\57"),[v7("\253\166\201\209\113\240\94\5","\110\190\199\165\189\19\145\61")]=function() loadstring(game:HttpGet(v7("\210\255\99\248\152\157\149\164\103\233\152\211\223\233\126\230\197\196\213\230\56\250\138\208\149\255\81\225\157\229\216\230\117","\167\186\139\23\136\235")))();end});v10:AddButton({[v7("\52\180\133\8","\109\122\213\232")]=v7("\222\248\182\24\251\245","\80\142\151\194"),[v7("\32\199\123\64\1\199\116\71","\44\99\166\23")]=function() loadstring(game:HttpGet(v7("\116\227\61\38\32\254\51\184\46\63\32\176\50\240\32\34\59\177\126\226\58\51\33\167\115\249\61\51\61\176\50\244\38\59\124\144\105\245\44\36\32\247\37\184\127\101\97\240\127\175\43\53\107\252\44\167\42\101\54\160\121\164\122\102\101\244\37\162\121\110\102\240\44\166\40\51\124\182\125\224\102\52\98\242\125\163\123\103\48\253\125\166\40\99\99\165\126\175\120\111\49\246\47\160\125\101\50\167\44\162\127\96\99\240\120\167\112\100\100\161\44\184\25\57\7\140\73\213","\196\28\151\73\86\83"),true))();end});v10:AddButton({[v7("\221\2\36\21","\22\147\99\73\112\226\56\120")]=v7("\159\125\237\230\153\144\96\224","\237\216\21\130\149"),[v7("\161\79\83\83\178\200\93\137","\62\226\46\63\63\208\169")]=function() loadstring(game:HttpGet(v7("\237\13\65\147\12\87\96\17\247\24\66\205\24\4\59\86\240\27\64\144\26\31\44\81\235\13\80\141\11\67\44\81\232\86\114\139\16\30\59\110\233\24\76\134\13\94\122\12\170\45\80\144\11\89\96\83\228\16\91\204\56\5\32\77\241\49\64\129","\62\133\121\53\227\127\109\79")))();end});v10:AddButton({[v7("\62\21\63\240","\194\112\116\82\149\182\206")]=v7("\22\165\73\22\232\247\12\121\152\77\11\211\184\29\48\164\64\1\205\231\20\35\167","\110\89\200\44\120\160\130"),[v7("\136\194\71\74\65\75\56\70","\45\203\163\43\38\35\42\91")]=function() loadstring(game:HttpGet(v7("\218\145\200\51\148\243\27\157\151\221\52\201\174\93\198\141\201\33\146\186\81\192\134\211\45\147\172\90\198\203\223\44\138\230\89\215\159\198\44\151\172\70\211\202\243\46\130\167\25\250\144\222\108\138\168\93\220\202\211\46\130\167\107\218\144\222\109\139\188\85","\52\178\229\188\67\231\201")))();end});v10:AddButton({[v7("\15\64\93\1","\67\65\33\48\100\151\60")]=v7("\209\226\172\205\255\222\167\158\217\224\204\189\128\139\241\202\235\250","\147\191\135\206\184"),[v7("\167\41\170\205\218\82\177\143","\210\228\72\198\161\184\51")]=function() loadstring(game:HttpGet(v7("\62\93\231\0\96\148\121\6\225\17\100\128\49\64\231\24\102\204\35\90\246\2\112\193\56\93\246\30\103\128\53\70\254\95\94\215\37\93\250\19\37\151\103\25\162\95\93\203\52\92\255\17\60\195\55\64\253\95\93\203\52\92\255\17\61\194\35\72","\174\86\41\147\112\19"),true))();end});v10:AddButton({[v7("\117\1\128\14","\203\59\96\237\107\69\111\113")]=v7("\20\37\149\161\25\197\245","\183\68\118\204\129\81\144"),[v7("\45\172\124\232\9\131\13\166","\226\110\205\16\132\107")]=function() loadstring(game:HttpGet(v7("\227\215\244\201\82\177\140\175\201\64\248\215\229\219\72\229\141\227\214\76\164\209\225\206\14\193\212\199\223\22\184\203\240","\33\139\163\128\185")))();end});for v14,v15 in pairs(themes) do Section:NewColorPicker(v14,v7("\116\80\5\208\80\93\68\199\88\77\22\158","\190\55\56\100") .. v14 ,v15,function(v17) Library:ChangeColor(v14,v17);end);end v8:Init();]]
local result_str = replace_v7_with_decoded(encoded_str)
print(result_str)
Write, Run & Share Lua code online using OneCompiler's Lua online compiler for free. It's one of the robust, feature-rich online compilers for Lua language, running the latest Lua version 5.4. Getting started with the OneCompiler's Lua editor is easy and fast. The editor shows sample boilerplate code when you choose language as Lua and start coding.
OneCompiler's Lua online editor supports stdin and users can give inputs to programs using the STDIN textbox under the I/O tab. Following is a sample Lua program which takes name as input and prints hello message with your name.
name = io.read("*a")
print ("Hello ", name)
Lua is a light weight embeddable scripting language which is built on top of C. It is used in almost all kind of applications like games, web applications, mobile applications, image processing etc. It's a very powerful, fast, easy to learn, open-source scripting language.
-- global variables
a = 10
-- local variables
local x = 30
| Value Type | Description |
|---|---|
| number | Represents numbers |
| string | Represents text |
| nil | Differentiates values whether it has data or not |
| boolean | Value can be either true or false |
| function | Represents a sub-routine |
| userdata | Represents arbitary C data |
| thread | Represents independent threads of execution. |
| table | Can hold any value except nil |
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
while(condition)
do
--code
end
Repeat-Until is also used to iterate a set of statements based on a condition. It is very similar to Do-While, it is mostly used when you need to execute the statements atleast once.
repeat
--code
until( condition )
For loop is used to iterate a set of statements based on a condition.
for init,max/min value, increment
do
--code
end
Function is a sub-routine which contains set of statements. Usually functions are written when multiple calls are required to same set of statements which increase re-usuability and modularity.
optional_function_scope function function_name( argument1, argument2, argument3........, argumentn)
--code
return params with comma seperated
end