Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
|
| 12 Aug 2015 07:39 PM |
Heres the thing, it works but when it works it rotates it and it makes it all funky. How do I change the position without changing the rotation of the parts?
game.Players.PlayerAdded:connect(function(P) P.CharacterAdded:connect(function(C) local Viking = game.Workspace.VikingHelm:Clone() for i, v in pairs(Viking:GetChildren()) do if v:IsA("BasePart") then v.Anchored = false v.CFrame = C:WaitForChild("Head").CFrame local Weld = Instance.new("Weld") Weld.Part0 = C:WaitForChild("Head") Weld.C0 = C:WaitForChild("Head").CFrame:inverse() Weld.Part1 = Viking:GetChildren()[i] Weld.C1 = Viking:GetChildren()[i].CFrame:inverse() Viking.Parent = C Weld.Parent = v print("Welded: "..v.Name) end end end) end)
|
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
|
| 12 Aug 2015 07:46 PM |
| BEEP, bump coming through! |
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
|
| 12 Aug 2015 07:49 PM |
| gs b bu fr.,mnfdgnsnkwbvkwa nwv;ae hjeilwv |
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 12 Aug 2015 08:23 PM |
CFrame.new(x,y,z)
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|