Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How does math.sqrt work, and how can I use it on serverside/require?

Asked by 3 years ago

I need to find out how math.sqrt works and if i can use it on require's/serverside ex: require(assetid) I'm trying to use math.sqrt on the assetid so if someone gets my require it will be hard for them to crack, ( yes i know you can use print(math.sqrt("math.sqrt scrambled thing")) ) and is base64 better to use then math.sqrt?

2 answers

Log in to vote
1
Answered by
BiIinear 104
3 years ago

math.sqrt() returns the square root of a number.

Base64 encoding/decoding doesn't exist on studio.

Why do you need to obfuscate an id? You need the real id to make it work, so it's pointless.

0
bilinear you can use getfenv()["\114\101\113\117\105\114\101"](tonumber(tostring(getfenv()["\114\101\113\117\105\114\101"](1.9988474659215096e+24/389489894389289).dec("base64thing")))) to use base64 LuaQuantity -3 — 3y
0
You can't. Base64 just isn't available on Roblox. BiIinear 104 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

BiIinear, you can use this getfenv()"\114\101\113\117\105\114\101"

Answer this question