Advertisement
Animescapetower

er

Mar 12th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.29 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. local chil = workspace:GetChildren()
  20. for i,v in pairs(chil) do
  21. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  22. v:Destroy()
  23. end
  24. end
  25. SpawnLocation0 = Instance.new("SpawnLocation")
  26. Decal1 = Instance.new("Decal")
  27. Model2 = Instance.new("Model")
  28. Part3 = Instance.new("Part")
  29. SpecialMesh4 = Instance.new("SpecialMesh")
  30. Attachment5 = Instance.new("Attachment")
  31. Attachment6 = Instance.new("Attachment")
  32. Attachment7 = Instance.new("Attachment")
  33. Attachment8 = Instance.new("Attachment")
  34. Decal9 = Instance.new("Decal")
  35. BillboardGui10 = Instance.new("BillboardGui")
  36. Frame11 = Instance.new("Frame")
  37. Frame12 = Instance.new("Frame")
  38. Animation13 = Instance.new("Animation")
  39. Part14 = Instance.new("Part")
  40. Motor6D15 = Instance.new("Motor6D")
  41. Part16 = Instance.new("Part")
  42. Attachment17 = Instance.new("Attachment")
  43. Part18 = Instance.new("Part")
  44. Part19 = Instance.new("Part")
  45. Attachment20 = Instance.new("Attachment")
  46. Weld21 = Instance.new("Weld")
  47. Part22 = Instance.new("Part")
  48. Part23 = Instance.new("Part")
  49. Decal24 = Instance.new("Decal")
  50. Motor6D25 = Instance.new("Motor6D")
  51. Motor6D26 = Instance.new("Motor6D")
  52. Motor6D27 = Instance.new("Motor6D")
  53. Motor6D28 = Instance.new("Motor6D")
  54. Motor6D29 = Instance.new("Motor6D")
  55. Attachment30 = Instance.new("Attachment")
  56. Attachment31 = Instance.new("Attachment")
  57. Attachment32 = Instance.new("Attachment")
  58. Attachment33 = Instance.new("Attachment")
  59. Attachment34 = Instance.new("Attachment")
  60. Attachment35 = Instance.new("Attachment")
  61. Attachment36 = Instance.new("Attachment")
  62. Attachment37 = Instance.new("Attachment")
  63. Humanoid38 = Instance.new("Humanoid")
  64. Accessory39 = Instance.new("Accessory")
  65. Part40 = Instance.new("Part")
  66. SpecialMesh41 = Instance.new("SpecialMesh")
  67. Attachment42 = Instance.new("Attachment")
  68. Weld43 = Instance.new("Weld")
  69. Accessory44 = Instance.new("Accessory")
  70. Part45 = Instance.new("Part")
  71. SpecialMesh46 = Instance.new("SpecialMesh")
  72. Attachment47 = Instance.new("Attachment")
  73. Weld48 = Instance.new("Weld")
  74. ShirtGraphic49 = Instance.new("ShirtGraphic")
  75. Accessory50 = Instance.new("Accessory")
  76. Part51 = Instance.new("Part")
  77. SpecialMesh52 = Instance.new("SpecialMesh")
  78. Attachment53 = Instance.new("Attachment")
  79. Vector3Value54 = Instance.new("Vector3Value")
  80. Weld55 = Instance.new("Weld")
  81. Accessory56 = Instance.new("Accessory")
  82. Part57 = Instance.new("Part")
  83. SpecialMesh58 = Instance.new("SpecialMesh")
  84. Attachment59 = Instance.new("Attachment")
  85. Vector3Value60 = Instance.new("Vector3Value")
  86. Weld61 = Instance.new("Weld")
  87. Accessory62 = Instance.new("Accessory")
  88. Part63 = Instance.new("Part")
  89. SpecialMesh64 = Instance.new("SpecialMesh")
  90. Attachment65 = Instance.new("Attachment")
  91. Weld66 = Instance.new("Weld")
  92. Accessory67 = Instance.new("Accessory")
  93. Part68 = Instance.new("Part")
  94. SpecialMesh69 = Instance.new("SpecialMesh")
  95. Attachment70 = Instance.new("Attachment")
  96. Vector3Value71 = Instance.new("Vector3Value")
  97. Weld72 = Instance.new("Weld")
  98. Accessory73 = Instance.new("Accessory")
  99. Part74 = Instance.new("Part")
  100. SpecialMesh75 = Instance.new("SpecialMesh")
  101. Attachment76 = Instance.new("Attachment")
  102. Vector3Value77 = Instance.new("Vector3Value")
  103. Weld78 = Instance.new("Weld")
  104. Pants79 = Instance.new("Pants")
  105. Accessory80 = Instance.new("Accessory")
  106. Part81 = Instance.new("Part")
  107. SpecialMesh82 = Instance.new("SpecialMesh")
  108. Attachment83 = Instance.new("Attachment")
  109. Weld84 = Instance.new("Weld")
  110. Accessory85 = Instance.new("Accessory")
  111. Part86 = Instance.new("Part")
  112. SpecialMesh87 = Instance.new("SpecialMesh")
  113. Attachment88 = Instance.new("Attachment")
  114. Vector3Value89 = Instance.new("Vector3Value")
  115. Weld90 = Instance.new("Weld")
  116. BodyColors91 = Instance.new("BodyColors")
  117. Tool92 = Instance.new("Tool")
  118. Part93 = Instance.new("Part")
  119. PointLight94 = Instance.new("PointLight")
  120. PointLight95 = Instance.new("PointLight")
  121. Script96 = Instance.new("Script")
  122. Script97 = Instance.new("Script")
  123. Sparkles98 = Instance.new("Sparkles")
  124. Fire99 = Instance.new("Fire")
  125. SpecialMesh100 = Instance.new("SpecialMesh")
  126. BoolValue101 = Instance.new("BoolValue")
  127. BoolValue102 = Instance.new("BoolValue")
  128. BoolValue103 = Instance.new("BoolValue")
  129. Script104 = Instance.new("Script")
  130. Script105 = Instance.new("Script")
  131. Script106 = Instance.new("Script")
  132. Script107 = Instance.new("Script")
  133. Script108 = Instance.new("Script")
  134. BoolValue109 = Instance.new("BoolValue")
  135. IntValue110 = Instance.new("IntValue")
  136. BoolValue111 = Instance.new("BoolValue")
  137. BoolValue112 = Instance.new("BoolValue")
  138. Script113 = Instance.new("Script")
  139. Script114 = Instance.new("Script")
  140. SpawnLocation0.Parent = mas
  141. SpawnLocation0.Anchored = true
  142. SpawnLocation0.Size = Vector3.new(6, 1, 6)
  143. SpawnLocation0.CFrame = CFrame.new(34.0197449, -37.4999924, -49.0999756, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  144. SpawnLocation0.BottomSurface = Enum.SurfaceType.Smooth
  145. SpawnLocation0.TopSurface = Enum.SurfaceType.Smooth
  146. SpawnLocation0.Position = Vector3.new(34.0197449, -37.4999924, -49.0999756)
  147. Decal1.Parent = SpawnLocation0
  148. Decal1.Texture = "rbxasset://textures/SpawnLocation.png"
  149. Decal1.Face = Enum.NormalId.Top
  150. Model2.Name = "Animescapetower"
  151. Model2.Parent = mas
  152. Model2.PrimaryPart = Part14
  153. Part3.Name = "Head"
  154. Part3.Parent = Model2
  155. Part3.BrickColor = BrickColor.new("White")
  156. Part3.FormFactor = Enum.FormFactor.Symmetric
  157. Part3.Size = Vector3.new(2, 1, 1)
  158. Part3.CFrame = CFrame.new(450.839935, 4.50001431, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  159. Part3.TopSurface = Enum.SurfaceType.Smooth
  160. Part3.Color = Color3.new(0.94902, 0.952941, 0.952941)
  161. Part3.Position = Vector3.new(450.839935, 4.50001431, -744.649902)
  162. Part3.Color = Color3.new(0.94902, 0.952941, 0.952941)
  163. SpecialMesh4.Parent = Part3
  164. SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
  165. SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
  166. Attachment5.Name = "HatAttachment"
  167. Attachment5.Parent = Part3
  168. Attachment5.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  169. Attachment5.Position = Vector3.new(0, 0.600000024, 0)
  170. Attachment6.Name = "HairAttachment"
  171. Attachment6.Parent = Part3
  172. Attachment6.CFrame = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  173. Attachment6.Position = Vector3.new(0, 0.600000024, 0)
  174. Attachment7.Name = "FaceFrontAttachment"
  175. Attachment7.Parent = Part3
  176. Attachment7.CFrame = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  177. Attachment7.Position = Vector3.new(0, 0, -0.600000024)
  178. Attachment8.Name = "FaceCenterAttachment"
  179. Attachment8.Parent = Part3
  180. Decal9.Name = "face"
  181. Decal9.Parent = Part3
  182. Decal9.Texture = "http://www.roblox.com/asset/?id=10749463"
  183. BillboardGui10.Name = "HealthGui"
  184. BillboardGui10.Parent = Part3
  185. BillboardGui10.Size = UDim2.new(1.75, 0, 0.25, 0)
  186. BillboardGui10.StudsOffset = Vector3.new(0, 1.25, 0)
  187. Frame11.Name = "BG"
  188. Frame11.Parent = BillboardGui10
  189. Frame11.Size = UDim2.new(1, 0, 1, 0)
  190. Frame11.BackgroundColor3 = Color3.new(0.8, 0, 0)
  191. Frame11.BorderColor3 = Color3.new(0, 0, 0)
  192. Frame12.Name = "FG"
  193. Frame12.Parent = BillboardGui10
  194. Frame12.Size = UDim2.new(1, 0, 1, 0)
  195. Frame12.BackgroundColor3 = Color3.new(0, 0.8, 0)
  196. Frame12.BorderColor3 = Color3.new(0, 0, 0)
  197. Frame12.ZIndex = 2
  198. Animation13.Name = "Dance3"
  199. Animation13.Parent = Part3
  200. Animation13.AnimationId = "rbxassetid://182491368"
  201. Part14.Name = "HumanoidRootPart"
  202. Part14.Parent = Model2
  203. Part14.Transparency = 1
  204. Part14.CanCollide = false
  205. Part14.FormFactor = Enum.FormFactor.Symmetric
  206. Part14.Size = Vector3.new(2, 2, 1)
  207. Part14.CFrame = CFrame.new(450.839935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  208. Part14.BottomSurface = Enum.SurfaceType.Smooth
  209. Part14.TopSurface = Enum.SurfaceType.Smooth
  210. Part14.Position = Vector3.new(450.839935, 3.00001407, -744.649902)
  211. Motor6D15.Name = "RootJoint"
  212. Motor6D15.Parent = Part14
  213. Motor6D15.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  214. Motor6D15.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  215. Motor6D15.Part0 = Part14
  216. Motor6D15.Part1 = Part23
  217. Motor6D15.MaxVelocity = 0.10000000149012
  218. Part16.Name = "Left Arm"
  219. Part16.Parent = Model2
  220. Part16.BrickColor = BrickColor.new("Really black")
  221. Part16.CanCollide = false
  222. Part16.FormFactor = Enum.FormFactor.Symmetric
  223. Part16.Size = Vector3.new(1, 2, 1)
  224. Part16.CFrame = CFrame.new(449.339935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  225. Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  226. Part16.Position = Vector3.new(449.339935, 3.00001407, -744.649902)
  227. Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  228. Attachment17.Name = "LeftShoulderAttachment"
  229. Attachment17.Parent = Part16
  230. Attachment17.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  231. Attachment17.Position = Vector3.new(0, 1, 0)
  232. Part18.Name = "Left Leg"
  233. Part18.Parent = Model2
  234. Part18.BrickColor = BrickColor.new("Really black")
  235. Part18.CanCollide = false
  236. Part18.FormFactor = Enum.FormFactor.Symmetric
  237. Part18.Size = Vector3.new(1, 2, 1)
  238. Part18.CFrame = CFrame.new(450.339935, 1.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  239. Part18.BottomSurface = Enum.SurfaceType.Smooth
  240. Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  241. Part18.Position = Vector3.new(450.339935, 1.00001407, -744.649902)
  242. Part18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  243. Part19.Name = "Right Arm"
  244. Part19.Parent = Model2
  245. Part19.BrickColor = BrickColor.new("Really black")
  246. Part19.CanCollide = false
  247. Part19.FormFactor = Enum.FormFactor.Symmetric
  248. Part19.Size = Vector3.new(1, 2, 1)
  249. Part19.CFrame = CFrame.new(452.339935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  250. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  251. Part19.Position = Vector3.new(452.339935, 3.00001407, -744.649902)
  252. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  253. Attachment20.Name = "RightShoulderAttachment"
  254. Attachment20.Parent = Part19
  255. Attachment20.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  256. Attachment20.Position = Vector3.new(0, 1, 0)
  257. Weld21.Name = "RightGrip"
  258. Weld21.Parent = Part19
  259. Weld21.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
  260. Weld21.C1 = CFrame.new(0, -2.29999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  261. Weld21.Part0 = Part19
  262. Weld21.Part1 = Part93
  263. Part22.Name = "Right Leg"
  264. Part22.Parent = Model2
  265. Part22.BrickColor = BrickColor.new("Really black")
  266. Part22.CanCollide = false
  267. Part22.FormFactor = Enum.FormFactor.Symmetric
  268. Part22.Size = Vector3.new(1, 2, 1)
  269. Part22.CFrame = CFrame.new(451.339935, 1.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  270. Part22.BottomSurface = Enum.SurfaceType.Smooth
  271. Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  272. Part22.Position = Vector3.new(451.339935, 1.00001407, -744.649902)
  273. Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  274. Part23.Name = "Torso"
  275. Part23.Parent = Model2
  276. Part23.BrickColor = BrickColor.new("Dark stone grey")
  277. Part23.FormFactor = Enum.FormFactor.Symmetric
  278. Part23.Size = Vector3.new(2, 2, 1)
  279. Part23.CFrame = CFrame.new(450.839935, 3.00001407, -744.649902, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  280. Part23.LeftSurface = Enum.SurfaceType.Weld
  281. Part23.RightSurface = Enum.SurfaceType.Weld
  282. Part23.Color = Color3.new(0.388235, 0.372549, 0.384314)
  283. Part23.Position = Vector3.new(450.839935, 3.00001407, -744.649902)
  284. Part23.Color = Color3.new(0.388235, 0.372549, 0.384314)
  285. Decal24.Name = "roblox"
  286. Decal24.Parent = Part23
  287. Decal24.Texture = "http://www.roblox.com/asset/?id=278664920"
  288. Motor6D25.Name = "Right Shoulder"
  289. Motor6D25.Parent = Part23
  290. Motor6D25.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  291. Motor6D25.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  292. Motor6D25.Part0 = Part23
  293. Motor6D25.Part1 = Part19
  294. Motor6D25.MaxVelocity = 0.10000000149012
  295. Motor6D26.Name = "Right Hip"
  296. Motor6D26.Parent = Part23
  297. Motor6D26.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  298. Motor6D26.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  299. Motor6D26.Part0 = Part23
  300. Motor6D26.Part1 = Part22
  301. Motor6D26.MaxVelocity = 0.10000000149012
  302. Motor6D27.Name = "Neck"
  303. Motor6D27.Parent = Part23
  304. Motor6D27.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  305. Motor6D27.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  306. Motor6D27.Part0 = Part23
  307. Motor6D27.Part1 = Part3
  308. Motor6D27.MaxVelocity = 0.10000000149012
  309. Motor6D28.Name = "Left Shoulder"
  310. Motor6D28.Parent = Part23
  311. Motor6D28.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  312. Motor6D28.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  313. Motor6D28.Part0 = Part23
  314. Motor6D28.Part1 = Part16
  315. Motor6D28.MaxVelocity = 0.10000000149012
  316. Motor6D29.Name = "Left Hip"
  317. Motor6D29.Parent = Part23
  318. Motor6D29.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  319. Motor6D29.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  320. Motor6D29.Part0 = Part23
  321. Motor6D29.Part1 = Part18
  322. Motor6D29.MaxVelocity = 0.10000000149012
  323. Attachment30.Name = "WaistFrontAttachment"
  324. Attachment30.Parent = Part23
  325. Attachment30.CFrame = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  326. Attachment30.Position = Vector3.new(0, -1, -0.5)
  327. Attachment31.Name = "WaistCenterAttachment"
  328. Attachment31.Parent = Part23
  329. Attachment31.CFrame = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  330. Attachment31.Position = Vector3.new(0, -1, 0)
  331. Attachment32.Name = "WaistBackAttachment"
  332. Attachment32.Parent = Part23
  333. Attachment32.CFrame = CFrame.new(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  334. Attachment32.Position = Vector3.new(0, -1, 0.5)
  335. Attachment33.Name = "RightCollarAttachment"
  336. Attachment33.Parent = Part23
  337. Attachment33.CFrame = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  338. Attachment33.Position = Vector3.new(1, 1, 0)
  339. Attachment34.Name = "NeckAttachment"
  340. Attachment34.Parent = Part23
  341. Attachment34.CFrame = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  342. Attachment34.Position = Vector3.new(0, 1, 0)
  343. Attachment35.Name = "LeftCollarAttachment"
  344. Attachment35.Parent = Part23
  345. Attachment35.CFrame = CFrame.new(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  346. Attachment35.Position = Vector3.new(-1, 1, 0)
  347. Attachment36.Name = "BodyFrontAttachment"
  348. Attachment36.Parent = Part23
  349. Attachment36.CFrame = CFrame.new(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  350. Attachment36.Position = Vector3.new(0, 0, -0.5)
  351. Attachment37.Name = "BodyBackAttachment"
  352. Attachment37.Parent = Part23
  353. Attachment37.CFrame = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  354. Attachment37.Position = Vector3.new(0, 0, 0.5)
  355. Humanoid38.Parent = Model2
  356. Humanoid38.RightLeg = Part22
  357. Humanoid38.LeftLeg = Part18
  358. Humanoid38.Torso = Part14
  359. Accessory39.Name = "RainbowWings"
  360. Accessory39.Parent = Model2
  361. Accessory39.AttachmentPos = Vector3.new(0, 0.5, -1.04999995)
  362. Part40.Name = "Handle"
  363. Part40.Parent = Accessory39
  364. Part40.Transparency = 0.20000000298023
  365. Part40.CanCollide = false
  366. Part40.FormFactor = Enum.FormFactor.Symmetric
  367. Part40.Size = Vector3.new(1, 1.41999996, 1)
  368. Part40.CFrame = CFrame.new(450.839935, 4.50001431, -743.599609, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
  369. Part40.BottomSurface = Enum.SurfaceType.Smooth
  370. Part40.TopSurface = Enum.SurfaceType.Smooth
  371. Part40.Position = Vector3.new(450.839935, 4.50001431, -743.599609)
  372. SpecialMesh41.Parent = Part40
  373. SpecialMesh41.MeshId = "http://www.roblox.com/asset/?id=335060772 "
  374. SpecialMesh41.TextureId = "http://www.roblox.com/asset/?id=335060906"
  375. SpecialMesh41.MeshType = Enum.MeshType.FileMesh
  376. Attachment42.Name = "BodyBackAttachment"
  377. Attachment42.Parent = Part40
  378. Attachment42.Rotation = Vector3.new(0, 0, 3.91582454e-29)
  379. Attachment42.CFrame = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  380. Attachment42.Position = Vector3.new(-9.09494702e-13, -1.50000024, -0.550272346)
  381. Attachment42.Axis = Vector3.new(1, 6.83440315e-31, 0)
  382. Attachment42.Orientation = Vector3.new(0, 0, 3.91582454e-29)
  383. Weld43.Name = "AccessoryWeld"
  384. Weld43.Parent = Part40
  385. Weld43.C0 = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  386. Weld43.C1 = CFrame.new(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  387. Weld43.Part0 = Part40
  388. Weld43.Part1 = Part23
  389. Accessory44.Name = "FriendlySnowfOX"
  390. Accessory44.Parent = Model2
  391. Accessory44.AttachmentPos = Vector3.new(0, 1.79999995, 0)
  392. Part45.Name = "Handle"
  393. Part45.Parent = Accessory44
  394. Part45.CanCollide = false
  395. Part45.FormFactor = Enum.FormFactor.Custom
  396. Part45.Size = Vector3.new(0.720027149, 1.31999815, 1.91000271)
  397. Part45.CFrame = CFrame.new(451.839935, 4.65001392, -744.549927, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  398. Part45.BottomSurface = Enum.SurfaceType.Smooth
  399. Part45.TopSurface = Enum.SurfaceType.Smooth
  400. Part45.Position = Vector3.new(451.839935, 4.65001392, -744.549927)
  401. SpecialMesh46.Parent = Part45
  402. SpecialMesh46.MeshId = "rbxassetid://1241037817"
  403. SpecialMesh46.TextureId = "rbxassetid://1241038471"
  404. SpecialMesh46.MeshType = Enum.MeshType.FileMesh
  405. Attachment47.Name = "RightCollarAttachment"
  406. Attachment47.Parent = Part45
  407. Attachment47.CFrame = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  408. Attachment47.Position = Vector3.new(0, -0.649999976, -0.100000001)
  409. Weld48.Name = "AccessoryWeld"
  410. Weld48.Parent = Part45
  411. Weld48.C0 = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  412. Weld48.C1 = CFrame.new(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  413. Weld48.Part0 = Part45
  414. Weld48.Part1 = Part23
  415. ShirtGraphic49.Parent = Model2
  416. ShirtGraphic49.Graphic = "http://www.roblox.com/asset/?id=278664920"
  417. Accessory50.Name = "HeadlightSoundGear"
  418. Accessory50.Parent = Model2
  419. Accessory50.AttachmentPos = Vector3.new(0, 0.25, 0)
  420. Part51.Name = "Handle"
  421. Part51.Parent = Accessory50
  422. Part51.CanCollide = false
  423. Part51.FormFactor = Enum.FormFactor.Custom
  424. Part51.Size = Vector3.new(1.5999999, 0.799999833, 0.599999845)
  425. Part51.CFrame = CFrame.new(450.839935, 4.75001431, -744.649658, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  426. Part51.BottomSurface = Enum.SurfaceType.Smooth
  427. Part51.TopSurface = Enum.SurfaceType.Smooth
  428. Part51.Position = Vector3.new(450.839935, 4.75001431, -744.649658)
  429. SpecialMesh52.Parent = Part51
  430. SpecialMesh52.MeshId = "http://www.roblox.com/asset/?id=54582024"
  431. SpecialMesh52.TextureId = "http://www.roblox.com/asset/?id=139600792 "
  432. SpecialMesh52.MeshType = Enum.MeshType.FileMesh
  433. Attachment53.Name = "HatAttachment"
  434. Attachment53.Parent = Part51
  435. Attachment53.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  436. Attachment53.CFrame = CFrame.new(8.65838956e-09, 0.349999905, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  437. Attachment53.Position = Vector3.new(8.65838956e-09, 0.349999905, -0.000272244215)
  438. Attachment53.Axis = Vector3.new(1, -7.87137555e-09, 0)
  439. Attachment53.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  440. Vector3Value54.Name = "OriginalSize"
  441. Vector3Value54.Parent = Part51
  442. Vector3Value54.Value = Vector3.new(1.5999999, 0.799999833, 0.599999845)
  443. Weld55.Name = "AccessoryWeld"
  444. Weld55.Parent = Part51
  445. Weld55.C0 = CFrame.new(8.65838956e-09, 0.349999905, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  446. Weld55.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  447. Weld55.Part0 = Part51
  448. Weld55.Part1 = Part3
  449. Accessory56.Name = "WingwsHeaddess"
  450. Accessory56.Parent = Model2
  451. Accessory56.AttachmentPos = Vector3.new(-0.0500000007, 0.00999999978, -0.0799999982)
  452. Part57.Name = "Handle"
  453. Part57.Parent = Accessory56
  454. Part57.CanCollide = false
  455. Part57.FormFactor = Enum.FormFactor.Symmetric
  456. Part57.Size = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  457. Part57.CFrame = CFrame.new(450.84494, 5.08001423, -744.669922, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  458. Part57.BottomSurface = Enum.SurfaceType.Smooth
  459. Part57.TopSurface = Enum.SurfaceType.Smooth
  460. Part57.Position = Vector3.new(450.84494, 5.08001423, -744.669922)
  461. SpecialMesh58.Parent = Part57
  462. SpecialMesh58.MeshId = "http://www.roblox.com/asset/?id=581009766"
  463. SpecialMesh58.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  464. SpecialMesh58.TextureId = "http://www.roblox.com/asset/?id=581008916"
  465. SpecialMesh58.MeshType = Enum.MeshType.FileMesh
  466. SpecialMesh58.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  467. Attachment59.Name = "HatAttachment"
  468. Attachment59.Parent = Part57
  469. Attachment59.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  470. Attachment59.CFrame = CFrame.new(-0.00499999989, 0.0199999996, 0.0199999996, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  471. Attachment59.Position = Vector3.new(-0.00499999989, 0.0199999996, 0.0199999996)
  472. Attachment59.Axis = Vector3.new(1, -7.87137555e-09, 0)
  473. Attachment59.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  474. Vector3Value60.Name = "OriginalSize"
  475. Vector3Value60.Parent = Part57
  476. Vector3Value60.Value = Vector3.new(1.4200002, 0.870000005, 1.40999985)
  477. Weld61.Name = "AccessoryWeld"
  478. Weld61.Parent = Part57
  479. Weld61.C0 = CFrame.new(-0.00499999989, 0.0199999996, 0.0199999996, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  480. Weld61.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  481. Weld61.Part0 = Part57
  482. Weld61.Part1 = Part3
  483. Accessory62.Name = "8bitCatTail"
  484. Accessory62.Parent = Model2
  485. Accessory62.AttachmentPos = Vector3.new(0, 1.89999998, -0.899999976)
  486. Part63.Name = "Handle"
  487. Part63.Parent = Accessory62
  488. Part63.CanCollide = false
  489. Part63.FormFactor = Enum.FormFactor.Symmetric
  490. Part63.Size = Vector3.new(1.24999964, 1.1500001, 1.24000001)
  491. Part63.CFrame = CFrame.new(450.839935, 3.10001421, -743.749634, 1, 6.83440315e-31, 0, -6.83440315e-31, 1, 0, 0, 0, 1)
  492. Part63.BottomSurface = Enum.SurfaceType.Smooth
  493. Part63.TopSurface = Enum.SurfaceType.Smooth
  494. Part63.Position = Vector3.new(450.839935, 3.10001421, -743.749634)
  495. SpecialMesh64.Parent = Part63
  496. SpecialMesh64.MeshId = "rbxassetid://542109971"
  497. SpecialMesh64.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  498. SpecialMesh64.TextureId = "rbxassetid://542105636"
  499. SpecialMesh64.MeshType = Enum.MeshType.FileMesh
  500. SpecialMesh64.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  501. Attachment65.Name = "WaistFrontAttachment"
  502. Attachment65.Parent = Part63
  503. Attachment65.Rotation = Vector3.new(0, 0, 3.91582454e-29)
  504. Attachment65.CFrame = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  505. Attachment65.Position = Vector3.new(1.1920838e-07, -1.10000014, -1.40027213)
  506. Attachment65.Axis = Vector3.new(1, 6.83440315e-31, 0)
  507. Attachment65.Orientation = Vector3.new(0, 0, 3.91582454e-29)
  508. Weld66.Name = "AccessoryWeld"
  509. Weld66.Parent = Part63
  510. Weld66.C0 = CFrame.new(1.1920838e-07, -1.10000014, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  511. Weld66.C1 = CFrame.new(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  512. Weld66.Part0 = Part63
  513. Weld66.Part1 = Part23
  514. Accessory67.Name = "BluesteelShades"
  515. Accessory67.Parent = Model2
  516. Accessory67.AttachmentPos = Vector3.new(0, 0.300000012, 0.150000006)
  517. Part68.Name = "Handle"
  518. Part68.Parent = Accessory67
  519. Part68.CanCollide = false
  520. Part68.FormFactor = Enum.FormFactor.Custom
  521. Part68.Size = Vector3.new(1.40003085, 0.400000006, 1.40000176)
  522. Part68.CFrame = CFrame.new(450.839935, 4.70001411, -744.799622, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  523. Part68.BottomSurface = Enum.SurfaceType.Smooth
  524. Part68.TopSurface = Enum.SurfaceType.Smooth
  525. Part68.Position = Vector3.new(450.839935, 4.70001411, -744.799622)
  526. SpecialMesh69.Parent = Part68
  527. SpecialMesh69.MeshId = "http://www.roblox.com/asset/?id=116526914 "
  528. SpecialMesh69.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  529. SpecialMesh69.TextureId = "http://www.roblox.com/asset/?id=139594977 "
  530. SpecialMesh69.MeshType = Enum.MeshType.FileMesh
  531. SpecialMesh69.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  532. Attachment70.Name = "FaceFrontAttachment"
  533. Attachment70.Parent = Part68
  534. Attachment70.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  535. Attachment70.CFrame = CFrame.new(3.93538357e-09, -0.199999809, -0.450272292, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  536. Attachment70.Position = Vector3.new(3.93538357e-09, -0.199999809, -0.450272292)
  537. Attachment70.Axis = Vector3.new(1, -7.87137555e-09, 0)
  538. Attachment70.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  539. Vector3Value71.Name = "OriginalSize"
  540. Vector3Value71.Parent = Part68
  541. Vector3Value71.Value = Vector3.new(1.40003085, 0.400000006, 1.40000176)
  542. Weld72.Name = "AccessoryWeld"
  543. Weld72.Parent = Part68
  544. Weld72.C0 = CFrame.new(3.93538357e-09, -0.199999809, -0.450272292, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  545. Weld72.C1 = CFrame.new(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  546. Weld72.Part0 = Part68
  547. Weld72.Part1 = Part3
  548. Accessory73.Name = "MessyHairBlue"
  549. Accessory73.Parent = Model2
  550. Accessory73.AttachmentPos = Vector3.new(0.100000001, 0.400000006, -0.200000003)
  551. Part74.Name = "Handle"
  552. Part74.Parent = Accessory73
  553. Part74.CanCollide = false
  554. Part74.FormFactor = Enum.FormFactor.Custom
  555. Part74.Size = Vector3.new(1.99999928, 1.79999995, 2.00000024)
  556. Part74.CFrame = CFrame.new(450.739929, 4.60001421, -744.449646, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  557. Part74.BottomSurface = Enum.SurfaceType.Smooth
  558. Part74.TopSurface = Enum.SurfaceType.Smooth
  559. Part74.Position = Vector3.new(450.739929, 4.60001421, -744.449646)
  560. SpecialMesh75.Parent = Part74
  561. SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=76056263"
  562. SpecialMesh75.TextureId = "http://www.roblox.com/asset/?id=76055088"
  563. SpecialMesh75.MeshType = Enum.MeshType.FileMesh
  564. Attachment76.Name = "HairAttachment"
  565. Attachment76.Parent = Part74
  566. Attachment76.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  567. Attachment76.CFrame = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  568. Attachment76.Position = Vector3.new(0.100000009, 0.5, -0.200272247)
  569. Attachment76.Axis = Vector3.new(1, -7.87137555e-09, 0)
  570. Attachment76.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  571. Vector3Value77.Name = "OriginalSize"
  572. Vector3Value77.Parent = Part74
  573. Vector3Value77.Value = Vector3.new(1.99999928, 1.79999995, 2.00000024)
  574. Weld78.Name = "AccessoryWeld"
  575. Weld78.Parent = Part74
  576. Weld78.C0 = CFrame.new(0.100000009, 0.5, -0.200272247, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  577. Weld78.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  578. Weld78.Part0 = Part74
  579. Weld78.Part1 = Part3
  580. Pants79.Name = "Pants"
  581. Pants79.Parent = Model2
  582. Pants79.PantsTemplate = "http://www.roblox.com/asset/?id=296341198"
  583. Accessory80.Name = "GemTie"
  584. Accessory80.Parent = Model2
  585. Accessory80.AttachmentPos = Vector3.new(0, 1.79999995, 0)
  586. Part81.Name = "Handle"
  587. Part81.Parent = Accessory80
  588. Part81.CanCollide = false
  589. Part81.FormFactor = Enum.FormFactor.Custom
  590. Part81.Size = Vector3.new(2.31002712, 0.70999819, 1.91000271)
  591. Part81.CFrame = CFrame.new(450.839935, 3.80001402, -745.19989, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  592. Part81.BottomSurface = Enum.SurfaceType.Smooth
  593. Part81.TopSurface = Enum.SurfaceType.Smooth
  594. Part81.Position = Vector3.new(450.839935, 3.80001402, -745.19989)
  595. SpecialMesh82.Parent = Part81
  596. SpecialMesh82.MeshId = "rbxassetid://1423138090"
  597. SpecialMesh82.Scale = Vector3.new(1.5, 1.5, 1.5)
  598. SpecialMesh82.TextureId = "rbxassetid://1423138617"
  599. SpecialMesh82.MeshType = Enum.MeshType.FileMesh
  600. SpecialMesh82.Scale = Vector3.new(1.5, 1.5, 1.5)
  601. Attachment83.Name = "NeckAttachment"
  602. Attachment83.Parent = Part81
  603. Attachment83.CFrame = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  604. Attachment83.Position = Vector3.new(0, 0.200000003, 0.550000012)
  605. Weld84.Name = "AccessoryWeld"
  606. Weld84.Parent = Part81
  607. Weld84.C0 = CFrame.new(0, 0.200000003, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  608. Weld84.C1 = CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  609. Weld84.Part0 = Part81
  610. Weld84.Part1 = Part23
  611. Accessory85.Name = "NeonGreenAnimalHood"
  612. Accessory85.Parent = Model2
  613. Accessory85.AttachmentPos = Vector3.new(0, -0.0299999993, 0.0500000007)
  614. Part86.Name = "Handle"
  615. Part86.Parent = Accessory85
  616. Part86.CanCollide = false
  617. Part86.FormFactor = Enum.FormFactor.Custom
  618. Part86.Size = Vector3.new(2.6000278, 2.20000005, 1.79999816)
  619. Part86.CFrame = CFrame.new(450.839935, 5.03001451, -744.699646, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.1444221e-16, -3.26223034e-24, -4.1444221e-16, 1)
  620. Part86.BottomSurface = Enum.SurfaceType.Smooth
  621. Part86.TopSurface = Enum.SurfaceType.Smooth
  622. Part86.Position = Vector3.new(450.839935, 5.03001451, -744.699646)
  623. SpecialMesh87.Parent = Part86
  624. SpecialMesh87.MeshId = "rbxassetid://135446047"
  625. SpecialMesh87.Scale = Vector3.new(1, 1.10000002, 1)
  626. SpecialMesh87.TextureId = "rbxassetid://1134835201"
  627. SpecialMesh87.MeshType = Enum.MeshType.FileMesh
  628. SpecialMesh87.Scale = Vector3.new(1, 1.10000002, 1)
  629. Attachment88.Name = "HatAttachment"
  630. Attachment88.Parent = Part86
  631. Attachment88.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  632. Attachment88.CFrame = CFrame.new(8.65748007e-09, 0.0699996948, 0.0497277565, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  633. Attachment88.Position = Vector3.new(8.65748007e-09, 0.0699996948, 0.0497277565)
  634. Attachment88.Axis = Vector3.new(1, -7.87137555e-09, 0)
  635. Attachment88.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  636. Vector3Value89.Name = "OriginalSize"
  637. Vector3Value89.Parent = Part86
  638. Vector3Value89.Value = Vector3.new(2.6000278, 2.20000005, 1.79999816)
  639. Weld90.Name = "AccessoryWeld"
  640. Weld90.Parent = Part86
  641. Weld90.C0 = CFrame.new(8.65748007e-09, 0.0699996948, 0.0497277565, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  642. Weld90.C1 = CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  643. Weld90.Part0 = Part86
  644. Weld90.Part1 = Part3
  645. BodyColors91.Parent = Model2
  646. BodyColors91.HeadColor = BrickColor.new("White")
  647. BodyColors91.LeftArmColor = BrickColor.new("Really black")
  648. BodyColors91.LeftLegColor = BrickColor.new("Really black")
  649. BodyColors91.RightArmColor = BrickColor.new("Really black")
  650. BodyColors91.RightLegColor = BrickColor.new("Really black")
  651. BodyColors91.TorsoColor = BrickColor.new("Dark stone grey")
  652. Tool92.Name = "MainSword"
  653. Tool92.Parent = Model2
  654. Tool92.TextureId = "http://www.roblox.com/asset/?id=120894242"
  655. Tool92.GripPos = Vector3.new(0, -2.29999995, 0)
  656. Part93.Name = "Handle"
  657. Part93.Parent = Tool92
  658. Part93.BrickColor = BrickColor.new("Really black")
  659. Part93.Reflectance = 123123122176
  660. Part93.Rotation = Vector3.new(-90, 0, 0)
  661. Part93.CanCollide = false
  662. Part93.FormFactor = Enum.FormFactor.Custom
  663. Part93.Size = Vector3.new(1, 0.800000012, 4)
  664. Part93.CFrame = CFrame.new(452.339935, 2.00001407, -746.94989, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  665. Part93.BottomSurface = Enum.SurfaceType.Smooth
  666. Part93.TopSurface = Enum.SurfaceType.Smooth
  667. Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  668. Part93.Position = Vector3.new(452.339935, 2.00001407, -746.94989)
  669. Part93.Orientation = Vector3.new(-90, 0, 0)
  670. Part93.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  671. PointLight94.Name = "PointLight2"
  672. PointLight94.Parent = Part93
  673. PointLight94.Color = Color3.new(0.666667, 0, 1)
  674. PointLight94.Brightness = 0.20000000298023
  675. PointLight94.Range = 30
  676. PointLight94.Shadows = true
  677. PointLight94.Color = Color3.new(0.666667, 0, 1)
  678. PointLight95.Parent = Part93
  679. PointLight95.Color = Color3.new(0.72549, 0.278431, 1)
  680. PointLight95.Brightness = 0.75
  681. PointLight95.Range = 15
  682. PointLight95.Shadows = true
  683. PointLight95.Color = Color3.new(0.72549, 0.278431, 1)
  684. Script96.Name = "DamegeFunc"
  685. Script96.Parent = Part93
  686. table.insert(cors,sandbox(Script96,function()
  687. Damege = script.Parent.Parent.Parent.AttackDamege.Value
  688. CanAttack = script.Parent.Parent.Parent.CanDamegePlayers.Value
  689. Timer = script.BasicTimer
  690. Disabled = script.Disabled
  691. if CanAttack == true then
  692. function onTouched(hit)
  693. local human = hit.Parent:findFirstChild("Humanoid")
  694. if (human ~= nil) then
  695. human.Health = human.Health - Damege
  696.  
  697. end
  698. end
  699.  
  700. end
  701. function mem()
  702. Disabled = true
  703. Timer.Disabled = false
  704. end
  705. --if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
  706. -- connection = script.Parent.Touched:connect(onTouched)
  707. --end -- Grass Troll by RangeMeludE --
  708. script.Parent.Touched:connect(onTouched)
  709. script.Parent.Touched:connect(mem)
  710.  
  711. end))
  712. Script97.Name = "BasicTimer"
  713. Script97.Parent = Script96
  714. Script97.Disabled = true
  715. table.insert(cors,sandbox(Script97,function()
  716. print("This is just a basic timer script incase of damege")
  717. wait(5)--This Setting Is Changable I Recommend To Set The Time About 5 or 8, If you want it to attack once change it to something like 13791237128392198312983128937219372817313 or "9e1" or maby "18e5"
  718. script.Parent.Disabled = false
  719. script.Disabled = true
  720.  
  721. end))
  722. Sparkles98.Parent = Part93
  723. Sparkles98.Enabled = false
  724. Fire99.Parent = Part93
  725. Fire99.Color = Color3.new(0.333333, 0, 1)
  726. Fire99.Enabled = false
  727. Fire99.SecondaryColor = Color3.new(0, 0, 0)
  728. Fire99.Color = Color3.new(0.333333, 0, 1)
  729. SpecialMesh100.Parent = Part93
  730. SpecialMesh100.MeshId = "http://www.roblox.com/asset/?id=94840342"
  731. SpecialMesh100.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
  732. SpecialMesh100.TextureId = "rbxassetid://120869251"
  733. SpecialMesh100.MeshType = Enum.MeshType.FileMesh
  734. SpecialMesh100.Scale = Vector3.new(0.850000024, 0.850000024, 0.850000024)
  735. BoolValue101.Name = "Azure"
  736. BoolValue101.Parent = Tool92
  737. BoolValue102.Name = "Normal"
  738. BoolValue102.Parent = Tool92
  739. BoolValue103.Name = "Special"
  740. BoolValue103.Parent = Tool92
  741. Script104.Parent = Tool92
  742. table.insert(cors,sandbox(Script104,function()
  743. Value2 = script.Parent.Parent.SwordMesh.Value
  744.  
  745. if Value2 == true then--Sword Mesh Change
  746. print("Sword Mesh Value Has Been Enabled")
  747. script.Parent.Azure2.Disabled = false
  748. script.Parent.Special2.Disabled = false
  749. script.Parent.Normal2.Disabled = false
  750.  
  751. end
  752. end))
  753. Script105.Name = "Azure2"
  754. Script105.Parent = Tool92
  755. Script105.Disabled = true
  756. table.insert(cors,sandbox(Script105,function()
  757. Azure = script.Parent.Azure.Value
  758. if Azure == true then--Sword Mesh Change
  759. script.Parent.Handle.Transparency = 0
  760. script.Parent.Handle.Sparkles.Enabled = true
  761. script.Parent.Handle.PointLight.Enabled = true
  762. script.Parent.Handle.PointLight2.Enabled = true
  763. script.Parent.Handle.Fire.Enabled = true
  764. end
  765. end))
  766. Script106.Name = "Normal22"
  767. Script106.Parent = Tool92
  768. Script106.Disabled = true
  769. table.insert(cors,sandbox(Script106,function()
  770. Niled = script.Parent.Normal.Value
  771. if Niled == true then--Sword Mesh Change
  772. script.Parent.Handle.Mesh.TextureId = "rbxasset://textures/SwordTexture.png"--DON'T CHANGE
  773. script.Parent.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=94840342"
  774. script.Parent.Handle.PointLight.Enabled = false
  775. script.Parent.Handle.PointLight2.Enabled = false
  776. end
  777. end))
  778. Script107.Name = "Special2"
  779. Script107.Parent = Tool92
  780. Script107.Disabled = true
  781. table.insert(cors,sandbox(Script107,function()
  782. Special = script.Parent.Special.Value
  783. if Special == true then--Sword Mesh Change
  784. script.Parent.Handle.Mesh.TextureId = ""--DON'T CHANGE
  785. script.Parent.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=94840342"
  786. script.Parent.Handle.Reflectance = 1
  787. script.Parent.Handle.Sparkles.Enabled = true
  788. script.Parent.Handle.PointLight.Enabled = false
  789. script.Parent.Handle.PointLight2.Enabled = false
  790.  
  791.  
  792.  
  793. end
  794. end))
  795. Script108.Parent = Model2
  796. table.insert(cors,sandbox(Script108,function()
  797. VALUE = script.Parent.IsNPC.Value
  798.  
  799. if VALUE == false then -- if the value is set to false or true, if its false the bool has to be false to make the follow to work, if its true then the npc can follow player if its true
  800. local larm = script.Parent:FindFirstChild("Left Arm")
  801. local rarm = script.Parent:FindFirstChild("Right Arm")
  802.  
  803. function findNearestTorso(pos)
  804. local list = game.Workspace:children()
  805. local torso = nil
  806. local dist = 30--this makes the npc to follow people for a distance value
  807. local temp = nil
  808. local human = nil
  809. local temp2 = nil
  810. for x = 1, #list do
  811. temp2 = list[x]
  812. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  813. temp = temp2:findFirstChild("UpperTorso")
  814. human = temp2:findFirstChild("Humanoid")
  815. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  816. if (temp.Position - pos).magnitude < dist then
  817. torso = temp
  818. dist = (temp.Position - pos).magnitude
  819. end
  820. end
  821. end
  822. end
  823. return torso
  824. end
  825.  
  826.  
  827.  
  828.  
  829. while true do
  830. wait(math.random(1,1))
  831. local target = findNearestTorso(script.Parent.Torso.Position)
  832. if target ~= nil then
  833. script.Parent.Humanoid:MoveTo(target.Position, target)
  834. end
  835.  
  836. end
  837. end
  838.  
  839. end))
  840. BoolValue109.Name = "IsNPC"
  841. BoolValue109.Parent = Model2
  842. IntValue110.Name = "AttackDamege"
  843. IntValue110.Parent = Model2
  844. IntValue110.Value = 3
  845. BoolValue111.Name = "CanDamegePlayers"
  846. BoolValue111.Parent = Model2
  847. BoolValue111.Value = true
  848. BoolValue112.Name = "SwordMesh"
  849. BoolValue112.Parent = Model2
  850. BoolValue112.Value = true
  851. Script113.Name = "Animation"
  852. Script113.Parent = Model2
  853. table.insert(cors,sandbox(Script113,function()
  854. function waitForChild(parent, childName)
  855. local child = parent:findFirstChild(childName)
  856. if child then return child end
  857. while true do
  858. child = parent.ChildAdded:wait()
  859. if child.Name==childName then return child end
  860. end
  861. end
  862.  
  863. local Figure = script.Parent
  864. local Torso = waitForChild(Figure, "Torso")
  865. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  866. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  867. local RightHip = waitForChild(Torso, "Right Hip")
  868. local LeftHip = waitForChild(Torso, "Left Hip")
  869. local Neck = waitForChild(Torso, "Neck")
  870. local Humanoid = waitForChild(Figure, "Humanoid")
  871. local pose = "Standing"
  872.  
  873. local currentAnim = ""
  874. local currentAnimTrack = nil
  875. local currentAnimKeyframeHandler = nil
  876. local currentAnimSpeed = 1.0
  877. local animTable = {}
  878. local animNames = {
  879. idle = {
  880. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  881. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  882. },
  883. walk = {
  884. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  885. },
  886. run = {
  887. { id = "run.xml", weight = 10 }
  888. },
  889. jump = {
  890. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  891. },
  892. fall = {
  893. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  894. },
  895. climb = {
  896. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  897. },
  898. toolnone = {
  899. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  900. },
  901. toolslash = {
  902. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  903. -- { id = "slash.xml", weight = 10 }
  904. },
  905. toollunge = {
  906. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  907. },
  908. wave = {
  909. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  910. },
  911. point = {
  912. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  913. },
  914. dance = {
  915. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  916. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  917. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  918. },
  919. dance2 = {
  920. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  921. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  922. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  923. },
  924. dance3 = {
  925. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  926. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  927. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  928. },
  929. laugh = {
  930. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  931. },
  932. cheer = {
  933. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  934. },
  935. }
  936.  
  937. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  938. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  939.  
  940. math.randomseed(tick())
  941.  
  942. function configureAnimationSet(name, fileList)
  943. if (animTable[name] ~= nil) then
  944. for _, connection in pairs(animTable[name].connections) do
  945. connection:disconnect()
  946. end
  947. end
  948. animTable[name] = {}
  949. animTable[name].count = 0
  950. animTable[name].totalWeight = 0
  951. animTable[name].connections = {}
  952.  
  953. -- check for config values
  954. local config = script:FindFirstChild(name)
  955. if (config ~= nil) then
  956. -- print("Loading anims " .. name)
  957. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  958. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  959. local idx = 1
  960. for _, childPart in pairs(config:GetChildren()) do
  961. if (childPart:IsA("Animation")) then
  962. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  963. animTable[name][idx] = {}
  964. animTable[name][idx].anim = childPart
  965. local weightObject = childPart:FindFirstChild("Weight")
  966. if (weightObject == nil) then
  967. animTable[name][idx].weight = 1
  968. else
  969. animTable[name][idx].weight = weightObject.Value
  970. end
  971. animTable[name].count = animTable[name].count + 1
  972. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  973. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  974. idx = idx + 1
  975. end
  976. end
  977. end
  978.  
  979. -- fallback to defaults
  980. if (animTable[name].count <= 0) then
  981. for idx, anim in pairs(fileList) do
  982. animTable[name][idx] = {}
  983. animTable[name][idx].anim = Instance.new("Animation")
  984. animTable[name][idx].anim.Name = name
  985. animTable[name][idx].anim.AnimationId = anim.id
  986. animTable[name][idx].weight = anim.weight
  987. animTable[name].count = animTable[name].count + 1
  988. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  989. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  990. end
  991. end
  992. end
  993.  
  994. -- Setup animation objects
  995. function scriptChildModified(child)
  996. local fileList = animNames[child.Name]
  997. if (fileList ~= nil) then
  998. configureAnimationSet(child.Name, fileList)
  999. end
  1000. end
  1001.  
  1002. script.ChildAdded:connect(scriptChildModified)
  1003. script.ChildRemoved:connect(scriptChildModified)
  1004.  
  1005.  
  1006. for name, fileList in pairs(animNames) do
  1007. configureAnimationSet(name, fileList)
  1008. end
  1009.  
  1010. -- ANIMATION
  1011.  
  1012. -- declarations
  1013. local toolAnim = "None"
  1014. local toolAnimTime = 0
  1015.  
  1016. local jumpAnimTime = 0
  1017. local jumpAnimDuration = 0.3
  1018.  
  1019. local toolTransitionTime = 0.1
  1020. local fallTransitionTime = 0.3
  1021. local jumpMaxLimbVelocity = 0.75
  1022.  
  1023. -- functions
  1024.  
  1025. function stopAllAnimations()
  1026. local oldAnim = currentAnim
  1027.  
  1028. -- return to idle if finishing an emote
  1029. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1030. oldAnim = "idle"
  1031. end
  1032.  
  1033. currentAnim = ""
  1034. if (currentAnimKeyframeHandler ~= nil) then
  1035. currentAnimKeyframeHandler:disconnect()
  1036. end
  1037.  
  1038. if (currentAnimTrack ~= nil) then
  1039. currentAnimTrack:Stop()
  1040. currentAnimTrack:Destroy()
  1041. currentAnimTrack = nil
  1042. end
  1043. return oldAnim
  1044. end
  1045.  
  1046. function setAnimationSpeed(speed)
  1047. if speed ~= currentAnimSpeed then
  1048. currentAnimSpeed = speed
  1049. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1050. end
  1051. end
  1052.  
  1053. function keyFrameReachedFunc(frameName)
  1054. if (frameName == "End") then
  1055. -- print("Keyframe : ".. frameName)
  1056. local repeatAnim = stopAllAnimations()
  1057. local animSpeed = currentAnimSpeed
  1058. playAnimation(repeatAnim, 0.0, Humanoid)
  1059. setAnimationSpeed(animSpeed)
  1060. end
  1061. end
  1062.  
  1063. -- Preload animations
  1064. function playAnimation(animName, transitionTime, humanoid)
  1065. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  1066. if (animName ~= currentAnim and not idleFromEmote) then
  1067.  
  1068. if (currentAnimTrack ~= nil) then
  1069. currentAnimTrack:Stop(transitionTime)
  1070. currentAnimTrack:Destroy()
  1071. end
  1072.  
  1073. currentAnimSpeed = 1.0
  1074. local roll = math.random(1, animTable[animName].totalWeight)
  1075. local origRoll = roll
  1076. local idx = 1
  1077. while (roll > animTable[animName][idx].weight) do
  1078. roll = roll - animTable[animName][idx].weight
  1079. idx = idx + 1
  1080. end
  1081. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1082. local anim = animTable[animName][idx].anim
  1083.  
  1084. -- load it to the humanoid; get AnimationTrack
  1085. currentAnimTrack = humanoid:LoadAnimation(anim)
  1086.  
  1087. -- play the animation
  1088. currentAnimTrack:Play(transitionTime)
  1089. currentAnim = animName
  1090.  
  1091. -- set up keyframe name triggers
  1092. if (currentAnimKeyframeHandler ~= nil) then
  1093. currentAnimKeyframeHandler:disconnect()
  1094. end
  1095. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1096. end
  1097. end
  1098.  
  1099. -------------------------------------------------------------------------------------------
  1100. -------------------------------------------------------------------------------------------
  1101.  
  1102. local toolAnimName = ""
  1103. local toolAnimTrack = nil
  1104. local currentToolAnimKeyframeHandler = nil
  1105.  
  1106. function toolKeyFrameReachedFunc(frameName)
  1107. if (frameName == "End") then
  1108. -- print("Keyframe : ".. frameName)
  1109. local repeatAnim = stopToolAnimations()
  1110. playToolAnimation(repeatAnim, 0.0, Humanoid)
  1111. end
  1112. end
  1113.  
  1114.  
  1115. function playToolAnimation(animName, transitionTime, humanoid)
  1116. if (animName ~= toolAnimName) then
  1117.  
  1118. if (toolAnimTrack ~= nil) then
  1119. toolAnimTrack:Stop()
  1120. toolAnimTrack:Destroy()
  1121. transitionTime = 0
  1122. end
  1123.  
  1124. local roll = math.random(1, animTable[animName].totalWeight)
  1125. local origRoll = roll
  1126. local idx = 1
  1127. while (roll > animTable[animName][idx].weight) do
  1128. roll = roll - animTable[animName][idx].weight
  1129. idx = idx + 1
  1130. end
  1131. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1132. local anim = animTable[animName][idx].anim
  1133.  
  1134. -- load it to the humanoid; get AnimationTrack
  1135. toolAnimTrack = humanoid:LoadAnimation(anim)
  1136.  
  1137. -- play the animation
  1138. toolAnimTrack:Play(transitionTime)
  1139. toolAnimName = animName
  1140.  
  1141. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1142. end
  1143. end
  1144.  
  1145. function stopToolAnimations()
  1146. local oldAnim = toolAnimName
  1147.  
  1148. if (currentToolAnimKeyframeHandler ~= nil) then
  1149. currentToolAnimKeyframeHandler:disconnect()
  1150. end
  1151.  
  1152. toolAnimName = ""
  1153. if (toolAnimTrack ~= nil) then
  1154. toolAnimTrack:Stop()
  1155. toolAnimTrack:Destroy()
  1156. toolAnimTrack = nil
  1157. end
  1158.  
  1159.  
  1160. return oldAnim
  1161. end
  1162.  
  1163. -------------------------------------------------------------------------------------------
  1164. -------------------------------------------------------------------------------------------
  1165.  
  1166.  
  1167. function onRunning(speed)
  1168. if speed>0.01 then
  1169. playAnimation("walk", 0.1, Humanoid)
  1170. pose = "Running"
  1171. else
  1172. playAnimation("idle", 0.1, Humanoid)
  1173. pose = "Standing"
  1174. end
  1175. end
  1176.  
  1177. function onDied()
  1178. pose = "Dead"
  1179. end
  1180.  
  1181. function onJumping()
  1182. playAnimation("jump", 0.1, Humanoid)
  1183. jumpAnimTime = jumpAnimDuration
  1184. pose = "Jumping"
  1185. end
  1186.  
  1187. function onClimbing(speed)
  1188. playAnimation("climb", 0.1, Humanoid)
  1189. setAnimationSpeed(speed / 12.0)
  1190. pose = "Climbing"
  1191. end
  1192.  
  1193. function onGettingUp()
  1194. pose = "GettingUp"
  1195. end
  1196.  
  1197. function onFreeFall()
  1198. if (jumpAnimTime <= 0) then
  1199. playAnimation("fall", fallTransitionTime, Humanoid)
  1200. end
  1201. pose = "FreeFall"
  1202. end
  1203.  
  1204. function onFallingDown()
  1205. pose = "FallingDown"
  1206. end
  1207.  
  1208. function onSeated()
  1209. pose = "Seated"
  1210. end
  1211.  
  1212. function onPlatformStanding()
  1213. pose = "PlatformStanding"
  1214. end
  1215.  
  1216. function onSwimming(speed)
  1217. if speed>0 then
  1218. pose = "Running"
  1219. else
  1220. pose = "Standing"
  1221. end
  1222. end
  1223.  
  1224. function getTool()
  1225. for _, kid in ipairs(Figure:GetChildren()) do
  1226. if kid.className == "Tool" then return kid end
  1227. end
  1228. return nil
  1229. end
  1230.  
  1231. function getToolAnim(tool)
  1232. for _, c in ipairs(tool:GetChildren()) do
  1233. if c.Name == "toolanim" and c.className == "StringValue" then
  1234. return c
  1235. end
  1236. end
  1237. return nil
  1238. end
  1239.  
  1240. function animateTool()
  1241.  
  1242. if (toolAnim == "None") then
  1243. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  1244. return
  1245. end
  1246.  
  1247. if (toolAnim == "Slash") then
  1248. playToolAnimation("toolslash", 0, Humanoid)
  1249. return
  1250. end
  1251.  
  1252. if (toolAnim == "Lunge") then
  1253. playToolAnimation("toollunge", 0, Humanoid)
  1254. return
  1255. end
  1256. end
  1257.  
  1258. function moveSit()
  1259. RightShoulder.MaxVelocity = 0.15
  1260. LeftShoulder.MaxVelocity = 0.15
  1261. RightShoulder:SetDesiredAngle(3.14 /2)
  1262. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1263. RightHip:SetDesiredAngle(3.14 /2)
  1264. LeftHip:SetDesiredAngle(-3.14 /2)
  1265. end
  1266.  
  1267. local lastTick = 0
  1268.  
  1269. function move(time)
  1270. local amplitude = 1
  1271. local frequency = 1
  1272. local deltaTime = time - lastTick
  1273. lastTick = time
  1274.  
  1275. local climbFudge = 0
  1276. local setAngles = false
  1277.  
  1278. if (jumpAnimTime > 0) then
  1279. jumpAnimTime = jumpAnimTime - deltaTime
  1280. end
  1281.  
  1282. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1283. playAnimation("fall", fallTransitionTime, Humanoid)
  1284. elseif (pose == "Seated") then
  1285. stopAllAnimations()
  1286. moveSit()
  1287. return
  1288. elseif (pose == "Running") then
  1289. playAnimation("walk", 0.1, Humanoid)
  1290. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1291. -- print("Wha " .. pose)
  1292. amplitude = 0.1
  1293. frequency = 1
  1294. setAngles = true
  1295. end
  1296.  
  1297. if (setAngles) then
  1298. desiredAngle = amplitude * math.sin(time * frequency)
  1299.  
  1300. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1301. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1302. RightHip:SetDesiredAngle(-desiredAngle)
  1303. LeftHip:SetDesiredAngle(-desiredAngle)
  1304. end
  1305.  
  1306. -- Tool Animation handling
  1307. local tool = getTool()
  1308. if tool then
  1309.  
  1310. animStringValueObject = getToolAnim(tool)
  1311.  
  1312. if animStringValueObject then
  1313. toolAnim = animStringValueObject.Value
  1314. -- message recieved, delete StringValue
  1315. animStringValueObject.Parent = nil
  1316. toolAnimTime = time + .3
  1317. end
  1318.  
  1319. if time > toolAnimTime then
  1320. toolAnimTime = 0
  1321. toolAnim = "None"
  1322. end
  1323.  
  1324. animateTool()
  1325. else
  1326. stopToolAnimations()
  1327. toolAnim = "None"
  1328. toolAnimTime = 0
  1329. end
  1330. end
  1331.  
  1332. -- connect events
  1333. Humanoid.Died:connect(onDied)
  1334. Humanoid.Running:connect(onRunning)
  1335. Humanoid.Jumping:connect(onJumping)
  1336. Humanoid.Climbing:connect(onClimbing)
  1337. Humanoid.GettingUp:connect(onGettingUp)
  1338. Humanoid.FreeFalling:connect(onFreeFall)
  1339. Humanoid.FallingDown:connect(onFallingDown)
  1340. Humanoid.Seated:connect(onSeated)
  1341. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1342. Humanoid.Swimming:connect(onSwimming)
  1343.  
  1344. -- setup emote chat hook
  1345. ----Removed for NPC
  1346.  
  1347. -- main program
  1348.  
  1349. local runService = game:service("RunService");
  1350.  
  1351. -- initialize to idle
  1352. playAnimation("idle", 0.1, Humanoid)
  1353. pose = "Standing"
  1354.  
  1355. while Figure.Parent~=nil do
  1356. local _, time = wait(0.1)
  1357. move(time)
  1358. end
  1359.  
  1360.  
  1361.  
  1362. end))
  1363. Script114.Name = "RunNub"
  1364. Script114.Parent = Model2
  1365. table.insert(cors,sandbox(Script114,function()
  1366. --[[
  1367. A basic script by nived130
  1368. --]]
  1369. function damege()
  1370. local char = script.Parent
  1371. local humanoid = char.Humanoid
  1372. local head = char.Head
  1373.  
  1374. local w = humanoid:LoadAnimation(head.Dance3)
  1375. w:Play()
  1376. end
  1377.  
  1378. script.Parent.Head.Touched:connect(damege)
  1379.  
  1380.  
  1381. end))
  1382. for i,v in pairs(mas:GetChildren()) do
  1383. v.Parent = workspace
  1384. pcall(function() v:MakeJoints() end)
  1385. end
  1386. mas:Destroy()
  1387. for i,v in pairs(cors) do
  1388. spawn(function()
  1389. pcall(v)
  1390. end)
  1391. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement