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: Simple Question

Previous Thread :: Next Thread 
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 07:31 PM
How do I clone tools that is in my backpack and paste it in my backpack using command bar?


game.Players.kevincatssing.Backpack["Clone Tool"]:Clone()


I tried that but it does not work qq
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 07:39 PM
Frens qq
Report Abuse
LetUsGame is not online. LetUsGame
Joined: 09 Nov 2013
Total Posts: 199
14 Jul 2014 07:53 PM
U no set the parent!!111!
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 08:36 PM
how 2 set parunt!!???
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 08:37 PM
Object:Clone().Parent = DurrHurr
Clone = Object:Clone()
Clone.Parent = DurrHurr
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 08:42 PM
So

game.Players.kevincatssing.Backpack["Clone Tool"]:Clone().Parent = HurrDurr
Clone = Object:Clone()
Clone.Parent = HurrDurr

???
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
14 Jul 2014 08:42 PM
dude

that was two answers


'Clone = Object:Clone()' Object would be like game.Players.kevincatssing.Backpack["Clone Tool"]
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 08:46 PM
You set the parent of a cloned object the same way you set the parent of any other object.
You define it and set the parent
Object = OBJECTTOCLONE:Clone()
Object.Parent = PARENTHERE

OBJECTTOCLONE:Clone().Parent = PARENTHERE for short if you don't plan on doing anything else with the clone.
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 08:51 PM


game.Players.kevincatssing.Backpack["Clone Tool"]:Clone().Parent = Cats
Clone = game.Players.kevincatssing.Backpack["Clone Tool"]:Clone()
Clone.Parent = Cars


Soooo??


sorry qq
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 08:52 PM
If you defined 'Cats' and 'Cars' previously, then yes.
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:21 PM
O typo

Sorry

So my last input was correct, discluding the typo :D?
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 10:22 PM
wat
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:24 PM
game.Players.kevincatssing.Backpack["Clone Tool"]:Clone().Parent = Cats
Clone = game.Players.kevincatssing.Backpack["Clone Tool"]:Clone()
Clone.Parent = Cats


Is correct?
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:30 PM
Lamp fren

Pls
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 10:33 PM
y

Why does everyone want to friend request me when I help them?
I've currently got 36 even though I've recently denied all the other ones.
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:33 PM
I didn't send you a fr

Qq

But is it correct qq
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 10:41 PM
I told you already.
Define 'Cats' and 'Cars' and it should be good.
Are you meaning to put 'Workspace.Cats'/'Workspace.Cars'?
You need a valid path to set the parent.
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:41 PM
Cats
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
14 Jul 2014 10:43 PM
There is nothing called 'Cats'
You need to define it.
Where are you trying to parent it to?
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
14 Jul 2014 10:44 PM
My backpack
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
15 Jul 2014 12:17 AM
help qq
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
15 Jul 2014 02:53 AM
qq
Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
15 Jul 2014 03:09 AM
Please take note I don't know how to script

Report Abuse
kevincatssing is online. kevincatssing
Joined: 29 Aug 2011
Total Posts: 15763
15 Jul 2014 03:31 AM
I tried my best :c
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