Advertisement
ManlyMemeScripter

??????

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