Dark_EccentricYT

Untitled

Apr 7th, 2018
3,533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.86 KB | None | 0 0
  1. --Original script quuisiYT or quu
  2. local moving_anthro_npc = Instance.new("Model")
  3. local body_colors = Instance.new("BodyColors", moving_anthro_npc)
  4. local humanoidrootpart = Instance.new("Part")
  5. local rootrigattachment = Instance.new("Attachment")
  6. local humanoid = Instance.new("Humanoid")
  7. local animator = Instance.new("Animator", humanoid)
  8. local head = Instance.new("Part")
  9. local neckrigattachment = Instance.new("Attachment")
  10. local originalpivot = Instance.new("Vector3Value")
  11. local hatattachment = Instance.new("Attachment")
  12. local originalpivot_2 = Instance.new("Vector3Value")
  13. local hairattachment = Instance.new("Attachment")
  14. local originalpivot_3 = Instance.new("Vector3Value")
  15. local facefrontattachment = Instance.new("Attachment")
  16. local originalpivot_4 = Instance.new("Vector3Value")
  17. local facecenterattachment = Instance.new("Attachment")
  18. local originalpivot_5 = Instance.new("Vector3Value")
  19. local originalsize = Instance.new("Vector3Value")
  20. local neck = Instance.new("Motor6D")
  21. local mesh = Instance.new("SpecialMesh")
  22. local lefthand = Instance.new("Part")
  23. local leftwristrigattachment = Instance.new("Attachment")
  24. local originalpivot_6 = Instance.new("Vector3Value")
  25. local leftgripattachment = Instance.new("Attachment")
  26. local originalpivot_7 = Instance.new("Vector3Value")
  27. local originalsize_2 = Instance.new("Vector3Value")
  28. local leftwrist = Instance.new("Motor6D")
  29. local mesh_2 = Instance.new("SpecialMesh")
  30. local leftlowerarm = Instance.new("Part")
  31. local leftelbowrigattachment = Instance.new("Attachment")
  32. local originalpivot_8 = Instance.new("Vector3Value")
  33. local leftwristrigattachment_2 = Instance.new("Attachment")
  34. local originalpivot_9 = Instance.new("Vector3Value")
  35. local originalsize_3 = Instance.new("Vector3Value")
  36. local leftelbow = Instance.new("Motor6D")
  37. local mesh_3 = Instance.new("SpecialMesh")
  38. local leftupperarm = Instance.new("Part")
  39. local leftshoulderrigattachment = Instance.new("Attachment")
  40. local originalpivot_10 = Instance.new("Vector3Value")
  41. local leftelbowrigattachment_2 = Instance.new("Attachment")
  42. local originalpivot_11 = Instance.new("Vector3Value")
  43. local leftshoulderattachment = Instance.new("Attachment")
  44. local originalpivot_12 = Instance.new("Vector3Value")
  45. local originalsize_4 = Instance.new("Vector3Value")
  46. local leftshoulder = Instance.new("Motor6D")
  47. local mesh_4 = Instance.new("SpecialMesh")
  48. local righthand = Instance.new("Part")
  49. local rightwristrigattachment = Instance.new("Attachment")
  50. local originalpivot_13 = Instance.new("Vector3Value")
  51. local rightgripattachment = Instance.new("Attachment")
  52. local originalpivot_14 = Instance.new("Vector3Value")
  53. local originalsize_5 = Instance.new("Vector3Value")
  54. local rightwrist = Instance.new("Motor6D")
  55. local mesh_5 = Instance.new("SpecialMesh")
  56. local rightlowerarm = Instance.new("Part")
  57. local rightelbowrigattachment = Instance.new("Attachment")
  58. local originalpivot_15 = Instance.new("Vector3Value")
  59. local rightwristrigattachment_2 = Instance.new("Attachment")
  60. local originalpivot_16 = Instance.new("Vector3Value")
  61. local originalsize_6 = Instance.new("Vector3Value")
  62. local rightelbow = Instance.new("Motor6D")
  63. local mesh_6 = Instance.new("SpecialMesh")
  64. local rightupperarm = Instance.new("Part")
  65. local rightshoulderrigattachment = Instance.new("Attachment")
  66. local originalpivot_17 = Instance.new("Vector3Value")
  67. local rightelbowrigattachment_2 = Instance.new("Attachment")
  68. local originalpivot_18 = Instance.new("Vector3Value")
  69. local rightshoulderattachment = Instance.new("Attachment")
  70. local originalpivot_19 = Instance.new("Vector3Value")
  71. local originalsize_7 = Instance.new("Vector3Value")
  72. local rightshoulder = Instance.new("Motor6D")
  73. local mesh_7 = Instance.new("SpecialMesh")
  74. local uppertorso = Instance.new("Part")
  75. local waistrigattachment = Instance.new("Attachment")
  76. local originalpivot_20 = Instance.new("Vector3Value")
  77. local neckrigattachment_2 = Instance.new("Attachment")
  78. local originalpivot_21 = Instance.new("Vector3Value")
  79. local leftshoulderrigattachment_2 = Instance.new("Attachment")
  80. local originalpivot_22 = Instance.new("Vector3Value")
  81. local rightshoulderrigattachment_2 = Instance.new("Attachment")
  82. local originalpivot_23 = Instance.new("Vector3Value")
  83. local bodyfrontattachment = Instance.new("Attachment")
  84. local originalpivot_24 = Instance.new("Vector3Value")
  85. local bodybackattachment = Instance.new("Attachment")
  86. local originalpivot_25 = Instance.new("Vector3Value")
  87. local neckattachment = Instance.new("Attachment")
  88. local originalpivot_26 = Instance.new("Vector3Value")
  89. local rightcollarattachment = Instance.new("Attachment")
  90. local originalpivot_27 = Instance.new("Vector3Value")
  91. local leftcollarattachment = Instance.new("Attachment")
  92. local originalpivot_28 = Instance.new("Vector3Value")
  93. local originalsize_8 = Instance.new("Vector3Value")
  94. local waist = Instance.new("Motor6D")
  95. local mesh_8 = Instance.new("SpecialMesh")
  96. local leftfoot = Instance.new("Part")
  97. local leftanklerigattachment = Instance.new("Attachment")
  98. local originalpivot_29 = Instance.new("Vector3Value")
  99. local originalsize_9 = Instance.new("Vector3Value")
  100. local leftankle = Instance.new("Motor6D")
  101. local mesh_9 = Instance.new("SpecialMesh")
  102. local leftlowerleg = Instance.new("Part")
  103. local leftkneerigattachment = Instance.new("Attachment")
  104. local originalpivot_30 = Instance.new("Vector3Value")
  105. local leftanklerigattachment_2 = Instance.new("Attachment")
  106. local originalpivot_31 = Instance.new("Vector3Value")
  107. local originalsize_10 = Instance.new("Vector3Value")
  108. local leftknee = Instance.new("Motor6D")
  109. local mesh_10 = Instance.new("SpecialMesh")
  110. local leftupperleg = Instance.new("Part")
  111. local lefthiprigattachment = Instance.new("Attachment")
  112. local originalpivot_32 = Instance.new("Vector3Value")
  113. local leftkneerigattachment_2 = Instance.new("Attachment")
  114. local originalpivot_33 = Instance.new("Vector3Value")
  115. local originalsize_11 = Instance.new("Vector3Value")
  116. local lefthip = Instance.new("Motor6D")
  117. local mesh_11 = Instance.new("SpecialMesh")
  118. local rightfoot = Instance.new("Part")
  119. local rightanklerigattachment = Instance.new("Attachment")
  120. local originalpivot_34 = Instance.new("Vector3Value")
  121. local originalsize_12 = Instance.new("Vector3Value")
  122. local rightankle = Instance.new("Motor6D")
  123. local mesh_12 = Instance.new("SpecialMesh")
  124. local rightlowerleg = Instance.new("Part")
  125. local rightkneerigattachment = Instance.new("Attachment")
  126. local originalpivot_35 = Instance.new("Vector3Value")
  127. local rightanklerigattachment_2 = Instance.new("Attachment")
  128. local originalpivot_36 = Instance.new("Vector3Value")
  129. local originalsize_13 = Instance.new("Vector3Value")
  130. local rightknee = Instance.new("Motor6D")
  131. local mesh_13 = Instance.new("SpecialMesh")
  132. local rightupperleg = Instance.new("Part")
  133. local righthiprigattachment = Instance.new("Attachment")
  134. local originalpivot_37 = Instance.new("Vector3Value")
  135. local rightkneerigattachment_2 = Instance.new("Attachment")
  136. local originalpivot_38 = Instance.new("Vector3Value")
  137. local originalsize_14 = Instance.new("Vector3Value")
  138. local righthip = Instance.new("Motor6D")
  139. local mesh_14 = Instance.new("SpecialMesh")
  140. local lowertorso = Instance.new("Part")
  141. local rootrigattachment_2 = Instance.new("Attachment")
  142. local originalpivot_39 = Instance.new("Vector3Value")
  143. local waistrigattachment_2 = Instance.new("Attachment")
  144. local originalpivot_40 = Instance.new("Vector3Value")
  145. local lefthiprigattachment_2 = Instance.new("Attachment")
  146. local originalpivot_41 = Instance.new("Vector3Value")
  147. local righthiprigattachment_2 = Instance.new("Attachment")
  148. local originalpivot_42 = Instance.new("Vector3Value")
  149. local waistcenterattachment = Instance.new("Attachment")
  150. local originalpivot_43 = Instance.new("Vector3Value")
  151. local waistfrontattachment = Instance.new("Attachment")
  152. local originalpivot_44 = Instance.new("Vector3Value")
  153. local waistbackattachment = Instance.new("Attachment")
  154. local originalpivot_45 = Instance.new("Vector3Value")
  155. local originalsize_15 = Instance.new("Vector3Value")
  156. local root = Instance.new("Motor6D")
  157. local mesh_15 = Instance.new("SpecialMesh")
  158.  
  159. moving_anthro_npc.Name = "Moving Anthro [NPC]"
  160. moving_anthro_npc.Parent = workspace
  161. humanoidrootpart.Size = Vector3.new(2, 2, 1)
  162. humanoidrootpart.Material = Enum.Material.SmoothPlastic
  163. humanoidrootpart.Orientation = Vector3.new(0, -166.02, 0)
  164. humanoidrootpart.Name = "HumanoidRootPart"
  165. humanoidrootpart.Transparency = 1
  166. humanoidrootpart.Parent = moving_anthro_npc
  167. humanoidrootpart.CFrame = CFrame.new(-8.268, 3.443, -57.903) * CFrame.Angles(3.142, -0.244, 3.142)
  168. rootrigattachment.Name = "RootRigAttachment"
  169. rootrigattachment.Parent = humanoidrootpart
  170. humanoid.HipHeight = 2.5
  171. humanoid.RigType = Enum.HumanoidRigType.R15
  172. humanoid.Parent = moving_anthro_npc
  173. head.Size = Vector3.new(0.693, 1.001, 0.93)
  174. head.Color = Color3.new(0.992157, 0.917647, 0.552941)
  175. head.Name = "Head"
  176. head.Material = Enum.Material.SmoothPlastic
  177. head.BrickColor = BrickColor.new("Cool yellow")
  178. head.Orientation = Vector3.new(0, -166.02, 0)
  179. head.Parent = moving_anthro_npc
  180. head.CFrame = CFrame.new(-8.26, 6.045, -57.87) * CFrame.Angles(3.142, -0.244, 3.142)
  181. neckrigattachment.Position = Vector3.new(0, -0.384, -0.057)
  182. neckrigattachment.Name = "NeckRigAttachment"
  183. neckrigattachment.CFrame = CFrame.new(0, -0.384, -0.057)
  184. neckrigattachment.Parent = head
  185. originalpivot.Value = Vector3.new(0, -0.307, -0.045)
  186. originalpivot.Name = "OriginalPivot"
  187. originalpivot.Parent = neckrigattachment
  188. hatattachment.Position = Vector3.new(0, 0.25, 0.034)
  189. hatattachment.Name = "HatAttachment"
  190. hatattachment.CFrame = CFrame.new(0, 0.25, 0.034)
  191. hatattachment.Parent = head
  192. originalpivot_2.Value = Vector3.new(0, 0.2, 0.027)
  193. originalpivot_2.Name = "OriginalPivot"
  194. originalpivot_2.Parent = hatattachment
  195. hairattachment.Position = Vector3.new(0, 0.25, 0.034)
  196. hairattachment.Name = "HairAttachment"
  197. hairattachment.CFrame = CFrame.new(0, 0.25, 0.034)
  198. hairattachment.Parent = head
  199. originalpivot_3.Value = Vector3.new(0, 0.2, 0.027)
  200. originalpivot_3.Name = "OriginalPivot"
  201. originalpivot_3.Parent = hairattachment
  202. facefrontattachment.Position = Vector3.new(0, -0.239, -0.36)
  203. facefrontattachment.Name = "FaceFrontAttachment"
  204. facefrontattachment.CFrame = CFrame.new(0, -0.239, -0.36)
  205. facefrontattachment.Parent = head
  206. originalpivot_4.Value = Vector3.new(0, -0.191, -0.288)
  207. originalpivot_4.Name = "OriginalPivot"
  208. originalpivot_4.Parent = facefrontattachment
  209. facecenterattachment.Position = Vector3.new(0, -0.103, 0.034)
  210. facecenterattachment.Name = "FaceCenterAttachment"
  211. facecenterattachment.CFrame = CFrame.new(0, -0.103, 0.034)
  212. facecenterattachment.Parent = head
  213. originalpivot_5.Value = Vector3.new(0, -0.082, 0.027)
  214. originalpivot_5.Name = "OriginalPivot"
  215. originalpivot_5.Parent = facecenterattachment
  216. originalsize.Value = Vector3.new(0.554, 0.801, 0.744)
  217. originalsize.Name = "OriginalSize"
  218. originalsize.Parent = head
  219. neck.Part1 = head
  220. neck.C0 = CFrame.new(0, 0.981, -0.046)
  221. neck.Part0 = uppertorso
  222. neck.C1 = CFrame.new(0, -0.384, -0.057)
  223. neck.Name = "Neck"
  224. neck.Parent = head
  225. mesh.MeshType = Enum.MeshType.FileMesh
  226. mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  227. mesh.MeshId = "rbxassetid://875229544"
  228. mesh.TextureId = "rbxassetid://853067666"
  229. mesh.Parent = head
  230. lefthand.CanCollide = false
  231. lefthand.Size = Vector3.new(0.369, 0.777, 0.423)
  232. lefthand.BrickColor = BrickColor.new("Cool yellow")
  233. lefthand.Material = Enum.Material.SmoothPlastic
  234. lefthand.Color = Color3.new(0.992157, 0.917647, 0.552941)
  235. lefthand.Orientation = Vector3.new(0, -166.02, 0)
  236. lefthand.Name = "LeftHand"
  237. lefthand.Parent = moving_anthro_npc
  238. lefthand.CFrame = CFrame.new(-7.428, 2.811, -57.824) * CFrame.Angles(3.142, -0.244, 3.142)
  239. leftwristrigattachment.Position = Vector3.new(-0.104, 0.272, 0.043)
  240. leftwristrigattachment.Name = "LeftWristRigAttachment"
  241. leftwristrigattachment.CFrame = CFrame.new(-0.104, 0.272, 0.043)
  242. leftwristrigattachment.Parent = lefthand
  243. originalpivot_6.Value = Vector3.new(-0.083, 0.218, 0.034)
  244. originalpivot_6.Name = "OriginalPivot"
  245. originalpivot_6.Parent = leftwristrigattachment
  246. leftgripattachment.Rotation = Vector3.new(-90, 0, 0)
  247. leftgripattachment.CFrame = CFrame.new(0.033, 0.006, 0.279) * CFrame.Angles(-1.571, 0, 0)
  248. leftgripattachment.Orientation = Vector3.new(-90, 0, 0)
  249. leftgripattachment.Name = "LeftGripAttachment"
  250. leftgripattachment.SecondaryAxis = Vector3.new(0, 0, -1)
  251. leftgripattachment.Position = Vector3.new(0.033, 0.006, 0.279)
  252. leftgripattachment.Parent = lefthand
  253. originalpivot_7.Value = Vector3.new(0.027, 0.005, 0.224)
  254. originalpivot_7.Name = "OriginalPivot"
  255. originalpivot_7.Parent = leftgripattachment
  256. originalsize_2.Value = Vector3.new(0.295, 0.621, 0.339)
  257. originalsize_2.Name = "OriginalSize"
  258. originalsize_2.Parent = lefthand
  259. leftwrist.Part1 = lefthand
  260. leftwrist.C0 = CFrame.new(-0.019, -0.508, -0.166)
  261. leftwrist.Part0 = leftlowerarm
  262. leftwrist.C1 = CFrame.new(-0.104, 0.272, 0.043)
  263. leftwrist.Name = "LeftWrist"
  264. leftwrist.Parent = lefthand
  265. mesh_2.MeshType = Enum.MeshType.FileMesh
  266. mesh_2.Scale = Vector3.new(1.6, 1.6, 1.6)
  267. mesh_2.MeshId = "rbxassetid://875229553"
  268. mesh_2.TextureId = "rbxassetid://853067666"
  269. mesh_2.Parent = lefthand
  270. leftlowerarm.CanCollide = false
  271. leftlowerarm.Size = Vector3.new(0.353, 1.149, 0.587)
  272. leftlowerarm.BrickColor = BrickColor.new("Cool yellow")
  273. leftlowerarm.Material = Enum.Material.SmoothPlastic
  274. leftlowerarm.Color = Color3.new(0.992157, 0.917647, 0.552941)
  275. leftlowerarm.Orientation = Vector3.new(0, -166.02, 0)
  276. leftlowerarm.Name = "LeftLowerArm"
  277. leftlowerarm.Parent = moving_anthro_npc
  278. leftlowerarm.CFrame = CFrame.new(-7.396, 3.591, -58.047) * CFrame.Angles(3.142, -0.244, 3.142)
  279. leftelbowrigattachment.Position = Vector3.new(-0.019, 0.498, 0.169)
  280. leftelbowrigattachment.Name = "LeftElbowRigAttachment"
  281. leftelbowrigattachment.CFrame = CFrame.new(-0.019, 0.498, 0.169)
  282. leftelbowrigattachment.Parent = leftlowerarm
  283. originalpivot_8.Value = Vector3.new(-0.015, 0.398, 0.135)
  284. originalpivot_8.Name = "OriginalPivot"
  285. originalpivot_8.Parent = leftelbowrigattachment
  286. leftwristrigattachment_2.Position = Vector3.new(-0.019, -0.508, -0.166)
  287. leftwristrigattachment_2.Name = "LeftWristRigAttachment"
  288. leftwristrigattachment_2.CFrame = CFrame.new(-0.019, -0.508, -0.166)
  289. leftwristrigattachment_2.Parent = leftlowerarm
  290. originalpivot_9.Value = Vector3.new(-0.015, -0.406, -0.133)
  291. originalpivot_9.Name = "OriginalPivot"
  292. originalpivot_9.Parent = leftwristrigattachment_2
  293. originalsize_3.Value = Vector3.new(0.282, 0.919, 0.469)
  294. originalsize_3.Name = "OriginalSize"
  295. originalsize_3.Parent = leftlowerarm
  296. leftelbow.Part1 = leftlowerarm
  297. leftelbow.C0 = CFrame.new(-0.116, -0.543, 0.05)
  298. leftelbow.Part0 = leftupperarm
  299. leftelbow.C1 = CFrame.new(-0.019, 0.498, 0.169)
  300. leftelbow.Name = "LeftElbow"
  301. leftelbow.Parent = leftlowerarm
  302. mesh_3.MeshType = Enum.MeshType.FileMesh
  303. mesh_3.Scale = Vector3.new(1.6, 1.6, 1.6)
  304. mesh_3.MeshId = "rbxassetid://875229562"
  305. mesh_3.TextureId = "rbxassetid://853067666"
  306. mesh_3.Parent = leftlowerarm
  307. leftupperarm.CanCollide = false
  308. leftupperarm.Size = Vector3.new(0.494, 1.347, 0.643)
  309. leftupperarm.BrickColor = BrickColor.new("Cool yellow")
  310. leftupperarm.Material = Enum.Material.SmoothPlastic
  311. leftupperarm.Color = Color3.new(0.992157, 0.917647, 0.552941)
  312. leftupperarm.Orientation = Vector3.new(0, -166.02, 0)
  313. leftupperarm.Name = "LeftUpperArm"
  314. leftupperarm.Parent = moving_anthro_npc
  315. leftupperarm.CFrame = CFrame.new(-7.519, 4.632, -58.139) * CFrame.Angles(3.142, -0.244, 3.142)
  316. leftshoulderrigattachment.Position = Vector3.new(0.165, 0.367, 0.036)
  317. leftshoulderrigattachment.Name = "LeftShoulderRigAttachment"
  318. leftshoulderrigattachment.CFrame = CFrame.new(0.165, 0.367, 0.036)
  319. leftshoulderrigattachment.Parent = leftupperarm
  320. originalpivot_10.Value = Vector3.new(0.132, 0.294, 0.029)
  321. originalpivot_10.Name = "OriginalPivot"
  322. originalpivot_10.Parent = leftshoulderrigattachment
  323. leftelbowrigattachment_2.Position = Vector3.new(-0.116, -0.543, 0.05)
  324. leftelbowrigattachment_2.Name = "LeftElbowRigAttachment"
  325. leftelbowrigattachment_2.CFrame = CFrame.new(-0.116, -0.543, 0.05)
  326. leftelbowrigattachment_2.Parent = leftupperarm
  327. originalpivot_11.Value = Vector3.new(-0.093, -0.434, 0.04)
  328. originalpivot_11.Name = "OriginalPivot"
  329. originalpivot_11.Parent = leftelbowrigattachment_2
  330. leftshoulderattachment.Position = Vector3.new(0.109, 0.698, -0.048)
  331. leftshoulderattachment.Name = "LeftShoulderAttachment"
  332. leftshoulderattachment.CFrame = CFrame.new(0.109, 0.698, -0.048)
  333. leftshoulderattachment.Parent = leftupperarm
  334. originalpivot_12.Value = Vector3.new(0.087, 0.559, -0.039)
  335. originalpivot_12.Name = "OriginalPivot"
  336. originalpivot_12.Parent = leftshoulderattachment
  337. originalsize_4.Value = Vector3.new(0.395, 1.078, 0.514)
  338. originalsize_4.Name = "OriginalSize"
  339. originalsize_4.Parent = leftupperarm
  340. leftshoulder.Part1 = leftupperarm
  341. leftshoulder.C0 = CFrame.new(-0.619, 0.319, 0.129)
  342. leftshoulder.Part0 = uppertorso
  343. leftshoulder.C1 = CFrame.new(0.165, 0.367, 0.036)
  344. leftshoulder.Name = "LeftShoulder"
  345. leftshoulder.Parent = leftupperarm
  346. mesh_4.MeshType = Enum.MeshType.FileMesh
  347. mesh_4.Scale = Vector3.new(1.6, 1.6, 1.6)
  348. mesh_4.MeshId = "rbxassetid://875229564"
  349. mesh_4.TextureId = "rbxassetid://853067666"
  350. mesh_4.Parent = leftupperarm
  351. righthand.CanCollide = false
  352. righthand.Size = Vector3.new(0.369, 0.777, 0.423)
  353. righthand.BrickColor = BrickColor.new("Cool yellow")
  354. righthand.Material = Enum.Material.SmoothPlastic
  355. righthand.Color = Color3.new(0.992157, 0.917647, 0.552941)
  356. righthand.Orientation = Vector3.new(0, -166.02, 0)
  357. righthand.Name = "RightHand"
  358. righthand.Parent = moving_anthro_npc
  359. righthand.CFrame = CFrame.new(-8.973, 2.811, -57.439) * CFrame.Angles(3.142, -0.244, 3.142)
  360. rightwristrigattachment.Position = Vector3.new(0.104, 0.272, 0.043)
  361. rightwristrigattachment.Name = "RightWristRigAttachment"
  362. rightwristrigattachment.CFrame = CFrame.new(0.104, 0.272, 0.043)
  363. rightwristrigattachment.Parent = righthand
  364. originalpivot_13.Value = Vector3.new(0.083, 0.218, 0.034)
  365. originalpivot_13.Name = "OriginalPivot"
  366. originalpivot_13.Parent = rightwristrigattachment
  367. rightgripattachment.Rotation = Vector3.new(-90, 0, 0)
  368. rightgripattachment.CFrame = CFrame.new(-0.033, 0.006, 0.279) * CFrame.Angles(-1.571, 0, 0)
  369. rightgripattachment.Orientation = Vector3.new(-90, 0, 0)
  370. rightgripattachment.Name = "RightGripAttachment"
  371. rightgripattachment.SecondaryAxis = Vector3.new(0, 0, -1)
  372. rightgripattachment.Position = Vector3.new(-0.033, 0.006, 0.279)
  373. rightgripattachment.Parent = righthand
  374. originalpivot_14.Value = Vector3.new(-0.027, 0.005, 0.224)
  375. originalpivot_14.Name = "OriginalPivot"
  376. originalpivot_14.Parent = rightgripattachment
  377. originalsize_5.Value = Vector3.new(0.295, 0.621, 0.339)
  378. originalsize_5.Name = "OriginalSize"
  379. originalsize_5.Parent = righthand
  380. rightwrist.Part1 = righthand
  381. rightwrist.C0 = CFrame.new(0.019, -0.508, -0.166)
  382. rightwrist.Part0 = rightlowerarm
  383. rightwrist.C1 = CFrame.new(0.104, 0.272, 0.043)
  384. rightwrist.Name = "RightWrist"
  385. rightwrist.Parent = righthand
  386. mesh_5.MeshType = Enum.MeshType.FileMesh
  387. mesh_5.Scale = Vector3.new(1.6, 1.6, 1.6)
  388. mesh_5.MeshId = "rbxassetid://875229570"
  389. mesh_5.TextureId = "rbxassetid://853067666"
  390. mesh_5.Parent = righthand
  391. rightlowerarm.CanCollide = false
  392. rightlowerarm.Size = Vector3.new(0.353, 1.149, 0.587)
  393. rightlowerarm.BrickColor = BrickColor.new("Cool yellow")
  394. rightlowerarm.Material = Enum.Material.SmoothPlastic
  395. rightlowerarm.Color = Color3.new(0.992157, 0.917647, 0.552941)
  396. rightlowerarm.Orientation = Vector3.new(0, -166.02, 0)
  397. rightlowerarm.Name = "RightLowerArm"
  398. rightlowerarm.Parent = moving_anthro_npc
  399. rightlowerarm.CFrame = CFrame.new(-9.106, 3.591, -57.621) * CFrame.Angles(3.142, -0.244, 3.142)
  400. rightelbowrigattachment.Position = Vector3.new(0.019, 0.498, 0.169)
  401. rightelbowrigattachment.Name = "RightElbowRigAttachment"
  402. rightelbowrigattachment.CFrame = CFrame.new(0.019, 0.498, 0.169)
  403. rightelbowrigattachment.Parent = rightlowerarm
  404. originalpivot_15.Value = Vector3.new(0.015, 0.398, 0.135)
  405. originalpivot_15.Name = "OriginalPivot"
  406. originalpivot_15.Parent = rightelbowrigattachment
  407. rightwristrigattachment_2.Position = Vector3.new(0.019, -0.508, -0.166)
  408. rightwristrigattachment_2.Name = "RightWristRigAttachment"
  409. rightwristrigattachment_2.CFrame = CFrame.new(0.019, -0.508, -0.166)
  410. rightwristrigattachment_2.Parent = rightlowerarm
  411. originalpivot_16.Value = Vector3.new(0.015, -0.406, -0.133)
  412. originalpivot_16.Name = "OriginalPivot"
  413. originalpivot_16.Parent = rightwristrigattachment_2
  414. originalsize_6.Value = Vector3.new(0.282, 0.919, 0.469)
  415. originalsize_6.Name = "OriginalSize"
  416. originalsize_6.Parent = rightlowerarm
  417. rightelbow.Part1 = rightlowerarm
  418. rightelbow.C0 = CFrame.new(0.116, -0.543, 0.05)
  419. rightelbow.Part0 = rightupperarm
  420. rightelbow.C1 = CFrame.new(0.019, 0.498, 0.169)
  421. rightelbow.Name = "RightElbow"
  422. rightelbow.Parent = rightlowerarm
  423. mesh_6.MeshType = Enum.MeshType.FileMesh
  424. mesh_6.Scale = Vector3.new(1.6, 1.6, 1.6)
  425. mesh_6.MeshId = "rbxassetid://875229578"
  426. mesh_6.TextureId = "rbxassetid://853067666"
  427. mesh_6.Parent = rightlowerarm
  428. rightupperarm.CanCollide = false
  429. rightupperarm.Size = Vector3.new(0.494, 1.347, 0.643)
  430. rightupperarm.BrickColor = BrickColor.new("Cool yellow")
  431. rightupperarm.Material = Enum.Material.SmoothPlastic
  432. rightupperarm.Color = Color3.new(0.992157, 0.917647, 0.552941)
  433. rightupperarm.Orientation = Vector3.new(0, -166.02, 0)
  434. rightupperarm.Name = "RightUpperArm"
  435. rightupperarm.Parent = moving_anthro_npc
  436. rightupperarm.CFrame = CFrame.new(-9.04, 4.632, -57.76) * CFrame.Angles(3.142, -0.244, 3.142)
  437. rightshoulderrigattachment.Position = Vector3.new(-0.165, 0.367, 0.036)
  438. rightshoulderrigattachment.Name = "RightShoulderRigAttachment"
  439. rightshoulderrigattachment.CFrame = CFrame.new(-0.165, 0.367, 0.036)
  440. rightshoulderrigattachment.Parent = rightupperarm
  441. originalpivot_17.Value = Vector3.new(-0.132, 0.294, 0.029)
  442. originalpivot_17.Name = "OriginalPivot"
  443. originalpivot_17.Parent = rightshoulderrigattachment
  444. rightelbowrigattachment_2.Position = Vector3.new(0.116, -0.543, 0.05)
  445. rightelbowrigattachment_2.Name = "RightElbowRigAttachment"
  446. rightelbowrigattachment_2.CFrame = CFrame.new(0.116, -0.543, 0.05)
  447. rightelbowrigattachment_2.Parent = rightupperarm
  448. originalpivot_18.Value = Vector3.new(0.093, -0.434, 0.04)
  449. originalpivot_18.Name = "OriginalPivot"
  450. originalpivot_18.Parent = rightelbowrigattachment_2
  451. rightshoulderattachment.Position = Vector3.new(-0.109, 0.669, -0.048)
  452. rightshoulderattachment.Name = "RightShoulderAttachment"
  453. rightshoulderattachment.CFrame = CFrame.new(-0.109, 0.669, -0.048)
  454. rightshoulderattachment.Parent = rightupperarm
  455. originalpivot_19.Value = Vector3.new(-0.087, 0.535, -0.039)
  456. originalpivot_19.Name = "OriginalPivot"
  457. originalpivot_19.Parent = rightshoulderattachment
  458. originalsize_7.Value = Vector3.new(0.395, 1.078, 0.514)
  459. originalsize_7.Name = "OriginalSize"
  460. originalsize_7.Parent = rightupperarm
  461. rightshoulder.Part1 = rightupperarm
  462. rightshoulder.C0 = CFrame.new(0.619, 0.319, 0.129)
  463. rightshoulder.Part0 = uppertorso
  464. rightshoulder.C1 = CFrame.new(-0.165, 0.367, 0.036)
  465. rightshoulder.Name = "RightShoulder"
  466. rightshoulder.Parent = rightupperarm
  467. mesh_7.MeshType = Enum.MeshType.FileMesh
  468. mesh_7.Scale = Vector3.new(1.6, 1.6, 1.6)
  469. mesh_7.MeshId = "rbxassetid://875229582"
  470. mesh_7.TextureId = "rbxassetid://853067666"
  471. mesh_7.Parent = rightupperarm
  472. uppertorso.Size = Vector3.new(1.488, 2.231, 1.006)
  473. uppertorso.Color = Color3.new(0.156863, 0.498039, 0.278431)
  474. uppertorso.Name = "UpperTorso"
  475. uppertorso.Material = Enum.Material.SmoothPlastic
  476. uppertorso.BrickColor = BrickColor.new("Dark green")
  477. uppertorso.Orientation = Vector3.new(0, -166.02, 0)
  478. uppertorso.Parent = moving_anthro_npc
  479. uppertorso.CFrame = CFrame.new(-8.257, 4.68, -57.859) * CFrame.Angles(3.142, -0.244, 3.142)
  480. waistrigattachment.Position = Vector3.new(0, -0.843, 0.045)
  481. waistrigattachment.Name = "WaistRigAttachment"
  482. waistrigattachment.CFrame = CFrame.new(0, -0.843, 0.045)
  483. waistrigattachment.Parent = uppertorso
  484. originalpivot_20.Value = Vector3.new(0, -0.674, 0.036)
  485. originalpivot_20.Name = "OriginalPivot"
  486. originalpivot_20.Parent = waistrigattachment
  487. neckrigattachment_2.Position = Vector3.new(0, 0.981, -0.046)
  488. neckrigattachment_2.Name = "NeckRigAttachment"
  489. neckrigattachment_2.CFrame = CFrame.new(0, 0.981, -0.046)
  490. neckrigattachment_2.Parent = uppertorso
  491. originalpivot_21.Value = Vector3.new(0, 0.785, -0.037)
  492. originalpivot_21.Name = "OriginalPivot"
  493. originalpivot_21.Parent = neckrigattachment_2
  494. leftshoulderrigattachment_2.Position = Vector3.new(-0.619, 0.319, 0.129)
  495. leftshoulderrigattachment_2.Name = "LeftShoulderRigAttachment"
  496. leftshoulderrigattachment_2.CFrame = CFrame.new(-0.619, 0.319, 0.129)
  497. leftshoulderrigattachment_2.Parent = uppertorso
  498. originalpivot_22.Value = Vector3.new(-0.495, 0.255, 0.103)
  499. originalpivot_22.Name = "OriginalPivot"
  500. originalpivot_22.Parent = leftshoulderrigattachment_2
  501. rightshoulderrigattachment_2.Position = Vector3.new(0.619, 0.319, 0.129)
  502. rightshoulderrigattachment_2.Name = "RightShoulderRigAttachment"
  503. rightshoulderrigattachment_2.CFrame = CFrame.new(0.619, 0.319, 0.129)
  504. rightshoulderrigattachment_2.Parent = uppertorso
  505. originalpivot_23.Value = Vector3.new(0.495, 0.255, 0.103)
  506. originalpivot_23.Name = "OriginalPivot"
  507. originalpivot_23.Parent = rightshoulderrigattachment_2
  508. bodyfrontattachment.Position = Vector3.new(0, -0.425, -0.48)
  509. bodyfrontattachment.Name = "BodyFrontAttachment"
  510. bodyfrontattachment.CFrame = CFrame.new(0, -0.425, -0.48)
  511. bodyfrontattachment.Parent = uppertorso
  512. originalpivot_24.Value = Vector3.new(0, -0.34, -0.384)
  513. originalpivot_24.Name = "OriginalPivot"
  514. originalpivot_24.Parent = bodyfrontattachment
  515. bodybackattachment.Position = Vector3.new(0, -0.425, 0.32)
  516. bodybackattachment.Name = "BodyBackAttachment"
  517. bodybackattachment.CFrame = CFrame.new(0, -0.425, 0.32)
  518. bodybackattachment.Parent = uppertorso
  519. originalpivot_25.Value = Vector3.new(0, -0.34, 0.256)
  520. originalpivot_25.Name = "OriginalPivot"
  521. originalpivot_25.Parent = bodybackattachment
  522. neckattachment.Position = Vector3.new(0, 0.825, 0.045)
  523. neckattachment.Name = "NeckAttachment"
  524. neckattachment.CFrame = CFrame.new(0, 0.825, 0.045)
  525. neckattachment.Parent = uppertorso
  526. originalpivot_26.Value = Vector3.new(0, 0.66, 0.036)
  527. originalpivot_26.Name = "OriginalPivot"
  528. originalpivot_26.Parent = neckattachment
  529. rightcollarattachment.Position = Vector3.new(0.438, 0.688, 0.045)
  530. rightcollarattachment.Name = "RightCollarAttachment"
  531. rightcollarattachment.CFrame = CFrame.new(0.438, 0.688, 0.045)
  532. rightcollarattachment.Parent = uppertorso
  533. originalpivot_27.Value = Vector3.new(0.35, 0.55, 0.036)
  534. originalpivot_27.Name = "OriginalPivot"
  535. originalpivot_27.Parent = rightcollarattachment
  536. leftcollarattachment.Position = Vector3.new(-0.437, 0.688, 0.045)
  537. leftcollarattachment.Name = "LeftCollarAttachment"
  538. leftcollarattachment.CFrame = CFrame.new(-0.437, 0.688, 0.045)
  539. leftcollarattachment.Parent = uppertorso
  540. originalpivot_28.Value = Vector3.new(-0.35, 0.55, 0.036)
  541. originalpivot_28.Name = "OriginalPivot"
  542. originalpivot_28.Parent = leftcollarattachment
  543. originalsize_8.Value = Vector3.new(1.19, 1.785, 0.805)
  544. originalsize_8.Name = "OriginalSize"
  545. originalsize_8.Parent = uppertorso
  546. waist.Part1 = uppertorso
  547. waist.C0 = CFrame.new(0, 0.45, 0.091)
  548. waist.Part0 = lowertorso
  549. waist.C1 = CFrame.new(0, -0.843, 0.045)
  550. waist.Name = "Waist"
  551. waist.Parent = uppertorso
  552. mesh_8.Offset = Vector3.new(0, 0.09, 0)
  553. mesh_8.MeshId = "rbxassetid://875229590"
  554. mesh_8.Scale = Vector3.new(1.4, 1.4, 1.4)
  555. mesh_8.TextureId = "rbxassetid://853067666"
  556. mesh_8.MeshType = Enum.MeshType.FileMesh
  557. mesh_8.Parent = uppertorso
  558. leftfoot.CanCollide = false
  559. leftfoot.Size = Vector3.new(0.433, 0.504, 1.064)
  560. leftfoot.BrickColor = BrickColor.new("Bright blue")
  561. leftfoot.Material = Enum.Material.SmoothPlastic
  562. leftfoot.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  563. leftfoot.Orientation = Vector3.new(0, -166.02, 0)
  564. leftfoot.Name = "LeftFoot"
  565. leftfoot.Parent = moving_anthro_npc
  566. leftfoot.CFrame = CFrame.new(-7.941, 0.253, -57.772) * CFrame.Angles(3.142, -0.244, 3.142)
  567. leftanklerigattachment.Position = Vector3.new(-0.033, 0.003, 0.225)
  568. leftanklerigattachment.Name = "LeftAnkleRigAttachment"
  569. leftanklerigattachment.CFrame = CFrame.new(-0.033, 0.003, 0.225)
  570. leftanklerigattachment.Parent = leftfoot
  571. originalpivot_29.Value = Vector3.new(-0.027, 0.002, 0.18)
  572. originalpivot_29.Name = "OriginalPivot"
  573. originalpivot_29.Parent = leftanklerigattachment
  574. originalsize_9.Value = Vector3.new(0.346, 0.403, 0.851)
  575. originalsize_9.Name = "OriginalSize"
  576. originalsize_9.Parent = leftfoot
  577. leftankle.Part1 = leftfoot
  578. leftankle.C0 = CFrame.new(-0.021, -0.907, -0.018)
  579. leftankle.Part0 = leftlowerleg
  580. leftankle.C1 = CFrame.new(-0.033, 0.003, 0.225)
  581. leftankle.Name = "LeftAnkle"
  582. leftankle.Parent = leftfoot
  583. mesh_9.MeshType = Enum.MeshType.FileMesh
  584. mesh_9.Scale = Vector3.new(1.6, 1.6, 1.6)
  585. mesh_9.MeshId = "rbxassetid://875229596"
  586. mesh_9.TextureId = "rbxassetid://853067666"
  587. mesh_9.Parent = leftfoot
  588. leftlowerleg.CanCollide = false
  589. leftlowerleg.Size = Vector3.new(0.567, 1.823, 0.723)
  590. leftlowerleg.BrickColor = BrickColor.new("Bright blue")
  591. leftlowerleg.Material = Enum.Material.SmoothPlastic
  592. leftlowerleg.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  593. leftlowerleg.Orientation = Vector3.new(0, -166.02, 0)
  594. leftlowerleg.Name = "LeftLowerLeg"
  595. leftlowerleg.Parent = moving_anthro_npc
  596. leftlowerleg.CFrame = CFrame.new(-7.988, 1.163, -58.011) * CFrame.Angles(3.142, -0.244, 3.142)
  597. leftkneerigattachment.Position = Vector3.new(-0.021, 0.825, -0.037)
  598. leftkneerigattachment.Name = "LeftKneeRigAttachment"
  599. leftkneerigattachment.CFrame = CFrame.new(-0.021, 0.825, -0.037)
  600. leftkneerigattachment.Parent = leftlowerleg
  601. originalpivot_30.Value = Vector3.new(-0.017, 0.66, -0.029)
  602. originalpivot_30.Name = "OriginalPivot"
  603. originalpivot_30.Parent = leftkneerigattachment
  604. leftanklerigattachment_2.Position = Vector3.new(-0.021, -0.907, -0.018)
  605. leftanklerigattachment_2.Name = "LeftAnkleRigAttachment"
  606. leftanklerigattachment_2.CFrame = CFrame.new(-0.021, -0.907, -0.018)
  607. leftanklerigattachment_2.Parent = leftlowerleg
  608. originalpivot_31.Value = Vector3.new(-0.017, -0.726, -0.014)
  609. originalpivot_31.Name = "OriginalPivot"
  610. originalpivot_31.Parent = leftanklerigattachment_2
  611. originalsize_10.Value = Vector3.new(0.454, 1.459, 0.578)
  612. originalsize_10.Name = "OriginalSize"
  613. originalsize_10.Parent = leftlowerleg
  614. leftknee.Part1 = leftlowerleg
  615. leftknee.C0 = CFrame.new(0.008, -0.594, 0.093)
  616. leftknee.Part0 = leftupperleg
  617. leftknee.C1 = CFrame.new(-0.021, 0.825, -0.037)
  618. leftknee.Name = "LeftKnee"
  619. leftknee.Parent = leftlowerleg
  620. mesh_10.Offset = Vector3.new(0, 0.2, 0)
  621. mesh_10.MeshId = "rbxassetid://875229599"
  622. mesh_10.Scale = Vector3.new(1.6, 1.6, 1.6)
  623. mesh_10.TextureId = "rbxassetid://853067666"
  624. mesh_10.MeshType = Enum.MeshType.FileMesh
  625. mesh_10.Parent = leftlowerleg
  626. leftupperleg.CanCollide = false
  627. leftupperleg.Size = Vector3.new(0.617, 1.891, 0.802)
  628. leftupperleg.BrickColor = BrickColor.new("Bright blue")
  629. leftupperleg.Material = Enum.Material.SmoothPlastic
  630. leftupperleg.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  631. leftupperleg.Orientation = Vector3.new(0, -166.02, 0)
  632. leftupperleg.Name = "LeftUpperLeg"
  633. leftupperleg.Parent = moving_anthro_npc
  634. leftupperleg.CFrame = CFrame.new(-7.928, 2.582, -57.892) * CFrame.Angles(3.142, -0.244, 3.142)
  635. lefthiprigattachment.Position = Vector3.new(0.008, 0.846, -0.019)
  636. lefthiprigattachment.Name = "LeftHipRigAttachment"
  637. lefthiprigattachment.CFrame = CFrame.new(0.008, 0.846, -0.019)
  638. lefthiprigattachment.Parent = leftupperleg
  639. originalpivot_32.Value = Vector3.new(0.006, 0.677, -0.015)
  640. originalpivot_32.Name = "OriginalPivot"
  641. originalpivot_32.Parent = lefthiprigattachment
  642. leftkneerigattachment_2.Position = Vector3.new(0.008, -0.594, 0.093)
  643. leftkneerigattachment_2.Name = "LeftKneeRigAttachment"
  644. leftkneerigattachment_2.CFrame = CFrame.new(0.008, -0.594, 0.093)
  645. leftkneerigattachment_2.Parent = leftupperleg
  646. originalpivot_33.Value = Vector3.new(0.006, -0.476, 0.075)
  647. originalpivot_33.Name = "OriginalPivot"
  648. originalpivot_33.Parent = leftkneerigattachment_2
  649. originalsize_11.Value = Vector3.new(0.494, 1.513, 0.642)
  650. originalsize_11.Name = "OriginalSize"
  651. originalsize_11.Parent = leftupperleg
  652. lefthip.Part1 = leftupperleg
  653. lefthip.C0 = CFrame.new(-0.319, 0.041, -0.021)
  654. lefthip.Part0 = lowertorso
  655. lefthip.C1 = CFrame.new(0.008, 0.846, -0.019)
  656. lefthip.Name = "LeftHip"
  657. lefthip.Parent = leftupperleg
  658. mesh_11.Offset = Vector3.new(0, 0.1, 0)
  659. mesh_11.MeshId = "rbxassetid://875229605"
  660. mesh_11.Scale = Vector3.new(1.5, 1, 1.5)
  661. mesh_11.TextureId = "rbxassetid://853067666"
  662. mesh_11.MeshType = Enum.MeshType.FileMesh
  663. mesh_11.Parent = leftupperleg
  664. rightfoot.CanCollide = false
  665. rightfoot.Size = Vector3.new(0.433, 0.504, 1.064)
  666. rightfoot.BrickColor = BrickColor.new("Bright blue")
  667. rightfoot.Material = Enum.Material.SmoothPlastic
  668. rightfoot.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  669. rightfoot.Orientation = Vector3.new(0, -166.02, 0)
  670. rightfoot.Name = "RightFoot"
  671. rightfoot.Parent = moving_anthro_npc
  672. rightfoot.CFrame = CFrame.new(-8.496, 0.252, -57.633) * CFrame.Angles(3.142, -0.244, 3.142)
  673. rightanklerigattachment.Position = Vector3.new(0.034, 0.002, 0.225)
  674. rightanklerigattachment.Name = "RightAnkleRigAttachment"
  675. rightanklerigattachment.CFrame = CFrame.new(0.034, 0.002, 0.225)
  676. rightanklerigattachment.Parent = rightfoot
  677. originalpivot_34.Value = Vector3.new(0.027, 0.002, 0.18)
  678. originalpivot_34.Name = "OriginalPivot"
  679. originalpivot_34.Parent = rightanklerigattachment
  680. originalsize_12.Value = Vector3.new(0.346, 0.403, 0.851)
  681. originalsize_12.Name = "OriginalSize"
  682. originalsize_12.Parent = rightfoot
  683. rightankle.Part1 = rightfoot
  684. rightankle.C0 = CFrame.new(0.021, -0.908, -0.018)
  685. rightankle.Part0 = rightlowerleg
  686. rightankle.C1 = CFrame.new(0.034, 0.002, 0.225)
  687. rightankle.Name = "RightAnkle"
  688. rightankle.Parent = rightfoot
  689. mesh_12.MeshType = Enum.MeshType.FileMesh
  690. mesh_12.Scale = Vector3.new(1.6, 1.6, 1.6)
  691. mesh_12.MeshId = "rbxassetid://875229610"
  692. mesh_12.TextureId = "rbxassetid://853067666"
  693. mesh_12.Parent = rightfoot
  694. rightlowerleg.CanCollide = false
  695. rightlowerleg.Size = Vector3.new(0.567, 1.823, 0.723)
  696. rightlowerleg.BrickColor = BrickColor.new("Bright blue")
  697. rightlowerleg.Material = Enum.Material.SmoothPlastic
  698. rightlowerleg.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  699. rightlowerleg.Orientation = Vector3.new(0, -166.02, 0)
  700. rightlowerleg.Name = "RightLowerLeg"
  701. rightlowerleg.Parent = moving_anthro_npc
  702. rightlowerleg.CFrame = CFrame.new(-8.567, 1.162, -57.866) * CFrame.Angles(3.142, -0.244, 3.142)
  703. rightkneerigattachment.Position = Vector3.new(0.021, 0.825, -0.036)
  704. rightkneerigattachment.Name = "RightKneeRigAttachment"
  705. rightkneerigattachment.CFrame = CFrame.new(0.021, 0.825, -0.036)
  706. rightkneerigattachment.Parent = rightlowerleg
  707. originalpivot_35.Value = Vector3.new(0.017, 0.66, -0.029)
  708. originalpivot_35.Name = "OriginalPivot"
  709. originalpivot_35.Parent = rightkneerigattachment
  710. rightanklerigattachment_2.Position = Vector3.new(0.021, -0.908, -0.018)
  711. rightanklerigattachment_2.Name = "RightAnkleRigAttachment"
  712. rightanklerigattachment_2.CFrame = CFrame.new(0.021, -0.908, -0.018)
  713. rightanklerigattachment_2.Parent = rightlowerleg
  714. originalpivot_36.Value = Vector3.new(0.017, -0.726, -0.014)
  715. originalpivot_36.Name = "OriginalPivot"
  716. originalpivot_36.Parent = rightanklerigattachment_2
  717. originalsize_13.Value = Vector3.new(0.454, 1.459, 0.578)
  718. originalsize_13.Name = "OriginalSize"
  719. originalsize_13.Parent = rightlowerleg
  720. rightknee.Part1 = rightlowerleg
  721. rightknee.C0 = CFrame.new(-0.007, -0.595, 0.093)
  722. rightknee.Part0 = rightupperleg
  723. rightknee.C1 = CFrame.new(0.021, 0.825, -0.036)
  724. rightknee.Name = "RightKnee"
  725. rightknee.Parent = rightlowerleg
  726. mesh_13.Offset = Vector3.new(0, 0.2, 0)
  727. mesh_13.MeshId = "rbxassetid://875229614"
  728. mesh_13.Scale = Vector3.new(1.6, 1.6, 1.6)
  729. mesh_13.TextureId = "rbxassetid://853067666"
  730. mesh_13.MeshType = Enum.MeshType.FileMesh
  731. mesh_13.Parent = rightlowerleg
  732. rightupperleg.CanCollide = false
  733. rightupperleg.Size = Vector3.new(0.617, 1.891, 0.802)
  734. rightupperleg.BrickColor = BrickColor.new("Bright blue")
  735. rightupperleg.Material = Enum.Material.SmoothPlastic
  736. rightupperleg.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  737. rightupperleg.Orientation = Vector3.new(0, -166.02, 0)
  738. rightupperleg.Name = "RightUpperLeg"
  739. rightupperleg.Parent = moving_anthro_npc
  740. rightupperleg.CFrame = CFrame.new(-8.563, 2.582, -57.734) * CFrame.Angles(3.142, -0.244, 3.142)
  741. righthiprigattachment.Position = Vector3.new(-0.007, 0.846, -0.019)
  742. righthiprigattachment.Name = "RightHipRigAttachment"
  743. righthiprigattachment.CFrame = CFrame.new(-0.007, 0.846, -0.019)
  744. righthiprigattachment.Parent = rightupperleg
  745. originalpivot_37.Value = Vector3.new(-0.006, 0.677, -0.015)
  746. originalpivot_37.Name = "OriginalPivot"
  747. originalpivot_37.Parent = righthiprigattachment
  748. rightkneerigattachment_2.Position = Vector3.new(-0.007, -0.595, 0.093)
  749. rightkneerigattachment_2.Name = "RightKneeRigAttachment"
  750. rightkneerigattachment_2.CFrame = CFrame.new(-0.007, -0.595, 0.093)
  751. rightkneerigattachment_2.Parent = rightupperleg
  752. originalpivot_38.Value = Vector3.new(-0.006, -0.476, 0.075)
  753. originalpivot_38.Name = "OriginalPivot"
  754. originalpivot_38.Parent = rightkneerigattachment_2
  755. originalsize_14.Value = Vector3.new(0.494, 1.513, 0.642)
  756. originalsize_14.Name = "OriginalSize"
  757. originalsize_14.Parent = rightupperleg
  758. righthip.Part1 = rightupperleg
  759. righthip.C0 = CFrame.new(0.32, 0.041, -0.021)
  760. righthip.Part0 = lowertorso
  761. righthip.C1 = CFrame.new(-0.007, 0.846, -0.019)
  762. righthip.Name = "RightHip"
  763. righthip.Parent = rightupperleg
  764. mesh_14.Offset = Vector3.new(0, 0.1, 0)
  765. mesh_14.MeshId = "rbxassetid://875229618"
  766. mesh_14.Scale = Vector3.new(1.5, 1, 1.5)
  767. mesh_14.TextureId = "rbxassetid://853067666"
  768. mesh_14.MeshType = Enum.MeshType.FileMesh
  769. mesh_14.Parent = rightupperleg
  770. lowertorso.Size = Vector3.new(1.198, 0.868, 0.902)
  771. lowertorso.Color = Color3.new(0.156863, 0.498039, 0.278431)
  772. lowertorso.Name = "LowerTorso"
  773. lowertorso.Material = Enum.Material.SmoothPlastic
  774. lowertorso.BrickColor = BrickColor.new("Dark green")
  775. lowertorso.Orientation = Vector3.new(0, -166.02, 0)
  776. lowertorso.Parent = moving_anthro_npc
  777. lowertorso.CFrame = CFrame.new(-8.246, 3.387, -57.815) * CFrame.Angles(3.142, -0.244, 3.142)
  778. rootrigattachment_2.Position = Vector3.new(0, 0.056, 0.091)
  779. rootrigattachment_2.Name = "RootRigAttachment"
  780. rootrigattachment_2.CFrame = CFrame.new(0, 0.056, 0.091)
  781. rootrigattachment_2.Parent = lowertorso
  782. originalpivot_39.Value = Vector3.new(0, 0.045, 0.073)
  783. originalpivot_39.Name = "OriginalPivot"
  784. originalpivot_39.Parent = rootrigattachment_2
  785. waistrigattachment_2.Position = Vector3.new(0, 0.45, 0.091)
  786. waistrigattachment_2.Name = "WaistRigAttachment"
  787. waistrigattachment_2.CFrame = CFrame.new(0, 0.45, 0.091)
  788. waistrigattachment_2.Parent = lowertorso
  789. originalpivot_40.Value = Vector3.new(0, 0.36, 0.073)
  790. originalpivot_40.Name = "OriginalPivot"
  791. originalpivot_40.Parent = waistrigattachment_2
  792. lefthiprigattachment_2.Position = Vector3.new(-0.319, 0.041, -0.021)
  793. lefthiprigattachment_2.Name = "LeftHipRigAttachment"
  794. lefthiprigattachment_2.CFrame = CFrame.new(-0.319, 0.041, -0.021)
  795. lefthiprigattachment_2.Parent = lowertorso
  796. originalpivot_41.Value = Vector3.new(-0.256, 0.033, -0.017)
  797. originalpivot_41.Name = "OriginalPivot"
  798. originalpivot_41.Parent = lefthiprigattachment_2
  799. righthiprigattachment_2.Position = Vector3.new(0.32, 0.041, -0.021)
  800. righthiprigattachment_2.Name = "RightHipRigAttachment"
  801. righthiprigattachment_2.CFrame = CFrame.new(0.32, 0.041, -0.021)
  802. righthiprigattachment_2.Parent = lowertorso
  803. originalpivot_42.Value = Vector3.new(0.256, 0.033, -0.017)
  804. originalpivot_42.Name = "OriginalPivot"
  805. originalpivot_42.Parent = righthiprigattachment_2
  806. waistcenterattachment.Position = Vector3.new(0, -0.102, 0.091)
  807. waistcenterattachment.Name = "WaistCenterAttachment"
  808. waistcenterattachment.CFrame = CFrame.new(0, -0.102, 0.091)
  809. waistcenterattachment.Parent = lowertorso
  810. originalpivot_43.Value = Vector3.new(0, -0.081, 0.073)
  811. originalpivot_43.Name = "OriginalPivot"
  812. originalpivot_43.Parent = waistcenterattachment
  813. waistfrontattachment.Position = Vector3.new(0, -0.102, -0.221)
  814. waistfrontattachment.Name = "WaistFrontAttachment"
  815. waistfrontattachment.CFrame = CFrame.new(0, -0.102, -0.221)
  816. waistfrontattachment.Parent = lowertorso
  817. originalpivot_44.Value = Vector3.new(0, -0.081, -0.177)
  818. originalpivot_44.Name = "OriginalPivot"
  819. originalpivot_44.Parent = waistfrontattachment
  820. waistbackattachment.Position = Vector3.new(0, -0.102, 0.448)
  821. waistbackattachment.Name = "WaistBackAttachment"
  822. waistbackattachment.CFrame = CFrame.new(0, -0.102, 0.448)
  823. waistbackattachment.Parent = lowertorso
  824. originalpivot_45.Value = Vector3.new(0, -0.081, 0.358)
  825. originalpivot_45.Name = "OriginalPivot"
  826. originalpivot_45.Parent = waistbackattachment
  827. originalsize_15.Value = Vector3.new(0.958, 0.694, 0.722)
  828. originalsize_15.Name = "OriginalSize"
  829. originalsize_15.Parent = lowertorso
  830. root.Part1 = lowertorso
  831. root.Part0 = humanoidrootpart
  832. root.C1 = CFrame.new(0, 0.056, 0.091)
  833. root.Name = "Root"
  834. root.Parent = lowertorso
  835. mesh_15.MeshType = Enum.MeshType.FileMesh
  836. mesh_15.Scale = Vector3.new(1.4, 1.4, 1.4)
  837. mesh_15.MeshId = "rbxassetid://875229629"
  838. mesh_15.TextureId = "rbxassetid://853067666"
  839. mesh_15.Parent = lowertorso
  840. moving_anthro_npc.PrimaryPart = humanoidrootpart
  841. moving_anthro_npc.Name = game.Players.LocalPlayer.Name
  842. local plr = game.Players.LocalPlayer
  843. repeat wait(.2) until plr.Character
  844. plr.Character = moving_anthro_npc
  845. workspace.CurrentCamera.CameraSubject = humanoid
  846. workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  847.  
  848. game:GetService("RunService").RenderStepped:Connect(function()
  849.  
  850. humanoid:RemoveAccessories()
  851. humanoid.MaxHealth = 1e4556464
  852. humanoid.Health = 1e4556464
  853.  
  854. end)
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872. local Figure = plr.Character
  873. local pose = "Standing"
  874.  
  875. local currentAnim = ""
  876. local currentAnimInstance = nil
  877. local currentAnimTrack = nil
  878. local currentAnimKeyframeHandler = nil
  879. local currentAnimSpeed = 1.0
  880. local animTable = {}
  881. local animNames = {
  882. idle = {
  883. { id = "http://www.roblox.com/asset/?id=507766666", weight = 1 },
  884. { id = "http://www.roblox.com/asset/?id=507766951", weight = 1 },
  885. { id = "http://www.roblox.com/asset/?id=507766388", weight = 9 }
  886. },
  887. walk = {
  888. { id = "http://www.roblox.com/asset/?id=507777826", weight = 10 }
  889. },
  890. run = {
  891. { id = "http://www.roblox.com/asset/?id=507767714", weight = 10 }
  892. },
  893. swim = {
  894. { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 }
  895. },
  896. swimidle = {
  897. { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 }
  898. },
  899. jump = {
  900. { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 }
  901. },
  902. fall = {
  903. { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 }
  904. },
  905. climb = {
  906. { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 }
  907. },
  908. sit = {
  909. { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 }
  910. },
  911. toolnone = {
  912. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  913. },
  914. toolslash = {
  915. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  916. -- { id = "slash.xml", weight = 10 }
  917. },
  918. toollunge = {
  919. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  920. },
  921. wave = {
  922. { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 }
  923. },
  924. point = {
  925. { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 }
  926. },
  927. dance = {
  928. { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 },
  929. { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 },
  930. { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 }
  931. },
  932. dance2 = {
  933. { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 },
  934. { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 },
  935. { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 }
  936. },
  937. dance3 = {
  938. { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 },
  939. { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 },
  940. { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 }
  941. },
  942. laugh = {
  943. { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 }
  944. },
  945. cheer = {
  946. { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 }
  947. },
  948. }
  949.  
  950. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  951. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  952.  
  953. math.randomseed(tick())
  954.  
  955. function configureAnimationSet(name, fileList)
  956. if (animTable[name] ~= nil) then
  957. for _, connection in pairs(animTable[name].connections) do
  958. connection:disconnect()
  959. end
  960. end
  961. animTable[name] = {}
  962. animTable[name].count = 0
  963. animTable[name].totalWeight = 0
  964. animTable[name].connections = {}
  965.  
  966. -- check for config values
  967. local config = script:FindFirstChild(name)
  968. if (config ~= nil) then
  969. -- print("Loading anims " .. name)
  970. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  971. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  972. local idx = 1
  973. for _, childPart in pairs(config:GetChildren()) do
  974. if (childPart:IsA("Animation")) then
  975. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  976. animTable[name][idx] = {}
  977. animTable[name][idx].anim = childPart
  978. local weightObject = childPart:FindFirstChild("Weight")
  979. if (weightObject == nil) then
  980. animTable[name][idx].weight = 1
  981. else
  982. animTable[name][idx].weight = weightObject.Value
  983. end
  984. animTable[name].count = animTable[name].count + 1
  985. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  986. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  987. idx = idx + 1
  988. end
  989. end
  990. end
  991.  
  992. -- fallback to defaults
  993. if (animTable[name].count <= 0) then
  994. for idx, anim in pairs(fileList) do
  995. animTable[name][idx] = {}
  996. animTable[name][idx].anim = Instance.new("Animation")
  997. animTable[name][idx].anim.Name = name
  998. animTable[name][idx].anim.AnimationId = anim.id
  999. animTable[name][idx].weight = anim.weight
  1000. animTable[name].count = animTable[name].count + 1
  1001. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  1002. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  1003. end
  1004. end
  1005. end
  1006.  
  1007. -- Setup animation objects
  1008. function scriptChildModified(child)
  1009. local fileList = animNames[child.Name]
  1010. if (fileList ~= nil) then
  1011. configureAnimationSet(child.Name, fileList)
  1012. end
  1013. end
  1014.  
  1015. script.ChildAdded:connect(scriptChildModified)
  1016. script.ChildRemoved:connect(scriptChildModified)
  1017.  
  1018.  
  1019. for name, fileList in pairs(animNames) do
  1020. configureAnimationSet(name, fileList)
  1021. end
  1022.  
  1023. -- ANIMATION
  1024.  
  1025. -- declarations
  1026. local toolAnim = "None"
  1027. local toolAnimTime = 0
  1028.  
  1029. local jumpAnimTime = 0
  1030. local jumpAnimDuration = 0.31
  1031.  
  1032. local toolTransitionTime = 0.1
  1033. local fallTransitionTime = 0.2
  1034.  
  1035. -- functions
  1036.  
  1037. function stopAllAnimations()
  1038. local oldAnim = currentAnim
  1039.  
  1040. -- return to idle if finishing an emote
  1041. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1042. oldAnim = "idle"
  1043. end
  1044.  
  1045. currentAnim = ""
  1046. currentAnimInstance = nil
  1047. if (currentAnimKeyframeHandler ~= nil) then
  1048. currentAnimKeyframeHandler:disconnect()
  1049. end
  1050.  
  1051. if (currentAnimTrack ~= nil) then
  1052. currentAnimTrack:Stop()
  1053. currentAnimTrack:Destroy()
  1054. currentAnimTrack = nil
  1055. end
  1056. return oldAnim
  1057. end
  1058.  
  1059. function setAnimationSpeed(speed)
  1060. if speed ~= currentAnimSpeed then
  1061. currentAnimSpeed = speed
  1062. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1063. end
  1064. end
  1065.  
  1066. function keyFrameReachedFunc(frameName)
  1067. if (frameName == "End") then
  1068. -- print("Keyframe : ".. frameName)
  1069.  
  1070. local repeatAnim = currentAnim
  1071. -- return to idle if finishing an emote
  1072. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  1073. repeatAnim = "idle"
  1074. end
  1075.  
  1076. local animSpeed = currentAnimSpeed
  1077. playAnimation(repeatAnim, 0.15, humanoid)
  1078. setAnimationSpeed(animSpeed)
  1079. end
  1080. end
  1081.  
  1082. -- Preload animations
  1083. function playAnimation(animName, transitionTime, humanoid)
  1084.  
  1085. local roll = math.random(1, animTable[animName].totalWeight)
  1086. local origRoll = roll
  1087. local idx = 1
  1088. while (roll > animTable[animName][idx].weight) do
  1089. roll = roll - animTable[animName][idx].weight
  1090. idx = idx + 1
  1091. end
  1092.  
  1093. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1094.  
  1095. local anim = animTable[animName][idx].anim
  1096.  
  1097. -- switch animation
  1098. if (anim ~= currentAnimInstance) then
  1099.  
  1100. if (currentAnimTrack ~= nil) then
  1101. currentAnimTrack:Stop(transitionTime)
  1102. currentAnimTrack:Destroy()
  1103. end
  1104.  
  1105. currentAnimSpeed = 1.0
  1106.  
  1107. -- load it to the humanoid; get AnimationTrack
  1108. currentAnimTrack = humanoid:LoadAnimation(anim)
  1109.  
  1110. -- play the animation
  1111. currentAnimTrack:Play(transitionTime)
  1112. currentAnim = animName
  1113. currentAnimInstance = anim
  1114.  
  1115. -- set up keyframe name triggers
  1116. if (currentAnimKeyframeHandler ~= nil) then
  1117. currentAnimKeyframeHandler:disconnect()
  1118. end
  1119. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1120.  
  1121. end
  1122.  
  1123. end
  1124.  
  1125. -------------------------------------------------------------------------------------------
  1126. -------------------------------------------------------------------------------------------
  1127.  
  1128. local toolAnimName = ""
  1129. local toolAnimTrack = nil
  1130. local toolAnimInstance = nil
  1131. local currentToolAnimKeyframeHandler = nil
  1132.  
  1133. function toolKeyFrameReachedFunc(frameName)
  1134. if (frameName == "End") then
  1135. -- print("Keyframe : ".. frameName)
  1136. playToolAnimation(toolAnimName, 0.0, humanoid)
  1137. end
  1138. end
  1139.  
  1140.  
  1141. function playToolAnimation(animName, transitionTime, humanoid)
  1142.  
  1143. local roll = math.random(1, animTable[animName].totalWeight)
  1144. local origRoll = roll
  1145. local idx = 1
  1146. while (roll > animTable[animName][idx].weight) do
  1147. roll = roll - animTable[animName][idx].weight
  1148. idx = idx + 1
  1149. end
  1150. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1151. local anim = animTable[animName][idx].anim
  1152.  
  1153. if (toolAnimInstance ~= anim) then
  1154.  
  1155. if (toolAnimTrack ~= nil) then
  1156. toolAnimTrack:Stop()
  1157. toolAnimTrack:Destroy()
  1158. transitionTime = 0
  1159. end
  1160.  
  1161. -- load it to the humanoid; get AnimationTrack
  1162. toolAnimTrack = humanoid:LoadAnimation(anim)
  1163.  
  1164. -- play the animation
  1165. toolAnimTrack:Play(transitionTime)
  1166. toolAnimName = animName
  1167. toolAnimInstance = anim
  1168.  
  1169. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1170. end
  1171. end
  1172.  
  1173. function stopToolAnimations()
  1174. local oldAnim = toolAnimName
  1175.  
  1176. if (currentToolAnimKeyframeHandler ~= nil) then
  1177. currentToolAnimKeyframeHandler:disconnect()
  1178. end
  1179.  
  1180. toolAnimName = ""
  1181. toolAnimInstance = nil
  1182. if (toolAnimTrack ~= nil) then
  1183. toolAnimTrack:Stop()
  1184. toolAnimTrack:Destroy()
  1185. toolAnimTrack = nil
  1186. end
  1187.  
  1188.  
  1189. return oldAnim
  1190. end
  1191.  
  1192. -------------------------------------------------------------------------------------------
  1193. -------------------------------------------------------------------------------------------
  1194.  
  1195.  
  1196. function onRunning(speed)
  1197. if speed > 0.01 then
  1198. local scale = 15.0
  1199. playAnimation("walk", 0.1, humanoid)
  1200. setAnimationSpeed(speed / scale)
  1201. pose = "Running"
  1202. else
  1203. playAnimation("idle", 0.1, humanoid)
  1204. pose = "Standing"
  1205. end
  1206. end
  1207.  
  1208. function onDied()
  1209. pose = "Dead"
  1210. end
  1211.  
  1212. function onJumping()
  1213. playAnimation("jump", 0.1, humanoid)
  1214. jumpAnimTime = jumpAnimDuration
  1215. pose = "Jumping"
  1216. end
  1217.  
  1218. function onClimbing(speed)
  1219. local scale = 5.0
  1220. playAnimation("climb", 0.1, humanoid)
  1221. setAnimationSpeed(speed / scale)
  1222. pose = "Climbing"
  1223. end
  1224.  
  1225. function onGettingUp()
  1226. pose = "GettingUp"
  1227. end
  1228.  
  1229. function onFreeFall()
  1230. if (jumpAnimTime <= 0) then
  1231. playAnimation("fall", fallTransitionTime, humanoid)
  1232. end
  1233. pose = "FreeFall"
  1234. end
  1235.  
  1236. function onFallingDown()
  1237. pose = "FallingDown"
  1238. end
  1239.  
  1240. function onSeated()
  1241. pose = "Seated"
  1242. end
  1243.  
  1244. function onPlatformStanding()
  1245. pose = "PlatformStanding"
  1246. end
  1247.  
  1248. function onSwimming(speed)
  1249. if speed > 1.00 then
  1250. local scale = 10.0
  1251. playAnimation("swim", 0.4, humanoid)
  1252. setAnimationSpeed(speed / scale)
  1253. pose = "Swimming"
  1254. else
  1255. playAnimation("swimidle", 0.4, humanoid)
  1256. pose = "Standing"
  1257. end
  1258. end
  1259.  
  1260. function getTool()
  1261. for _, kid in ipairs(Figure:GetChildren()) do
  1262. if kid.className == "Tool" then return kid end
  1263. end
  1264. return nil
  1265. end
  1266.  
  1267. function getToolAnim(tool)
  1268. for _, c in ipairs(tool:GetChildren()) do
  1269. if c.Name == "toolanim" and c.className == "StringValue" then
  1270. return c
  1271. end
  1272. end
  1273. return nil
  1274. end
  1275.  
  1276. function animateTool()
  1277.  
  1278. if (toolAnim == "None") then
  1279. playToolAnimation("toolnone", toolTransitionTime, humanoid)
  1280. return
  1281. end
  1282.  
  1283. if (toolAnim == "Slash") then
  1284. playToolAnimation("toolslash", 0, humanoid)
  1285. return
  1286. end
  1287.  
  1288. if (toolAnim == "Lunge") then
  1289. playToolAnimation("toollunge", 0, humanoid)
  1290. return
  1291. end
  1292. end
  1293.  
  1294. function moveSit()
  1295. end
  1296.  
  1297. local lastTick = 0
  1298.  
  1299. function move(time)
  1300. local amplitude = 1
  1301. local frequency = 1
  1302. local deltaTime = time - lastTick
  1303. lastTick = time
  1304.  
  1305. local climbFudge = 0
  1306. local setAngles = false
  1307.  
  1308. if (jumpAnimTime > 0) then
  1309. jumpAnimTime = jumpAnimTime - deltaTime
  1310. end
  1311.  
  1312. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1313. playAnimation("fall", fallTransitionTime, humanoid)
  1314. elseif (pose == "Seated") then
  1315. playAnimation("sit", 0.5, humanoid)
  1316. return
  1317. elseif (pose == "Running") then
  1318. playAnimation("walk", 0.1, humanoid)
  1319. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1320. stopAllAnimations()
  1321. amplitude = 0.1
  1322. frequency = 1
  1323. setAngles = true
  1324. end
  1325.  
  1326. -- Tool Animation handling
  1327. local tool = getTool()
  1328. if tool then
  1329.  
  1330. animStringValueObject = getToolAnim(tool)
  1331.  
  1332. if animStringValueObject then
  1333. toolAnim = animStringValueObject.Value
  1334. -- message recieved, delete StringValue
  1335. animStringValueObject.Parent = nil
  1336. toolAnimTime = time + .3
  1337. end
  1338.  
  1339. if time > toolAnimTime then
  1340. toolAnimTime = 0
  1341. toolAnim = "None"
  1342. end
  1343.  
  1344. animateTool()
  1345. else
  1346. stopToolAnimations()
  1347. toolAnim = "None"
  1348. toolAnimInstance = nil
  1349. toolAnimTime = 0
  1350. end
  1351. end
  1352.  
  1353. -- connect events
  1354. humanoid.Died:connect(onDied)
  1355. humanoid.Running:connect(onRunning)
  1356. humanoid.Jumping:connect(onJumping)
  1357. humanoid.Climbing:connect(onClimbing)
  1358. humanoid.GettingUp:connect(onGettingUp)
  1359. humanoid.FreeFalling:connect(onFreeFall)
  1360. humanoid.FallingDown:connect(onFallingDown)
  1361. humanoid.Seated:connect(onSeated)
  1362. humanoid.PlatformStanding:connect(onPlatformStanding)
  1363. humanoid.Swimming:connect(onSwimming)
  1364.  
  1365. Game.Players.LocalPlayer.Chatted:connect(function(msg)
  1366. local emote = ""
  1367. if (string.sub(msg, 1, 3) == "/e ") then
  1368. emote = string.sub(msg, 4)
  1369. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1370. emote = string.sub(msg, 8)
  1371. end
  1372.  
  1373. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1374. playAnimation(emote, 0.1, humanoid)
  1375. end
  1376. print("===> " .. string.sub(msg, 1, 3) .. "(" .. emote .. ")")
  1377. end)
  1378.  
  1379.  
  1380. -- main program
  1381.  
  1382. local runService = game:service("RunService");
  1383.  
  1384. -- print("bottom")
  1385.  
  1386. -- initialize to idle
  1387. playAnimation("idle", 0.1, humanoid)
  1388. pose = "Standing"
  1389. game:GetService("RunService").RenderStepped:Connect(function(step)
  1390. move(step)
  1391. end)
Add Comment
Please, Sign In to add comment