|
| 30 Jan 2013 07:06 AM |
while wait() do nerm = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude if nerm == 0 then name = {"Right", "Left"} names = name[math.random(0,1)] if names == "Right" then joints[3].DesiredAngle = 1 wait(0.03) joints[1].DesiredAngle = 1 wait(0.03) joints[3].DesiredAngle = 0 joints[1].DesiredAngle = 0 joints[4].DesiredAngle = -1 wait(0.03) joints[2].DesiredAngle = -1 wait(0.03) joints[4].DesiredAngle = 0 elseif nerm ~= 0 then for i,v in pairs(limbs) do v.MaxVelocity = 90 v.DesiredAngle = 0 v.MaxVelocity = 0.15 end end end end
I am trying to make a good walking animaton, but it dose not work, nor dose it error, I want it to look just like robloxes, but I have tried multiple times, my timing is always off, this is probably no different, please help!! |
|
|
| Report Abuse |
|
| |
| |
| |
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |