|
| 12 May 2014 06:10 PM |
player = game.Players.LocalPlayer char = player.Character tool = Instance.new("Tool") tool.Parent = player.Backpack script.Parent = tool tool.Name = "Sword" handle = Instance.new("Part") handle.Parent = char handle.Name = "Handle" handle.Size = Vector3.new(0,0,0) handle.TopSurface = 0 handle.BottomSurface = 0 handle.Position = ["Right Arm"] w = Instance.new("Motor",handle) w.Part0 = char.Torso w.Part1 = handle w.C0 = CFrame.new(-0.4,-0.5225,0.525)*CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0)) handle.BrickColor = BrickColor.new("Black") local mesh = Instance.new("SpecialMesh", handle) mesh.MeshId = "http://www.roblox.com/asset/?id=77403584" mesh.TextureId = "http://www.roblox.com/asset/?id=77403631"
function Selected(Tool) w.Part0 = char["Right Arm"] w.C0 = CFrame.new(0,-0.5,0)*CFrame.fromEulerAnglesXYZ(0,0,0) end
this is my sword that im making the sword wont go into my hand when i equip the tool instead it just lifts up my arm helpppppppppppppppppp |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
|
| 12 May 2014 06:29 PM |
| bad script! you better punish the script so it knows not to do that again |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 12 May 2014 06:31 PM |
| Dem scripts don't know right from wrong which is why you need to teach em. Some even go as far as biting by crashing. |
|
|
| Report Abuse |
|
|
|
| 12 May 2014 06:33 PM |
i cant punish the script it's to beautiful |
|
|
| Report Abuse |
|
|
awesom914
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 4222 |
|
|
| 12 May 2014 06:53 PM |
w.Part0 needs to be the parent of the weld. Switch them around. w.Part0 = handle w.Part1 = char.Torso |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 12 May 2014 07:00 PM |
| Part0 doesn't need to be the parent of the weld. Part0 just determines how C0 acts because C0 is in the object space of Part0. C1 is in object space of Part1. |
|
|
| Report Abuse |
|
|
| |
|