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: How do i make a script and its text?

Previous Thread :: Next Thread 
king4000000 is not online. king4000000
Joined: 22 Oct 2011
Total Posts: 397
09 Jul 2013 10:07 AM
This is my script But it wont work
10:03:13.132 - Text is not a valid member of Script
10:03:13.134 - Script "Workspace.Script.Script", Line 2
10:03:13.136 - stack end

local sc = Instance.new("Script")
sc.Text = "game.workspace.Baseplate:Remove()"

how do i change it?
Report Abuse
Extreme1001 is online. Extreme1001
Joined: 25 Aug 2010
Total Posts: 7597
09 Jul 2013 10:14 AM
Figure it out
Report Abuse
king4000000 is not online. king4000000
Joined: 22 Oct 2011
Total Posts: 397
09 Jul 2013 10:15 AM
What the heck dude
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
09 Jul 2013 10:32 AM
Figure it out weakling.
Report Abuse
king4000000 is not online. king4000000
Joined: 22 Oct 2011
Total Posts: 397
09 Jul 2013 07:27 PM
How do make it though?
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
09 Jul 2013 07:29 PM
Your issue, the "Script" class doesn't have a Text field. I think you're getting it confused with the .Source field, which is inaccessible unless you use something like a plugin utility.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
09 Jul 2013 08:04 PM
local code = Instance.new("StringValue")
code.Parent = game.Workspace
code.Value = "game.Workspace.stephen1182:BreakJoints()"
wait()
loadstring(code.Value)
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
09 Jul 2013 09:16 PM
Replace. Text with. Source. This only works in a corescript, pluginscript or commandbar!
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