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: StarterCharacterScript positions

Previous Thread :: Next Thread 
DamagedPaul is not online. DamagedPaul
Joined: 08 Apr 2011
Total Posts: 16
03 Sep 2017 11:02 PM
So I've been wanting to make a player script that does some small animations here and there and thought "Hey, would be cool if it had some spicy effects around it too." So I decided to add some small effects to it and base their positions around the player from the player's torso, but I realized I couldn't use script.Parent or script.Parent.Torso for some reason because the same error [23:59:47.009 - Workspace.[Usernmae].[Script]:28: attempt to index field 'Parent' (a nil value)] kept appearing whenever I tried this.
I asked a friend and he was equally confused by this "Error" so I decided to move to Forums to see if anyone could shed some insight on this small issue.
Report Abuse
ReallyExpensive is not online. ReallyExpensive
Joined: 01 Apr 2013
Total Posts: 951
04 Sep 2017 12:00 AM
i would do a :waitforchild() on the torso, as it may of not loaded yet.
also r15 models don't use torsos. a good alternative would be humanoidrootpart or head if you're doing both r6 and r15.

although, for me to clarify more, i'd send a script out.


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