local char = player.Character or player.CharacterAdded:wait()
local torso = player.Character.Torso
local arms = {char:findFirstChild("Right Arm"), char:findFirstChild("Left Arm")}
local armWelds = {}
local function weldArms()
if torso and arms[1] and arms[2] then
local weld = Instance.new("Weld")
weld.Name = "RightArm"
weld.Parent = torso
weld.Part0 = torso
weld.Part1 = arms[1]
weld.C1 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0)
armWelds[1] = weld
local weld2 = Instance.new("Weld")
weld2.Name = "LeftArm"
weld2.Parent = torso
weld2.Part0 = torso
weld2.Part1 = arms[2]
weld2.C1 = CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0)
armWelds[2] = weld2
end
end
local function unweldArms()
if arms and armWelds then
armWelds[1]:Destroy()
armWelds[2]:Destroy()
end
end
Found out that welding arms to the torso will make them stiff allowing you to manipulate motor6D, I found this while looking through old scripts which used motor6D animations.
Just connect these functions to an event and there you have stiff arms! :)
6 comments
Did you even script this? The script does exacly what it's said to do, it sets Motor6D to 80 and then -80 with angles. I would recommend you learn instead of getting code from other people, since not even you know what it does.
what are you on about? he's clearly just asking how he can make the arm stay stiff, the animations are probably fighting his code
Dude, if he didn't make the script he won't know what he's doing, which is a problem.
Anyway, i'm posting how to make the arm stand still.
I did make this very basic script I just wanted the arm to be stiff like the right arm when holding a tool instead the left arm plays the Roblox walking animation
wasd