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: Copy tool don't working.

Previous Thread :: Next Thread 
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 09:30 AM
I need help with Copy Tool. I use this on brick to copy it, but brick doesn't copies.

I searched everywhere to resolve the problem, but it for nothing.
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 09:32 AM
Brick isn't locked, and anchored.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
25 Jul 2012 09:32 AM
[ Content Deleted ]
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 09:36 AM
Ahhhh, thanks you for answer. :) I forgot this.
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 09:48 AM
If i uses script, this is don't working too. I uses good script, with no bugs.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
25 Jul 2012 09:57 AM
q = Instance.new("HopperBin")
q.Parent = game.Players["NAME"].Backpack
q.BinType = "Clone"
Report Abuse
builderman1171 is not online. builderman1171
Joined: 27 Mar 2010
Total Posts: 1595
25 Jul 2012 10:05 AM
>.<

Use a HopperBin. In Properties, change the Type to 'Clone'. Enjoy. :P

--TehChikenHater ლ(ಠ_ಠლ)
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 10:11 AM
Clone don't working, i tested it. I searched complicates with Clone in other scripts, but i don't searched anything.
Report Abuse
pokemon771 is not online. pokemon771
Joined: 28 Oct 2008
Total Posts: 8671
25 Jul 2012 10:18 AM
Post the script.
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 10:35 AM
wait(1)
Tool = script.Parent
local Pname = Tool.Parent.Parent.Character.Name
copyblock = "Brock" -- Name of block do you want copy

enabled = true
function onButton1Down(mouse)

mousee = mouse.Target
wait(.1)

if mousee ~= nil and enabled == true then
enabled = false
if targ.Name == copyblock or mousee.Name == Pname then
C = mousee:Clone()
C.Name = Pname
pos = C.Position
--C.Position = Vector3.new(pos.x, pos.y + C.Size.y, pos.z)
C.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + C.Size.y, pos.z))
C.Parent = game.Workspace
C:makeJoints()
C.Locked = false -- Does it lock?
C.Anchored = false -- True brick don't moves, False brick moves
C.CanCollide = true -- Collides with players/others


end
end
end


function onSelected(mouse)

mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
Tool.Selected:connect(onSelected)
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
25 Jul 2012 11:04 AM
C:makeJoints()

---------


c = Part = can't "makeJoints()"
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 11:55 AM
What i do with this information? I must delete C:makeJoints()? What function i must add, or other?

If i deleted C:makeJoints(), it's again don't works.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
25 Jul 2012 11:57 AM
Tool = script.Parent
local Pname = Tool.Parent.Parent.Character.Name

Should be:


Tool = script.Parent
local Pname = Tool.Parent.Name
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
25 Jul 2012 12:33 PM
It's still don't working.


Brick is visible and at 0.1 secound it's make destroyed/invisible
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
26 Jul 2012 03:37 AM
BUMP
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
26 Jul 2012 03:55 AM
wait(1)
Tool = script.Parent
local Pname = Tool.Parent.Parent.Character.Name
copyblock = "Brock" --You're only allowed to copy bricks with the name "Brock"

enabled = true
function onButton1Down(mouse)

mousee = mouse.Target
wait(.1)

if mousee ~= nil and enabled == true then
enabled = false
if targ.Name == copyblock or mousee.Name == Pname then
C = mousee:Clone()
C.Name = Pname
pos = C.Position
--C.Position = Vector3.new(pos.x, pos.y + C.Size.y, pos.z)
C.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + C.Size.y, pos.z))
C.Parent = game.Workspace
C:makeJoints()
C.Locked = false
C.Anchored = false
C.CanCollide = true


end
end
end


function onSelected(mouse)

mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
Tool.Selected:connect(onSelected
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
26 Jul 2012 04:29 AM
/\

Don't working =/
Report Abuse
Sharpshooter26 is not online. Sharpshooter26
Joined: 26 May 2010
Total Posts: 5166
26 Jul 2012 04:32 AM
YOUR LAUNGUAGE!WHERE DO YOU COME FRM?!
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
26 Jul 2012 04:55 AM
I'm from Poland. Sry, my brain at morning isn't work very good.
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
26 Jul 2012 07:50 AM
Someone can help me?
Report Abuse
nightmare3o is not online. nightmare3o
Joined: 21 Jun 2008
Total Posts: 956
26 Jul 2012 07:59 AM
It's most likely something in your place that's causing it.
Report Abuse
builderman1171 is not online. builderman1171
Joined: 27 Mar 2010
Total Posts: 1595
26 Jul 2012 08:45 AM
Rage! ​>:c

If you really, do need a copy-tool, use this. c:
HOPPERBIN

wait(1)

script.Parent.Activated:connect(function(mouse)
function click(part)
if part then
if part:IsA("Part") or part:IsA("BasePart") then
local part2=part:clone()
part2.Parent=part.Parent
part2.Position=Vector3.new(part.Position.X,(part.Position.Y+part.Size.Y),part.Position.Z)
end
end
end
function move(part3)
if mouse.Target then
if mouse.Target:IsA("Part") or mouse.Target:IsA("BasePart") then
print("This part is clonable")
end
end
end
mouse.Button1Down:connect(function() click(mouse.Target) end)
mouse.Move:connect(function() move(mouse.Target) end)
end)

--TehChikenHater ლ(ಠ_ಠლ)
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
26 Jul 2012 12:09 PM
/\

Doesn't work. :(

Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
26 Jul 2012 12:12 PM
In a hopperbin:

script.Parent.Selected:connect(function (mouse)
mouse.Button1Down:connect(function ()
local p = mouse.Target;
if (p == nil) then return; end
if (not p:IsA("BasePart")) then return; end
local p2 = p:Clone();
p2.CFrame = p.CFrame + Vector3.new(0, p.Size.y, 0);
p2.Parent = workspace;
end);
end);


(This code is untested btw, I just wrote it now)
Report Abuse
Arkblon is not online. Arkblon
Joined: 05 Mar 2012
Total Posts: 48
27 Jul 2012 03:14 AM
/\

Doesn't work. :(
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