nikolaaa4
|
  |
| Joined: 20 Apr 2012 |
| Total Posts: 298 |
|
|
| 25 Oct 2016 01:48 PM |
I'd like to know how to obfuscate scripts (since my scripts are being stolen now q.q), something like this
loadstring('\27\76\117\97\81\0\1\4\4\4\8\0\35\66\0\0\114')())
I've searched for plugins but i really can't seem to find a working one. Thanks in advance. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 01:48 PM |
| How would people steal scripts?.. |
|
|
| Report Abuse |
|
|
nikolaaa4
|
  |
| Joined: 20 Apr 2012 |
| Total Posts: 298 |
|
|
| 25 Oct 2016 01:50 PM |
| Someone uses a exploit and then steals the script, leaks it on forums. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 01:55 PM |
Use string.byte but it can be read if you use string.char
|
|
|
| Report Abuse |
|
|
nikolaaa4
|
  |
| Joined: 20 Apr 2012 |
| Total Posts: 298 |
|
|
| 25 Oct 2016 01:57 PM |
| How could i do so? I'm quite new in community. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Oct 2016 02:04 PM |
OP what you posted was Lua bytecode, which loadstring NORMALLY can interpret HOWEVER Roblox disabled that functionality.
You can no longer do that/ |
|
|
| Report Abuse |
|
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 25 Oct 2016 02:07 PM |
| Encryption is always a good idea, but if they can see your encryption they can see your encryption function. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:07 PM |
Put you're entire script into a string and iterate through each character including the spaces and put them into a new string separated with / at the beginning of each one.
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Oct 2016 02:08 PM |
Flamed that is entirely different to what the OP did.
There's a difference between bytecode and a string formed via a ton of escapes. |
|
|
| Report Abuse |
|
|
nikolaaa4
|
  |
| Joined: 20 Apr 2012 |
| Total Posts: 298 |
|
|
| 25 Oct 2016 02:10 PM |
| I literally don't mind what method i use as it's encrypted and hard to read. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 25 Oct 2016 02:11 PM |
If you want it to be hard to read you can use this: https://www.roblox.com/library/197760456/Stravant-Minify-Beautify-Beta
But no matter what you do it isn't going to stop people from stealing your things.
|
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:16 PM |
Sorry, this is reserved for good scripters only
https://www.roblox.com/library/493199352/I-hate-trump |
|
|
| Report Abuse |
|
|
IvanL2
|
  |
| Joined: 18 Aug 2015 |
| Total Posts: 209 |
|
|
| 25 Oct 2016 02:33 PM |
| You could try making a ton of useless functions and variables (using instance.new() to fool them even more) and hiding the real function within it. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:38 PM |
| well then they might not be able to edit it, but they can still use it... |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:48 PM |
| ############################################################################################################################################################################################################################## |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:49 PM |
I love roblox and their chat filter system, high quality stuff there.
http://wiki.roblox.com/index.php?title=Script_Obfuscation
|
|
|
| Report Abuse |
|
|
Vortilis
|
  |
| Joined: 06 Jul 2014 |
| Total Posts: 14163 |
|
|
| 25 Oct 2016 03:47 PM |
string.reverse Friend taught me this old and yet so simple trick. You can make the script unlegible and no one will know it's just reversed.
|
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 04:02 PM |
local bytes = [[\27\76\117\97\81\0\1\4\4\4\8\0\35\66\0\0\114]] loadstring(bytes:gsub([[%\(%d+)]],string.char))() |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 04:15 PM |
and if you want to convert it into that format easier:
local yourstuff = [[ print('i am cool!') local lmao_skillz="wow" print(lmao_skillz) ]] print(({yourstuff:gsub(".",function(match) return [[\]] .. match:byte() end)})[1]) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 25 Oct 2016 04:30 PM |
| Wunder stop posting, you don't know anything about Lua bytecode nor did you read anything I've said. |
|
|
| Report Abuse |
|
|
Coinye
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 4347 |
|
| |
|
Vortilis
|
  |
| Joined: 06 Jul 2014 |
| Total Posts: 14163 |
|
|
| 25 Oct 2016 04:48 PM |
Wunder stop posting, you don't know anything about Lua bytecode nor did you read anything I've said.
|
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 05:01 PM |
| print(string.dump(function() print("cool") end)) |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 05:04 PM |
and ik what bytecode is
print("\107",string.char(107)) |
|
|
| Report Abuse |
|
|