|
| 21 Jun 2014 07:40 PM |
im making a weapon that uses hopperbin and gets parts from a sword and inserts to workspace but the problem is that the arm animates just like im walking.
How do i make the character hold the hopperbin sword like a real sword? Do I make a fake weld from torso to right arm? |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2014 07:45 PM |
"Fake Weld"
What?
put this in a local script;
local tool = script.Parentlocal plr = Game.Player.LocalPlayer local lh1 = chr.Torso["Right Shoulder"] local chr = plr.Character tool.Selected:connect(function() local lh1 = chr.Torso["Right Shoulder"] lh1.C0 = lh1.C0 * CFrame.Angles(0,0,0.5) end) tool.Deselected:connect(function() lh1.C0 = lh1.C0 * CFrame.Angles(0,0,-0.5) end) |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2014 07:46 PM |
ignore the one above. use this one;
local tool = script.Parent local plr = Game.Player.LocalPlayer local lh1 = chr.Torso["Right Shoulder"] local chr = plr.Character tool.Selected:connect(function() lh1.C0 = lh1.C0 * CFrame.Angles(0,0,0.5) end) tool.Deselected:connect(function() lh1.C0 = lh1.C0 * CFrame.Angles(0,0,-0.5) end) |
|
|
| Report Abuse |
|
|