Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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?

1 comment

0

Just use Clone (?)

3 answers

✓ Accepted answer

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.

1 comment

0

Thanks so much! It works!

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

local Tool = nil -- replace nil with your tool's path
if Tool then
	Tool:Clone().Parent = InstancePlayer.Backpack
end

This discussion is preserved as it was. New answers, comments, and votes are closed.