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 » Scripting Helpers
Home Search
 

Re: createscript([[]],workspace)

Previous Thread :: Next Thread 
rougedemon is not online. rougedemon
Joined: 03 Jan 2009
Total Posts: 1691
23 Aug 2011 02:29 PM
Does the "createscript([[]],workspace)" thing still work?
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
23 Aug 2011 02:31 PM
I'm not sure. Try it.


~Earthquake happened in Virgina, I felt it in New York.
Report Abuse
rougedemon is not online. rougedemon
Joined: 03 Jan 2009
Total Posts: 1691
23 Aug 2011 02:32 PM
This "Workspace.Script:1: attempt to call global 'createscript' (a nil value)" was why I was asking.
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
23 Aug 2011 02:33 PM
Nope then.

Instance.new("Script",workspace)
Report Abuse
rougedemon is not online. rougedemon
Joined: 03 Jan 2009
Total Posts: 1691
23 Aug 2011 02:33 PM
Nevermind, it requires a function. I feel stupid.
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
23 Aug 2011 02:34 PM
Lawl.
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
23 Aug 2011 02:43 PM
I think you're talking about the source property.

Instance.new("Script", workspace).Source = [[ print"hi" ]]

The Source property was removed. HOWEVER! There's another way.

Source = [[ print"hi" ]]
loadstring(Source)()

It's more efficient too... In a way.



-SoulStealer9875 (Check out my RPG: http://www.roblox.com/Infestation-RPG-item?id=43724873)

-Want to share/download plugins? Go to roplugins DOT x10 DOT bz
-I`m also a Wiki Writer: http://wiki.roblox.com/index.php/User:SoulStealer9875
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
23 Aug 2011 03:03 PM
@citymaster22

I felt it in PA.
Report Abuse
Piedude777 is not online. Piedude777
Joined: 01 Oct 2008
Total Posts: 10017
23 Aug 2011 03:07 PM
However, you can access Source with the command bar, Execute Script, or plugins.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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