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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
|
| 25 Jul 2012 09:32 AM |
| Brick isn't locked, and anchored. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 25 Jul 2012 09:57 AM |
q = Instance.new("HopperBin") q.Parent = game.Players["NAME"].Backpack q.BinType = "Clone" |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2012 10:05 AM |
>.<
Use a HopperBin. In Properties, change the Type to 'Clone'. Enjoy. :P
--TehChikenHater ლ(ಠ_ಠლ) |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
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 |
|
|
|
| 25 Jul 2012 11:04 AM |
C:makeJoints()
---------
c = Part = can't "makeJoints()" |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
| |
|
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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
| |
|
|
| 26 Jul 2012 04:32 AM |
| YOUR LAUNGUAGE!WHERE DO YOU COME FRM?! |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
| |
|
|
| 26 Jul 2012 07:59 AM |
| It's most likely something in your place that's causing it. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
| |
|
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
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 48 |
|
| |
|