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
 

Just a little scripting challenge I thought of

Previous Thread :: Next Thread 
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
17 Jan 2017 08:33 PM
make an encrypting function for scripts. no need for the decryption, but you can make that too.

attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯
Report Abuse
RangerLaina is not online. RangerLaina
Joined: 18 Feb 2016
Total Posts: 1024
17 Jan 2017 08:43 PM
what sort of encrypting


attempt to call life (a nil value)
Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
17 Jan 2017 08:43 PM
any encryption, but i haven't seen a rot13 cipher yet

attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
17 Jan 2017 08:52 PM
"haven't seen a rot13 cipher" is that a joke? Those rot-x ciphers are the most common out there.

local s = script.Source
local ns = ""
local k = 13

-- inefficient but who cares
for c in s:gmatch(".") do
ns = ns .. string.char((c:byte() + k) % 256)
end

print(ns)
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
17 Jan 2017 09:10 PM
Not to ruin the argument, but you can encrypt the source of a script? Would it be wise to do to prevent local scripts from being stolen by malicious users? Would the script still run fine?
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
17 Jan 2017 09:10 PM
"argument"
Lol I've been in this subforum too much lately.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
17 Jan 2017 09:11 PM
Nope. Say you put your encryped code in a StringValue, you'd have to decrypt it and loadstring it (and you can't call loadstring on the client anyways)
Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
17 Jan 2017 09:17 PM
Aw man, would have been cool.
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
17 Jan 2017 09:18 PM
"no need for the decryption"

string.gsub(script.Source, ".", "A")

i did it.


Report Abuse
bry0320 is not online. bry0320
Joined: 24 May 2014
Total Posts: 126
17 Jan 2017 10:07 PM
Isn't the Script.Source property a ProtectedString (aka the property is invisible LocalScripts, ModuleScripts, and Scripts)?

i've been on 4chan for 15232412UVi years
Report Abuse
RangerLaina is not online. RangerLaina
Joined: 18 Feb 2016
Total Posts: 1024
17 Jan 2017 10:08 PM
Yes, it is.


attempt to call life (a nil value)
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