Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can Someone help me?

How do I make my arms animated while using a tool?

1 answer

Oh gosh..

function arm()
leftshoulder = script.Parent.Parent.Torso["Left Shoulder"]
leftshoulder.C0 = leftsoulder.C0 *CFrame.Angles(20,-0.35,-1.25)	
end
script.Parent.Equipped:connect(arm)

This script is inside of a tool

Function ARM is a .Equipped function. So when the player equips it, the tool goes to the torso and looks for "Left Shoulder"

You can CFrame your arm to any position you'd like. Use loops for animations like the roblox walking.

2 comments

0

To clarify something to you, lego, the 'arm' function (not 'ARM', you declared it as 'arm') is not a '.Equipped' function, it is just a function. You have connected it to the Equipped event, but that doesn't change the 'type' of function that it is, since there are no function 'types'.

0

Hello, adark! The script is inside of a tool. Then you Equip the tool the script runs. I called it a ".Equipped function" meaning that when you equip it the function is called... I see what you're meaning though. I'm no "Master" scripter.

This discussion is preserved as it was. New answers, comments, and votes are closed.