generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Script Security

Previous Thread :: Next Thread 
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
13 Dec 2016 03:50 AM
How would I prevent a hacker to steal any of my scripts?

Server-side and Client-side (if possible).
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
13 Dec 2016 03:53 AM
FE
Report Abuse
GNUnotUNIX is not online. GNUnotUNIX
Joined: 05 Feb 2012
Total Posts: 15171
13 Dec 2016 04:11 AM
Put everything in a module script and then require it.
Although it isn't possible on the client side.

But why would you even want to hide your scripts from hackers?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Dec 2016 04:24 AM
It's (practically) impossible to steal server-sided scripts. You can't do it from in-game, but your client-sided scripts are somewhat possible to steal from in-game.

To my understanding. the source of LocalScripts are no longer replicated to the client. The server compiles the source and replicates the bytecode to the client to load. What this means is it's impossible to get the actual source code (comments are lost and the exact method on how you did something is lost) but it is possible to decompile that bytecode back into Lua. Because debugdata is not lost, the name of local variables could still theoretically be known as well as the line they were defined at among other things.

I'm under the assumption that current in-game LocalScript source "stealers" expect a viable reference within the DataModel. Theoretically this means you can put your code in a ModuleScript, require it, then create a reference to it via a local in another script and set the Parent of the ModuleScript to nil. Although realistically you should assume that no matter what you do, they client can still get it.
Report Abuse
HlCOM is not online. HlCOM
Joined: 29 Mar 2009
Total Posts: 3332
13 Dec 2016 05:12 AM
http://wiki.roblox.com/index.php?title=API:Class/ServerScriptService
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
13 Dec 2016 06:33 AM
Thanks, a lot of helpful responses.

Server is secure.
Client should be secure, but should be assumed to not be secure.
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
13 Dec 2016 07:34 AM
I came up with a similar question a few days back where people were argueing about my ideas to prevent people from stealing scripts. It resulted in my idea that any localscript is stealable and any serverscript aint as long as the serverscript is in either SS or SSS.
Report Abuse
Rerumu is not online. Rerumu
Joined: 11 Oct 2014
Total Posts: 950
13 Dec 2016 08:19 AM
Create LocalScript
Parent RemoteEvent to it
Have LocalScript fire the event once done
Server-side :Destroy() it after parenting to SS.

Assuming you can set up a way from that script to load module scripts via decryption or something, your sources are safe.
Report Abuse
RaulChaser is not online. RaulChaser
Joined: 07 Dec 2014
Total Posts: 655
13 Dec 2016 08:29 AM
You cant just enable FE and expect all your scripts to work. Search the wiki
Report Abuse
Rerumu is not online. Rerumu
Joined: 11 Oct 2014
Total Posts: 950
13 Dec 2016 08:29 AM
I beg to differ if you're me.
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
13 Dec 2016 08:32 AM
"Server is secure.
Client should be secure, but should be assumed to not be secure."

No, the server should be secure but who really knows with Roblox, and the client is not secure and should assumed to not be secure.
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
13 Dec 2016 10:36 AM
If you don't want something stolen, put it on the server.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image