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: Cloning a tool from workspace into the player

Previous Thread :: Next Thread 
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 08:59 PM
So, I created a script which would clone a tool that is in the Lighting into the player's character. The problem is that only the Handle remains out of all the parts that were in the tool. How can I fix this?


おにぎり (Onigiri)
Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:31 PM
Bump


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:31 PM
tool:Clone().Parent = player.Backpack


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:37 PM
That's not the problem, I am cloning it into the player so that it's instantly equipped, the backpack is disabled.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:39 PM
tool:Clone().Parent = player.Character


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:40 PM
Stop.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:40 PM
No, you stop.


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:41 PM
obv the handle isnt part of the tool


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
13 Mar 2016 09:42 PM
tool:Clone().Parent = player.Character [2]

As an alternative, you could use Humanoid:EquipTool(Blah), but you will need to read the wiki since I don't think that works if that works when you aren't putting it in Backpack.


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:43 PM
I've already tried cloning it into the character, that's what I said before. The tool itself isn't being cloned over properly, and all of the parts within it are gone except the handle.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:44 PM
Weld the danm tool then. Jesus


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:46 PM
The tool already is welded.
As I've said before 3 times, the parts are not being cloned over properly except the handle.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:47 PM
well you still havent provided any script at all


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:48 PM
It's exactly how you'd think it would look

game.Lighting.ARC:Clone().Parent = Player.Character


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:48 PM
Don't use lighting. Use ServerStorage


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:49 PM
Already tried that, still wont clone over properly.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:50 PM
give me the model so i can test it myself


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:50 PM
No.


おにぎり (Onigiri)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
13 Mar 2016 09:51 PM
LOL. THIS KID. IM DONE


Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:52 PM
Why would I give some random guy on the forums who is giving me zero help access to one of the main parts of one of my games?


おにぎり (Onigiri)
Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 09:53 PM
Bump.


おにぎり (Onigiri)
Report Abuse
Erediin is not online. Erediin
Joined: 13 Mar 2016
Total Posts: 756
13 Mar 2016 10:57 PM
One of the main parts of your game is
tool:Clone().Parent = player.Backpack


?

Don't come on here asking for help if you're going to reject it.



Report Abuse
Mechords is not online. Mechords
Joined: 25 Dec 2014
Total Posts: 714
13 Mar 2016 11:06 PM
In order to fix this problem you need to stab your central processor to clear the data flow. It'll run slower but it WILL fix this problem
Report Abuse
Waleris is online. Waleris
Joined: 25 Mar 2011
Total Posts: 224
13 Mar 2016 11:07 PM
I figured it out.


おにぎり (Onigiri)
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