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 Source

Previous Thread :: Next Thread 
Djmann1013 is not online. Djmann1013
Joined: 17 Apr 2009
Total Posts: 1606
29 May 2015 04:53 PM
Anyone know why this simple script doesn't work online?

i = Instance.new("Script", workspace)
i.Source = "print 'Hello Werld!'"
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
29 May 2015 04:55 PM
That wouldn't would anytime.

Source is locked.


I script -~ chimmihc
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
29 May 2015 05:05 PM
Actually, it did work in the old days of Roblox.
Report Abuse
Djmann1013 is not online. Djmann1013
Joined: 17 Apr 2009
Total Posts: 1606
29 May 2015 05:05 PM
Is there a way around it?

I just need to execute code from httpservice.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
29 May 2015 05:08 PM
I am aware that it was not always locked XD

I meant that It would not work in studio or on a server.


I script -~ chimmihc
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
29 May 2015 05:09 PM
Make a script load the code that you get from your website by making the code execute using loadstring. Loadstring needs to be enabled as a property in serverscriptservice.
http://wiki.roblox.com/index.php?title=Function_Dump/Core_Functions#loadstring

~secretidagent
Report Abuse
Djmann1013 is not online. Djmann1013
Joined: 17 Apr 2009
Total Posts: 1606
29 May 2015 05:10 PM
I know I need to enable loadstring, but is there a way to execute code other than using .Source?
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
29 May 2015 05:17 PM
Loadstring.....

loadstring("print('hello')")

will execute the code within. Just plug in the code you got from your website and it will execute using loadstring.

~secretidagent
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
29 May 2015 05:18 PM
lol op is so dumb
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
29 May 2015 05:19 PM
or use gskw's way.
Report Abuse
Djmann1013 is not online. Djmann1013
Joined: 17 Apr 2009
Total Posts: 1606
29 May 2015 05:37 PM
What is gskw's way?
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
29 May 2015 06:09 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=143065825
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
29 May 2015 06:33 PM
That's pretty stupid if you have the option of using loadstring, though.
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
29 May 2015 06:34 PM
Its more for client side loadstring and not actually having loadstring.
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