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: Script spacing?

Previous Thread :: Next Thread 
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
08 Jul 2013 07:37 PM
w.Part1 = script.Parent.Left Arm --How do I space "Left Arm" because it doesn't seem to work when I space it. And I can't name it LeftArm.
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
08 Jul 2013 07:39 PM
script.Parent["Left Arm"]
Report Abuse
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
08 Jul 2013 07:41 PM
That doesn't work for me, just tried it.
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
08 Jul 2013 07:42 PM
Output?
Where's your script located?
Report Abuse
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
08 Jul 2013 07:46 PM
Output says nothing. This is the whole script. It is located in an NPC.

local w = Instance.new("Weld")

w.Parent = script.Parent.Sword

w.Part0 = w.Parent

w.Part1 = script.Parent.Left Arm

w.C1 = CFrame.new(0, 0, 0)
Report Abuse
Thaeh is not online. Thaeh
Joined: 05 Feb 2011
Total Posts: 7685
08 Jul 2013 07:49 PM
script.Parent["Left Arm"]
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
08 Jul 2013 07:59 PM
script.Parent:FindFirstChild("Left Arm")
Report Abuse
snakeboy1111 is not online. snakeboy1111
Joined: 29 Sep 2012
Total Posts: 268
08 Jul 2013 08:11 PM
What dek said
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