Advertisement
LapisDevelopment

hax

Jan 8th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. local Message="105/116/102/111/";
  2. local Message2="";
  3. local lolgg={};
  4. local Replace={p="o",v="r",i="a",g="i",g="u",j="w",d="s",q="x",e="n",x="u"}
  5.  
  6. local newMessage="";
  7. Message2=Message:gsub("/"," ")
  8. SplitArgs=function(Message, Splitter)
  9. local start = 1
  10. local args = {}
  11. for i = 1, #Message do
  12. if Message:sub(i, i) == Splitter then
  13. args[#args + 1] = Message:sub(start, i - 1)
  14. start = i + 1
  15. elseif i == #Message then
  16. args[#args + 1] = Message:sub(start, i)
  17. end
  18. end
  19. return args
  20. end;
  21.  
  22.  
  23. lolgg=SplitArgs(Message2," ")
  24.  
  25. for i,v in next, lolgg do
  26. newMessage=newMessage..string.char(tonumber(v))
  27. end
  28. for i,v in next, Replace do
  29. newMessage=newMessage:gsub(i,v)
  30. end
  31.  
  32. print(newMessage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement