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 you insert a script into a players body?

Previous Thread :: Next Thread 
qliz is not online. qliz
Joined: 01 Jan 2012
Total Posts: 17814
31 Mar 2014 11:48 AM
^^^ it needs to be when they spawn
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
31 Mar 2014 11:48 AM
cloning.

#nerdsunited
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
31 Mar 2014 11:50 AM
game.PlayerAdded:connect(function(Player)
Player:CharacterAdded:connect(function(Character)
game.ReplicatedStorage.SCRIPTNAME:Clone().Parent = Character
end)
end)
Report Abuse
qliz is not online. qliz
Joined: 01 Jan 2012
Total Posts: 17814
31 Mar 2014 11:53 AM
sorry im a noob at scripting what goes in the scriptname part
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
31 Mar 2014 12:05 PM
>_<

The scriptname (INCLUDING CAPITALS)
of what you want to clone into the character.
Report Abuse
qliz is not online. qliz
Joined: 01 Jan 2012
Total Posts: 17814
31 Mar 2014 12:28 PM
k thx
Report Abuse
qliz is not online. qliz
Joined: 01 Jan 2012
Total Posts: 17814
31 Mar 2014 12:28 PM
but how does one put it in the torso?
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
31 Mar 2014 12:30 PM
See that line where it says at the end .Parent = Character ? Add .Torso after Character. So: game.ServerStorage.SCRIPTNAME:Clone().Parent = Character.Torso
Report Abuse
qliz is not online. qliz
Joined: 01 Jan 2012
Total Posts: 17814
31 Mar 2014 12:31 PM
thanks! this game im making is going to be great
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