RobuxLife
|
  |
| Joined: 19 Sep 2012 |
| Total Posts: 13336 |
|
|
| 07 May 2016 12:30 PM |
Hey guys!
I made a basic model, just a part a little bigger then a torso, and a bubble (a basic part, no mesh) for the head. How should I weld this model to the player on touch?
Thanks!
|
|
|
| Report Abuse |
|
|
RobuxLife
|
  |
| Joined: 19 Sep 2012 |
| Total Posts: 13336 |
|
| |
|
RobuxLife
|
  |
| Joined: 19 Sep 2012 |
| Total Posts: 13336 |
|
|
| 07 May 2016 12:40 PM |
Bumpity bumper cars!
Pretty sure it has to do something with weld, but the suit is a model
|
|
|
| Report Abuse |
|
|
|
| 07 May 2016 12:42 PM |
| weld the model together and then weld one part of the model to the torso |
|
|
| Report Abuse |
|
|
RobuxLife
|
  |
| Joined: 19 Sep 2012 |
| Total Posts: 13336 |
|
|
| 07 May 2016 12:54 PM |
Need more help, made this script, but it's very glichy. I'm doing it wrong q.q
armor = script.Parent torso_ = armor.Torso_ head_ = armor.Head_
for _, armorparts in pairs (armor:GetChildren()) do armorparts.Touched:connect(function(hit) humanoid = hit.Parent:findFirstChild('Humanoid') if humanoid then head = hit.Parent.Head torso = hit.Parent.Torso armorparts.CFrame = torso.CFrame * CFrame.new(0,0,0) weld = Instance.new('Weld') weld.Part0 = torso weld.C0 = head.CFrame:inverse() weld.Part1 = armorparts weld.C1 = armorparts.CFrame:inverse() weld.Parent = armorparts armorparts.Anchored = false weld2 = Instance.new('Weld') weld.Part0 = head_ weld.C0 = torso.CFrame:inverse() weld.Part1 = armorparts weld.C1 = armorparts.CFrame:inverse() weld.Parent = armorparts armorparts.Anchored = false end end) end
|
|
|
| Report Abuse |
|
|