Advertisement
Animescapetower

battle

Mar 27th, 2018
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.43 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. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. BillboardGui3 = Instance.new("BillboardGui")
  23. TextLabel4 = Instance.new("TextLabel")
  24. Decal5 = Instance.new("Decal")
  25. BillboardGui6 = Instance.new("BillboardGui")
  26. TextLabel7 = Instance.new("TextLabel")
  27. Weld8 = Instance.new("Weld")
  28. Weld9 = Instance.new("Weld")
  29. Weld10 = Instance.new("Weld")
  30. Weld11 = Instance.new("Weld")
  31. Weld12 = Instance.new("Weld")
  32. Part13 = Instance.new("Part")
  33. Motor6D14 = Instance.new("Motor6D")
  34. Motor6D15 = Instance.new("Motor6D")
  35. Motor6D16 = Instance.new("Motor6D")
  36. Motor6D17 = Instance.new("Motor6D")
  37. Sound18 = Instance.new("Sound")
  38. Sound19 = Instance.new("Sound")
  39. Sound20 = Instance.new("Sound")
  40. Sound21 = Instance.new("Sound")
  41. Sound22 = Instance.new("Sound")
  42. Motor6D23 = Instance.new("Motor6D")
  43. ParticleEmitter24 = Instance.new("ParticleEmitter")
  44. Script25 = Instance.new("Script")
  45. ParticleEmitter26 = Instance.new("ParticleEmitter")
  46. Script27 = Instance.new("Script")
  47. ParticleEmitter28 = Instance.new("ParticleEmitter")
  48. Script29 = Instance.new("Script")
  49. ParticleEmitter30 = Instance.new("ParticleEmitter")
  50. Script31 = Instance.new("Script")
  51. Sound32 = Instance.new("Sound")
  52. Sound33 = Instance.new("Sound")
  53. Sound34 = Instance.new("Sound")
  54. Sound35 = Instance.new("Sound")
  55. Sound36 = Instance.new("Sound")
  56. Sound37 = Instance.new("Sound")
  57. Part38 = Instance.new("Part")
  58. BillboardGui39 = Instance.new("BillboardGui")
  59. ImageLabel40 = Instance.new("ImageLabel")
  60. Script41 = Instance.new("Script")
  61. Part42 = Instance.new("Part")
  62. Part43 = Instance.new("Part")
  63. Part44 = Instance.new("Part")
  64. Part45 = Instance.new("Part")
  65. Humanoid46 = Instance.new("Humanoid")
  66. Part47 = Instance.new("Part")
  67. Motor6D48 = Instance.new("Motor6D")
  68. Script49 = Instance.new("Script")
  69. Script50 = Instance.new("Script")
  70. LocalScript51 = Instance.new("LocalScript")
  71. ObjectValue52 = Instance.new("ObjectValue")
  72. Script53 = Instance.new("Script")
  73. Script54 = Instance.new("Script")
  74. Script55 = Instance.new("Script")
  75. StringValue56 = Instance.new("StringValue")
  76. Animation57 = Instance.new("Animation")
  77. StringValue58 = Instance.new("StringValue")
  78. Animation59 = Instance.new("Animation")
  79. StringValue60 = Instance.new("StringValue")
  80. Animation61 = Instance.new("Animation")
  81. NumberValue62 = Instance.new("NumberValue")
  82. Animation63 = Instance.new("Animation")
  83. NumberValue64 = Instance.new("NumberValue")
  84. StringValue65 = Instance.new("StringValue")
  85. Animation66 = Instance.new("Animation")
  86. StringValue67 = Instance.new("StringValue")
  87. Animation68 = Instance.new("Animation")
  88. StringValue69 = Instance.new("StringValue")
  89. Animation70 = Instance.new("Animation")
  90. StringValue71 = Instance.new("StringValue")
  91. Animation72 = Instance.new("Animation")
  92. StringValue73 = Instance.new("StringValue")
  93. Animation74 = Instance.new("Animation")
  94. Script75 = Instance.new("Script")
  95. BodyColors76 = Instance.new("BodyColors")
  96. Pants77 = Instance.new("Pants")
  97. Shirt78 = Instance.new("Shirt")
  98. Accessory79 = Instance.new("Accessory")
  99. Part80 = Instance.new("Part")
  100. SpecialMesh81 = Instance.new("SpecialMesh")
  101. Attachment82 = Instance.new("Attachment")
  102. Vector3Value83 = Instance.new("Vector3Value")
  103. Accessory84 = Instance.new("Accessory")
  104. Part85 = Instance.new("Part")
  105. SpecialMesh86 = Instance.new("SpecialMesh")
  106. Attachment87 = Instance.new("Attachment")
  107. Vector3Value88 = Instance.new("Vector3Value")
  108. Accessory89 = Instance.new("Accessory")
  109. Part90 = Instance.new("Part")
  110. SpecialMesh91 = Instance.new("SpecialMesh")
  111. Attachment92 = Instance.new("Attachment")
  112. Vector3Value93 = Instance.new("Vector3Value")
  113. Accessory94 = Instance.new("Accessory")
  114. Part95 = Instance.new("Part")
  115. SpecialMesh96 = Instance.new("SpecialMesh")
  116. Attachment97 = Instance.new("Attachment")
  117. Vector3Value98 = Instance.new("Vector3Value")
  118. Accessory99 = Instance.new("Accessory")
  119. Part100 = Instance.new("Part")
  120. SpecialMesh101 = Instance.new("SpecialMesh")
  121. Attachment102 = Instance.new("Attachment")
  122. Vector3Value103 = Instance.new("Vector3Value")
  123. Model104 = Instance.new("Model")
  124. Part105 = Instance.new("Part")
  125. SpecialMesh106 = Instance.new("SpecialMesh")
  126. BillboardGui107 = Instance.new("BillboardGui")
  127. TextLabel108 = Instance.new("TextLabel")
  128. Decal109 = Instance.new("Decal")
  129. BillboardGui110 = Instance.new("BillboardGui")
  130. TextLabel111 = Instance.new("TextLabel")
  131. Weld112 = Instance.new("Weld")
  132. Weld113 = Instance.new("Weld")
  133. Weld114 = Instance.new("Weld")
  134. Weld115 = Instance.new("Weld")
  135. Part116 = Instance.new("Part")
  136. Motor6D117 = Instance.new("Motor6D")
  137. Motor6D118 = Instance.new("Motor6D")
  138. Motor6D119 = Instance.new("Motor6D")
  139. Motor6D120 = Instance.new("Motor6D")
  140. Sound121 = Instance.new("Sound")
  141. Sound122 = Instance.new("Sound")
  142. Sound123 = Instance.new("Sound")
  143. Sound124 = Instance.new("Sound")
  144. Sound125 = Instance.new("Sound")
  145. Motor6D126 = Instance.new("Motor6D")
  146. ParticleEmitter127 = Instance.new("ParticleEmitter")
  147. Script128 = Instance.new("Script")
  148. ParticleEmitter129 = Instance.new("ParticleEmitter")
  149. Script130 = Instance.new("Script")
  150. ParticleEmitter131 = Instance.new("ParticleEmitter")
  151. Script132 = Instance.new("Script")
  152. ParticleEmitter133 = Instance.new("ParticleEmitter")
  153. Script134 = Instance.new("Script")
  154. Sound135 = Instance.new("Sound")
  155. Sound136 = Instance.new("Sound")
  156. Sound137 = Instance.new("Sound")
  157. Sound138 = Instance.new("Sound")
  158. Sound139 = Instance.new("Sound")
  159. Sound140 = Instance.new("Sound")
  160. Part141 = Instance.new("Part")
  161. BillboardGui142 = Instance.new("BillboardGui")
  162. ImageLabel143 = Instance.new("ImageLabel")
  163. Script144 = Instance.new("Script")
  164. Part145 = Instance.new("Part")
  165. Part146 = Instance.new("Part")
  166. Part147 = Instance.new("Part")
  167. Part148 = Instance.new("Part")
  168. Humanoid149 = Instance.new("Humanoid")
  169. Part150 = Instance.new("Part")
  170. Motor6D151 = Instance.new("Motor6D")
  171. Script152 = Instance.new("Script")
  172. Script153 = Instance.new("Script")
  173. LocalScript154 = Instance.new("LocalScript")
  174. ObjectValue155 = Instance.new("ObjectValue")
  175. Script156 = Instance.new("Script")
  176. Script157 = Instance.new("Script")
  177. Script158 = Instance.new("Script")
  178. StringValue159 = Instance.new("StringValue")
  179. Animation160 = Instance.new("Animation")
  180. StringValue161 = Instance.new("StringValue")
  181. Animation162 = Instance.new("Animation")
  182. StringValue163 = Instance.new("StringValue")
  183. Animation164 = Instance.new("Animation")
  184. NumberValue165 = Instance.new("NumberValue")
  185. Animation166 = Instance.new("Animation")
  186. NumberValue167 = Instance.new("NumberValue")
  187. StringValue168 = Instance.new("StringValue")
  188. Animation169 = Instance.new("Animation")
  189. StringValue170 = Instance.new("StringValue")
  190. Animation171 = Instance.new("Animation")
  191. StringValue172 = Instance.new("StringValue")
  192. Animation173 = Instance.new("Animation")
  193. StringValue174 = Instance.new("StringValue")
  194. Animation175 = Instance.new("Animation")
  195. StringValue176 = Instance.new("StringValue")
  196. Animation177 = Instance.new("Animation")
  197. Pants178 = Instance.new("Pants")
  198. Shirt179 = Instance.new("Shirt")
  199. Hat180 = Instance.new("Hat")
  200. Part181 = Instance.new("Part")
  201. SpecialMesh182 = Instance.new("SpecialMesh")
  202. Hat183 = Instance.new("Hat")
  203. Part184 = Instance.new("Part")
  204. SpecialMesh185 = Instance.new("SpecialMesh")
  205. Script186 = Instance.new("Script")
  206. Hat187 = Instance.new("Hat")
  207. Part188 = Instance.new("Part")
  208. SpecialMesh189 = Instance.new("SpecialMesh")
  209. Hat190 = Instance.new("Hat")
  210. Part191 = Instance.new("Part")
  211. SpecialMesh192 = Instance.new("SpecialMesh")
  212. Script193 = Instance.new("Script")
  213. Model0.Name = "fUN tImE ArCtic"
  214. Model0.Parent = mas
  215. Model0.PrimaryPart = Part1
  216. Part1.Name = "Head"
  217. Part1.Parent = Model0
  218. Part1.Material = Enum.Material.SmoothPlastic
  219. Part1.BrickColor = BrickColor.new("Cool yellow")
  220. Part1.Transparency = 0.30000001192093
  221. Part1.Rotation = Vector3.new(-180, -73.5800018, -180)
  222. Part1.Locked = true
  223. Part1.FormFactor = Enum.FormFactor.Symmetric
  224. Part1.Size = Vector3.new(2, 1, 1)
  225. Part1.CFrame = CFrame.new(-123.421837, 4.70000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  226. Part1.TopSurface = Enum.SurfaceType.Smooth
  227. Part1.Color = Color3.new(0.992157, 0.917647, 0.552941)
  228. Part1.Position = Vector3.new(-123.421837, 4.70000792, -110.041901)
  229. Part1.Orientation = Vector3.new(0, -106.419998, 0)
  230. Part1.Color = Color3.new(0.992157, 0.917647, 0.552941)
  231. SpecialMesh2.Parent = Part1
  232. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  233. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  234. BillboardGui3.Name = "NameGUI"
  235. BillboardGui3.Parent = Part1
  236. BillboardGui3.Size = UDim2.new(10, 0, 2, 0)
  237. BillboardGui3.Active = true
  238. BillboardGui3.AlwaysOnTop = true
  239. BillboardGui3.StudsOffset = Vector3.new(0, 1.5, 0)
  240. TextLabel4.Name = "Name"
  241. TextLabel4.Parent = BillboardGui3
  242. TextLabel4.Transparency = 1
  243. TextLabel4.Size = UDim2.new(1, 0, 0.699999988, 0)
  244. TextLabel4.Text = "Artic(What mode)"
  245. TextLabel4.BackgroundColor3 = Color3.new(1, 0, 0)
  246. TextLabel4.BackgroundTransparency = 1
  247. TextLabel4.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  248. TextLabel4.Font = Enum.Font.SourceSansBold
  249. TextLabel4.FontSize = Enum.FontSize.Size48
  250. TextLabel4.TextColor3 = Color3.new(0, 0, 0)
  251. TextLabel4.TextScaled = true
  252. TextLabel4.TextStrokeColor3 = Color3.new(1, 0, 0)
  253. TextLabel4.TextStrokeTransparency = 0
  254. TextLabel4.TextWrapped = true
  255. Decal5.Parent = Part1
  256. Decal5.Texture = "http://www.roblox.com/asset/?id=460460302"
  257. BillboardGui6.Name = "LevelGUI"
  258. BillboardGui6.Parent = Part1
  259. BillboardGui6.Size = UDim2.new(10, 0, 2, 0)
  260. BillboardGui6.Active = true
  261. BillboardGui6.AlwaysOnTop = true
  262. BillboardGui6.StudsOffset = Vector3.new(0, 1.5, 0)
  263. TextLabel7.Name = "Level"
  264. TextLabel7.Parent = BillboardGui6
  265. TextLabel7.Transparency = 1
  266. TextLabel7.Size = UDim2.new(1, 0, 0.699999988, 0)
  267. TextLabel7.Text = "Level INF"
  268. TextLabel7.Position = UDim2.new(-0.0100603625, 0, 0.0541795678, 0)
  269. TextLabel7.BackgroundColor3 = Color3.new(1, 0, 0)
  270. TextLabel7.BackgroundTransparency = 1
  271. TextLabel7.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  272. TextLabel7.Font = Enum.Font.SourceSansBold
  273. TextLabel7.FontSize = Enum.FontSize.Size11
  274. TextLabel7.TextColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  275. TextLabel7.TextScaled = true
  276. TextLabel7.TextStrokeColor3 = Color3.new(1, 0, 0)
  277. TextLabel7.TextStrokeTransparency = 0
  278. TextLabel7.TextWrapped = true
  279. Weld8.Name = "HeadWeld"
  280. Weld8.Parent = Part1
  281. Weld8.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  282. Weld8.C1 = CFrame.new(0, 0.119999997, 0.300000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  283. Weld8.Part0 = Part1
  284. Weld8.Part1 = Part80
  285. Weld9.Name = "HeadWeld"
  286. Weld9.Parent = Part1
  287. Weld9.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  288. Weld9.C1 = CFrame.new(1, 3.29999995, -0.899999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  289. Weld9.Part0 = Part1
  290. Weld9.Part1 = Part85
  291. Weld10.Name = "HeadWeld"
  292. Weld10.Parent = Part1
  293. Weld10.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  294. Weld10.C1 = CFrame.new(0, 1.79999995, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. Weld10.Part0 = Part1
  296. Weld10.Part1 = Part90
  297. Weld11.Name = "HeadWeld"
  298. Weld11.Parent = Part1
  299. Weld11.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  300. Weld11.C1 = CFrame.new(0, -0.0299999993, 0.0500000007, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  301. Weld11.Part0 = Part1
  302. Weld11.Part1 = Part95
  303. Weld12.Name = "HeadWeld"
  304. Weld12.Parent = Part1
  305. Weld12.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  306. Weld12.C1 = CFrame.new(0, 0.5, -1.04999995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  307. Weld12.Part0 = Part1
  308. Weld12.Part1 = Part100
  309. Part13.Name = "Torso"
  310. Part13.Parent = Model0
  311. Part13.Material = Enum.Material.SmoothPlastic
  312. Part13.BrickColor = BrickColor.new("Dark green")
  313. Part13.Transparency = 0.30000001192093
  314. Part13.Rotation = Vector3.new(-180, -73.5800018, -180)
  315. Part13.Locked = true
  316. Part13.FormFactor = Enum.FormFactor.Symmetric
  317. Part13.Size = Vector3.new(2, 2, 1)
  318. Part13.CFrame = CFrame.new(-123.421837, 3.20000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  319. Part13.LeftSurface = Enum.SurfaceType.Weld
  320. Part13.RightSurface = Enum.SurfaceType.Weld
  321. Part13.Color = Color3.new(0.156863, 0.498039, 0.278431)
  322. Part13.Position = Vector3.new(-123.421837, 3.20000792, -110.041901)
  323. Part13.Orientation = Vector3.new(0, -106.419998, 0)
  324. Part13.Color = Color3.new(0.156863, 0.498039, 0.278431)
  325. Motor6D14.Name = "Right Shoulder"
  326. Motor6D14.Parent = Part13
  327. Motor6D14.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  328. Motor6D14.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  329. Motor6D14.Part0 = Part13
  330. Motor6D14.Part1 = Part43
  331. Motor6D14.DesiredAngle = -0.071470186114311
  332. Motor6D14.MaxVelocity = 0.15000000596046
  333. Motor6D15.Name = "Left Shoulder"
  334. Motor6D15.Parent = Part13
  335. Motor6D15.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  336. Motor6D15.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  337. Motor6D15.Part0 = Part13
  338. Motor6D15.Part1 = Part42
  339. Motor6D15.DesiredAngle = -0.071470186114311
  340. Motor6D15.MaxVelocity = 0.15000000596046
  341. Motor6D16.Name = "Right Hip"
  342. Motor6D16.Parent = Part13
  343. Motor6D16.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  344. Motor6D16.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  345. Motor6D16.Part0 = Part13
  346. Motor6D16.Part1 = Part45
  347. Motor6D16.DesiredAngle = 0.071470186114311
  348. Motor6D16.MaxVelocity = 0.10000000149012
  349. Motor6D17.Name = "Left Hip"
  350. Motor6D17.Parent = Part13
  351. Motor6D17.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  352. Motor6D17.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  353. Motor6D17.Part0 = Part13
  354. Motor6D17.Part1 = Part44
  355. Motor6D17.DesiredAngle = 0.071470186114311
  356. Motor6D17.MaxVelocity = 0.10000000149012
  357. Sound18.Name = "DMG"
  358. Sound18.Parent = Part13
  359. Sound18.Pitch = 1.25
  360. Sound18.SoundId = "rbxassetid://138087186"
  361. Sound18.Volume = 1
  362. Sound19.Name = "DMG2"
  363. Sound19.Parent = Part13
  364. Sound19.SoundId = "rbxassetid://131237241"
  365. Sound19.Volume = 1
  366. Sound20.Name = "FinalFlash"
  367. Sound20.Parent = Part13
  368. Sound20.Pitch = 1.5
  369. Sound20.SoundId = "rbxassetid://161251144"
  370. Sound20.Volume = 1
  371. Sound21.Name = "SaiyanEnergy"
  372. Sound21.Parent = Part13
  373. Sound21.Pitch = 6
  374. Sound21.SoundId = "rbxassetid://98333808"
  375. Sound21.Volume = 1
  376. Sound22.Name = "SaiyanEnergy2"
  377. Sound22.Parent = Part13
  378. Sound22.SoundId = "rbxassetid://491515754"
  379. Sound22.Volume = 1
  380. Sound22.Looped = true
  381. Motor6D23.Name = "Neck"
  382. Motor6D23.Parent = Part13
  383. Motor6D23.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  384. Motor6D23.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  385. Motor6D23.Part0 = Part13
  386. Motor6D23.Part1 = Part1
  387. Motor6D23.MaxVelocity = 0.10000000149012
  388. ParticleEmitter24.Name = "BlackAura"
  389. ParticleEmitter24.Parent = Part13
  390. ParticleEmitter24.Transparency = NumberSequence.new(1,1)
  391. ParticleEmitter24.Size = NumberSequence.new(7,7)
  392. ParticleEmitter24.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  393. ParticleEmitter24.LightEmission = 1
  394. ParticleEmitter24.Texture = "rbxassetid://358965396"
  395. ParticleEmitter24.Lifetime = NumberRange.new(1, 1)
  396. ParticleEmitter24.Speed = NumberRange.new(9, 9)
  397. ParticleEmitter24.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  398. Script25.Parent = ParticleEmitter24
  399. table.insert(cors,sandbox(Script25,function()
  400. while true do --Loop
  401. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  402. wait(0.04)
  403. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  404. wait(0.04) --wait 1 second, you can change this and make it different for every one
  405. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  406. wait(0.04)
  407. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  408. wait(0.04)
  409. end
  410. end))
  411. ParticleEmitter26.Name = "Aura2"
  412. ParticleEmitter26.Parent = Part13
  413. ParticleEmitter26.Transparency = NumberSequence.new(1,1)
  414. ParticleEmitter26.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  415. ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
  416. ParticleEmitter26.LightEmission = 0.55000001192093
  417. ParticleEmitter26.Lifetime = NumberRange.new(1, 1)
  418. ParticleEmitter26.Rate = 50
  419. ParticleEmitter26.Speed = NumberRange.new(2, 2)
  420. ParticleEmitter26.VelocitySpread = 50
  421. ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
  422. Script27.Parent = ParticleEmitter26
  423. table.insert(cors,sandbox(Script27,function()
  424. while true do --Loop
  425. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  426. wait(0.04)
  427. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  428. wait(0.04) --wait 1 second, you can change this and make it different for every one
  429. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  430. wait(0.04)
  431. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  432. wait(0.04)
  433. end
  434. end))
  435. ParticleEmitter28.Name = "Aura1"
  436. ParticleEmitter28.Parent = Part13
  437. ParticleEmitter28.Transparency = NumberSequence.new(1,1)
  438. ParticleEmitter28.Size = NumberSequence.new(15,15)
  439. ParticleEmitter28.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
  440. ParticleEmitter28.LightEmission = 1.1799999475479
  441. ParticleEmitter28.Texture = "rbxassetid://260611998"
  442. ParticleEmitter28.ZOffset = 1
  443. ParticleEmitter28.Lifetime = NumberRange.new(1, 1)
  444. ParticleEmitter28.Rate = 120
  445. ParticleEmitter28.Speed = NumberRange.new(15, 15)
  446. ParticleEmitter28.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
  447. Script29.Parent = ParticleEmitter28
  448. table.insert(cors,sandbox(Script29,function()
  449. while true do --Loop
  450. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  451. wait(0.04)
  452. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  453. wait(0.04) --wait 1 second, you can change this and make it different for every one
  454. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  455. wait(0.04)
  456. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  457. wait(0.04)
  458. end
  459. end))
  460. ParticleEmitter30.Name = "BlackAura2"
  461. ParticleEmitter30.Parent = Part13
  462. ParticleEmitter30.Transparency = NumberSequence.new(1,1)
  463. ParticleEmitter30.Size = NumberSequence.new(10,10)
  464. ParticleEmitter30.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  465. ParticleEmitter30.LightEmission = 1
  466. ParticleEmitter30.Texture = "rbxassetid://260611998"
  467. ParticleEmitter30.ZOffset = 1
  468. ParticleEmitter30.Lifetime = NumberRange.new(1, 1)
  469. ParticleEmitter30.Speed = NumberRange.new(10, 10)
  470. ParticleEmitter30.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  471. Script31.Parent = ParticleEmitter30
  472. table.insert(cors,sandbox(Script31,function()
  473. while true do --Loop
  474. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  475. wait(0.04)
  476. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  477. wait(0.04) --wait 1 second, you can change this and make it different for every one
  478. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  479. wait(0.04)
  480. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  481. wait(0.04)
  482. end
  483. end))
  484. Sound32.Name = "Teleport"
  485. Sound32.Parent = Part13
  486. Sound32.Pitch = 2
  487. Sound32.SoundId = "rbxassetid://216782105"
  488. Sound32.Volume = 1
  489. Sound33.Name = "Miss"
  490. Sound33.Parent = Part13
  491. Sound33.SoundId = "rbxassetid://174413237"
  492. Sound34.Name = "Voice3"
  493. Sound34.Parent = Part13
  494. Sound34.Pitch = 1.2000000476837
  495. Sound34.SoundId = "rbxassetid://190995007"
  496. Sound34.Volume = 1
  497. Sound35.Name = "Voice2"
  498. Sound35.Parent = Part13
  499. Sound35.Pitch = 0.30000001192093
  500. Sound35.SoundId = "rbxassetid://132236830"
  501. Sound35.Volume = 1
  502. Sound36.Name = "Voice1"
  503. Sound36.Parent = Part13
  504. Sound36.Pitch = 1.2000000476837
  505. Sound36.SoundId = "rbxassetid://159490394"
  506. Sound36.Volume = 1
  507. Sound37.Name = "Voice4"
  508. Sound37.Parent = Part13
  509. Sound37.Pitch = 6
  510. Sound37.SoundId = "rbxassetid://216782105"
  511. Sound37.Volume = 1
  512. Part38.Name = "TeleportEffect"
  513. Part38.Parent = Part13
  514. Part38.Material = Enum.Material.SmoothPlastic
  515. Part38.BrickColor = BrickColor.new("Institutional white")
  516. Part38.Transparency = 1
  517. Part38.Rotation = Vector3.new(0, -90, 0)
  518. Part38.Anchored = true
  519. Part38.CanCollide = false
  520. Part38.FormFactor = Enum.FormFactor.Custom
  521. Part38.Size = Vector3.new(2, 2, 1)
  522. Part38.CFrame = CFrame.new(-5.07995605, 6.19000816, -138.957123, 4.64180347e-22, 7.54698154e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691863e-22, 4.64180347e-22)
  523. Part38.BottomSurface = Enum.SurfaceType.Smooth
  524. Part38.TopSurface = Enum.SurfaceType.Smooth
  525. Part38.Color = Color3.new(0.972549, 0.972549, 0.972549)
  526. Part38.Position = Vector3.new(-5.07995605, 6.19000816, -138.957123)
  527. Part38.Orientation = Vector3.new(0, -90, 0)
  528. Part38.Color = Color3.new(0.972549, 0.972549, 0.972549)
  529. BillboardGui39.Name = "Gui"
  530. BillboardGui39.Parent = Part38
  531. BillboardGui39.Size = UDim2.new(5, 0, 5, 0)
  532. BillboardGui39.Active = true
  533. ImageLabel40.Name = "Image"
  534. ImageLabel40.Parent = BillboardGui39
  535. ImageLabel40.Transparency = 1
  536. ImageLabel40.Size = UDim2.new(2.5, 0, 2.5, 0)
  537. ImageLabel40.Position = UDim2.new(0, -40, 0, -40)
  538. ImageLabel40.Active = true
  539. ImageLabel40.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  540. ImageLabel40.BackgroundTransparency = 1
  541. ImageLabel40.Image = "rbxassetid://507458850"
  542. Script41.Parent = Part38
  543. table.insert(cors,sandbox(Script41,function()
  544. e = game:GetService("ReplicatedStorage")
  545. script.Parent.Parent = e
  546. script:Destroy()
  547. end))
  548. Part42.Name = "Left Arm"
  549. Part42.Parent = Model0
  550. Part42.Material = Enum.Material.SmoothPlastic
  551. Part42.BrickColor = BrickColor.new("Cool yellow")
  552. Part42.Transparency = 0.30000001192093
  553. Part42.Rotation = Vector3.new(-180, -73.5800018, -180)
  554. Part42.CanCollide = false
  555. Part42.Locked = true
  556. Part42.FormFactor = Enum.FormFactor.Symmetric
  557. Part42.Size = Vector3.new(1, 2, 1)
  558. Part42.CFrame = CFrame.new(-122.99791, 3.20000792, -111.480751, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  559. Part42.Color = Color3.new(0.992157, 0.917647, 0.552941)
  560. Part42.Position = Vector3.new(-122.99791, 3.20000792, -111.480751)
  561. Part42.Orientation = Vector3.new(0, -106.419998, 0)
  562. Part42.Color = Color3.new(0.992157, 0.917647, 0.552941)
  563. Part43.Name = "Right Arm"
  564. Part43.Parent = Model0
  565. Part43.Material = Enum.Material.SmoothPlastic
  566. Part43.BrickColor = BrickColor.new("Cool yellow")
  567. Part43.Transparency = 0.30000001192093
  568. Part43.Rotation = Vector3.new(-180, -73.5800018, -180)
  569. Part43.CanCollide = false
  570. Part43.Locked = true
  571. Part43.FormFactor = Enum.FormFactor.Symmetric
  572. Part43.Size = Vector3.new(1, 2, 1)
  573. Part43.CFrame = CFrame.new(-123.845764, 3.20000792, -108.60305, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  574. Part43.Color = Color3.new(0.992157, 0.917647, 0.552941)
  575. Part43.Position = Vector3.new(-123.845764, 3.20000792, -108.60305)
  576. Part43.Orientation = Vector3.new(0, -106.419998, 0)
  577. Part43.Color = Color3.new(0.992157, 0.917647, 0.552941)
  578. Part44.Name = "Left Leg"
  579. Part44.Parent = Model0
  580. Part44.Material = Enum.Material.SmoothPlastic
  581. Part44.BrickColor = BrickColor.new("Bright blue")
  582. Part44.Transparency = 0.30000001192093
  583. Part44.Rotation = Vector3.new(-180, -73.5800018, -180)
  584. Part44.CanCollide = false
  585. Part44.Locked = true
  586. Part44.FormFactor = Enum.FormFactor.Symmetric
  587. Part44.Size = Vector3.new(1, 2, 1)
  588. Part44.CFrame = CFrame.new(-123.280525, 1.20000792, -110.521515, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  589. Part44.BottomSurface = Enum.SurfaceType.Smooth
  590. Part44.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  591. Part44.Position = Vector3.new(-123.280525, 1.20000792, -110.521515)
  592. Part44.Orientation = Vector3.new(0, -106.419998, 0)
  593. Part44.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  594. Part45.Name = "Right Leg"
  595. Part45.Parent = Model0
  596. Part45.Material = Enum.Material.SmoothPlastic
  597. Part45.BrickColor = BrickColor.new("Bright blue")
  598. Part45.Transparency = 0.30000001192093
  599. Part45.Rotation = Vector3.new(-180, -73.5800018, -180)
  600. Part45.CanCollide = false
  601. Part45.Locked = true
  602. Part45.FormFactor = Enum.FormFactor.Symmetric
  603. Part45.Size = Vector3.new(1, 2, 1)
  604. Part45.CFrame = CFrame.new(-123.563148, 1.20000792, -109.562286, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  605. Part45.BottomSurface = Enum.SurfaceType.Smooth
  606. Part45.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  607. Part45.Position = Vector3.new(-123.563148, 1.20000792, -109.562286)
  608. Part45.Orientation = Vector3.new(0, -106.419998, 0)
  609. Part45.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  610. Humanoid46.Parent = Model0
  611. Humanoid46.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  612. Humanoid46.HealthDisplayDistance = 200
  613. Humanoid46.NameDisplayDistance = 200
  614. Humanoid46.RightLeg = Part45
  615. Humanoid46.LeftLeg = Part44
  616. Humanoid46.Torso = Part47
  617. Humanoid46.Health = 30000
  618. Humanoid46.MaxHealth = 30000
  619. Humanoid46.WalkSpeed = 17
  620. Part47.Name = "HumanoidRootPart"
  621. Part47.Parent = Model0
  622. Part47.Material = Enum.Material.SmoothPlastic
  623. Part47.Transparency = 0.30000001192093
  624. Part47.Rotation = Vector3.new(-180, -73.5800018, -180)
  625. Part47.CanCollide = false
  626. Part47.Locked = true
  627. Part47.FormFactor = Enum.FormFactor.Symmetric
  628. Part47.Size = Vector3.new(2, 2, 1)
  629. Part47.CFrame = CFrame.new(-123.421837, 3.20000792, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  630. Part47.BottomSurface = Enum.SurfaceType.Smooth
  631. Part47.TopSurface = Enum.SurfaceType.Smooth
  632. Part47.Position = Vector3.new(-123.421837, 3.20000792, -110.041901)
  633. Part47.Orientation = Vector3.new(0, -106.419998, 0)
  634. Motor6D48.Name = "RootJoint"
  635. Motor6D48.Parent = Part47
  636. Motor6D48.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  637. Motor6D48.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  638. Motor6D48.Part0 = Part47
  639. Motor6D48.Part1 = Part13
  640. Motor6D48.MaxVelocity = 0.10000000149012
  641. Script49.Name = "zSpecial"
  642. Script49.Parent = Model0
  643. table.insert(cors,sandbox(Script49,function()
  644. s = script.Parent
  645.  
  646. if s.Humanoid.Health > 0 then
  647. bd = s.HumanoidRootPart.RootJoint
  648. a1 = s.Torso:FindFirstChild("Left Shoulder")
  649. a2 = s.Torso:FindFirstChild("Right Shoulder")
  650. l1 = s.Torso:FindFirstChild("Left Hip")
  651. l2 = s.Torso:FindFirstChild("Right Hip")
  652. combo = false
  653. Tele = false
  654. transformed = false
  655. hits = 0
  656. end
  657.  
  658. --[[Basic Stats]]
  659. attack = 50 --[[Combo Damage]]
  660. force = 1000 --[[Energy Damage]]
  661. needed = 100 --[[Hits for Special]]
  662.  
  663. function HalfReset()
  664. if s.Humanoid.Health > 0 then
  665. bd.C0 = bd.C1 * CFrame.new(0,0,0)
  666. a1.C0 = a1.C1 * CFrame.new(0,0,1.5)
  667. a2.C0 = a2.C1 * CFrame.new(0,0,1.5)
  668. l1.C0 = l1.C1 * CFrame.new(0,-2,0.5)
  669. l2.C0 = l2.C1 * CFrame.new(0,-2,0.5)
  670. end
  671. end
  672.  
  673. function FullReset()
  674. if s.Humanoid.Health > 0 then
  675. HalfReset()
  676. combo = false
  677. end
  678. end
  679.  
  680. function Attack()
  681. if combo == false and s.Humanoid.Health > 0 then
  682. combo = true
  683. local audio = math.random(1,2) --[[Random Play]]
  684. if audio == 1 then s.Torso.Voice2:Play() s.Torso.Miss:Play() else s.Torso.Voice3:Play() s.Torso.Miss:Play() end
  685. for i = 1,5 do wait()
  686. a1.C0 = a1.C0 * CFrame.Angles(0,0,-0.32)
  687. a2.C0 = a2.C0 * CFrame.Angles(0,0,0.32)
  688. end
  689. for i = 1,5 do wait()
  690. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  691. a2.C0 = a2.C0 * CFrame.Angles(0.2,0,0)
  692. end
  693. local audio = math.random(1,2) --[[Random Play]]
  694. if audio == 1 then s.Torso.Voice3:Play() s.Torso.Miss:Play() else s.Torso.Voice2:Play() s.Torso.Miss:Play() end
  695. for i = 1,5 do wait()
  696. bd.C0 = bd.C0 * CFrame.Angles(0,0,-0.2)
  697. a2.C0 = a2.C0 * CFrame.Angles(-0.3,0,0)
  698. end
  699. for i = 1,5 do wait()
  700. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.2)
  701. a1.C0 = a1.C0 * CFrame.Angles(0.2,0,0)
  702. end
  703. for i = 1,5 do wait()
  704. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  705. a1.C0 = a1.C0 * CFrame.Angles(-0.3,0,0)
  706. end
  707. local audio = math.random(1,2) --[[Random Play]]
  708. if audio == 1 then s.Torso.Miss:Play() else s.Torso.Miss:Play() end
  709. FullReset()
  710. end
  711. end
  712.  
  713. function teleport()
  714. if Tele == false then
  715. Tele = true
  716. wait(0.05)
  717. s.Torso.Teleport:Play()
  718. local effect = game.ReplicatedStorage.TeleportEffect:clone()
  719. effect.Parent = s
  720. effect.CFrame = s.Torso.CFrame * CFrame.Angles(0,5,0)
  721. s.Torso.CFrame = s.Torso.CFrame * CFrame.new(0,0,-10)
  722. wait(0.6)
  723. effect:Destroy()
  724. Tele = false
  725. end
  726. end
  727.  
  728. function Kamehameha()
  729. if s.Humanoid.Health > 0 then
  730. game:GetService("Chat"):Chat(s.Head,"Dark Flash!!",Enum.ChatColor.Red)
  731. s.Torso.Voice4:Play()
  732. local ball = Instance.new("Part")
  733. ball.BrickColor = BrickColor.new("Dark blue")
  734. ball.Material = "Neon"
  735. ball.TopSurface = "Smooth"
  736. ball.BottomSurface = "Smooth"
  737. ball.FormFactor = "Custom"
  738. ball.Size = Vector3.new(10,10,10)
  739. ball.Transparency = 0
  740. ball.Anchored = true
  741. ball.CanCollide = false
  742. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  743. ball2 = Instance.new("Part")
  744. ball2.BrickColor = BrickColor.new("Toothpaste")
  745. ball2.Material = "Neon"
  746. ball2.TopSurface = "Smooth"
  747. ball2.BottomSurface = "Smooth"
  748. ball2.FormFactor = "Custom"
  749. ball2.Size = Vector3.new(15,15,15)
  750. ball2.Transparency = 0.5
  751. ball2.Anchored = true
  752. ball2.CanCollide = false
  753. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  754. local mesh = Instance.new("SpecialMesh")
  755. mesh.MeshType = "Sphere"
  756. mesh.Parent = ball
  757. local mesh2 = Instance.new("SpecialMesh")
  758. mesh2.MeshType = "Sphere"
  759. mesh2.Parent = ball2
  760. ball.Parent = game.Workspace
  761. ball2.Parent = game.Workspace
  762. a1.C0 = a1.C0 * CFrame.Angles(0,0,-1.6)
  763. a2.C0 = a2.C0 * CFrame.Angles(0,0,1.6)
  764. a1.C0 = a1.C0 * CFrame.Angles(1,0,0)
  765. a2.C0 = a2.C0 * CFrame.Angles(1,0,0)
  766. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  767. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  768. s.Torso.FinalFlash:Play()
  769. local beam = Instance.new("Part")
  770. beam.BrickColor = BrickColor.new("Dark blue")
  771. beam.Material = "Neon"
  772. beam.TopSurface = "Smooth"
  773. beam.BottomSurface = "Smooth"
  774. beam.FormFactor = "Custom"
  775. beam.Size = Vector3.new(10,100,10)
  776. beam.Transparency = 0
  777. beam.Anchored = true
  778. beam.CanCollide = false
  779. beam.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  780. beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
  781. beam2 = Instance.new("Part")
  782. beam2.BrickColor = BrickColor.new("Lime Green")
  783. beam2.Material = "Neon"
  784. beam2.TopSurface = "Smooth"
  785. beam2.BottomSurface = "Smooth"
  786. beam2.FormFactor = "Custom"
  787. beam2.Size = Vector3.new(15,100,15)
  788. beam2.Transparency = 0.5
  789. beam2.Anchored = true
  790. beam2.CanCollide = false
  791. beam2.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  792. beam2.CFrame = beam2.CFrame * CFrame.Angles(1.6,0,0)
  793. local mesh = Instance.new("SpecialMesh")
  794. mesh.Scale = Vector3.new(0.75,0.1,0.75)
  795. mesh.Parent = beam
  796. local mesh2 = Instance.new("SpecialMesh")
  797. mesh2.Scale = Vector3.new(0.75,0.1,0.75)
  798. mesh2.Parent = beam2
  799. beam.Parent = game.Workspace
  800. beam2.Parent = game.Workspace
  801. beam2.Touched:connect(function(hit)
  802. local h = hit.Parent:FindFirstChild("Humanoid")
  803. if h ~= nil then
  804. local hax = h.Parent:FindFirstChild("ForceField")
  805. if hax == nil then
  806. h.Health = h.Health - 5
  807. h.Torso.CFrame = h.Torso.CFrame * CFrame.new(0,0,-2)
  808. wait()
  809. end
  810. end
  811. end)
  812. for i = 1,40 do wait()
  813. beam.CFrame = beam.CFrame * CFrame.new(0,-5,0)
  814. beam2.CFrame = beam2.CFrame * CFrame.new(0,-5,0)
  815. mesh.Scale = mesh.Scale + Vector3.new(0,0.1,0)
  816. mesh2.Scale = mesh2.Scale + Vector3.new(0,0.1,0)
  817. ball.Transparency = ball.Transparency + 0.025
  818. ball2.Transparency = ball2.Transparency + 0.0125
  819. beam.Transparency = beam.Transparency + 0.025
  820. beam2.Transparency = beam2.Transparency + 0.0125
  821. end
  822. ball:Destroy()
  823. ball2:Destroy()
  824. beam:Destroy()
  825. beam2:Destroy()
  826. FullReset()
  827. end
  828. end
  829.  
  830. s.Humanoid.HealthChanged:connect(function()
  831. if s.Humanoid.Health == s.Humanoid.Health - 500000 then
  832. attack = attack + 10
  833. force = force + 10
  834. s.Humanoid.Health = s.Humanoid.Health + 100
  835. end
  836. if transformed == false and s.Humanoid.Health <= 40000 then
  837. transformed = true
  838. game:GetService("Chat"):Chat(s.Head,"Im Dark Aura Anime",Enum.ChatColor.Red)
  839. ex2 = Instance.new("Explosion")
  840. ex2.Position = s.Torso.Position
  841. ex2.BlastPressure = 0
  842. ex2.Parent = workspace
  843. s.Torso.Voice2:Play()
  844. s.Humanoid.Health = s.Humanoid.Health + 50000
  845. s.Torso.BlackAura.Transparency = NumberSequence.new(0)
  846. s.Torso.BlackAura2.Transparency = NumberSequence.new(0)
  847. s.Torso.SaiyanEnergy:Play()
  848. FullReset()
  849. attack = attack + 13
  850. force = force + 20
  851. end
  852. if transformed == true and s.Humanoid.Health <= 20000 then
  853. game:GetService("Chat"):Chat(s.Head,"You have no chance againts me No foolin around!!",Enum.ChatColor.Red)
  854. s.Torso.Voice1:Play()
  855. ex2 = Instance.new("Explosion")
  856. ex2.Position = s.Torso.Position
  857. ex2.BlastPressure = 0
  858. ex2.Parent = workspace
  859. s.Humanoid.Health = s.Humanoid.Health + 10000
  860. s.Humanoid.WalkSpeed = s.Humanoid.WalkSpeed * 2
  861. s.Torso.BlackAura:Destroy()
  862. s.Torso.BlackAura2:Destroy()
  863. s.Torso.Aura1.Transparency = NumberSequence.new(0.3)
  864. s.Torso.Aura2.Transparency = NumberSequence.new(0.3)
  865. s.Head.Decal.Texture = "rbxassetid://601974383"
  866. s.Torso.SaiyanEnergy:Play()
  867. s.Torso.SaiyanEnergy2:Play()
  868. ball2.BrickColor = BrickColor.new("Toothpaste")
  869. beam2.BrickColor = BrickColor.new("Toothpaste")
  870. FullReset()
  871. attack = attack + 10
  872. force = force + 10
  873. end
  874. end)
  875.  
  876. s.Torso.Touched:connect(function(hit)
  877. local h = hit.Parent:FindFirstChild("Humanoid")
  878. if h ~= nil then
  879. if hits < needed and s.Humanoid.Health > 0 then
  880. local audio = math.random(1,2) --[[Random Play]]
  881. if audio == 1 then s.Torso.DMG:Play() else s.Torso.DMG2:Play() end
  882. h.Health = h.Health - attack
  883. hits = hits + 1
  884. Attack()
  885. else
  886. hits = 0
  887. local ay = math.random(1,2)
  888. if ay == 1 then
  889. Kamehameha()
  890. else
  891. teleport()
  892. end
  893. end
  894. end
  895. end)
  896. end))
  897. Script50.Name = "Ragdoller"
  898. Script50.Parent = Model0
  899. table.insert(cors,sandbox(Script50,function()
  900. print("Ragdoll script activated")
  901. Gibs = game.Workspace
  902.  
  903. function getKillerOfHumanoidIfStillInGame(humanoid)
  904. local tag = humanoid:findFirstChild("creator")
  905. if tag ~= nil then
  906. local killer = tag.Value
  907. if killer.Parent ~= nil then
  908. return killer
  909. end
  910. end
  911. return nil
  912. end
  913.  
  914. function OnDeath(Character)
  915. local svch = Character
  916. local hum = Character:findFirstChild("Humanoid")
  917. local getkiller = getKillerOfHumanoidIfStillInGame(hum)
  918. Character.Archivable = true
  919. local chrclone = Character:clone()
  920. Character.Archivable = false
  921.  
  922. local ch = chrclone:GetChildren()
  923. local i
  924. for i = 1,#ch do
  925. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  926. ch[i]:remove()
  927. end
  928. end
  929. local function Scan(ch)
  930. local e
  931. for e = 1,#ch do
  932. Scan(ch[e]:GetChildren())
  933. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  934. ch[e]:remove()
  935. end
  936. end
  937. end
  938. Scan(chrclone:GetChildren())
  939.  
  940. local hum2 = chrclone:findFirstChild("Humanoid")
  941.  
  942.  
  943. if hum2 ~= nil then
  944. hum2.Name = "Humanoid2"
  945. hum2.PlatformStand = true
  946. hum2.Sit = true
  947. hum2.MaxHealth = 0
  948. hum2.Health = 0
  949. end
  950.  
  951. local ch = Character:GetChildren()
  952. local i
  953. for i = 1,#ch do
  954. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  955. ch[i]:remove()
  956. end
  957. end
  958.  
  959. wait(0.2)
  960.  
  961. local ch = Character:GetChildren()
  962. local i
  963. for i = 1,#ch do
  964. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  965. ch[i]:remove()
  966. end
  967. end
  968. Character = chrclone
  969. local Torso = Character.Torso
  970. local movevector = Vector3.new()
  971.  
  972. if Torso then
  973. if getkiller ~= nil then
  974. if getkiller.Character ~= nil then
  975. local killtors = getkiller.Character:findFirstChild("Torso")
  976. if killtors ~= nil then
  977. movevector = CFrame.new(killtors.Position,Torso.Position).lookVector
  978. end
  979. end
  980. end
  981. local Head = Character:FindFirstChild("Head")
  982. if Head then
  983. local Neck = Instance.new("Weld")
  984. Neck.Name = "Neck"
  985. Neck.Part0 = Torso
  986. Neck.Part1 = Head
  987. Neck.C0 = CFrame.new(0, 1.5, 0)
  988. Neck.C1 = CFrame.new()
  989. Neck.Parent = Torso
  990.  
  991. local nsc = script.CamAttach:clone()
  992. nsc.CamPart.Value = hum2.Parent.Head
  993. nsc.Disabled = false
  994. nsc.Parent = svch
  995. end
  996. local Limb = Character:FindFirstChild("Right Arm")
  997. if Limb then
  998.  
  999. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  1000. local Joint = Instance.new("Glue")
  1001. Joint.Name = "RightShoulder"
  1002. Joint.Part0 = Torso
  1003. Joint.Part1 = Limb
  1004. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1005. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1006. Joint.Parent = Torso
  1007.  
  1008. local B = Instance.new("Part")
  1009. B.TopSurface = 0
  1010. B.BottomSurface = 0
  1011. B.formFactor = "Symmetric"
  1012. B.Size = Vector3.new(1, 1, 1)
  1013. B.Transparency = 1
  1014. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1015. B.Parent = Character
  1016. local W = Instance.new("Weld")
  1017. W.Part0 = Limb
  1018. W.Part1 = B
  1019. W.C0 = CFrame.new(0, -0.5, 0)
  1020. W.Parent = Limb
  1021.  
  1022. end
  1023. local Limb = Character:FindFirstChild("Left Arm")
  1024. if Limb then
  1025.  
  1026. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  1027. local Joint = Instance.new("Glue")
  1028. Joint.Name = "LeftShoulder"
  1029. Joint.Part0 = Torso
  1030. Joint.Part1 = Limb
  1031. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1032. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1033. Joint.Parent = Torso
  1034.  
  1035. local B = Instance.new("Part")
  1036. B.TopSurface = 0
  1037. B.BottomSurface = 0
  1038. B.formFactor = "Symmetric"
  1039. B.Size = Vector3.new(1, 1, 1)
  1040. B.Transparency = 1
  1041. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1042. B.Parent = Character
  1043. local W = Instance.new("Weld")
  1044. W.Part0 = Limb
  1045. W.Part1 = B
  1046. W.C0 = CFrame.new(0, -0.5, 0)
  1047. W.Parent = Limb
  1048.  
  1049. end
  1050. local Limb = Character:FindFirstChild("Right Leg")
  1051. if Limb then
  1052.  
  1053. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  1054. local Joint = Instance.new("Glue")
  1055. Joint.Name = "RightHip"
  1056. Joint.Part0 = Torso
  1057. Joint.Part1 = Limb
  1058. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1059. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1060. Joint.Parent = Torso
  1061.  
  1062. local B = Instance.new("Part")
  1063. B.TopSurface = 0
  1064. B.BottomSurface = 0
  1065. B.formFactor = "Symmetric"
  1066. B.Size = Vector3.new(1, 1, 1)
  1067. B.Transparency = 1
  1068. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1069. B.Parent = Character
  1070. local W = Instance.new("Weld")
  1071. W.Part0 = Limb
  1072. W.Part1 = B
  1073. W.C0 = CFrame.new(0, -0.5, 0)
  1074. W.Parent = Limb
  1075.  
  1076. end
  1077. local Limb = Character:FindFirstChild("Left Leg")
  1078. if Limb then
  1079.  
  1080. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  1081. local Joint = Instance.new("Glue")
  1082. Joint.Name = "LeftHip"
  1083. Joint.Part0 = Torso
  1084. Joint.Part1 = Limb
  1085. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1086. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1087. Joint.Parent = Torso
  1088.  
  1089. local B = Instance.new("Part")
  1090. B.TopSurface = 0
  1091. B.BottomSurface = 0
  1092. B.formFactor = "Symmetric"
  1093. B.Size = Vector3.new(1, 1, 1)
  1094. B.Transparency = 1
  1095. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1096. B.Parent = Character
  1097. local W = Instance.new("Weld")
  1098. W.Part0 = Limb
  1099. W.Part1 = B
  1100. W.C0 = CFrame.new(0, -0.5, 0)
  1101. W.Parent = Limb
  1102.  
  1103. end
  1104. --[
  1105. local Bar = Instance.new("Part")
  1106. Bar.TopSurface = 0
  1107. Bar.BottomSurface = 0
  1108. Bar.formFactor = "Symmetric"
  1109. Bar.Size = Vector3.new(1, 1, 1)
  1110. Bar.Transparency = 1
  1111. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  1112. Bar.Parent = Character
  1113. local Weld = Instance.new("Weld")
  1114. Weld.Part0 = Torso
  1115. Weld.Part1 = Bar
  1116. Weld.C0 = CFrame.new(0, 0.5, 0)
  1117. Weld.Parent = Torso
  1118. --]]
  1119. end
  1120. Character.Parent = Gibs
  1121. game.Debris:AddItem(Character, 12)
  1122. if movevector ~= Vector3.new() then
  1123. for i = 1,10 do
  1124. wait()
  1125. Torso.Velocity = movevector * 30
  1126. end
  1127. end
  1128. end
  1129.  
  1130. script.Parent.Humanoid.Died:connect(function()
  1131. OnDeath(script.Parent)
  1132. end)
  1133.  
  1134.  
  1135. end))
  1136. LocalScript51.Name = "CamAttach"
  1137. LocalScript51.Parent = Script50
  1138. LocalScript51.Disabled = true
  1139. table.insert(cors,sandbox(LocalScript51,function()
  1140. wait()
  1141. game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
  1142. end))
  1143. ObjectValue52.Name = "CamPart"
  1144. ObjectValue52.Parent = LocalScript51
  1145. Script53.Name = "zCharacter"
  1146. Script53.Parent = Model0
  1147. table.insert(cors,sandbox(Script53,function()
  1148. char = script.Parent
  1149.  
  1150. boot1 = char.Leg1.Part
  1151. boot1.Parent = char
  1152. boot1.CFrame = char['Left Leg'].CFrame
  1153. WeldL1 = Instance.new("Weld")
  1154. WeldL1.Parent = char['Left Leg']
  1155. WeldL1.Part0 = char['Left Leg']
  1156. WeldL1.Part1 = boot1
  1157. WeldL1.C0 = CFrame.new(0,-0.6,0)
  1158. boot2 = char.Leg2.Part
  1159. boot2.Parent = char
  1160. boot2.CFrame = char['Right Leg'].CFrame
  1161. WeldL2 = Instance.new("Weld")
  1162. WeldL2.Parent = char['Right Leg']
  1163. WeldL2.Part0 = char['Right Leg']
  1164. WeldL2.Part1 = boot2
  1165. WeldL2.C0 = CFrame.new(0,-0.6,0)
  1166.  
  1167. end))
  1168. Script54.Name = "zFollow"
  1169. Script54.Parent = Model0
  1170. table.insert(cors,sandbox(Script54,function()
  1171. s = script.Parent wait(0.5)
  1172. local larm = s:FindFirstChild("Left Arm")
  1173. local rarm = s:FindFirstChild("Right Arm")
  1174.  
  1175. function findNearestTorso(pos)
  1176. local list = game.Workspace:children()
  1177. local torso = nil
  1178. local dist = 400
  1179. local temp = nil
  1180. local human = nil
  1181. local temp2 = nil
  1182. for x = 1, #list do
  1183. temp2 = list[x]
  1184. if (temp2.className == "Model") and (temp2 ~= s) then
  1185. temp = temp2:FindFirstChild("Torso")
  1186. h = temp2:FindFirstChild("Humanoid")
  1187. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  1188. if (temp.Position - pos).magnitude < dist then
  1189. torso = temp
  1190. dist = (temp.Position - pos).magnitude
  1191. end
  1192. end
  1193. end
  1194. end
  1195. return torso
  1196. end
  1197.  
  1198. while true do
  1199. wait(0.1)
  1200. local antibug = s:FindFirstChild("Torso")
  1201. if antibug ~= nil then
  1202. local target = findNearestTorso(antibug.Position)
  1203. if target ~= nil then
  1204. s.Humanoid:MoveTo(target.Position, target)
  1205. end
  1206. end
  1207. end
  1208. end))
  1209. Script55.Name = "Animate"
  1210. Script55.Parent = Model0
  1211. table.insert(cors,sandbox(Script55,function()
  1212. function waitForChild(parent, childName)
  1213. local child = parent:findFirstChild(childName)
  1214. if child then return child end
  1215. while true do
  1216. child = parent.ChildAdded:wait()
  1217. if child.Name==childName then return child end
  1218. end
  1219. end
  1220.  
  1221. local Figure = script.Parent
  1222. local Torso = waitForChild(Figure, "Torso")
  1223. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  1224. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  1225. local RightHip = waitForChild(Torso, "Right Hip")
  1226. local LeftHip = waitForChild(Torso, "Left Hip")
  1227. local Neck = waitForChild(Torso, "Neck")
  1228. local Humanoid = waitForChild(Figure, "Humanoid")
  1229. local pose = "Standing"
  1230.  
  1231. local currentAnim = ""
  1232. local currentAnimTrack = nil
  1233. local currentAnimKeyframeHandler = nil
  1234. local oldAnimTrack = nil
  1235. local animTable = {}
  1236. local animNames = {
  1237. idle = {
  1238. { id = "http://www.roblox.com/asset/?id=529667700", weight = 9 },
  1239. { id = "http://www.roblox.com/asset/?id=529667700", weight = 1 }
  1240. },
  1241. walk = {
  1242. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  1243. },
  1244. run = {
  1245. { id = "run.xml", weight = 10 }
  1246. },
  1247. jump = {
  1248. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  1249. },
  1250. fall = {
  1251. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  1252. },
  1253. climb = {
  1254. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  1255. },
  1256. sit = {
  1257. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  1258. },
  1259. toolnone = {
  1260. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  1261. },
  1262. toolslash = {
  1263. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  1264. -- { id = "slash.xml", weight = 10 }
  1265. },
  1266. toollunge = {
  1267. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  1268. },
  1269. wave = {
  1270. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  1271. },
  1272. point = {
  1273. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  1274. },
  1275. dance = {
  1276. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  1277. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  1278. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  1279. },
  1280. dance2 = {
  1281. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  1282. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  1283. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  1284. },
  1285. dance3 = {
  1286. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  1287. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  1288. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  1289. },
  1290. laugh = {
  1291. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  1292. },
  1293. cheer = {
  1294. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  1295. },
  1296. }
  1297.  
  1298. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  1299. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  1300.  
  1301. math.randomseed(tick())
  1302.  
  1303. function configureAnimationSet(name, fileList)
  1304. if (animTable[name] ~= nil) then
  1305. for _, connection in pairs(animTable[name].connections) do
  1306. connection:disconnect()
  1307. end
  1308. end
  1309. animTable[name] = {}
  1310. animTable[name].count = 0
  1311. animTable[name].totalWeight = 0
  1312. animTable[name].connections = {}
  1313.  
  1314. -- check for config values
  1315. local config = script:FindFirstChild(name)
  1316. if (config ~= nil) then
  1317. -- print("Loading anims " .. name)
  1318. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  1319. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  1320. local idx = 1
  1321. for _, childPart in pairs(config:GetChildren()) do
  1322. if (childPart:IsA("Animation")) then
  1323. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  1324. animTable[name][idx] = {}
  1325. animTable[name][idx].anim = childPart
  1326. local weightObject = childPart:FindFirstChild("Weight")
  1327. if (weightObject == nil) then
  1328. animTable[name][idx].weight = 1
  1329. else
  1330. animTable[name][idx].weight = weightObject.Value
  1331. end
  1332. animTable[name].count = animTable[name].count + 1
  1333. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  1334. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  1335. idx = idx + 1
  1336. end
  1337. end
  1338. end
  1339.  
  1340. -- fallback to defaults
  1341. if (animTable[name].count <= 0) then
  1342. for idx, anim in pairs(fileList) do
  1343. animTable[name][idx] = {}
  1344. animTable[name][idx].anim = Instance.new("Animation")
  1345. animTable[name][idx].anim.Name = name
  1346. animTable[name][idx].anim.AnimationId = anim.id
  1347. animTable[name][idx].weight = anim.weight
  1348. animTable[name].count = animTable[name].count + 1
  1349. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  1350. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  1351. end
  1352. end
  1353. end
  1354.  
  1355. -- Setup animation objects
  1356. function scriptChildModified(child)
  1357. local fileList = animNames[child.Name]
  1358. if (fileList ~= nil) then
  1359. configureAnimationSet(child.Name, fileList)
  1360. end
  1361. end
  1362.  
  1363. script.ChildAdded:connect(scriptChildModified)
  1364. script.ChildRemoved:connect(scriptChildModified)
  1365.  
  1366.  
  1367. for name, fileList in pairs(animNames) do
  1368. configureAnimationSet(name, fileList)
  1369. end
  1370.  
  1371. -- ANIMATION
  1372.  
  1373. -- declarations
  1374. local toolAnim = "None"
  1375. local toolAnimTime = 0
  1376.  
  1377. local jumpAnimTime = 0
  1378. local jumpAnimDuration = 0.3
  1379.  
  1380. local toolTransitionTime = 0.1
  1381. local fallTransitionTime = 0.3
  1382. local jumpMaxLimbVelocity = 0.75
  1383.  
  1384. -- functions
  1385.  
  1386. function stopAllAnimations()
  1387. local oldAnim = currentAnim
  1388.  
  1389. -- return to idle if finishing an emote
  1390. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  1391. oldAnim = "idle"
  1392. end
  1393.  
  1394. currentAnim = ""
  1395. currentAnimInstance = nil
  1396. if (currentAnimKeyframeHandler ~= nil) then
  1397. currentAnimKeyframeHandler:disconnect()
  1398. end
  1399.  
  1400. if (currentAnimTrack ~= nil) then
  1401. currentAnimTrack:Stop()
  1402. currentAnimTrack:Destroy()
  1403. currentAnimTrack = nil
  1404. end
  1405. return oldAnim
  1406. end
  1407.  
  1408. function setAnimationSpeed(speed)
  1409. if speed ~= currentAnimSpeed then
  1410. currentAnimSpeed = speed
  1411. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  1412. end
  1413. end
  1414.  
  1415. function keyFrameReachedFunc(frameName)
  1416. if (frameName == "End") then
  1417.  
  1418. local repeatAnim = currentAnim
  1419. -- return to idle if finishing an emote
  1420. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  1421. repeatAnim = "idle"
  1422. end
  1423.  
  1424. local animSpeed = currentAnimSpeed
  1425. playAnimation(repeatAnim, 0.0, Humanoid)
  1426. setAnimationSpeed(animSpeed)
  1427. end
  1428. end
  1429.  
  1430. -- Preload animations
  1431. function playAnimation(animName, transitionTime, humanoid)
  1432.  
  1433. local roll = math.random(1, animTable[animName].totalWeight)
  1434. local origRoll = roll
  1435. local idx = 1
  1436. while (roll > animTable[animName][idx].weight) do
  1437. roll = roll - animTable[animName][idx].weight
  1438. idx = idx + 1
  1439. end
  1440. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  1441. local anim = animTable[animName][idx].anim
  1442.  
  1443. -- switch animation
  1444. if (anim ~= currentAnimInstance) then
  1445.  
  1446. if (currentAnimTrack ~= nil) then
  1447. currentAnimTrack:Stop(transitionTime)
  1448. currentAnimTrack:Destroy()
  1449. end
  1450.  
  1451. currentAnimSpeed = 1.0
  1452.  
  1453. -- load it to the humanoid; get AnimationTrack
  1454. currentAnimTrack = humanoid:LoadAnimation(anim)
  1455.  
  1456. -- play the animation
  1457. currentAnimTrack:Play(transitionTime)
  1458. currentAnim = animName
  1459. currentAnimInstance = anim
  1460.  
  1461. -- set up keyframe name triggers
  1462. if (currentAnimKeyframeHandler ~= nil) then
  1463. currentAnimKeyframeHandler:disconnect()
  1464. end
  1465. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  1466.  
  1467. end
  1468.  
  1469. end
  1470.  
  1471. -------------------------------------------------------------------------------------------
  1472. -------------------------------------------------------------------------------------------
  1473.  
  1474. local toolAnimName = ""
  1475. local toolAnimTrack = nil
  1476. local toolAnimInstance = nil
  1477. local currentToolAnimKeyframeHandler = nil
  1478.  
  1479. function toolKeyFrameReachedFunc(frameName)
  1480. if (frameName == "End") then
  1481. -- print("Keyframe : ".. frameName)
  1482. playToolAnimation(toolAnimName, 0.0, Humanoid)
  1483. end
  1484. end
  1485.  
  1486.  
  1487. function playToolAnimation(animName, transitionTime, humanoid)
  1488.  
  1489. local roll = math.random(1, animTable[animName].totalWeight)
  1490. local origRoll = roll
  1491. local idx = 1
  1492. while (roll > animTable[animName][idx].weight) do
  1493. roll = roll - animTable[animName][idx].weight
  1494. idx = idx + 1
  1495. end
  1496. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  1497. local anim = animTable[animName][idx].anim
  1498.  
  1499. if (toolAnimInstance ~= anim) then
  1500.  
  1501. if (toolAnimTrack ~= nil) then
  1502. toolAnimTrack:Stop()
  1503. toolAnimTrack:Destroy()
  1504. transitionTime = 0
  1505. end
  1506.  
  1507. -- load it to the humanoid; get AnimationTrack
  1508. toolAnimTrack = humanoid:LoadAnimation(anim)
  1509.  
  1510. -- play the animation
  1511. toolAnimTrack:Play(transitionTime)
  1512. toolAnimName = animName
  1513. toolAnimInstance = anim
  1514.  
  1515. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  1516. end
  1517. end
  1518.  
  1519. function stopToolAnimations()
  1520. local oldAnim = toolAnimName
  1521.  
  1522. if (currentToolAnimKeyframeHandler ~= nil) then
  1523. currentToolAnimKeyframeHandler:disconnect()
  1524. end
  1525.  
  1526. toolAnimName = ""
  1527. toolAnimInstance = nil
  1528. if (toolAnimTrack ~= nil) then
  1529. toolAnimTrack:Stop()
  1530. toolAnimTrack:Destroy()
  1531. toolAnimTrack = nil
  1532. end
  1533.  
  1534.  
  1535. return oldAnim
  1536. end
  1537.  
  1538. -------------------------------------------------------------------------------------------
  1539. -------------------------------------------------------------------------------------------
  1540.  
  1541.  
  1542. function onRunning(speed)
  1543. if speed>0.01 then
  1544. playAnimation("walk", 0.1, Humanoid)
  1545. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  1546. setAnimationSpeed(speed / 14.5)
  1547. end
  1548. pose = "Running"
  1549. else
  1550. playAnimation("idle", 0.1, Humanoid)
  1551. pose = "Standing"
  1552. end
  1553. end
  1554.  
  1555. function onDied()
  1556. pose = "Dead"
  1557. end
  1558.  
  1559. function onJumping()
  1560. playAnimation("jump", 0.1, Humanoid)
  1561. jumpAnimTime = jumpAnimDuration
  1562. pose = "Jumping"
  1563. end
  1564.  
  1565. function onClimbing(speed)
  1566. playAnimation("climb", 0.1, Humanoid)
  1567. setAnimationSpeed(speed / 12.0)
  1568. pose = "Climbing"
  1569. end
  1570.  
  1571. function onGettingUp()
  1572. pose = "GettingUp"
  1573. end
  1574.  
  1575. function onFreeFall()
  1576. if (jumpAnimTime <= 0) then
  1577. playAnimation("fall", fallTransitionTime, Humanoid)
  1578. end
  1579. pose = "FreeFall"
  1580. end
  1581.  
  1582. function onFallingDown()
  1583. pose = "FallingDown"
  1584. end
  1585.  
  1586. function onSeated()
  1587. pose = "Seated"
  1588. end
  1589.  
  1590. function onPlatformStanding()
  1591. pose = "PlatformStanding"
  1592. end
  1593.  
  1594. function onSwimming(speed)
  1595. if speed>0 then
  1596. pose = "Running"
  1597. else
  1598. pose = "Standing"
  1599. end
  1600. end
  1601.  
  1602. function getTool()
  1603. for _, kid in ipairs(Figure:GetChildren()) do
  1604. if kid.className == "Tool" then return kid end
  1605. end
  1606. return nil
  1607. end
  1608.  
  1609. function getToolAnim(tool)
  1610. for _, c in ipairs(tool:GetChildren()) do
  1611. if c.Name == "toolanim" and c.className == "StringValue" then
  1612. return c
  1613. end
  1614. end
  1615. return nil
  1616. end
  1617.  
  1618. function animateTool()
  1619.  
  1620. if (toolAnim == "None") then
  1621. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  1622. return
  1623. end
  1624.  
  1625. if (toolAnim == "Slash") then
  1626. playToolAnimation("toolslash", 0, Humanoid)
  1627. return
  1628. end
  1629.  
  1630. if (toolAnim == "Lunge") then
  1631. playToolAnimation("toollunge", 0, Humanoid)
  1632. return
  1633. end
  1634. end
  1635.  
  1636. function moveSit()
  1637. RightShoulder.MaxVelocity = 0.15
  1638. LeftShoulder.MaxVelocity = 0.15
  1639. RightShoulder:SetDesiredAngle(3.14 /2)
  1640. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1641. RightHip:SetDesiredAngle(3.14 /2)
  1642. LeftHip:SetDesiredAngle(-3.14 /2)
  1643. end
  1644.  
  1645. local lastTick = 0
  1646.  
  1647. function move(time)
  1648. local amplitude = 1
  1649. local frequency = 1
  1650. local deltaTime = time - lastTick
  1651. lastTick = time
  1652.  
  1653. local climbFudge = 0
  1654. local setAngles = false
  1655.  
  1656. if (jumpAnimTime > 0) then
  1657. jumpAnimTime = jumpAnimTime - deltaTime
  1658. end
  1659.  
  1660. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1661. playAnimation("fall", fallTransitionTime, Humanoid)
  1662. elseif (pose == "Seated") then
  1663. playAnimation("sit", 0.5, Humanoid)
  1664. return
  1665. elseif (pose == "Running") then
  1666. playAnimation("walk", 0.1, Humanoid)
  1667. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1668. -- print("Wha " .. pose)
  1669. stopAllAnimations()
  1670. amplitude = 0.1
  1671. frequency = 1
  1672. setAngles = true
  1673. end
  1674.  
  1675. if (setAngles) then
  1676. desiredAngle = amplitude * math.sin(time * frequency)
  1677.  
  1678. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1679. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1680. RightHip:SetDesiredAngle(-desiredAngle)
  1681. LeftHip:SetDesiredAngle(-desiredAngle)
  1682. end
  1683.  
  1684. -- Tool Animation handling
  1685. local tool = getTool()
  1686. if tool and tool:FindFirstChild("Handle") then
  1687.  
  1688. animStringValueObject = getToolAnim(tool)
  1689.  
  1690. if animStringValueObject then
  1691. toolAnim = animStringValueObject.Value
  1692. -- message recieved, delete StringValue
  1693. animStringValueObject.Parent = nil
  1694. toolAnimTime = time + .3
  1695. end
  1696.  
  1697. if time > toolAnimTime then
  1698. toolAnimTime = 0
  1699. toolAnim = "None"
  1700. end
  1701.  
  1702. animateTool()
  1703. else
  1704. stopToolAnimations()
  1705. toolAnim = "None"
  1706. toolAnimInstance = nil
  1707. toolAnimTime = 0
  1708. end
  1709. end
  1710.  
  1711. -- connect events
  1712. Humanoid.Died:connect(onDied)
  1713. Humanoid.Running:connect(onRunning)
  1714. Humanoid.Jumping:connect(onJumping)
  1715. Humanoid.Climbing:connect(onClimbing)
  1716. Humanoid.GettingUp:connect(onGettingUp)
  1717. Humanoid.FreeFalling:connect(onFreeFall)
  1718. Humanoid.FallingDown:connect(onFallingDown)
  1719. Humanoid.Seated:connect(onSeated)
  1720. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1721. Humanoid.Swimming:connect(onSwimming)
  1722.  
  1723. -- setup emote chat hook
  1724. game.Players.LocalPlayer.Chatted:connect(function(msg)
  1725. local emote = ""
  1726. if (string.sub(msg, 1, 3) == "/e ") then
  1727. emote = string.sub(msg, 4)
  1728. elseif (string.sub(msg, 1, 7) == "/emote ") then
  1729. emote = string.sub(msg, 8)
  1730. end
  1731.  
  1732. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  1733. playAnimation(emote, 0.1, Humanoid)
  1734. end
  1735.  
  1736. end)
  1737.  
  1738.  
  1739. -- main program
  1740.  
  1741. local runService = game:service("RunService");
  1742.  
  1743. -- initialize to idle
  1744. playAnimation("idle", 0.1, Humanoid)
  1745. pose = "Standing"
  1746.  
  1747. while Figure.Parent~=nil do
  1748. local _, time = wait(0.1)
  1749. move(time)
  1750. end
  1751.  
  1752.  
  1753.  
  1754. end))
  1755. StringValue56.Name = "climb"
  1756. StringValue56.Parent = Script55
  1757. Animation57.Name = "ClimbAnim"
  1758. Animation57.Parent = StringValue56
  1759. Animation57.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  1760. StringValue58.Name = "fall"
  1761. StringValue58.Parent = Script55
  1762. Animation59.Name = "FallAnim"
  1763. Animation59.Parent = StringValue58
  1764. Animation59.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  1765. StringValue60.Name = "idle"
  1766. StringValue60.Parent = Script55
  1767. Animation61.Name = "Animation1"
  1768. Animation61.Parent = StringValue60
  1769. Animation61.AnimationId = "rbxassetid://529667700"
  1770. NumberValue62.Name = "Weight"
  1771. NumberValue62.Parent = Animation61
  1772. NumberValue62.Value = 9
  1773. Animation63.Name = "Animation2"
  1774. Animation63.Parent = StringValue60
  1775. Animation63.AnimationId = "rbxassetid://529667700"
  1776. NumberValue64.Name = "Weight"
  1777. NumberValue64.Parent = Animation63
  1778. NumberValue64.Value = 1
  1779. StringValue65.Name = "jump"
  1780. StringValue65.Parent = Script55
  1781. Animation66.Name = "JumpAnim"
  1782. Animation66.Parent = StringValue65
  1783. Animation66.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1784. StringValue67.Name = "run"
  1785. StringValue67.Parent = Script55
  1786. Animation68.Name = "RunAnim"
  1787. Animation68.Parent = StringValue67
  1788. Animation68.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1789. StringValue69.Name = "sit"
  1790. StringValue69.Parent = Script55
  1791. Animation70.Name = "SitAnim"
  1792. Animation70.Parent = StringValue69
  1793. Animation70.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  1794. StringValue71.Name = "toolnone"
  1795. StringValue71.Parent = Script55
  1796. Animation72.Name = "ToolNoneAnim"
  1797. Animation72.Parent = StringValue71
  1798. Animation72.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  1799. StringValue73.Name = "walk"
  1800. StringValue73.Parent = Script55
  1801. Animation74.Name = "WalkAnim"
  1802. Animation74.Parent = StringValue73
  1803. Animation74.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  1804. Script75.Name = "Respawn"
  1805. Script75.Parent = Model0
  1806. table.insert(cors,sandbox(Script75,function()
  1807. name="Humanoid"
  1808.  
  1809. robo=script.Parent:clone()
  1810.  
  1811. while true do
  1812. wait(1)
  1813. if script.Parent.Humanoid.Health<1 then
  1814. robot=robo:clone()
  1815. robot.Parent=script.Parent.Parent
  1816. robot:makeJoints()
  1817. script.Parent:remove()
  1818. end
  1819. end
  1820.  
  1821.  
  1822.  
  1823.  
  1824. end))
  1825. BodyColors76.Parent = Model0
  1826. BodyColors76.HeadColor = BrickColor.new("Institutional white")
  1827. BodyColors76.LeftArmColor = BrickColor.new("Institutional white")
  1828. BodyColors76.LeftLegColor = BrickColor.new("Institutional white")
  1829. BodyColors76.RightArmColor = BrickColor.new("Institutional white")
  1830. BodyColors76.RightLegColor = BrickColor.new("Institutional white")
  1831. BodyColors76.TorsoColor = BrickColor.new("Institutional white")
  1832. Pants77.Name = "Pants"
  1833. Pants77.Parent = Model0
  1834. Pants77.PantsTemplate = "http://www.roblox.com/asset/?id=769592974"
  1835. Shirt78.Name = "Shirt"
  1836. Shirt78.Parent = Model0
  1837. Shirt78.ShirtTemplate = "http://www.roblox.com/asset/?id=1527792263"
  1838. Accessory79.Name = "ArcticFoxHead"
  1839. Accessory79.Parent = Model0
  1840. Accessory79.AttachmentPos = Vector3.new(0, 0.119999997, 0.300000012)
  1841. Part80.Name = "Handle"
  1842. Part80.Parent = Accessory79
  1843. Part80.Rotation = Vector3.new(-180, -73.5800018, -180)
  1844. Part80.CanCollide = false
  1845. Part80.FormFactor = Enum.FormFactor.Custom
  1846. Part80.Size = Vector3.new(1.8600266, 2.2399981, 2.0999999)
  1847. Part80.CFrame = CFrame.new(-123.134064, 5.08000803, -109.957115, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1848. Part80.BottomSurface = Enum.SurfaceType.Smooth
  1849. Part80.TopSurface = Enum.SurfaceType.Smooth
  1850. Part80.Position = Vector3.new(-123.134064, 5.08000803, -109.957115)
  1851. Part80.Orientation = Vector3.new(0, -106.419998, 0)
  1852. SpecialMesh81.Parent = Part80
  1853. SpecialMesh81.MeshId = "http://www.roblox.com/asset/?id=188699722 "
  1854. SpecialMesh81.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  1855. SpecialMesh81.TextureId = "http://www.roblox.com/asset/?id=188699768 "
  1856. SpecialMesh81.MeshType = Enum.MeshType.FileMesh
  1857. SpecialMesh81.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  1858. Attachment82.Name = "HatAttachment"
  1859. Attachment82.Parent = Part80
  1860. Attachment82.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1861. Attachment82.CFrame = CFrame.new(8.65748007e-09, 0.21999979, 0.299727768, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1862. Attachment82.Position = Vector3.new(8.65748007e-09, 0.21999979, 0.299727768)
  1863. Attachment82.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1864. Attachment82.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1865. Vector3Value83.Name = "OriginalSize"
  1866. Vector3Value83.Parent = Part80
  1867. Vector3Value83.Value = Vector3.new(1.8600266, 2.2399981, 2.0999999)
  1868. Accessory84.Name = "FoxTail"
  1869. Accessory84.Parent = Model0
  1870. Accessory84.AttachmentPos = Vector3.new(1, 3.29999995, -0.899999976)
  1871. Part85.Name = "Handle"
  1872. Part85.Parent = Accessory84
  1873. Part85.Rotation = Vector3.new(-180, -73.5800018, -180)
  1874. Part85.CanCollide = false
  1875. Part85.FormFactor = Enum.FormFactor.Symmetric
  1876. Part85.Size = Vector3.new(1, 1.41999996, 1)
  1877. Part85.CFrame = CFrame.new(-124.002525, 1.90000796, -111.255493, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1878. Part85.BottomSurface = Enum.SurfaceType.Smooth
  1879. Part85.TopSurface = Enum.SurfaceType.Smooth
  1880. Part85.Position = Vector3.new(-124.002525, 1.90000796, -111.255493)
  1881. Part85.Orientation = Vector3.new(0, -106.419998, 0)
  1882. SpecialMesh86.Parent = Part85
  1883. SpecialMesh86.MeshId = "http://www.roblox.com/asset/?id=335037790 "
  1884. SpecialMesh86.TextureId = "http://www.roblox.com/asset/?id=335037904 "
  1885. SpecialMesh86.MeshType = Enum.MeshType.FileMesh
  1886. Attachment87.Name = "WaistFrontAttachment"
  1887. Attachment87.Parent = Part85
  1888. Attachment87.Rotation = Vector3.new(0, 0, 3.91582454e-29)
  1889. Attachment87.CFrame = CFrame.new(1.00000012, 0.299999714, -1.40027213, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  1890. Attachment87.Position = Vector3.new(1.00000012, 0.299999714, -1.40027213)
  1891. Attachment87.Axis = Vector3.new(1, 6.83440315e-31, 0)
  1892. Attachment87.Orientation = Vector3.new(0, 0, 3.91582454e-29)
  1893. Vector3Value88.Name = "OriginalSize"
  1894. Vector3Value88.Parent = Part85
  1895. Vector3Value88.Value = Vector3.new(1, 1.41999996, 1)
  1896. Accessory89.Name = "FriendlySnowfOX"
  1897. Accessory89.Parent = Model0
  1898. Accessory89.AttachmentPos = Vector3.new(0, 1.79999995, 0)
  1899. Part90.Name = "Handle"
  1900. Part90.Parent = Accessory89
  1901. Part90.Rotation = Vector3.new(-180, -73.5800018, -180)
  1902. Part90.CanCollide = false
  1903. Part90.FormFactor = Enum.FormFactor.Custom
  1904. Part90.Size = Vector3.new(0.720027149, 1.31999815, 1.91000271)
  1905. Part90.CFrame = CFrame.new(-123.421837, 3.40000796, -110.041901, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1906. Part90.BottomSurface = Enum.SurfaceType.Smooth
  1907. Part90.TopSurface = Enum.SurfaceType.Smooth
  1908. Part90.Position = Vector3.new(-123.421837, 3.40000796, -110.041901)
  1909. Part90.Orientation = Vector3.new(0, -106.419998, 0)
  1910. SpecialMesh91.Parent = Part90
  1911. SpecialMesh91.MeshId = "rbxassetid://1241037817"
  1912. SpecialMesh91.TextureId = "rbxassetid://1241038471"
  1913. SpecialMesh91.MeshType = Enum.MeshType.FileMesh
  1914. Attachment92.Name = "RightCollarAttachment"
  1915. Attachment92.Parent = Part90
  1916. Attachment92.CFrame = CFrame.new(0, -0.649999976, -0.100000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1917. Attachment92.Position = Vector3.new(0, -0.649999976, -0.100000001)
  1918. Vector3Value93.Name = "OriginalSize"
  1919. Vector3Value93.Parent = Part90
  1920. Vector3Value93.Value = Vector3.new(0.720027149, 1.31999815, 1.91000271)
  1921. Accessory94.Name = "NeonBlueAnimalHood"
  1922. Accessory94.Parent = Model0
  1923. Accessory94.AttachmentPos = Vector3.new(0, -0.0299999993, 0.0500000007)
  1924. Part95.Name = "Handle"
  1925. Part95.Parent = Accessory94
  1926. Part95.Rotation = Vector3.new(-180, -73.5800018, -180)
  1927. Part95.CanCollide = false
  1928. Part95.FormFactor = Enum.FormFactor.Custom
  1929. Part95.Size = Vector3.new(2.6000278, 2.20000005, 1.79999816)
  1930. Part95.CFrame = CFrame.new(-123.373878, 5.23000813, -110.027771, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1931. Part95.BottomSurface = Enum.SurfaceType.Smooth
  1932. Part95.TopSurface = Enum.SurfaceType.Smooth
  1933. Part95.Position = Vector3.new(-123.373878, 5.23000813, -110.027771)
  1934. Part95.Orientation = Vector3.new(0, -106.419998, 0)
  1935. SpecialMesh96.Parent = Part95
  1936. SpecialMesh96.MeshId = "http://www.roblox.com/asset/?id=135446047 "
  1937. SpecialMesh96.Scale = Vector3.new(1, 1.10000002, 1)
  1938. SpecialMesh96.TextureId = "http://www.roblox.com/asset/?id=273374941 "
  1939. SpecialMesh96.MeshType = Enum.MeshType.FileMesh
  1940. SpecialMesh96.Scale = Vector3.new(1, 1.10000002, 1)
  1941. Attachment97.Name = "HatAttachment"
  1942. Attachment97.Parent = Part95
  1943. Attachment97.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1944. Attachment97.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)
  1945. Attachment97.Position = Vector3.new(8.65748007e-09, 0.0699996948, 0.0497277565)
  1946. Attachment97.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1947. Attachment97.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1948. Vector3Value98.Name = "OriginalSize"
  1949. Vector3Value98.Parent = Part95
  1950. Vector3Value98.Value = Vector3.new(2.6000278, 2.20000005, 1.79999816)
  1951. Accessory99.Name = "RainbowWings"
  1952. Accessory99.Parent = Model0
  1953. Accessory99.AttachmentPos = Vector3.new(0, 0.5, -1.04999995)
  1954. Part100.Name = "Handle"
  1955. Part100.Parent = Accessory99
  1956. Part100.Transparency = 0.20000000298023
  1957. Part100.Rotation = Vector3.new(-180, -73.5800018, -180)
  1958. Part100.CanCollide = false
  1959. Part100.FormFactor = Enum.FormFactor.Symmetric
  1960. Part100.Size = Vector3.new(1, 1.41999996, 1)
  1961. Part100.CFrame = CFrame.new(-124.429031, 4.70000792, -110.338654, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1962. Part100.BottomSurface = Enum.SurfaceType.Smooth
  1963. Part100.TopSurface = Enum.SurfaceType.Smooth
  1964. Part100.Position = Vector3.new(-124.429031, 4.70000792, -110.338654)
  1965. Part100.Orientation = Vector3.new(0, -106.419998, 0)
  1966. SpecialMesh101.Parent = Part100
  1967. SpecialMesh101.MeshId = "http://www.roblox.com/asset/?id=335060772 "
  1968. SpecialMesh101.TextureId = "http://www.roblox.com/asset/?id=335060906"
  1969. SpecialMesh101.MeshType = Enum.MeshType.FileMesh
  1970. Attachment102.Name = "BodyBackAttachment"
  1971. Attachment102.Parent = Part100
  1972. Attachment102.Rotation = Vector3.new(0, 0, 3.91582454e-29)
  1973. Attachment102.CFrame = CFrame.new(-9.09494702e-13, -1.50000024, -0.550272346, 1, -6.83440315e-31, 0, 6.83440315e-31, 1, -0, 0, 0, 1)
  1974. Attachment102.Position = Vector3.new(-9.09494702e-13, -1.50000024, -0.550272346)
  1975. Attachment102.Axis = Vector3.new(1, 6.83440315e-31, 0)
  1976. Attachment102.Orientation = Vector3.new(0, 0, 3.91582454e-29)
  1977. Vector3Value103.Name = "OriginalSize"
  1978. Vector3Value103.Parent = Part100
  1979. Vector3Value103.Value = Vector3.new(1, 1.41999996, 1)
  1980. Model104.Name = "Animescapetower dARK"
  1981. Model104.Parent = mas
  1982. Model104.PrimaryPart = Part105
  1983. Part105.Name = "Head"
  1984. Part105.Parent = Model104
  1985. Part105.Material = Enum.Material.SmoothPlastic
  1986. Part105.Transparency = 0.30000001192093
  1987. Part105.Rotation = Vector3.new(-180, -73.5800018, -180)
  1988. Part105.FormFactor = Enum.FormFactor.Symmetric
  1989. Part105.Size = Vector3.new(2, 1, 1)
  1990. Part105.CFrame = CFrame.new(-133.311844, 4.50001717, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  1991. Part105.TopSurface = Enum.SurfaceType.Smooth
  1992. Part105.Position = Vector3.new(-133.311844, 4.50001717, -97.09198)
  1993. Part105.Orientation = Vector3.new(0, -106.419998, 0)
  1994. SpecialMesh106.Parent = Part105
  1995. SpecialMesh106.Scale = Vector3.new(1.25, 1.25, 1.25)
  1996. SpecialMesh106.Scale = Vector3.new(1.25, 1.25, 1.25)
  1997. BillboardGui107.Name = "NameGUI"
  1998. BillboardGui107.Parent = Part105
  1999. BillboardGui107.Size = UDim2.new(10, 0, 2, 0)
  2000. BillboardGui107.Active = true
  2001. BillboardGui107.AlwaysOnTop = true
  2002. BillboardGui107.StudsOffset = Vector3.new(0, 1.5, 0)
  2003. TextLabel108.Name = "Name"
  2004. TextLabel108.Parent = BillboardGui107
  2005. TextLabel108.Transparency = 1
  2006. TextLabel108.Size = UDim2.new(1, 0, 0.699999988, 0)
  2007. TextLabel108.Text = "Animescapetower(Darkness mode)"
  2008. TextLabel108.BackgroundColor3 = Color3.new(1, 0, 0)
  2009. TextLabel108.BackgroundTransparency = 1
  2010. TextLabel108.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  2011. TextLabel108.Font = Enum.Font.SourceSansBold
  2012. TextLabel108.FontSize = Enum.FontSize.Size48
  2013. TextLabel108.TextColor3 = Color3.new(0, 0, 0)
  2014. TextLabel108.TextScaled = true
  2015. TextLabel108.TextStrokeColor3 = Color3.new(1, 0, 0)
  2016. TextLabel108.TextStrokeTransparency = 0
  2017. TextLabel108.TextWrapped = true
  2018. Decal109.Parent = Part105
  2019. Decal109.Texture = "http://www.roblox.com/asset/?id=460460302"
  2020. BillboardGui110.Name = "LevelGUI"
  2021. BillboardGui110.Parent = Part105
  2022. BillboardGui110.Size = UDim2.new(10, 0, 2, 0)
  2023. BillboardGui110.Active = true
  2024. BillboardGui110.AlwaysOnTop = true
  2025. BillboardGui110.StudsOffset = Vector3.new(0, 1.5, 0)
  2026. TextLabel111.Name = "Level"
  2027. TextLabel111.Parent = BillboardGui110
  2028. TextLabel111.Transparency = 1
  2029. TextLabel111.Size = UDim2.new(1, 0, 0.699999988, 0)
  2030. TextLabel111.Text = "Level 450"
  2031. TextLabel111.Position = UDim2.new(0, 0, 0, 20)
  2032. TextLabel111.BackgroundColor3 = Color3.new(1, 0, 0)
  2033. TextLabel111.BackgroundTransparency = 1
  2034. TextLabel111.BorderColor3 = Color3.new(0.0627451, 0.92549, 1)
  2035. TextLabel111.Font = Enum.Font.SourceSansBold
  2036. TextLabel111.FontSize = Enum.FontSize.Size11
  2037. TextLabel111.TextColor3 = Color3.new(0.47451, 0.0117647, 1)
  2038. TextLabel111.TextScaled = true
  2039. TextLabel111.TextStrokeColor3 = Color3.new(1, 0, 0)
  2040. TextLabel111.TextStrokeTransparency = 0
  2041. TextLabel111.TextWrapped = true
  2042. Weld112.Name = "HeadWeld"
  2043. Weld112.Parent = Part105
  2044. Weld112.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2045. Weld112.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2046. Weld112.Part0 = Part105
  2047. Weld112.Part1 = Part181
  2048. Weld113.Name = "HeadWeld"
  2049. Weld113.Parent = Part105
  2050. Weld113.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2051. Weld113.C1 = CFrame.new(0, 1.25, 0.800000012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2052. Weld113.Part0 = Part105
  2053. Weld113.Part1 = Part184
  2054. Weld114.Name = "HeadWeld"
  2055. Weld114.Parent = Part105
  2056. Weld114.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2057. Weld114.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2058. Weld114.Part0 = Part105
  2059. Weld114.Part1 = Part188
  2060. Weld115.Name = "HeadWeld"
  2061. Weld115.Parent = Part105
  2062. Weld115.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2063. Weld115.C1 = CFrame.new(-0.0500000007, 0.550000012, -0.075000003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2064. Weld115.Part0 = Part105
  2065. Weld115.Part1 = Part191
  2066. Part116.Name = "Torso"
  2067. Part116.Parent = Model104
  2068. Part116.Material = Enum.Material.SmoothPlastic
  2069. Part116.Transparency = 0.30000001192093
  2070. Part116.Rotation = Vector3.new(-180, -73.5800018, -180)
  2071. Part116.FormFactor = Enum.FormFactor.Symmetric
  2072. Part116.Size = Vector3.new(2, 2, 1)
  2073. Part116.CFrame = CFrame.new(-133.311844, 3.00001693, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2074. Part116.LeftSurface = Enum.SurfaceType.Weld
  2075. Part116.RightSurface = Enum.SurfaceType.Weld
  2076. Part116.Position = Vector3.new(-133.311844, 3.00001693, -97.09198)
  2077. Part116.Orientation = Vector3.new(0, -106.419998, 0)
  2078. Motor6D117.Name = "Right Shoulder"
  2079. Motor6D117.Parent = Part116
  2080. Motor6D117.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2081. Motor6D117.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2082. Motor6D117.Part0 = Part116
  2083. Motor6D117.Part1 = Part146
  2084. Motor6D117.DesiredAngle = -0.071470186114311
  2085. Motor6D117.MaxVelocity = 0.15000000596046
  2086. Motor6D118.Name = "Left Shoulder"
  2087. Motor6D118.Parent = Part116
  2088. Motor6D118.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2089. Motor6D118.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2090. Motor6D118.Part0 = Part116
  2091. Motor6D118.Part1 = Part145
  2092. Motor6D118.DesiredAngle = -0.071470186114311
  2093. Motor6D118.MaxVelocity = 0.15000000596046
  2094. Motor6D119.Name = "Right Hip"
  2095. Motor6D119.Parent = Part116
  2096. Motor6D119.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2097. Motor6D119.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2098. Motor6D119.Part0 = Part116
  2099. Motor6D119.Part1 = Part148
  2100. Motor6D119.DesiredAngle = 0.071470186114311
  2101. Motor6D119.MaxVelocity = 0.10000000149012
  2102. Motor6D120.Name = "Left Hip"
  2103. Motor6D120.Parent = Part116
  2104. Motor6D120.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2105. Motor6D120.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2106. Motor6D120.Part0 = Part116
  2107. Motor6D120.Part1 = Part147
  2108. Motor6D120.DesiredAngle = 0.071470186114311
  2109. Motor6D120.MaxVelocity = 0.10000000149012
  2110. Sound121.Name = "DMG"
  2111. Sound121.Parent = Part116
  2112. Sound121.Pitch = 1.25
  2113. Sound121.SoundId = "rbxassetid://138087186"
  2114. Sound121.Volume = 1
  2115. Sound122.Name = "DMG2"
  2116. Sound122.Parent = Part116
  2117. Sound122.SoundId = "rbxassetid://131237241"
  2118. Sound122.Volume = 1
  2119. Sound123.Name = "FinalFlash"
  2120. Sound123.Parent = Part116
  2121. Sound123.Pitch = 1.5
  2122. Sound123.SoundId = "rbxassetid://161251144"
  2123. Sound123.Volume = 1
  2124. Sound124.Name = "SaiyanEnergy"
  2125. Sound124.Parent = Part116
  2126. Sound124.Pitch = 6
  2127. Sound124.SoundId = "rbxassetid://98333808"
  2128. Sound124.Volume = 1
  2129. Sound125.Name = "SaiyanEnergy2"
  2130. Sound125.Parent = Part116
  2131. Sound125.SoundId = "rbxassetid://491515754"
  2132. Sound125.Volume = 1
  2133. Sound125.Looped = true
  2134. Motor6D126.Name = "Neck"
  2135. Motor6D126.Parent = Part116
  2136. Motor6D126.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2137. Motor6D126.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2138. Motor6D126.Part0 = Part116
  2139. Motor6D126.Part1 = Part105
  2140. Motor6D126.MaxVelocity = 0.10000000149012
  2141. ParticleEmitter127.Name = "BlackAura"
  2142. ParticleEmitter127.Parent = Part116
  2143. ParticleEmitter127.Transparency = NumberSequence.new(1,1)
  2144. ParticleEmitter127.Size = NumberSequence.new(7,7)
  2145. ParticleEmitter127.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  2146. ParticleEmitter127.LightEmission = 1
  2147. ParticleEmitter127.Texture = "rbxassetid://358965396"
  2148. ParticleEmitter127.Lifetime = NumberRange.new(1, 1)
  2149. ParticleEmitter127.Speed = NumberRange.new(9, 9)
  2150. ParticleEmitter127.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  2151. Script128.Parent = ParticleEmitter127
  2152. table.insert(cors,sandbox(Script128,function()
  2153. while true do --Loop
  2154. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  2155. wait(0.04)
  2156. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  2157. wait(0.04) --wait 1 second, you can change this and make it different for every one
  2158. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  2159. wait(0.04)
  2160. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  2161. wait(0.04)
  2162. end
  2163. end))
  2164. ParticleEmitter129.Name = "Aura2"
  2165. ParticleEmitter129.Parent = Part116
  2166. ParticleEmitter129.Transparency = NumberSequence.new(1,1)
  2167. ParticleEmitter129.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  2168. ParticleEmitter129.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
  2169. ParticleEmitter129.LightEmission = 0.55000001192093
  2170. ParticleEmitter129.Lifetime = NumberRange.new(1, 1)
  2171. ParticleEmitter129.Rate = 50
  2172. ParticleEmitter129.Speed = NumberRange.new(2, 2)
  2173. ParticleEmitter129.VelocitySpread = 50
  2174. ParticleEmitter129.Color = ColorSequence.new(Color3.new(0.333333, 0.666667, 1),Color3.new(0.333333, 0.666667, 1))
  2175. Script130.Parent = ParticleEmitter129
  2176. table.insert(cors,sandbox(Script130,function()
  2177. while true do --Loop
  2178. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
  2179. wait(0.04)
  2180. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
  2181. wait(0.04) --wait 1 second, you can change this and make it different for every one
  2182. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965632"
  2183. wait(0.04)
  2184. script.Parent.Texture = "http://www.roblox.com/asset/?id=358965664"
  2185. wait(0.04)
  2186. end
  2187. end))
  2188. ParticleEmitter131.Name = "Aura1"
  2189. ParticleEmitter131.Parent = Part116
  2190. ParticleEmitter131.Transparency = NumberSequence.new(1,1)
  2191. ParticleEmitter131.Size = NumberSequence.new(15,15)
  2192. ParticleEmitter131.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
  2193. ParticleEmitter131.LightEmission = 1.1799999475479
  2194. ParticleEmitter131.Texture = "rbxassetid://260611998"
  2195. ParticleEmitter131.ZOffset = 1
  2196. ParticleEmitter131.Lifetime = NumberRange.new(1, 1)
  2197. ParticleEmitter131.Rate = 120
  2198. ParticleEmitter131.Speed = NumberRange.new(15, 15)
  2199. ParticleEmitter131.Color = ColorSequence.new(Color3.new(0.117647, 0.117647, 0.117647),Color3.new(0.117647, 0.117647, 0.117647))
  2200. Script132.Parent = ParticleEmitter131
  2201. table.insert(cors,sandbox(Script132,function()
  2202. while true do --Loop
  2203. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  2204. wait(0.04)
  2205. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  2206. wait(0.04) --wait 1 second, you can change this and make it different for every one
  2207. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  2208. wait(0.04)
  2209. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  2210. wait(0.04)
  2211. end
  2212. end))
  2213. ParticleEmitter133.Name = "BlackAura2"
  2214. ParticleEmitter133.Parent = Part116
  2215. ParticleEmitter133.Transparency = NumberSequence.new(1,1)
  2216. ParticleEmitter133.Size = NumberSequence.new(10,10)
  2217. ParticleEmitter133.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2218. ParticleEmitter133.LightEmission = 1
  2219. ParticleEmitter133.Texture = "rbxassetid://260611998"
  2220. ParticleEmitter133.ZOffset = 1
  2221. ParticleEmitter133.Lifetime = NumberRange.new(1, 1)
  2222. ParticleEmitter133.Speed = NumberRange.new(10, 10)
  2223. ParticleEmitter133.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2224. Script134.Parent = ParticleEmitter133
  2225. table.insert(cors,sandbox(Script134,function()
  2226. while true do --Loop
  2227. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --Insert decal's first texture
  2228. wait(0.04)
  2229. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998" --second texture
  2230. wait(0.04) --wait 1 second, you can change this and make it different for every one
  2231. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  2232. wait(0.04)
  2233. script.Parent.Texture = "http://www.roblox.com/asset/?id=260611998"
  2234. wait(0.04)
  2235. end
  2236. end))
  2237. Sound135.Name = "Teleport"
  2238. Sound135.Parent = Part116
  2239. Sound135.Pitch = 2
  2240. Sound135.SoundId = "rbxassetid://216782105"
  2241. Sound135.Volume = 1
  2242. Sound136.Name = "Miss"
  2243. Sound136.Parent = Part116
  2244. Sound136.SoundId = "rbxassetid://174413237"
  2245. Sound137.Name = "Voice3"
  2246. Sound137.Parent = Part116
  2247. Sound137.Pitch = 1.2000000476837
  2248. Sound137.SoundId = "rbxassetid://190995007"
  2249. Sound137.Volume = 1
  2250. Sound138.Name = "Voice2"
  2251. Sound138.Parent = Part116
  2252. Sound138.Pitch = 0.30000001192093
  2253. Sound138.SoundId = "rbxassetid://132236830"
  2254. Sound138.Volume = 1
  2255. Sound139.Name = "Voice1"
  2256. Sound139.Parent = Part116
  2257. Sound139.Pitch = 1.2000000476837
  2258. Sound139.SoundId = "rbxassetid://159490394"
  2259. Sound139.Volume = 1
  2260. Sound140.Name = "Voice4"
  2261. Sound140.Parent = Part116
  2262. Sound140.Pitch = 6
  2263. Sound140.SoundId = "rbxassetid://216782105"
  2264. Sound140.Volume = 1
  2265. Part141.Name = "TeleportEffect"
  2266. Part141.Parent = Part116
  2267. Part141.Material = Enum.Material.SmoothPlastic
  2268. Part141.BrickColor = BrickColor.new("Institutional white")
  2269. Part141.Transparency = 1
  2270. Part141.Rotation = Vector3.new(0, -90, 0)
  2271. Part141.Anchored = true
  2272. Part141.CanCollide = false
  2273. Part141.FormFactor = Enum.FormFactor.Custom
  2274. Part141.Size = Vector3.new(2, 2, 1)
  2275. Part141.CFrame = CFrame.new(-14.9699554, 5.99001694, -126.007202, 0, 7.54698205e-22, -1, -5.23691863e-22, 1, 7.54698154e-22, 1, 5.23691913e-22, 0)
  2276. Part141.BottomSurface = Enum.SurfaceType.Smooth
  2277. Part141.TopSurface = Enum.SurfaceType.Smooth
  2278. Part141.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2279. Part141.Position = Vector3.new(-14.9699554, 5.99001694, -126.007202)
  2280. Part141.Orientation = Vector3.new(0, -90, 0)
  2281. Part141.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2282. BillboardGui142.Name = "Gui"
  2283. BillboardGui142.Parent = Part141
  2284. BillboardGui142.Size = UDim2.new(5, 0, 5, 0)
  2285. BillboardGui142.Active = true
  2286. ImageLabel143.Name = "Image"
  2287. ImageLabel143.Parent = BillboardGui142
  2288. ImageLabel143.Transparency = 1
  2289. ImageLabel143.Size = UDim2.new(2.5, 0, 2.5, 0)
  2290. ImageLabel143.Position = UDim2.new(0, -40, 0, -40)
  2291. ImageLabel143.Active = true
  2292. ImageLabel143.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  2293. ImageLabel143.BackgroundTransparency = 1
  2294. ImageLabel143.Image = "rbxassetid://507458850"
  2295. Script144.Parent = Part141
  2296. table.insert(cors,sandbox(Script144,function()
  2297. e = game:GetService("ReplicatedStorage")
  2298. script.Parent.Parent = e
  2299. script:Destroy()
  2300. end))
  2301. Part145.Name = "Left Arm"
  2302. Part145.Parent = Model104
  2303. Part145.Material = Enum.Material.SmoothPlastic
  2304. Part145.Transparency = 0.30000001192093
  2305. Part145.Rotation = Vector3.new(-180, -73.5800018, -180)
  2306. Part145.CanCollide = false
  2307. Part145.FormFactor = Enum.FormFactor.Symmetric
  2308. Part145.Size = Vector3.new(1, 2, 1)
  2309. Part145.CFrame = CFrame.new(-132.887909, 3.00001693, -98.5308304, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2310. Part145.Position = Vector3.new(-132.887909, 3.00001693, -98.5308304)
  2311. Part145.Orientation = Vector3.new(0, -106.419998, 0)
  2312. Part146.Name = "Right Arm"
  2313. Part146.Parent = Model104
  2314. Part146.Material = Enum.Material.SmoothPlastic
  2315. Part146.Transparency = 0.30000001192093
  2316. Part146.Rotation = Vector3.new(-180, -73.5800018, -180)
  2317. Part146.CanCollide = false
  2318. Part146.FormFactor = Enum.FormFactor.Symmetric
  2319. Part146.Size = Vector3.new(1, 2, 1)
  2320. Part146.CFrame = CFrame.new(-133.735779, 3.00001693, -95.6531296, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2321. Part146.Position = Vector3.new(-133.735779, 3.00001693, -95.6531296)
  2322. Part146.Orientation = Vector3.new(0, -106.419998, 0)
  2323. Part147.Name = "Left Leg"
  2324. Part147.Parent = Model104
  2325. Part147.Material = Enum.Material.SmoothPlastic
  2326. Part147.Transparency = 0.30000001192093
  2327. Part147.Rotation = Vector3.new(-180, -73.5800018, -180)
  2328. Part147.CanCollide = false
  2329. Part147.FormFactor = Enum.FormFactor.Symmetric
  2330. Part147.Size = Vector3.new(1, 2, 1)
  2331. Part147.CFrame = CFrame.new(-133.170532, 1.00001693, -97.5715942, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2332. Part147.BottomSurface = Enum.SurfaceType.Smooth
  2333. Part147.Position = Vector3.new(-133.170532, 1.00001693, -97.5715942)
  2334. Part147.Orientation = Vector3.new(0, -106.419998, 0)
  2335. Part148.Name = "Right Leg"
  2336. Part148.Parent = Model104
  2337. Part148.Material = Enum.Material.SmoothPlastic
  2338. Part148.Transparency = 0.30000001192093
  2339. Part148.Rotation = Vector3.new(-180, -73.5800018, -180)
  2340. Part148.CanCollide = false
  2341. Part148.FormFactor = Enum.FormFactor.Symmetric
  2342. Part148.Size = Vector3.new(1, 2, 1)
  2343. Part148.CFrame = CFrame.new(-133.453156, 1.00001693, -96.6123657, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2344. Part148.BottomSurface = Enum.SurfaceType.Smooth
  2345. Part148.Position = Vector3.new(-133.453156, 1.00001693, -96.6123657)
  2346. Part148.Orientation = Vector3.new(0, -106.419998, 0)
  2347. Humanoid149.Parent = Model104
  2348. Humanoid149.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  2349. Humanoid149.HealthDisplayDistance = 200
  2350. Humanoid149.NameDisplayDistance = 200
  2351. Humanoid149.RightLeg = Part148
  2352. Humanoid149.LeftLeg = Part147
  2353. Humanoid149.Torso = Part150
  2354. Humanoid149.Health = 30000
  2355. Humanoid149.MaxHealth = 30000
  2356. Humanoid149.WalkSpeed = 17
  2357. Part150.Name = "HumanoidRootPart"
  2358. Part150.Parent = Model104
  2359. Part150.Material = Enum.Material.SmoothPlastic
  2360. Part150.Transparency = 0.30000001192093
  2361. Part150.Rotation = Vector3.new(-180, -73.5800018, -180)
  2362. Part150.CanCollide = false
  2363. Part150.FormFactor = Enum.FormFactor.Symmetric
  2364. Part150.Size = Vector3.new(2, 2, 1)
  2365. Part150.CFrame = CFrame.new(-133.311844, 3.00001693, -97.09198, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  2366. Part150.BottomSurface = Enum.SurfaceType.Smooth
  2367. Part150.TopSurface = Enum.SurfaceType.Smooth
  2368. Part150.Position = Vector3.new(-133.311844, 3.00001693, -97.09198)
  2369. Part150.Orientation = Vector3.new(0, -106.419998, 0)
  2370. Motor6D151.Name = "RootJoint"
  2371. Motor6D151.Parent = Part150
  2372. Motor6D151.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2373. Motor6D151.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2374. Motor6D151.Part0 = Part150
  2375. Motor6D151.Part1 = Part116
  2376. Motor6D151.MaxVelocity = 0.10000000149012
  2377. Script152.Name = "zSpecial"
  2378. Script152.Parent = Model104
  2379. table.insert(cors,sandbox(Script152,function()
  2380. s = script.Parent
  2381.  
  2382. if s.Humanoid.Health > 0 then
  2383. bd = s.HumanoidRootPart.RootJoint
  2384. a1 = s.Torso:FindFirstChild("Left Shoulder")
  2385. a2 = s.Torso:FindFirstChild("Right Shoulder")
  2386. l1 = s.Torso:FindFirstChild("Left Hip")
  2387. l2 = s.Torso:FindFirstChild("Right Hip")
  2388. combo = false
  2389. Tele = false
  2390. transformed = false
  2391. hits = 0
  2392. end
  2393.  
  2394. --[[Basic Stats]]
  2395. attack = 50 --[[Combo Damage]]
  2396. force = 1000 --[[Energy Damage]]
  2397. needed = 100 --[[Hits for Special]]
  2398.  
  2399. function HalfReset()
  2400. if s.Humanoid.Health > 0 then
  2401. bd.C0 = bd.C1 * CFrame.new(0,0,0)
  2402. a1.C0 = a1.C1 * CFrame.new(0,0,1.5)
  2403. a2.C0 = a2.C1 * CFrame.new(0,0,1.5)
  2404. l1.C0 = l1.C1 * CFrame.new(0,-2,0.5)
  2405. l2.C0 = l2.C1 * CFrame.new(0,-2,0.5)
  2406. end
  2407. end
  2408.  
  2409. function FullReset()
  2410. if s.Humanoid.Health > 0 then
  2411. HalfReset()
  2412. combo = false
  2413. end
  2414. end
  2415.  
  2416. function Attack()
  2417. if combo == false and s.Humanoid.Health > 0 then
  2418. combo = true
  2419. local audio = math.random(1,2) --[[Random Play]]
  2420. if audio == 1 then s.Torso.Voice2:Play() s.Torso.Miss:Play() else s.Torso.Voice3:Play() s.Torso.Miss:Play() end
  2421. for i = 1,5 do wait()
  2422. a1.C0 = a1.C0 * CFrame.Angles(0,0,-0.32)
  2423. a2.C0 = a2.C0 * CFrame.Angles(0,0,0.32)
  2424. end
  2425. for i = 1,5 do wait()
  2426. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  2427. a2.C0 = a2.C0 * CFrame.Angles(0.2,0,0)
  2428. end
  2429. local audio = math.random(1,2) --[[Random Play]]
  2430. if audio == 1 then s.Torso.Voice3:Play() s.Torso.Miss:Play() else s.Torso.Voice2:Play() s.Torso.Miss:Play() end
  2431. for i = 1,5 do wait()
  2432. bd.C0 = bd.C0 * CFrame.Angles(0,0,-0.2)
  2433. a2.C0 = a2.C0 * CFrame.Angles(-0.3,0,0)
  2434. end
  2435. for i = 1,5 do wait()
  2436. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.2)
  2437. a1.C0 = a1.C0 * CFrame.Angles(0.2,0,0)
  2438. end
  2439. for i = 1,5 do wait()
  2440. bd.C0 = bd.C0 * CFrame.Angles(0,0,0.1)
  2441. a1.C0 = a1.C0 * CFrame.Angles(-0.3,0,0)
  2442. end
  2443. local audio = math.random(1,2) --[[Random Play]]
  2444. if audio == 1 then s.Torso.Miss:Play() else s.Torso.Miss:Play() end
  2445. FullReset()
  2446. end
  2447. end
  2448.  
  2449. function teleport()
  2450. if Tele == false then
  2451. Tele = true
  2452. wait(0.05)
  2453. s.Torso.Teleport:Play()
  2454. local effect = game.ReplicatedStorage.TeleportEffect:clone()
  2455. effect.Parent = s
  2456. effect.CFrame = s.Torso.CFrame * CFrame.Angles(0,5,0)
  2457. s.Torso.CFrame = s.Torso.CFrame * CFrame.new(0,0,-10)
  2458. wait(0.6)
  2459. effect:Destroy()
  2460. Tele = false
  2461. end
  2462. end
  2463.  
  2464. function Kamehameha()
  2465. if s.Humanoid.Health > 0 then
  2466. game:GetService("Chat"):Chat(s.Head,"Dark Flash!!",Enum.ChatColor.Red)
  2467. s.Torso.Voice4:Play()
  2468. local ball = Instance.new("Part")
  2469. ball.BrickColor = BrickColor.new("Dark blue")
  2470. ball.Material = "Neon"
  2471. ball.TopSurface = "Smooth"
  2472. ball.BottomSurface = "Smooth"
  2473. ball.FormFactor = "Custom"
  2474. ball.Size = Vector3.new(10,10,10)
  2475. ball.Transparency = 0
  2476. ball.Anchored = true
  2477. ball.CanCollide = false
  2478. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  2479. ball2 = Instance.new("Part")
  2480. ball2.BrickColor = BrickColor.new("Toothpaste")
  2481. ball2.Material = "Neon"
  2482. ball2.TopSurface = "Smooth"
  2483. ball2.BottomSurface = "Smooth"
  2484. ball2.FormFactor = "Custom"
  2485. ball2.Size = Vector3.new(15,15,15)
  2486. ball2.Transparency = 0.5
  2487. ball2.Anchored = true
  2488. ball2.CanCollide = false
  2489. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  2490. local mesh = Instance.new("SpecialMesh")
  2491. mesh.MeshType = "Sphere"
  2492. mesh.Parent = ball
  2493. local mesh2 = Instance.new("SpecialMesh")
  2494. mesh2.MeshType = "Sphere"
  2495. mesh2.Parent = ball2
  2496. ball.Parent = game.Workspace
  2497. ball2.Parent = game.Workspace
  2498. a1.C0 = a1.C0 * CFrame.Angles(0,0,-1.6)
  2499. a2.C0 = a2.C0 * CFrame.Angles(0,0,1.6)
  2500. a1.C0 = a1.C0 * CFrame.Angles(1,0,0)
  2501. a2.C0 = a2.C0 * CFrame.Angles(1,0,0)
  2502. ball.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  2503. ball2.CFrame = s.Torso.CFrame * CFrame.new(0,0.7,-2.5)
  2504. s.Torso.FinalFlash:Play()
  2505. local beam = Instance.new("Part")
  2506. beam.BrickColor = BrickColor.new("Dark blue")
  2507. beam.Material = "Neon"
  2508. beam.TopSurface = "Smooth"
  2509. beam.BottomSurface = "Smooth"
  2510. beam.FormFactor = "Custom"
  2511. beam.Size = Vector3.new(10,100,10)
  2512. beam.Transparency = 0
  2513. beam.Anchored = true
  2514. beam.CanCollide = false
  2515. beam.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  2516. beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
  2517. beam2 = Instance.new("Part")
  2518. beam2.BrickColor = BrickColor.new("Lime Green")
  2519. beam2.Material = "Neon"
  2520. beam2.TopSurface = "Smooth"
  2521. beam2.BottomSurface = "Smooth"
  2522. beam2.FormFactor = "Custom"
  2523. beam2.Size = Vector3.new(15,100,15)
  2524. beam2.Transparency = 0.5
  2525. beam2.Anchored = true
  2526. beam2.CanCollide = false
  2527. beam2.CFrame = s.Torso.CFrame * CFrame.new(0,1,-8)
  2528. beam2.CFrame = beam2.CFrame * CFrame.Angles(1.6,0,0)
  2529. local mesh = Instance.new("SpecialMesh")
  2530. mesh.Scale = Vector3.new(0.75,0.1,0.75)
  2531. mesh.Parent = beam
  2532. local mesh2 = Instance.new("SpecialMesh")
  2533. mesh2.Scale = Vector3.new(0.75,0.1,0.75)
  2534. mesh2.Parent = beam2
  2535. beam.Parent = game.Workspace
  2536. beam2.Parent = game.Workspace
  2537. beam2.Touched:connect(function(hit)
  2538. local h = hit.Parent:FindFirstChild("Humanoid")
  2539. if h ~= nil then
  2540. local hax = h.Parent:FindFirstChild("ForceField")
  2541. if hax == nil then
  2542. h.Health = h.Health - 5
  2543. h.Torso.CFrame = h.Torso.CFrame * CFrame.new(0,0,-2)
  2544. wait()
  2545. end
  2546. end
  2547. end)
  2548. for i = 1,40 do wait()
  2549. beam.CFrame = beam.CFrame * CFrame.new(0,-5,0)
  2550. beam2.CFrame = beam2.CFrame * CFrame.new(0,-5,0)
  2551. mesh.Scale = mesh.Scale + Vector3.new(0,0.1,0)
  2552. mesh2.Scale = mesh2.Scale + Vector3.new(0,0.1,0)
  2553. ball.Transparency = ball.Transparency + 0.025
  2554. ball2.Transparency = ball2.Transparency + 0.0125
  2555. beam.Transparency = beam.Transparency + 0.025
  2556. beam2.Transparency = beam2.Transparency + 0.0125
  2557. end
  2558. ball:Destroy()
  2559. ball2:Destroy()
  2560. beam:Destroy()
  2561. beam2:Destroy()
  2562. FullReset()
  2563. end
  2564. end
  2565.  
  2566. s.Humanoid.HealthChanged:connect(function()
  2567. if s.Humanoid.Health == s.Humanoid.Health - 500000 then
  2568. attack = attack + 10
  2569. force = force + 10
  2570. s.Humanoid.Health = s.Humanoid.Health + 100
  2571. end
  2572. if transformed == false and s.Humanoid.Health <= 40000 then
  2573. transformed = true
  2574. game:GetService("Chat"):Chat(s.Head,"Im Dark Aura Anime",Enum.ChatColor.Red)
  2575. ex2 = Instance.new("Explosion")
  2576. ex2.Position = s.Torso.Position
  2577. ex2.BlastPressure = 0
  2578. ex2.Parent = workspace
  2579. s.Torso.Voice2:Play()
  2580. s.Humanoid.Health = s.Humanoid.Health + 50000
  2581. s.Torso.BlackAura.Transparency = NumberSequence.new(0)
  2582. s.Torso.BlackAura2.Transparency = NumberSequence.new(0)
  2583. s.Torso.SaiyanEnergy:Play()
  2584. FullReset()
  2585. attack = attack + 13
  2586. force = force + 20
  2587. end
  2588. if transformed == true and s.Humanoid.Health <= 20000 then
  2589. game:GetService("Chat"):Chat(s.Head,"You have no chance againts me No foolin around!!",Enum.ChatColor.Red)
  2590. s.Torso.Voice1:Play()
  2591. ex2 = Instance.new("Explosion")
  2592. ex2.Position = s.Torso.Position
  2593. ex2.BlastPressure = 0
  2594. ex2.Parent = workspace
  2595. s.Humanoid.Health = s.Humanoid.Health + 10000
  2596. s.Humanoid.WalkSpeed = s.Humanoid.WalkSpeed * 2
  2597. s.Hair:Destroy()
  2598. s.Torso.BlackAura:Destroy()
  2599. s.Torso.BlackAura2:Destroy()
  2600. s.Torso.Aura1.Transparency = NumberSequence.new(0.3)
  2601. s.Torso.Aura2.Transparency = NumberSequence.new(0.3)
  2602. s.SuperSaiyanHair.Handle.Transparency = 0
  2603. s.Head.Decal.Texture = "rbxassetid://601974383"
  2604. s.Torso.SaiyanEnergy:Play()
  2605. s.Torso.SaiyanEnergy2:Play()
  2606. ball2.BrickColor = BrickColor.new("Toothpaste")
  2607. beam2.BrickColor = BrickColor.new("Toothpaste")
  2608. FullReset()
  2609. attack = attack + 10
  2610. force = force + 10
  2611. end
  2612. end)
  2613.  
  2614. s.Torso.Touched:connect(function(hit)
  2615. local h = hit.Parent:FindFirstChild("Humanoid")
  2616. if h ~= nil then
  2617. if hits < needed and s.Humanoid.Health > 0 then
  2618. local audio = math.random(1,2) --[[Random Play]]
  2619. if audio == 1 then s.Torso.DMG:Play() else s.Torso.DMG2:Play() end
  2620. h.Health = h.Health - attack
  2621. hits = hits + 1
  2622. Attack()
  2623. else
  2624. hits = 0
  2625. local ay = math.random(1,2)
  2626. if ay == 1 then
  2627. Kamehameha()
  2628. else
  2629. teleport()
  2630. end
  2631. end
  2632. end
  2633. end)
  2634. end))
  2635. Script153.Name = "Ragdoller"
  2636. Script153.Parent = Model104
  2637. table.insert(cors,sandbox(Script153,function()
  2638. print("Ragdoll script activated")
  2639. Gibs = game.Workspace
  2640.  
  2641. function getKillerOfHumanoidIfStillInGame(humanoid)
  2642. local tag = humanoid:findFirstChild("creator")
  2643. if tag ~= nil then
  2644. local killer = tag.Value
  2645. if killer.Parent ~= nil then
  2646. return killer
  2647. end
  2648. end
  2649. return nil
  2650. end
  2651.  
  2652. function OnDeath(Character)
  2653. local svch = Character
  2654. local hum = Character:findFirstChild("Humanoid")
  2655. local getkiller = getKillerOfHumanoidIfStillInGame(hum)
  2656. Character.Archivable = true
  2657. local chrclone = Character:clone()
  2658. Character.Archivable = false
  2659.  
  2660. local ch = chrclone:GetChildren()
  2661. local i
  2662. for i = 1,#ch do
  2663. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2664. ch[i]:remove()
  2665. end
  2666. end
  2667. local function Scan(ch)
  2668. local e
  2669. for e = 1,#ch do
  2670. Scan(ch[e]:GetChildren())
  2671. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2672. ch[e]:remove()
  2673. end
  2674. end
  2675. end
  2676. Scan(chrclone:GetChildren())
  2677.  
  2678. local hum2 = chrclone:findFirstChild("Humanoid")
  2679.  
  2680.  
  2681. if hum2 ~= nil then
  2682. hum2.Name = "Humanoid2"
  2683. hum2.PlatformStand = true
  2684. hum2.Sit = true
  2685. hum2.MaxHealth = 0
  2686. hum2.Health = 0
  2687. end
  2688.  
  2689. local ch = Character:GetChildren()
  2690. local i
  2691. for i = 1,#ch do
  2692. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2693. ch[i]:remove()
  2694. end
  2695. end
  2696.  
  2697. wait(0.2)
  2698.  
  2699. local ch = Character:GetChildren()
  2700. local i
  2701. for i = 1,#ch do
  2702. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2703. ch[i]:remove()
  2704. end
  2705. end
  2706. Character = chrclone
  2707. local Torso = Character.Torso
  2708. local movevector = Vector3.new()
  2709.  
  2710. if Torso then
  2711. if getkiller ~= nil then
  2712. if getkiller.Character ~= nil then
  2713. local killtors = getkiller.Character:findFirstChild("Torso")
  2714. if killtors ~= nil then
  2715. movevector = CFrame.new(killtors.Position,Torso.Position).lookVector
  2716. end
  2717. end
  2718. end
  2719. local Head = Character:FindFirstChild("Head")
  2720. if Head then
  2721. local Neck = Instance.new("Weld")
  2722. Neck.Name = "Neck"
  2723. Neck.Part0 = Torso
  2724. Neck.Part1 = Head
  2725. Neck.C0 = CFrame.new(0, 1.5, 0)
  2726. Neck.C1 = CFrame.new()
  2727. Neck.Parent = Torso
  2728.  
  2729. local nsc = script.CamAttach:clone()
  2730. nsc.CamPart.Value = hum2.Parent.Head
  2731. nsc.Disabled = false
  2732. nsc.Parent = svch
  2733. end
  2734. local Limb = Character:FindFirstChild("Right Arm")
  2735. if Limb then
  2736.  
  2737. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  2738. local Joint = Instance.new("Glue")
  2739. Joint.Name = "RightShoulder"
  2740. Joint.Part0 = Torso
  2741. Joint.Part1 = Limb
  2742. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2743. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2744. Joint.Parent = Torso
  2745.  
  2746. local B = Instance.new("Part")
  2747. B.TopSurface = 0
  2748. B.BottomSurface = 0
  2749. B.formFactor = "Symmetric"
  2750. B.Size = Vector3.new(1, 1, 1)
  2751. B.Transparency = 1
  2752. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2753. B.Parent = Character
  2754. local W = Instance.new("Weld")
  2755. W.Part0 = Limb
  2756. W.Part1 = B
  2757. W.C0 = CFrame.new(0, -0.5, 0)
  2758. W.Parent = Limb
  2759.  
  2760. end
  2761. local Limb = Character:FindFirstChild("Left Arm")
  2762. if Limb then
  2763.  
  2764. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  2765. local Joint = Instance.new("Glue")
  2766. Joint.Name = "LeftShoulder"
  2767. Joint.Part0 = Torso
  2768. Joint.Part1 = Limb
  2769. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2770. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2771. Joint.Parent = Torso
  2772.  
  2773. local B = Instance.new("Part")
  2774. B.TopSurface = 0
  2775. B.BottomSurface = 0
  2776. B.formFactor = "Symmetric"
  2777. B.Size = Vector3.new(1, 1, 1)
  2778. B.Transparency = 1
  2779. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2780. B.Parent = Character
  2781. local W = Instance.new("Weld")
  2782. W.Part0 = Limb
  2783. W.Part1 = B
  2784. W.C0 = CFrame.new(0, -0.5, 0)
  2785. W.Parent = Limb
  2786.  
  2787. end
  2788. local Limb = Character:FindFirstChild("Right Leg")
  2789. if Limb then
  2790.  
  2791. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  2792. local Joint = Instance.new("Glue")
  2793. Joint.Name = "RightHip"
  2794. Joint.Part0 = Torso
  2795. Joint.Part1 = Limb
  2796. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2797. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2798. Joint.Parent = Torso
  2799.  
  2800. local B = Instance.new("Part")
  2801. B.TopSurface = 0
  2802. B.BottomSurface = 0
  2803. B.formFactor = "Symmetric"
  2804. B.Size = Vector3.new(1, 1, 1)
  2805. B.Transparency = 1
  2806. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2807. B.Parent = Character
  2808. local W = Instance.new("Weld")
  2809. W.Part0 = Limb
  2810. W.Part1 = B
  2811. W.C0 = CFrame.new(0, -0.5, 0)
  2812. W.Parent = Limb
  2813.  
  2814. end
  2815. local Limb = Character:FindFirstChild("Left Leg")
  2816. if Limb then
  2817.  
  2818. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  2819. local Joint = Instance.new("Glue")
  2820. Joint.Name = "LeftHip"
  2821. Joint.Part0 = Torso
  2822. Joint.Part1 = Limb
  2823. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2824. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2825. Joint.Parent = Torso
  2826.  
  2827. local B = Instance.new("Part")
  2828. B.TopSurface = 0
  2829. B.BottomSurface = 0
  2830. B.formFactor = "Symmetric"
  2831. B.Size = Vector3.new(1, 1, 1)
  2832. B.Transparency = 1
  2833. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2834. B.Parent = Character
  2835. local W = Instance.new("Weld")
  2836. W.Part0 = Limb
  2837. W.Part1 = B
  2838. W.C0 = CFrame.new(0, -0.5, 0)
  2839. W.Parent = Limb
  2840.  
  2841. end
  2842. --[
  2843. local Bar = Instance.new("Part")
  2844. Bar.TopSurface = 0
  2845. Bar.BottomSurface = 0
  2846. Bar.formFactor = "Symmetric"
  2847. Bar.Size = Vector3.new(1, 1, 1)
  2848. Bar.Transparency = 1
  2849. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  2850. Bar.Parent = Character
  2851. local Weld = Instance.new("Weld")
  2852. Weld.Part0 = Torso
  2853. Weld.Part1 = Bar
  2854. Weld.C0 = CFrame.new(0, 0.5, 0)
  2855. Weld.Parent = Torso
  2856. --]]
  2857. end
  2858. Character.Parent = Gibs
  2859. game.Debris:AddItem(Character, 12)
  2860. if movevector ~= Vector3.new() then
  2861. for i = 1,10 do
  2862. wait()
  2863. Torso.Velocity = movevector * 30
  2864. end
  2865. end
  2866. end
  2867.  
  2868. script.Parent.Humanoid.Died:connect(function()
  2869. OnDeath(script.Parent)
  2870. end)
  2871.  
  2872.  
  2873. end))
  2874. LocalScript154.Name = "CamAttach"
  2875. LocalScript154.Parent = Script153
  2876. LocalScript154.Disabled = true
  2877. table.insert(cors,sandbox(LocalScript154,function()
  2878. wait()
  2879. game.Workspace.CurrentCamera.CameraSubject = script.CamPart.Value
  2880. end))
  2881. ObjectValue155.Name = "CamPart"
  2882. ObjectValue155.Parent = LocalScript154
  2883. Script156.Name = "zCharacter"
  2884. Script156.Parent = Model104
  2885. table.insert(cors,sandbox(Script156,function()
  2886. char = script.Parent
  2887.  
  2888. boot1 = char.Leg1.Part
  2889. boot1.Parent = char
  2890. boot1.CFrame = char['Left Leg'].CFrame
  2891. WeldL1 = Instance.new("Weld")
  2892. WeldL1.Parent = char['Left Leg']
  2893. WeldL1.Part0 = char['Left Leg']
  2894. WeldL1.Part1 = boot1
  2895. WeldL1.C0 = CFrame.new(0,-0.6,0)
  2896. boot2 = char.Leg2.Part
  2897. boot2.Parent = char
  2898. boot2.CFrame = char['Right Leg'].CFrame
  2899. WeldL2 = Instance.new("Weld")
  2900. WeldL2.Parent = char['Right Leg']
  2901. WeldL2.Part0 = char['Right Leg']
  2902. WeldL2.Part1 = boot2
  2903. WeldL2.C0 = CFrame.new(0,-0.6,0)
  2904.  
  2905. end))
  2906. Script157.Name = "zFollow"
  2907. Script157.Parent = Model104
  2908. table.insert(cors,sandbox(Script157,function()
  2909. s = script.Parent wait(0.5)
  2910. local larm = s:FindFirstChild("Left Arm")
  2911. local rarm = s:FindFirstChild("Right Arm")
  2912.  
  2913. function findNearestTorso(pos)
  2914. local list = game.Workspace:children()
  2915. local torso = nil
  2916. local dist = 50
  2917. local temp = nil
  2918. local human = nil
  2919. local temp2 = nil
  2920. for x = 1, #list do
  2921. temp2 = list[x]
  2922. if (temp2.className == "Model") and (temp2 ~= s) then
  2923. temp = temp2:FindFirstChild("Torso")
  2924. h = temp2:FindFirstChild("Humanoid")
  2925. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  2926. if (temp.Position - pos).magnitude < dist then
  2927. torso = temp
  2928. dist = (temp.Position - pos).magnitude
  2929. end
  2930. end
  2931. end
  2932. end
  2933. return torso
  2934. end
  2935.  
  2936. while true do
  2937. wait(0.1)
  2938. local antibug = s:FindFirstChild("Torso")
  2939. if antibug ~= nil then
  2940. local target = findNearestTorso(antibug.Position)
  2941. if target ~= nil then
  2942. s.Humanoid:MoveTo(target.Position, target)
  2943. end
  2944. end
  2945. end
  2946. end))
  2947. Script158.Name = "Animate"
  2948. Script158.Parent = Model104
  2949. table.insert(cors,sandbox(Script158,function()
  2950. function waitForChild(parent, childName)
  2951. local child = parent:findFirstChild(childName)
  2952. if child then return child end
  2953. while true do
  2954. child = parent.ChildAdded:wait()
  2955. if child.Name==childName then return child end
  2956. end
  2957. end
  2958.  
  2959. local Figure = script.Parent
  2960. local Torso = waitForChild(Figure, "Torso")
  2961. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  2962. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  2963. local RightHip = waitForChild(Torso, "Right Hip")
  2964. local LeftHip = waitForChild(Torso, "Left Hip")
  2965. local Neck = waitForChild(Torso, "Neck")
  2966. local Humanoid = waitForChild(Figure, "Humanoid")
  2967. local pose = "Standing"
  2968.  
  2969. local currentAnim = ""
  2970. local currentAnimTrack = nil
  2971. local currentAnimKeyframeHandler = nil
  2972. local oldAnimTrack = nil
  2973. local animTable = {}
  2974. local animNames = {
  2975. idle = {
  2976. { id = "http://www.roblox.com/asset/?id=529667700", weight = 9 },
  2977. { id = "http://www.roblox.com/asset/?id=529667700", weight = 1 }
  2978. },
  2979. walk = {
  2980. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  2981. },
  2982. run = {
  2983. { id = "run.xml", weight = 10 }
  2984. },
  2985. jump = {
  2986. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  2987. },
  2988. fall = {
  2989. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  2990. },
  2991. climb = {
  2992. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  2993. },
  2994. sit = {
  2995. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  2996. },
  2997. toolnone = {
  2998. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  2999. },
  3000. toolslash = {
  3001. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  3002. -- { id = "slash.xml", weight = 10 }
  3003. },
  3004. toollunge = {
  3005. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  3006. },
  3007. wave = {
  3008. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  3009. },
  3010. point = {
  3011. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  3012. },
  3013. dance = {
  3014. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  3015. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  3016. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  3017. },
  3018. dance2 = {
  3019. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  3020. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  3021. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  3022. },
  3023. dance3 = {
  3024. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  3025. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  3026. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  3027. },
  3028. laugh = {
  3029. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  3030. },
  3031. cheer = {
  3032. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  3033. },
  3034. }
  3035.  
  3036. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  3037. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  3038.  
  3039. math.randomseed(tick())
  3040.  
  3041. function configureAnimationSet(name, fileList)
  3042. if (animTable[name] ~= nil) then
  3043. for _, connection in pairs(animTable[name].connections) do
  3044. connection:disconnect()
  3045. end
  3046. end
  3047. animTable[name] = {}
  3048. animTable[name].count = 0
  3049. animTable[name].totalWeight = 0
  3050. animTable[name].connections = {}
  3051.  
  3052. -- check for config values
  3053. local config = script:FindFirstChild(name)
  3054. if (config ~= nil) then
  3055. -- print("Loading anims " .. name)
  3056. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  3057. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  3058. local idx = 1
  3059. for _, childPart in pairs(config:GetChildren()) do
  3060. if (childPart:IsA("Animation")) then
  3061. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  3062. animTable[name][idx] = {}
  3063. animTable[name][idx].anim = childPart
  3064. local weightObject = childPart:FindFirstChild("Weight")
  3065. if (weightObject == nil) then
  3066. animTable[name][idx].weight = 1
  3067. else
  3068. animTable[name][idx].weight = weightObject.Value
  3069. end
  3070. animTable[name].count = animTable[name].count + 1
  3071. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  3072. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  3073. idx = idx + 1
  3074. end
  3075. end
  3076. end
  3077.  
  3078. -- fallback to defaults
  3079. if (animTable[name].count <= 0) then
  3080. for idx, anim in pairs(fileList) do
  3081. animTable[name][idx] = {}
  3082. animTable[name][idx].anim = Instance.new("Animation")
  3083. animTable[name][idx].anim.Name = name
  3084. animTable[name][idx].anim.AnimationId = anim.id
  3085. animTable[name][idx].weight = anim.weight
  3086. animTable[name].count = animTable[name].count + 1
  3087. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  3088. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  3089. end
  3090. end
  3091. end
  3092.  
  3093. -- Setup animation objects
  3094. function scriptChildModified(child)
  3095. local fileList = animNames[child.Name]
  3096. if (fileList ~= nil) then
  3097. configureAnimationSet(child.Name, fileList)
  3098. end
  3099. end
  3100.  
  3101. script.ChildAdded:connect(scriptChildModified)
  3102. script.ChildRemoved:connect(scriptChildModified)
  3103.  
  3104.  
  3105. for name, fileList in pairs(animNames) do
  3106. configureAnimationSet(name, fileList)
  3107. end
  3108.  
  3109. -- ANIMATION
  3110.  
  3111. -- declarations
  3112. local toolAnim = "None"
  3113. local toolAnimTime = 0
  3114.  
  3115. local jumpAnimTime = 0
  3116. local jumpAnimDuration = 0.3
  3117.  
  3118. local toolTransitionTime = 0.1
  3119. local fallTransitionTime = 0.3
  3120. local jumpMaxLimbVelocity = 0.75
  3121.  
  3122. -- functions
  3123.  
  3124. function stopAllAnimations()
  3125. local oldAnim = currentAnim
  3126.  
  3127. -- return to idle if finishing an emote
  3128. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  3129. oldAnim = "idle"
  3130. end
  3131.  
  3132. currentAnim = ""
  3133. currentAnimInstance = nil
  3134. if (currentAnimKeyframeHandler ~= nil) then
  3135. currentAnimKeyframeHandler:disconnect()
  3136. end
  3137.  
  3138. if (currentAnimTrack ~= nil) then
  3139. currentAnimTrack:Stop()
  3140. currentAnimTrack:Destroy()
  3141. currentAnimTrack = nil
  3142. end
  3143. return oldAnim
  3144. end
  3145.  
  3146. function setAnimationSpeed(speed)
  3147. if speed ~= currentAnimSpeed then
  3148. currentAnimSpeed = speed
  3149. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  3150. end
  3151. end
  3152.  
  3153. function keyFrameReachedFunc(frameName)
  3154. if (frameName == "End") then
  3155.  
  3156. local repeatAnim = currentAnim
  3157. -- return to idle if finishing an emote
  3158. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  3159. repeatAnim = "idle"
  3160. end
  3161.  
  3162. local animSpeed = currentAnimSpeed
  3163. playAnimation(repeatAnim, 0.0, Humanoid)
  3164. setAnimationSpeed(animSpeed)
  3165. end
  3166. end
  3167.  
  3168. -- Preload animations
  3169. function playAnimation(animName, transitionTime, humanoid)
  3170.  
  3171. local roll = math.random(1, animTable[animName].totalWeight)
  3172. local origRoll = roll
  3173. local idx = 1
  3174. while (roll > animTable[animName][idx].weight) do
  3175. roll = roll - animTable[animName][idx].weight
  3176. idx = idx + 1
  3177. end
  3178. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  3179. local anim = animTable[animName][idx].anim
  3180.  
  3181. -- switch animation
  3182. if (anim ~= currentAnimInstance) then
  3183.  
  3184. if (currentAnimTrack ~= nil) then
  3185. currentAnimTrack:Stop(transitionTime)
  3186. currentAnimTrack:Destroy()
  3187. end
  3188.  
  3189. currentAnimSpeed = 1.0
  3190.  
  3191. -- load it to the humanoid; get AnimationTrack
  3192. currentAnimTrack = humanoid:LoadAnimation(anim)
  3193.  
  3194. -- play the animation
  3195. currentAnimTrack:Play(transitionTime)
  3196. currentAnim = animName
  3197. currentAnimInstance = anim
  3198.  
  3199. -- set up keyframe name triggers
  3200. if (currentAnimKeyframeHandler ~= nil) then
  3201. currentAnimKeyframeHandler:disconnect()
  3202. end
  3203. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  3204.  
  3205. end
  3206.  
  3207. end
  3208.  
  3209. -------------------------------------------------------------------------------------------
  3210. -------------------------------------------------------------------------------------------
  3211.  
  3212. local toolAnimName = ""
  3213. local toolAnimTrack = nil
  3214. local toolAnimInstance = nil
  3215. local currentToolAnimKeyframeHandler = nil
  3216.  
  3217. function toolKeyFrameReachedFunc(frameName)
  3218. if (frameName == "End") then
  3219. -- print("Keyframe : ".. frameName)
  3220. playToolAnimation(toolAnimName, 0.0, Humanoid)
  3221. end
  3222. end
  3223.  
  3224.  
  3225. function playToolAnimation(animName, transitionTime, humanoid)
  3226.  
  3227. local roll = math.random(1, animTable[animName].totalWeight)
  3228. local origRoll = roll
  3229. local idx = 1
  3230. while (roll > animTable[animName][idx].weight) do
  3231. roll = roll - animTable[animName][idx].weight
  3232. idx = idx + 1
  3233. end
  3234. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  3235. local anim = animTable[animName][idx].anim
  3236.  
  3237. if (toolAnimInstance ~= anim) then
  3238.  
  3239. if (toolAnimTrack ~= nil) then
  3240. toolAnimTrack:Stop()
  3241. toolAnimTrack:Destroy()
  3242. transitionTime = 0
  3243. end
  3244.  
  3245. -- load it to the humanoid; get AnimationTrack
  3246. toolAnimTrack = humanoid:LoadAnimation(anim)
  3247.  
  3248. -- play the animation
  3249. toolAnimTrack:Play(transitionTime)
  3250. toolAnimName = animName
  3251. toolAnimInstance = anim
  3252.  
  3253. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  3254. end
  3255. end
  3256.  
  3257. function stopToolAnimations()
  3258. local oldAnim = toolAnimName
  3259.  
  3260. if (currentToolAnimKeyframeHandler ~= nil) then
  3261. currentToolAnimKeyframeHandler:disconnect()
  3262. end
  3263.  
  3264. toolAnimName = ""
  3265. toolAnimInstance = nil
  3266. if (toolAnimTrack ~= nil) then
  3267. toolAnimTrack:Stop()
  3268. toolAnimTrack:Destroy()
  3269. toolAnimTrack = nil
  3270. end
  3271.  
  3272.  
  3273. return oldAnim
  3274. end
  3275.  
  3276. -------------------------------------------------------------------------------------------
  3277. -------------------------------------------------------------------------------------------
  3278.  
  3279.  
  3280. function onRunning(speed)
  3281. if speed>0.01 then
  3282. playAnimation("walk", 0.1, Humanoid)
  3283. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  3284. setAnimationSpeed(speed / 14.5)
  3285. end
  3286. pose = "Running"
  3287. else
  3288. playAnimation("idle", 0.1, Humanoid)
  3289. pose = "Standing"
  3290. end
  3291. end
  3292.  
  3293. function onDied()
  3294. pose = "Dead"
  3295. end
  3296.  
  3297. function onJumping()
  3298. playAnimation("jump", 0.1, Humanoid)
  3299. jumpAnimTime = jumpAnimDuration
  3300. pose = "Jumping"
  3301. end
  3302.  
  3303. function onClimbing(speed)
  3304. playAnimation("climb", 0.1, Humanoid)
  3305. setAnimationSpeed(speed / 12.0)
  3306. pose = "Climbing"
  3307. end
  3308.  
  3309. function onGettingUp()
  3310. pose = "GettingUp"
  3311. end
  3312.  
  3313. function onFreeFall()
  3314. if (jumpAnimTime <= 0) then
  3315. playAnimation("fall", fallTransitionTime, Humanoid)
  3316. end
  3317. pose = "FreeFall"
  3318. end
  3319.  
  3320. function onFallingDown()
  3321. pose = "FallingDown"
  3322. end
  3323.  
  3324. function onSeated()
  3325. pose = "Seated"
  3326. end
  3327.  
  3328. function onPlatformStanding()
  3329. pose = "PlatformStanding"
  3330. end
  3331.  
  3332. function onSwimming(speed)
  3333. if speed>0 then
  3334. pose = "Running"
  3335. else
  3336. pose = "Standing"
  3337. end
  3338. end
  3339.  
  3340. function getTool()
  3341. for _, kid in ipairs(Figure:GetChildren()) do
  3342. if kid.className == "Tool" then return kid end
  3343. end
  3344. return nil
  3345. end
  3346.  
  3347. function getToolAnim(tool)
  3348. for _, c in ipairs(tool:GetChildren()) do
  3349. if c.Name == "toolanim" and c.className == "StringValue" then
  3350. return c
  3351. end
  3352. end
  3353. return nil
  3354. end
  3355.  
  3356. function animateTool()
  3357.  
  3358. if (toolAnim == "None") then
  3359. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  3360. return
  3361. end
  3362.  
  3363. if (toolAnim == "Slash") then
  3364. playToolAnimation("toolslash", 0, Humanoid)
  3365. return
  3366. end
  3367.  
  3368. if (toolAnim == "Lunge") then
  3369. playToolAnimation("toollunge", 0, Humanoid)
  3370. return
  3371. end
  3372. end
  3373.  
  3374. function moveSit()
  3375. RightShoulder.MaxVelocity = 0.15
  3376. LeftShoulder.MaxVelocity = 0.15
  3377. RightShoulder:SetDesiredAngle(3.14 /2)
  3378. LeftShoulder:SetDesiredAngle(-3.14 /2)
  3379. RightHip:SetDesiredAngle(3.14 /2)
  3380. LeftHip:SetDesiredAngle(-3.14 /2)
  3381. end
  3382.  
  3383. local lastTick = 0
  3384.  
  3385. function move(time)
  3386. local amplitude = 1
  3387. local frequency = 1
  3388. local deltaTime = time - lastTick
  3389. lastTick = time
  3390.  
  3391. local climbFudge = 0
  3392. local setAngles = false
  3393.  
  3394. if (jumpAnimTime > 0) then
  3395. jumpAnimTime = jumpAnimTime - deltaTime
  3396. end
  3397.  
  3398. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  3399. playAnimation("fall", fallTransitionTime, Humanoid)
  3400. elseif (pose == "Seated") then
  3401. playAnimation("sit", 0.5, Humanoid)
  3402. return
  3403. elseif (pose == "Running") then
  3404. playAnimation("walk", 0.1, Humanoid)
  3405. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  3406. -- print("Wha " .. pose)
  3407. stopAllAnimations()
  3408. amplitude = 0.1
  3409. frequency = 1
  3410. setAngles = true
  3411. end
  3412.  
  3413. if (setAngles) then
  3414. desiredAngle = amplitude * math.sin(time * frequency)
  3415.  
  3416. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  3417. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  3418. RightHip:SetDesiredAngle(-desiredAngle)
  3419. LeftHip:SetDesiredAngle(-desiredAngle)
  3420. end
  3421.  
  3422. -- Tool Animation handling
  3423. local tool = getTool()
  3424. if tool and tool:FindFirstChild("Handle") then
  3425.  
  3426. animStringValueObject = getToolAnim(tool)
  3427.  
  3428. if animStringValueObject then
  3429. toolAnim = animStringValueObject.Value
  3430. -- message recieved, delete StringValue
  3431. animStringValueObject.Parent = nil
  3432. toolAnimTime = time + .3
  3433. end
  3434.  
  3435. if time > toolAnimTime then
  3436. toolAnimTime = 0
  3437. toolAnim = "None"
  3438. end
  3439.  
  3440. animateTool()
  3441. else
  3442. stopToolAnimations()
  3443. toolAnim = "None"
  3444. toolAnimInstance = nil
  3445. toolAnimTime = 0
  3446. end
  3447. end
  3448.  
  3449. -- connect events
  3450. Humanoid.Died:connect(onDied)
  3451. Humanoid.Running:connect(onRunning)
  3452. Humanoid.Jumping:connect(onJumping)
  3453. Humanoid.Climbing:connect(onClimbing)
  3454. Humanoid.GettingUp:connect(onGettingUp)
  3455. Humanoid.FreeFalling:connect(onFreeFall)
  3456. Humanoid.FallingDown:connect(onFallingDown)
  3457. Humanoid.Seated:connect(onSeated)
  3458. Humanoid.PlatformStanding:connect(onPlatformStanding)
  3459. Humanoid.Swimming:connect(onSwimming)
  3460.  
  3461. -- setup emote chat hook
  3462. game.Players.LocalPlayer.Chatted:connect(function(msg)
  3463. local emote = ""
  3464. if (string.sub(msg, 1, 3) == "/e ") then
  3465. emote = string.sub(msg, 4)
  3466. elseif (string.sub(msg, 1, 7) == "/emote ") then
  3467. emote = string.sub(msg, 8)
  3468. end
  3469.  
  3470. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  3471. playAnimation(emote, 0.1, Humanoid)
  3472. end
  3473.  
  3474. end)
  3475.  
  3476.  
  3477. -- main program
  3478.  
  3479. local runService = game:service("RunService");
  3480.  
  3481. -- initialize to idle
  3482. playAnimation("idle", 0.1, Humanoid)
  3483. pose = "Standing"
  3484.  
  3485. while Figure.Parent~=nil do
  3486. local _, time = wait(0.1)
  3487. move(time)
  3488. end
  3489.  
  3490.  
  3491.  
  3492. end))
  3493. StringValue159.Name = "climb"
  3494. StringValue159.Parent = Script158
  3495. Animation160.Name = "ClimbAnim"
  3496. Animation160.Parent = StringValue159
  3497. Animation160.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  3498. StringValue161.Name = "fall"
  3499. StringValue161.Parent = Script158
  3500. Animation162.Name = "FallAnim"
  3501. Animation162.Parent = StringValue161
  3502. Animation162.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  3503. StringValue163.Name = "idle"
  3504. StringValue163.Parent = Script158
  3505. Animation164.Name = "Animation1"
  3506. Animation164.Parent = StringValue163
  3507. Animation164.AnimationId = "rbxassetid://529667700"
  3508. NumberValue165.Name = "Weight"
  3509. NumberValue165.Parent = Animation164
  3510. NumberValue165.Value = 9
  3511. Animation166.Name = "Animation2"
  3512. Animation166.Parent = StringValue163
  3513. Animation166.AnimationId = "rbxassetid://529667700"
  3514. NumberValue167.Name = "Weight"
  3515. NumberValue167.Parent = Animation166
  3516. NumberValue167.Value = 1
  3517. StringValue168.Name = "jump"
  3518. StringValue168.Parent = Script158
  3519. Animation169.Name = "JumpAnim"
  3520. Animation169.Parent = StringValue168
  3521. Animation169.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  3522. StringValue170.Name = "run"
  3523. StringValue170.Parent = Script158
  3524. Animation171.Name = "RunAnim"
  3525. Animation171.Parent = StringValue170
  3526. Animation171.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3527. StringValue172.Name = "sit"
  3528. StringValue172.Parent = Script158
  3529. Animation173.Name = "SitAnim"
  3530. Animation173.Parent = StringValue172
  3531. Animation173.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  3532. StringValue174.Name = "toolnone"
  3533. StringValue174.Parent = Script158
  3534. Animation175.Name = "ToolNoneAnim"
  3535. Animation175.Parent = StringValue174
  3536. Animation175.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  3537. StringValue176.Name = "walk"
  3538. StringValue176.Parent = Script158
  3539. Animation177.Name = "WalkAnim"
  3540. Animation177.Parent = StringValue176
  3541. Animation177.AnimationId = "http://www.roblox.com/asset/?id=180426354"
  3542. Pants178.Name = "Pants"
  3543. Pants178.Parent = Model104
  3544. Pants178.PantsTemplate = "http://www.roblox.com/asset/?id=278125378"
  3545. Shirt179.Name = "Shirt"
  3546. Shirt179.Parent = Model104
  3547. Shirt179.ShirtTemplate = "http://www.roblox.com/asset/?id=380392822"
  3548. Hat180.Name = "Animazing Hair"
  3549. Hat180.Parent = Model104
  3550. Hat180.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
  3551. Part181.Name = "Handle"
  3552. Part181.Parent = Hat180
  3553. Part181.Rotation = Vector3.new(-180, -73.5800018, -180)
  3554. Part181.CanCollide = false
  3555. Part181.FormFactor = Enum.FormFactor.Custom
  3556. Part181.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
  3557. Part181.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  3558. Part181.BottomSurface = Enum.SurfaceType.Smooth
  3559. Part181.TopSurface = Enum.SurfaceType.Smooth
  3560. Part181.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
  3561. Part181.Orientation = Vector3.new(0, -106.419998, 0)
  3562. SpecialMesh182.Parent = Part181
  3563. SpecialMesh182.MeshId = "http://www.roblox.com/asset/?id=167554431 "
  3564. SpecialMesh182.TextureId = "http://www.roblox.com/asset/?id=167554469 "
  3565. SpecialMesh182.MeshType = Enum.MeshType.FileMesh
  3566. Hat183.Name = "RedWings"
  3567. Hat183.Parent = Model104
  3568. Hat183.AttachmentPos = Vector3.new(0, 1.25, 0.800000012)
  3569. Part184.Name = "Handle"
  3570. Part184.Parent = Hat183
  3571. Part184.Rotation = Vector3.new(-180, -73.5800018, -180)
  3572. Part184.CanCollide = false
  3573. Part184.FormFactor = Enum.FormFactor.Custom
  3574. Part184.Size = Vector3.new(2.80000019, 2.88000011, 2.22999978)
  3575. Part184.CFrame = CFrame.new(-132.544464, 3.75001717, -96.8658829, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  3576. Part184.BottomSurface = Enum.SurfaceType.Smooth
  3577. Part184.TopSurface = Enum.SurfaceType.Smooth
  3578. Part184.Position = Vector3.new(-132.544464, 3.75001717, -96.8658829)
  3579. Part184.Orientation = Vector3.new(0, -106.419998, 0)
  3580. SpecialMesh185.Parent = Part184
  3581. SpecialMesh185.MeshId = "http://www.roblox.com/asset/?id=215682815 "
  3582. SpecialMesh185.TextureId = "http://www.roblox.com/asset/?id=409607839"
  3583. SpecialMesh185.MeshType = Enum.MeshType.FileMesh
  3584. Script186.Name = "Respawn"
  3585. Script186.Parent = Model104
  3586. table.insert(cors,sandbox(Script186,function()
  3587. name="Humanoid"
  3588.  
  3589. robo=script.Parent:clone()
  3590.  
  3591. while true do
  3592. wait(1)
  3593. if script.Parent.Humanoid.Health<1 then
  3594. robot=robo:clone()
  3595. robot.Parent=script.Parent.Parent
  3596. robot:makeJoints()
  3597. script.Parent:remove()
  3598. end
  3599. end
  3600.  
  3601.  
  3602.  
  3603.  
  3604. end))
  3605. Hat187.Name = "Hair"
  3606. Hat187.Parent = Model104
  3607. Hat187.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
  3608. Part188.Name = "Handle"
  3609. Part188.Parent = Hat187
  3610. Part188.BrickColor = BrickColor.new("Electric blue")
  3611. Part188.Transparency = 1
  3612. Part188.Rotation = Vector3.new(-180, -73.5800018, -180)
  3613. Part188.CanCollide = false
  3614. Part188.FormFactor = Enum.FormFactor.Custom
  3615. Part188.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
  3616. Part188.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  3617. Part188.BottomSurface = Enum.SurfaceType.Smooth
  3618. Part188.TopSurface = Enum.SurfaceType.Smooth
  3619. Part188.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  3620. Part188.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
  3621. Part188.Orientation = Vector3.new(0, -106.419998, 0)
  3622. Part188.Color = Color3.new(0.0352941, 0.537255, 0.811765)
  3623. SpecialMesh189.Parent = Part188
  3624. SpecialMesh189.MeshId = "http://www.roblox.com/asset/?id=167554431 "
  3625. SpecialMesh189.MeshType = Enum.MeshType.FileMesh
  3626. Hat190.Name = "SuperSaiyanHair"
  3627. Hat190.Parent = Model104
  3628. Hat190.AttachmentPos = Vector3.new(-0.0500000007, 0.550000012, -0.075000003)
  3629. Part191.Name = "Handle"
  3630. Part191.Parent = Hat190
  3631. Part191.Transparency = 1
  3632. Part191.Rotation = Vector3.new(-180, -73.5800018, -180)
  3633. Part191.CanCollide = false
  3634. Part191.FormFactor = Enum.FormFactor.Custom
  3635. Part191.Size = Vector3.new(1.41002822, 1.81999815, 1.38000309)
  3636. Part191.CFrame = CFrame.new(-133.397919, 4.45001698, -97.0652161, -0.282620013, 0, -0.959231973, 0, 1, 0, 0.959231973, 0, -0.282620013)
  3637. Part191.BottomSurface = Enum.SurfaceType.Smooth
  3638. Part191.TopSurface = Enum.SurfaceType.Smooth
  3639. Part191.Position = Vector3.new(-133.397919, 4.45001698, -97.0652161)
  3640. Part191.Orientation = Vector3.new(0, -106.419998, 0)
  3641. SpecialMesh192.Parent = Part191
  3642. SpecialMesh192.MeshId = "http://www.roblox.com/asset/?id=167554431 "
  3643. SpecialMesh192.MeshType = Enum.MeshType.FileMesh
  3644. Script193.Parent = Part191
  3645. table.insert(cors,sandbox(Script193,function()
  3646. while true do
  3647. script.Parent.Color = Color3.new(math.random(), math.random(), math.random())
  3648. wait(0.5)
  3649. end
  3650. end))
  3651. for i,v in pairs(mas:GetChildren()) do
  3652. v.Parent = workspace
  3653. pcall(function() v:MakeJoints() end)
  3654. end
  3655. mas:Destroy()
  3656. for i,v in pairs(cors) do
  3657. spawn(function()
  3658. pcall(v)
  3659. end)
  3660. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement