Advertisement
Donorbijl

Untitled

Jun 6th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.13 KB | None | 0 0
  1. local function QuaternionFromCFrame(cf)
  2. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3. local trace = m00 + m11 + m22
  4. if trace > 0 then
  5. local s = math.sqrt(1 + trace)
  6. local recip = 0.5/s
  7. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  8. else
  9. local i = 0
  10. if m11 > m00 then
  11. i = 1
  12. end
  13. if m22 > (i == 0 and m00 or m11) then
  14. i = 2
  15. end
  16. if i == 0 then
  17. local s = math.sqrt(m00-m11-m22+1)
  18. local recip = 0.5/s
  19. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  20. elseif i == 1 then
  21. local s = math.sqrt(m11-m22-m00+1)
  22. local recip = 0.5/s
  23. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  24. elseif i == 2 then
  25. local s = math.sqrt(m22-m00-m11+1)
  26. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  27. end
  28. end
  29. end
  30. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  31. local xs, ys, zs = x + x, y + y, z + z
  32. local wx, wy, wz = w*xs, w*ys, w*zs
  33. local xx = x*xs
  34. local xy = x*ys
  35. local xz = x*zs
  36. local yy = y*ys
  37. local yz = y*zs
  38. local zz = z*zs
  39. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  40. end
  41. local function QuaternionSlerp(a, b, t)
  42. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  43. local startInterp, finishInterp;
  44. if cosTheta >= 0.0001 then
  45. if (1 - cosTheta) > 0.0001 then
  46. local theta = math.acos(cosTheta)
  47. local invSinTheta = 1/math.sin(theta)
  48. startInterp = math.sin((1-t)*theta)*invSinTheta
  49. finishInterp = math.sin(t*theta)*invSinTheta
  50. else
  51. startInterp = 1-t
  52. finishInterp = t
  53. end
  54. else
  55. if (1+cosTheta) > 0.0001 then
  56. local theta = math.acos(-cosTheta)
  57. local invSinTheta = 1/math.sin(theta)
  58. startInterp = math.sin((t-1)*theta)*invSinTheta
  59. finishInterp = math.sin(t*theta)*invSinTheta
  60. else
  61. startInterp = t-1
  62. finishInterp = t
  63. end
  64. end
  65. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  66. end
  67. function clerp(a,b,t)
  68. local qa = {QuaternionFromCFrame(a)}
  69. local qb = {QuaternionFromCFrame(b)}
  70. local ax, ay, az = a.x, a.y, a.z
  71. local bx, by, bz = b.x, b.y, b.z
  72. local _t = 1-t
  73. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  74. end
  75.  
  76. do --the animating
  77. plr = game:service'Players'.LocalPlayer
  78. char = plr.Character
  79. mouse = plr:GetMouse()
  80. humanoid = char:findFirstChild("Humanoid")
  81. torso = char:findFirstChild("Torso")
  82. head = char.Head
  83. ra = char:findFirstChild("Right Arm")
  84. la = char:findFirstChild("Left Arm")
  85. rl = char:findFirstChild("Right Leg")
  86. ll = char:findFirstChild("Left Leg")
  87. rs = torso:findFirstChild("Right Shoulder")
  88. ls = torso:findFirstChild("Left Shoulder")
  89. rh = torso:findFirstChild("Right Hip")
  90. lh = torso:findFirstChild("Left Hip")
  91. neck = torso:findFirstChild("Neck")
  92. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  93. anim = char:findFirstChild("Animate")
  94. rootpart = char:findFirstChild("HumanoidRootPart")
  95. camera = workspace.CurrentCamera
  96. if anim then
  97. anim:Destroy()
  98. end
  99.  
  100.  
  101. local rm = Instance.new("Motor", torso)
  102. rm.C0 = CFrame.new(1.5, 0.5, 0)
  103. rm.C1 = CFrame.new(0, 0.5, 0)
  104. rm.Part0 = torso
  105. rm.Part1 = ra
  106. local lm = Instance.new("Motor", torso)
  107. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  108. lm.C1 = CFrame.new(0, 0.5, 0)
  109. lm.Part0 = torso
  110. lm.Part1 = la
  111.  
  112. local rlegm = Instance.new("Motor", torso)
  113. rlegm.C0 = CFrame.new(0.5, -1, 0)
  114. rlegm.C1 = CFrame.new(0, 1, 0)
  115. rlegm.Part0 = torso
  116. rlegm.Part1 = rl
  117. local llegm = Instance.new("Motor", torso)
  118. llegm.C0 = CFrame.new(-0.5, -1, 0)
  119. llegm.C1 = CFrame.new(0, 1, 0)
  120. llegm.Part0 = torso
  121. llegm.Part1 = ll
  122.  
  123. neck.C0 = CFrame.new(0, 1, 0)
  124. neck.C1 = CFrame.new(0, -0.5, 0)
  125.  
  126.  
  127. rj.C0 = CFrame.new()
  128. rj.C1 = CFrame.new()
  129.  
  130.  
  131. local sound = Instance.new("Sound", head)
  132. sound.SoundId = "http://www.roblox.com/asset/?id=221175236"
  133. sound.Volume = 0.8
  134. sound.Looped = true
  135.  
  136. for i,v in pairs(char:children()) do
  137. if v:IsA("Hat") then
  138. v:Destroy()
  139. end
  140. end
  141.  
  142.  
  143. --look of the fox here
  144. game:service'InsertService':LoadAsset(185812297):children()[1].Parent = char
  145. Instance.new("PointLight", head).Range = 10
  146.  
  147. game:service'InsertService':LoadAsset(1563352):children()[1].Parent = char
  148. Instance.new("PointLight", head).Range = 10
  149.  
  150. game:service'InsertService':LoadAsset(30331986):children()[1].Parent = char
  151. Instance.new("PointLight", head).Range = 10
  152.  
  153. game:service'InsertService':LoadAsset(100425864):children()[1].Parent = char
  154. Instance.new("PointLight", head).Range = 10
  155.  
  156. print'Donorgaming & MarinusBoy made this' --you can't find my secret
  157.  
  158.  
  159. local speed = 0.3
  160. local angle = 0
  161. local sitting = false
  162. local humanwalk = false
  163. local anglespeed = 1
  164. rsc0 = rm.C0
  165. lsc0 = lm.C0
  166. llc0 = llegm.C0
  167. rlc0 = rlegm.C0
  168. neckc0 = neck.C0
  169.  
  170. local controllerService = game:GetService("ControllerService")
  171. local controller = controllerService:GetChildren()[1]
  172.  
  173. controller.Parent = nil
  174.  
  175. Instance.new("HumanoidController", game:service'ControllerService')
  176. Instance.new("SkateboardController", game:service'ControllerService')
  177. Instance.new("VehicleController", game:service'ControllerService')
  178. local controller = controllerService:GetChildren()[1]
  179. mouse.KeyDown:connect(function(k)
  180. if k == "q" then
  181. humanwalk = not humanwalk
  182. end
  183. if k == "z" then
  184. if not sound.IsPlaying then
  185. sound:stop()
  186. sound.SoundId = "http://www.roblox.com/asset/?id=197318039"
  187. wait()
  188. sound:play()
  189. end
  190. end
  191. if k == "x" then
  192. if not sound.IsPlaying then
  193. sound:stop()
  194. sound.SoundId = "http://www.roblox.com/asset/?id=165065112"
  195. wait()
  196. sound:play()
  197. end
  198. end
  199. if k == "c" then
  200. if not sound.IsPlaying then
  201. sound:stop()
  202. sound.SoundId = "http://www.roblox.com/asset/?id=176924082"
  203. wait()
  204. sound:play()
  205. end
  206. end
  207. if string.byte(k) == 48 then
  208. humanoid.WalkSpeed = 34
  209. end
  210.  
  211. end)
  212. mouse.KeyUp:connect(function(k)
  213.  
  214. if string.byte(k) == 48 then
  215. humanoid.WalkSpeed = 16
  216. end
  217.  
  218. end)
  219.  
  220.  
  221.  
  222. while wait() do
  223. angle = (angle % 100) + anglespeed/10
  224. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  225. local rscf = rsc0
  226. local lscf = lsc0
  227. local rlcf = rlc0
  228. local llcf = llc0
  229. local rjcf = CFrame.new()
  230. local ncf = neckc0
  231. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  232. local hitz, enz = workspace:findPartOnRay(rayz, char)
  233. if not hitz then
  234. if sound.IsPlaying then
  235. sound:stop()
  236. end
  237.  
  238. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  239.  
  240. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  241. rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  242. rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  243. lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  244. rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  245. llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  246.  
  247. else
  248.  
  249. ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  250. rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  251. rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  252. lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  253. rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  254. llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  255.  
  256. end
  257. elseif humanoid.Sit then
  258. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=197318039" then
  259. anglespeed = 6
  260. ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0)
  261. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  262. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  263. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  264. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  265. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  266. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=165065112" then
  267. anglespeed = 4
  268. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  269. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  270. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  271. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  272. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  273. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  274. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=176924082" then
  275. anglespeed = 2
  276. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  277. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  278. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  279. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  280. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  281. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  282. else
  283. anglespeed = 1/2
  284. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  285. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  286. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  287. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  288. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  289. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  290. end
  291. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  292. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=197318039" then
  293. anglespeed = 6
  294. ncf = neckc0 * CFrame.Angles(math.pi/10-math.sin(angle)*0.07, 0, 0)
  295. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/10, math.sin(angle)*0.001, 0)
  296. rscf = rsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  297. lscf = lsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*0.5, 0, 0)
  298. rlcf = rlc0 * CFrame.Angles(math.pi/10, math.sin(angle)*0.08, math.rad(6.5))
  299. llcf = llc0 * CFrame.Angles(math.pi/10, -math.sin(angle)*0.08, -math.rad(6.5))
  300. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=165065112" then
  301. anglespeed = 2
  302. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  303. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  304. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  305. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  306. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  307. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  308. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=176924082" then
  309. anglespeed = 3
  310. ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  311. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  312. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  313. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  314. rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  315. llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  316. else
  317. if humanwalk then
  318. anglespeed = 1/4
  319. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  320. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  321. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  322. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  323. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  324. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  325. else
  326. anglespeed = 1/2
  327. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  328. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  329. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  330. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  331. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  332. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  333. end
  334. end
  335. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  336. if sound.IsPlaying then
  337. sound:stop()
  338. end
  339. if humanwalk then
  340. anglespeed = 4
  341. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  342. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  343. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  344. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  345. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  346. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  347. else
  348. anglespeed = 4
  349. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  350. rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0)
  351. rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5))
  352. lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5))
  353. rlcf = rlc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
  354. llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025)
  355. end
  356. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  357. if sound.IsPlaying then
  358. sound:stop()
  359. end
  360. if humanwalk then
  361. anglespeed = 5
  362. ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  363. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  364. rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02)
  365. lscf = lsc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02)
  366. rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5))
  367. llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5))
  368. else
  369. anglespeed = 5.5
  370. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  371. rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0)
  372. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  373. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  374. rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025)
  375. llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025)
  376. end
  377. end
  378.  
  379. rm.C0 = clerp(rm.C0,rscf,speed)
  380. lm.C0 = clerp(lm.C0,lscf,speed)
  381. rj.C0 = clerp(rj.C0,rjcf,speed)
  382. neck.C0 = clerp(neck.C0,ncf,speed)
  383. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  384. llegm.C0 = clerp(llegm.C0,llcf,speed)
  385. end
  386.  
  387.  
  388. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement