KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
|
| 28 Feb 2015 06:08 AM |
CameraToHRPWeld = Instance.new("Weld") CameraToHRPWeld.Part0 = HRP CameraToHRPWeld.Part1 = CP CameraToHRPWeld.Parent = HRP CameraToHRPWeld.Name = "CameraToHRPWeld" print(1) GunToCameraWeld = Instance.new("Weld") GunToCameraWeld.Part0 = CP GunToCameraWeld.Part1 = Gun GunToCameraWeld.Parent = CP GunToCameraWeld.Name = "GunToCameraWeld" print(2)
i get both prints but the first weld is weird, i dont see the weld in HRP. |
|
|
| Report Abuse |
|
|
KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
| |
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 28 Feb 2015 06:31 AM |
| We'll need to see the full script. If you can't find the first weld, it's likely that you never set the variable HRP to anything. |
|
|
| Report Abuse |
|
|
KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
|
| 28 Feb 2015 12:25 PM |
HRP = Character:WaitForChild("HumanoidRootPart")
i see the the second weld, and wouldnt it error if i didnt define HRP? |
|
|
| Report Abuse |
|
|
KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
| |
|