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: Executing a script from within studio

Previous Thread :: Next Thread 
Chrapnel is not online. Chrapnel
Joined: 01 Feb 2014
Total Posts: 951
27 Jun 2015 03:02 AM
Is there a way to execute whole blocks of code without using the command bar? It's getting really annoying.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
27 Jun 2015 03:12 AM
loadstring(script.Source)
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
27 Jun 2015 03:13 AM
I think they removed source.


~Tynezz
Report Abuse
Chrapnel is not online. Chrapnel
Joined: 01 Feb 2014
Total Posts: 951
27 Jun 2015 03:15 AM
I mean edit mode.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
27 Jun 2015 03:15 AM
I think loadstring(script.Source) works for the command bar.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
27 Jun 2015 03:16 AM
Source is level 4 clearance.

Command bar and plugins can use it.
Report Abuse
Chrapnel is not online. Chrapnel
Joined: 01 Feb 2014
Total Posts: 951
27 Jun 2015 03:19 AM
So my script is named "test" in workspace.

loadstring(workspace.test.Source)

^this doesn't work.
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
27 Jun 2015 04:27 AM
Create a TextBox + TextButton gui in a plugin that is adorned to the bars up top.

Paste code from Notepad++ and have fun.
Report Abuse
Froast is not online. Froast
Joined: 12 Mar 2009
Total Posts: 3134
27 Jun 2015 04:43 AM
loadstring(script.Source)()

-- the parenthesis at the end are important
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