Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Message="105/116/102/111/";
- local Message2="";
- local lolgg={};
- local Replace={p="o",v="r",i="a",g="i",g="u",j="w",d="s",q="x",e="n",x="u"}
- local newMessage="";
- Message2=Message:gsub("/"," ")
- SplitArgs=function(Message, Splitter)
- local start = 1
- local args = {}
- for i = 1, #Message do
- if Message:sub(i, i) == Splitter then
- args[#args + 1] = Message:sub(start, i - 1)
- start = i + 1
- elseif i == #Message then
- args[#args + 1] = Message:sub(start, i)
- end
- end
- return args
- end;
- lolgg=SplitArgs(Message2," ")
- for i,v in next, lolgg do
- newMessage=newMessage..string.char(tonumber(v))
- end
- for i,v in next, Replace do
- newMessage=newMessage:gsub(i,v)
- end
- print(newMessage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement