Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

The left shoulder always ends bending?

Asked by 9 years ago

The script is supposed to make your right, and left shoulder move but the left one ALWAYS ends up bending a little.

Script:

local moving = false
script.Parent.Activated:connect(function()
    if not moving then
        moving = true
        RightShoulder = script.Parent.Parent.Torso["Right Shoulder"]
        LeftShoulder = script.Parent.Parent.Torso["Left Shoulder"]
        for i = 1,6 do
            RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0,0,.2)
            wait()
        end

        for i = 1,4 do
            LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(-.2,0,-.2)
            wait()
        end

        for i = 1,11 do
            RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0,0,-.3)
            wait()
        end

        for i = 1,4 do
            LeftShoulder.C0 = LeftShoulder.C0 *CFrame.Angles(.2,0,.2)
            wait()
        end

        for i = 1,11 do
            RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0,0,.191)
            wait()
        end
        moving = false
    end
end)

Place, if you'd like to test it: http://www.roblox.com/games/232901103/Weapon-Tests-Weapon-For-5RS

(select Dragon's Sword then click, then look at your left arm.)

Answer this question