|
| 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 |
|
|
| |
|
LetUsGame
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 199 |
|
| |
|
| |
|
|
| 14 Jul 2014 08:37 PM |
Object:Clone().Parent = DurrHurr Clone = Object:Clone() Clone.Parent = DurrHurr |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2014 08:42 PM |
So
game.Players.kevincatssing.Backpack["Clone Tool"]:Clone().Parent = HurrDurr Clone = Object:Clone() Clone.Parent = HurrDurr
??? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 14 Jul 2014 08:52 PM |
| If you defined 'Cats' and 'Cars' previously, then yes. |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2014 10:21 PM |
O typo
Sorry
So my last input was correct, discluding the typo :D? |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 14 Jul 2014 10:33 PM |
I didn't send you a fr
Qq
But is it correct qq |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
| |
|
| |
|
| |
|
|
| 15 Jul 2014 03:09 AM |
Please take note I don't know how to script
|
|
|
| Report Abuse |
|
|
| |
|