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
 

Re: Using Require

Previous Thread :: Next Thread 
Azuc is online. Azuc
Joined: 11 Sep 2012
Total Posts: 8419
14 Mar 2017 11:39 AM
A scripter on my development team is pulling a script into our game using require, he says its a backup admin script in-case an exploiter removes the first but I honestly do not trust him, is there some way for me to view what the script is doing/running to confirm my suspicion that it's something shady.


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
14 Mar 2017 11:41 AM
He's a dumbaz​s if he's worried about an exploiter removing the first, you shouldn't have hired him anyway
Just ask him


Report Abuse
TheBenSquare is not online. TheBenSquare
Joined: 13 Dec 2009
Total Posts: 13604
14 Mar 2017 11:41 AM
Nope. If it matters enough, just ask him if you can look at the module.
Report Abuse
Isosta is not online. Isosta
Joined: 10 May 2015
Total Posts: 14729
14 Mar 2017 12:37 PM
use FE and learn how to script and u wont have this issue
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
14 Mar 2017 01:57 PM
You could try this if you wanted to view the source? Run in command bar:

_G.X = require(ID)
getfenv(_G.X).script.Parent = workspace
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
14 Mar 2017 02:02 PM
If he were intelligent enough to put a "script = nil" in his module, my above script would break.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Mar 2017 02:03 PM
No.
For one you cannot require by ID from studio
For two it'd have to return a function (or a table that has a function in it, or whatever) for you to be able to call getfenv and hope they havne't set script = nil

Currently there is a way to steal modulescripts regardless of how much you protect it but hopefully that's being patched soon
Report Abuse
IcedVapour is not online. IcedVapour
Joined: 10 Nov 2013
Total Posts: 2741
14 Mar 2017 02:04 PM
"script = nil"

no.

completely useless.

coming from a exploit developer
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
14 Mar 2017 02:16 PM
Considering it's an admin script, it's most likely got a function in it somewhere.

I requested my own module in studio just now. Does it not work for other users? You could still poke around with getfenv online to look at variables. It's not source code, but it's something if you're really concerned.

But that point, it's probably best to just talk to the guy. I honestly don't see why you'd want to use an online module unless it were for a free model. If you just reuse the same script in multiple places, I'd go for LinkedSource.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Mar 2017 02:48 PM
"coming from a exploit developer "
You don't know anything if you're claiming to be an exploit developer.

Case in point(s):
1. you cannot require by id client-sided, therefore your whole statement is flawed
2. you've shown plenty of times how stupid you are based on what you post on this subforum
3. even if you could require-by-id client-sided, your post is largely irrelevant because anyone with a brain could have realized that to load it, you need to fetch it meaning the source would be in memory at some point in time
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
14 Mar 2017 02:54 PM
@cntkillme

Actually, you can require by id from studio. I've done it before.
Report Abuse
IcedVapour is not online. IcedVapour
Joined: 10 Nov 2013
Total Posts: 2741
14 Mar 2017 02:56 PM
when you make a joke and some 40 yr old groomer on a kids website starts flaring up
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Mar 2017 02:58 PM
"Actually, you can require by id from studio. I've done it before."
Not if it's copylocked
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
14 Mar 2017 03:00 PM
Not for me. Back before I was smart enough to figure out how to make my own shrink ray, I took one of the shrink rays from the catalog and found that it used require() with an id to get the shrinking function. I used the shrinking ModuleScript too, and it worked just fine in studio and server.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Mar 2017 03:02 PM
"Not if it's copylocked"
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
14 Mar 2017 03:03 PM
It was copylocked. I don't know where you're getting your information.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Mar 2017 03:04 PM
I'm getting it from common-sense and experience. If you can require COPYLOCKED modulescripts then you can steal them very easily. And even then many people have come on here complaining that their script wasn't working and the problem a ton of the time was because they are trying to require by ID and were testing it in studio.

Stop complaining and actually test it. And don't test your own model test someone else's copylocked modulescript.
Report Abuse
DiamondBladee is not online. DiamondBladee
Joined: 24 Feb 2013
Total Posts: 3527
14 Mar 2017 03:29 PM
@Axon

Items created by Roblox staff tend to be exceptions as well, similar to InsertService exceptions.
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
14 Mar 2017 03:32 PM
I thought cnt was talking about the place being copylocked.
Report Abuse
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
14 Mar 2017 03:51 PM
lol are u stupid
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