Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there any way to clone a tool without placing it in backpack?

Asked by 4 years ago

You see, I'm trying to make a tool fall from a roof and then clone itself after the roof closes back up again. I found how to to make the roof close and open but i couldn't find how to clone the tool without using a players backpack. Could you help?

0
Just use Clone (?) masterjosue1998 116 — 4y

3 answers

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

Here is what you would do. I am assuming that there is only 1 part inside the tool, called "Handle." Note: This is not the whole script just the part with the cloning. If you need more help, or there is more than one part in the tool, you can dm me here: BlobMaster#8156

local clone = game.Lighting.Tool:Clone() -- replace with the name and parent of your tool
clone.Parent = workspace
clone.Handle.Position = roof.Position -- basically wherever you want. Change this line to match what you need

And uhhh, yeah. Remember to dm me if this isn't the answer you were looking for.

0
Thanks so much! It works! awesomespeed101 6 — 4y
Ad
Log in to vote
0
Answered by
tomekcz 174
4 years ago

Put the orginal tool in ServerStoarge when u need to clone it just type game.ServerStoarge.Tool:Clone()

Log in to vote
0
Answered by 4 years ago
local Tool = nil -- replace nil with your tool's path
if Tool then
    Tool:Clone().Parent = InstancePlayer.Backpack
end

Answer this question