Dark_EccentricYT

Untitled

Mar 16th, 2018
1,968
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.80 KB | None | 0 0
  1. wait(1)
  2.  
  3. -- variables
  4.  
  5. local player=game:service'Players'.LocalPlayer
  6. local char=player.Character
  7. local Humanoid = char.Humanoid
  8. local p = game.Players.LocalPlayer
  9. torso = char.Torso
  10. local learm = char["Left Arm"]
  11. local riarm = char["Right Arm"]
  12. local leleg = char["Left Leg"]
  13. local rileg = char["Right Leg"]
  14. local root = char.HumanoidRootPart
  15. local RootPart = char.HumanoidRootPart
  16. local hed = char.Head
  17.  
  18. Humanoid.WalkSpeed = 0
  19.  
  20. Colors = {"Navy blue"}
  21.  
  22. GroundWave1 = function()
  23. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  24.  
  25. local wave = Instance.new("Part", torso)
  26. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  27. wave.Anchored = true
  28. wave.CanCollide = false
  29. wave.Locked = true
  30. wave.Size = Vector3.new(1, 1, 1)
  31. wave.TopSurface = "Smooth"
  32. wave.BottomSurface = "Smooth"
  33. wave.Transparency = 0.35
  34. wave.CFrame = HandCF
  35. wm = Instance.new("SpecialMesh", wave)
  36. wm.MeshId = "rbxassetid://3270017"
  37. coroutine.wrap(function()
  38. for i = 1, 30, 1 do
  39. wm.Scale = Vector3.new(3 + i*3.2, 3 + i*3.2, 3)
  40. wave.Size = wm.Scale
  41. wave.CFrame = HandCF
  42. wave.Transparency = i/30
  43. wait()
  44. end
  45. wait()
  46. wave:Destroy()
  47. end)()
  48. end
  49. GroundBall1 = function()
  50. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  51.  
  52. local wave = Instance.new("Part", torso)
  53. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  54. wave.Anchored = true
  55. wave.CanCollide = false
  56. wave.Locked = true
  57. wave.Size = Vector3.new(1, 1, 1)
  58. wave.TopSurface = "Smooth"
  59. wave.BottomSurface = "Smooth"
  60. wave.Transparency = 0.35
  61. wave.CFrame = HandCF
  62. wm = Instance.new("SpecialMesh", wave)
  63. wm.MeshId = "rbxassetid://9982590"
  64. coroutine.wrap(function()
  65. for i = 1, 30, 1 do
  66. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1 + i*1.2)
  67. wave.Size = wm.Scale
  68. wave.CFrame = HandCF
  69. wave.Orientation = Vector3.new(0, 180, 0)
  70. wave.Transparency = i/30
  71. wait()
  72. end
  73. wait()
  74. wave:Destroy()
  75. end)()
  76. end
  77. GroundWave5 = function()
  78. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  79. Colors = {"Dark blue", "Dark blue"}
  80.  
  81. local wave11 = Instance.new("Part", char)
  82. wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  83. wave11.Anchored = true
  84. wave11.Name = "Wave"
  85. wave11.CanCollide = false
  86. wave11.Locked = true
  87. wave11.Size = Vector3.new(1, 1, 1)
  88. wave11.TopSurface = "Smooth"
  89. wave11.BottomSurface = "Smooth"
  90. wave11.Transparency = 0.35
  91. wave11.CFrame = HandCF
  92. wm31 = Instance.new("SpecialMesh", wave11)
  93. wm31.MeshId = "rbxassetid://3270017"
  94. coroutine.wrap(function()
  95. for i = 1, 30, 1 do
  96. wm31.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  97. wave11.Size = wm31.Scale
  98. wave11.CFrame = HandCF
  99. wave11.Transparency = i/30
  100. wait()
  101. end
  102. wait()
  103. wave11:Destroy()
  104. end)()
  105. end
  106. GroundWave6 = function()
  107. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0))
  108. Colors = {"White", "Dark blue"}
  109. local wave111 = Instance.new("Part", char)
  110. wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  111. wave111.Anchored = true
  112. wave111.Name = "Wave"
  113. wave111.CanCollide = false
  114. wave111.Locked = true
  115. wave111.Size = Vector3.new(1, 1, 1)
  116. wave111.TopSurface = "Smooth"
  117. wave111.BottomSurface = "Smooth"
  118. wave111.Transparency = 0.35
  119. wave111.CFrame = HandCF
  120. wm311 = Instance.new("SpecialMesh", wave111)
  121. wm311.MeshId = "rbxassetid://3270017"
  122. coroutine.wrap(function()
  123. for i = 1, 30, 1 do
  124. wm311.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  125. wave111.Size = wm311.Scale
  126. wave111.CFrame = HandCF
  127. wave111.Transparency = i/30
  128. wait()
  129. end
  130. wait()
  131. wave111:Destroy()
  132. end)()
  133. end
  134. GroundWave7 = function()
  135. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50))
  136. Colors = {"Dark blue", "White"}
  137. local wave1111 = Instance.new("Part", char)
  138. wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  139. wave1111.Anchored = true
  140. wave1111.Name = "Wave"
  141. wave1111.CanCollide = false
  142. wave1111.Locked = true
  143. wave1111.Size = Vector3.new(1, 1, 1)
  144. wave1111.TopSurface = "Smooth"
  145. wave1111.BottomSurface = "Smooth"
  146. wave1111.Transparency = 0.35
  147. wave1111.CFrame = HandCF
  148. wm3111 = Instance.new("SpecialMesh", wave1111)
  149. wm3111.MeshId = "rbxassetid://3270017"
  150. coroutine.wrap(function()
  151. for i = 1, 30, 1 do
  152. wm3111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  153. wave1111.Size = wm3111.Scale
  154. wave1111.CFrame = HandCF
  155. wave1111.Transparency = i/30
  156. wait()
  157. end
  158. wait()
  159. wave1111:Destroy()
  160. end)()
  161. end
  162. GroundWave8 = function()
  163. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(60), math.rad(30), math.rad(0))
  164. Colors = {"Dark blue", "Dark blue"}
  165. local wave11111 = Instance.new("Part", char)
  166. wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  167. wave11111.Anchored = true
  168. wave11111.Name = "Wave"
  169. wave11111.CanCollide = false
  170. wave11111.Locked = true
  171. wave11111.Size = Vector3.new(1, 1, 1)
  172. wave11111.TopSurface = "Smooth"
  173. wave11111.BottomSurface = "Smooth"
  174. wave11111.Transparency = 0.35
  175. wave11111.CFrame = HandCF
  176. wm31111 = Instance.new("SpecialMesh", wave11111)
  177. wm31111.MeshId = "rbxassetid://3270017"
  178. coroutine.wrap(function()
  179. for i = 1, 30, 1 do
  180. wm31111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  181. wave11111.Size = wm31111.Scale
  182. wave11111.CFrame = HandCF
  183. wave11111.Transparency = i/30
  184. wait()
  185. end
  186. wait()
  187. wave11111:Destroy()
  188. end)()
  189. end
  190. GroundWave9 = function()
  191. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(50), math.rad(70))
  192.  
  193. Colors = {"Cyan", "White"}
  194. local wave111111 = Instance.new("Part", char)
  195. wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  196. wave111111.Anchored = true
  197. wave111111.Name = "Wave"
  198. wave111111.CanCollide = false
  199. wave111111.Locked = true
  200. wave111111.Size = Vector3.new(1, 1, 1)
  201. wave111111.TopSurface = "Smooth"
  202. wave111111.BottomSurface = "Smooth"
  203. wave111111.Transparency = 0.35
  204. wave111111.CFrame = HandCF
  205. wm311111 = Instance.new("SpecialMesh", wave111111)
  206. wm311111.MeshId = "rbxassetid://3270017"
  207. coroutine.wrap(function()
  208. for i = 1, 30, 1 do
  209. wm311111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  210. wave111111.Size = wm311111.Scale
  211. wave111111.CFrame = HandCF
  212. wave111111.Transparency = i/30
  213. wait()
  214. end
  215. wait()
  216. wave111111:Destroy()
  217. end)()
  218. end
  219. GroundWave10 = function()
  220. local HandCF = RootPart.CFrame * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0))
  221. Colors = {"White", "Dark blue"}
  222. local wave1111111 = Instance.new("Part", char)
  223. wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  224. wave1111111.Anchored = true
  225. wave1111111.Name = "Wave"
  226. wave1111111.CanCollide = false
  227. wave1111111.Locked = true
  228. wave1111111.Size = Vector3.new(1, 1, 1)
  229. wave1111111.TopSurface = "Smooth"
  230. wave1111111.BottomSurface = "Smooth"
  231. wave1111111.Transparency = 0.35
  232. wave1111111.CFrame = HandCF
  233. wm3111111 = Instance.new("SpecialMesh", wave1111111)
  234. wm3111111.MeshId = "rbxassetid://3270017"
  235. coroutine.wrap(function()
  236. for i = 1, 30, 1 do
  237. wm3111111.Scale = Vector3.new(5 + i*5.2, 5 + i*5.2, 5)
  238. wave1111111.Size = wm3111111.Scale
  239. wave1111111.CFrame = HandCF
  240. wave1111111.Transparency = i/30
  241. wait()
  242. end
  243. wait()
  244. wave1111111:Destroy()
  245. end)()
  246. end
  247.  
  248. GroundBall1()
  249. wait(1)
  250. wm:Destroy()
  251. GroundBall1()
  252. wait(1)
  253. wm:Destroy()
  254. GroundBall1()
  255. wait(1)
  256. wm:Destroy()
  257. GroundBall1()
  258. wait(1)
  259. wm:Destroy()
  260. GroundBall1()
  261. wait(1)
  262. wm:Destroy()
  263. GroundWave7()
  264. GroundWave8()
  265. GroundWave9()
  266. GroundWave10()
  267. wait(1)
  268.  
  269. local Aura = Instance.new('ParticleEmitter')
  270. Aura.Name = "Aura"
  271. Aura.Texture = "rbxassetid://833874434"
  272. Aura.Parent = larm
  273. Aura.LightEmission = 1
  274. Aura.Transparency = NumberSequence.new(1,0.2,1)
  275. Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  276. Aura.Size = NumberSequence.new(0.8,0.8,0.1)
  277. Aura.LockedToPart = true
  278. Aura.Lifetime = NumberRange.new(1)
  279. Aura.Rate = 100
  280. Aura.Speed = NumberRange.new(0.3)
  281. Aura.EmissionDirection = "Top"
  282.  
  283.  
  284. local Aura = Instance.new('ParticleEmitter')
  285. Aura.Name = "Aura"
  286. Aura.Texture = "rbxassetid://833874434"
  287. Aura.Parent = hed
  288. Aura.LightEmission = 1
  289. Aura.Transparency = NumberSequence.new(1,0.2,1)
  290. Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  291. Aura.Size = NumberSequence.new(0.8,0.8,0.1)
  292. Aura.LockedToPart = true
  293. Aura.Lifetime = NumberRange.new(1)
  294. Aura.Rate = 100
  295. Aura.Speed = NumberRange.new(0)
  296. Aura.EmissionDirection = "Top"
  297. local Aura2 = Instance.new('ParticleEmitter')
  298. Aura2.Name = "Aura"
  299. Aura2.Texture = "rbxassetid://833874434"
  300. Aura2.Parent = riarm
  301. Aura2.LightEmission = 1
  302. Aura2.Transparency = NumberSequence.new(1,0.2,1)
  303. Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  304. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  305. Aura2.LockedToPart = true
  306. Aura2.Lifetime = NumberRange.new(1)
  307. Aura2.Rate = 100
  308. Aura2.Speed = NumberRange.new(0.3)
  309. Aura2.EmissionDirection = "Top"
  310. local Aura2 = Instance.new('ParticleEmitter')
  311. Aura2.Name = "Aura"
  312. Aura2.Texture = "rbxassetid://833874434"
  313. Aura2.Parent = leleg
  314. Aura2.LightEmission = 1
  315. Aura2.Transparency = NumberSequence.new(1,0.2,1)
  316. Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  317. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  318. Aura2.LockedToPart = true
  319. Aura2.Lifetime = NumberRange.new(1)
  320. Aura2.Rate = 100
  321. Aura2.Speed = NumberRange.new(0.3)
  322. Aura2.EmissionDirection = "Top"
  323. local Aura2 = Instance.new('ParticleEmitter')
  324. Aura2.Name = "Aura"
  325. Aura2.Texture = "rbxassetid://833874434"
  326. Aura2.Parent = rileg
  327. Aura2.LightEmission = 1
  328. Aura2.Transparency = NumberSequence.new(1,0.2,1)
  329. Aura2.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
  330. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  331. Aura2.LockedToPart = true
  332. Aura2.Lifetime = NumberRange.new(1)
  333. Aura2.Rate = 100
  334. Aura2.Speed = NumberRange.new(0.3)
  335. Aura2.EmissionDirection = "Top"
  336. ---aura2
  337. local Aura = Instance.new('ParticleEmitter')
  338. Aura.Name = "Aura"
  339. Aura.Texture = "rbxassetid://833874434"
  340. Aura.Parent = learm
  341. Aura.LightEmission = 1
  342. Aura.Transparency = NumberSequence.new(1,0.4,1)
  343. Aura.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  344. Aura.Size = NumberSequence.new(0.8,0.8,0.1)
  345. Aura.LockedToPart = true
  346. Aura.Lifetime = NumberRange.new(1)
  347. Aura.Rate = 60
  348. Aura.Speed = NumberRange.new(0.3)
  349. Aura.EmissionDirection = "Top"
  350. local Aura2 = Instance.new('ParticleEmitter')
  351. Aura2.Name = "Aura"
  352. Aura2.Texture = "rbxassetid://833874434"
  353. Aura2.Parent = riarm
  354. Aura2.LightEmission = 1
  355. Aura2.Transparency = NumberSequence.new(1,0.4,1)
  356. Aura2.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  357. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  358. Aura2.LockedToPart = true
  359. Aura2.Lifetime = NumberRange.new(1)
  360. Aura2.Rate = 60
  361. Aura2.Speed = NumberRange.new(0.3)
  362. Aura2.EmissionDirection = "Top"
  363. local Aura2 = Instance.new('ParticleEmitter')
  364. Aura2.Name = "Aura"
  365. Aura2.Texture = "rbxassetid://833874434"
  366. Aura2.Parent = leleg
  367. Aura2.LightEmission = 1
  368. Aura2.Transparency = NumberSequence.new(1,0.4,1)
  369. Aura2.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  370. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  371. Aura2.LockedToPart = true
  372. Aura2.Lifetime = NumberRange.new(1)
  373. Aura2.Rate = 60
  374. Aura2.Speed = NumberRange.new(0.1)
  375. Aura2.EmissionDirection = "Top"
  376. local Aura2 = Instance.new('ParticleEmitter')
  377. Aura2.Name = "Aura"
  378. Aura2.Texture = "rbxassetid://833874434"
  379. Aura2.Parent = rileg
  380. Aura2.LightEmission = 1
  381. Aura2.Transparency = NumberSequence.new(1,0.4,1)
  382. Aura2.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  383. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  384. Aura2.LockedToPart = true
  385. Aura2.Lifetime = NumberRange.new(1)
  386. Aura2.Rate = 60
  387. Aura2.Speed = NumberRange.new(0.3)
  388. Aura2.EmissionDirection = "Top"
  389. ----aura3
  390. ---aura2
  391. local Aura = Instance.new('ParticleEmitter')
  392. Aura.Name = "Aura"
  393. Aura.Texture = "rbxassetid://833874434"
  394. Aura.Parent = learm
  395. Aura.LightEmission = 1
  396. Aura.Transparency = NumberSequence.new(1,0.7,1)
  397. Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
  398. Aura.Size = NumberSequence.new(0.8,0.8,0.1)
  399. Aura.LockedToPart = true
  400. Aura.Lifetime = NumberRange.new(1)
  401. Aura.Rate = 60
  402. Aura.Speed = NumberRange.new(0.3)
  403. Aura.EmissionDirection = "Top"
  404. local Aura2 = Instance.new('ParticleEmitter')
  405. Aura2.Name = "Aura"
  406. Aura2.Texture = "rbxassetid://833874434"
  407. Aura2.Parent = riarm
  408. Aura2.LightEmission = 1
  409. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  410. Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
  411. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  412. Aura2.LockedToPart = true
  413. Aura2.Lifetime = NumberRange.new(1)
  414. Aura2.Rate = 60
  415. Aura2.Speed = NumberRange.new(0.3)
  416. Aura2.EmissionDirection = "Top"
  417. local Aura2 = Instance.new('ParticleEmitter')
  418. Aura2.Name = "Aura"
  419. Aura2.Texture = "rbxassetid://833874434"
  420. Aura2.Parent = leleg
  421. Aura2.LightEmission = 1
  422. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  423. Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
  424. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  425. Aura2.LockedToPart = true
  426. Aura2.Lifetime = NumberRange.new(1)
  427. Aura2.Rate = 60
  428. Aura2.Speed = NumberRange.new(0.3)
  429. Aura2.EmissionDirection = "Top"
  430. local Aura2 = Instance.new('ParticleEmitter')
  431. Aura2.Name = "Aura"
  432. Aura2.Texture = "rbxassetid://833874434"
  433. Aura2.Parent = rileg
  434. Aura2.LightEmission = 1
  435. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  436. Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
  437. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  438. Aura2.LockedToPart = true
  439. Aura2.Lifetime = NumberRange.new(0.6)
  440. Aura2.Rate = 60
  441. Aura2.Speed = NumberRange.new(0.3)
  442. Aura2.EmissionDirection = "Top"
  443. ----
  444.  
  445. ---aura2
  446. local Aura = Instance.new('ParticleEmitter')
  447. Aura.Name = "Aura"
  448. Aura.Texture = "rbxassetid://833874434"
  449. Aura.Parent = learm
  450. Aura.LightEmission = 1
  451. Aura.Transparency = NumberSequence.new(1,0.7,1)
  452. Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  453. Aura.Size = NumberSequence.new(0.8,0.8,0.1)
  454. Aura.LockedToPart = true
  455. Aura.Lifetime = NumberRange.new(1)
  456. Aura.Rate = 60
  457. Aura.Speed = NumberRange.new(0.3)
  458. Aura.EmissionDirection = "Top"
  459. local Aura2 = Instance.new('ParticleEmitter')
  460. Aura2.Name = "Aura"
  461. Aura2.Texture = "rbxassetid://833874434"
  462. Aura2.Parent = riarm
  463. Aura2.LightEmission = 1
  464. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  465. Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  466. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  467. Aura2.LockedToPart = true
  468. Aura2.Lifetime = NumberRange.new(1)
  469. Aura2.Rate = 60
  470. Aura2.Speed = NumberRange.new(0.3)
  471. Aura2.EmissionDirection = "Top"
  472. local Aura2 = Instance.new('ParticleEmitter')
  473. Aura2.Name = "Aura"
  474. Aura2.Texture = "rbxassetid://833874434"
  475. Aura2.Parent = leleg
  476. Aura2.LightEmission = 1
  477. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  478. Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  479. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  480. Aura2.LockedToPart = true
  481. Aura2.Lifetime = NumberRange.new(1)
  482. Aura2.Rate = 60
  483. Aura2.Speed = NumberRange.new(0.3)
  484. Aura2.EmissionDirection = "Top"
  485. local Aura2 = Instance.new('ParticleEmitter')
  486. Aura2.Name = "Aura"
  487. Aura2.Texture = "rbxassetid://833874434"
  488. Aura2.Parent = rileg
  489. Aura2.LightEmission = 1
  490. Aura2.Transparency = NumberSequence.new(1,0.7,1)
  491. Aura2.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  492. Aura2.Size = NumberSequence.new(0.8,0.8,0.1)
  493. Aura2.LockedToPart = true
  494. Aura2.Lifetime = NumberRange.new(0.6)
  495. Aura2.Rate = 60
  496. Aura2.Speed = NumberRange.new(0.3)
  497. Aura2.EmissionDirection = "Top"
  498. local tra = Instance.new('ParticleEmitter')
  499. tra.Parent = torso
  500. tra.LightEmission = 1
  501. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  502. tra.Rate = 15
  503. tra.Rotation = NumberRange.new(-5, 5)
  504. tra.Lifetime = NumberRange.new(1.5, 2)
  505. tra.Size = NumberSequence.new(0.098,0)
  506. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  507. tra.Speed = NumberRange.new(0.5)
  508. tra.VelocitySpread = 360
  509. tra.VelocityInheritance = 0.5
  510. tra.ZOffset = 2
  511. local tra = Instance.new('ParticleEmitter')
  512. tra.Parent = hed
  513. tra.LightEmission = 1
  514. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  515. tra.Rate = 15
  516. tra.Rotation = NumberRange.new(-5, 5)
  517. tra.Lifetime = NumberRange.new(1.5, 2)
  518. tra.Size = NumberSequence.new(0.098,0)
  519. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  520. tra.Speed = NumberRange.new(0.5)
  521. tra.VelocitySpread = 360
  522. tra.VelocityInheritance = 0.5
  523. tra.ZOffset = 2
  524. local tra = Instance.new('ParticleEmitter')
  525. tra.Parent = learm
  526. tra.LightEmission = 1
  527. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  528. tra.Rate = 15
  529. tra.Rotation = NumberRange.new(-5, 5)
  530. tra.Lifetime = NumberRange.new(1.5, 2)
  531. tra.Size = NumberSequence.new(0.098,0)
  532. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  533. tra.Speed = NumberRange.new(0.5)
  534. tra.VelocitySpread = 360
  535. tra.VelocityInheritance = 0.5
  536. tra.ZOffset = 2
  537. local tra = Instance.new('ParticleEmitter')
  538. tra.Parent = riarm
  539. tra.LightEmission = 1
  540. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  541. tra.Rate = 15
  542. tra.Rotation = NumberRange.new(-5, 5)
  543. tra.Lifetime = NumberRange.new(1.5, 2)
  544. tra.Size = NumberSequence.new(0.098,0)
  545. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  546. tra.Speed = NumberRange.new(0.5)
  547. tra.VelocitySpread = 360
  548. tra.VelocityInheritance = 0.5
  549. tra.ZOffset = 2
  550. local tra = Instance.new('ParticleEmitter')
  551. tra.Parent = leleg
  552. tra.LightEmission = 1
  553. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  554. tra.Rate = 15
  555. tra.Rotation = NumberRange.new(-5, 5)
  556. tra.Lifetime = NumberRange.new(1.5, 2)
  557. tra.Size = NumberSequence.new(0.098,0)
  558. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  559. tra.Speed = NumberRange.new(0.5)
  560. tra.VelocitySpread = 360
  561. tra.VelocityInheritance = 0.5
  562. tra.ZOffset = 2
  563. local tra = Instance.new('ParticleEmitter')
  564. tra.Parent = rileg
  565. tra.LightEmission = 1
  566. tra.Color = ColorSequence.new(BrickColor.new("White").Color)
  567. tra.Rate = 15
  568. tra.Rotation = NumberRange.new(-5, 5)
  569. tra.Lifetime = NumberRange.new(1.5, 2)
  570. tra.Size = NumberSequence.new(0.098,0)
  571. tra.Transparency = NumberSequence.new(0.2,0.3,1)
  572. tra.Speed = NumberRange.new(0.5)
  573. tra.VelocitySpread = 360
  574. tra.VelocityInheritance = 0.5
  575. tra.ZOffset = 2
  576.  
  577.  
  578. -- avatar shit
  579.  
  580. for i,v in pairs(char:children()) do
  581. if v:IsA("Accessory") then
  582. v:Destroy()
  583. end
  584. end
  585.  
  586. shirt = Instance.new("Shirt", char)
  587. shirt.Name = "Shirt"
  588. pants = Instance.new("Pants", char)
  589. pants.Name = "Pants"
  590. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=980582561" -- everything went in an unexpected manner
  591. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=967791292"
  592.  
  593. -- body colors
  594.  
  595. char["Body Colors"].HeadColor = BrickColor.new("Navy blue")
  596. char["Body Colors"].TorsoColor = BrickColor.new("Navy blue")
  597. char["Body Colors"].LeftArmColor = BrickColor.new("Navy blue")
  598. char["Body Colors"].RightArmColor = BrickColor.new("Navy blue")
  599. char["Body Colors"].LeftLegColor = BrickColor.new("Navy blue")
  600. char["Body Colors"].RightLegColor = BrickColor.new("Navy blue")
  601.  
  602.  
  603. Hair7 = Instance.new("Part")
  604. Hair7.Parent = p.Character
  605. Hair7.Name = "Hair"
  606. Hair7.CanCollide = false
  607. Hair7.Locked = true
  608. Hair7.TopSurface = "Smooth"
  609. Hair7.BottomSurface = "Smooth"
  610. Hair7.formFactor = "Symmetric"
  611. Hair7.Material = "Metal"
  612. Hair7.BrickColor = BrickColor.new("Navy blue")
  613. Hair7.CFrame = p.Character.Torso.CFrame
  614. Hair7.Size = Vector3.new(1, 1, 1)
  615. Hair7.Transparency = 0
  616.  
  617. Weld1 = Instance.new("Weld")
  618. Weld1.Parent = p.Character.Head
  619. Weld1.Part0 = p.Character.Head
  620. Weld1.Part1 = Hair7
  621. Weld1.C0 = CFrame.new(0, 1, 0)
  622.  
  623. Mesh = Instance.new("SpecialMesh")
  624. Mesh.Offset = Vector3.new(0, -0.2, 0)
  625. Mesh.Parent = Hair7
  626. Mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  627. Mesh.MeshType = "FileMesh"
  628. Mesh.MeshId = "http://www.roblox.com/asset/?id=1197096309"
  629. Mesh.TextureId = ""
  630.  
  631. -- getting attack set up
  632.  
  633. wait()
  634. script.Parent=nil
  635. function Fire(cframee)
  636. local part = Instance.new("Part", game.Players.LocalPlayer.Character)
  637. part.FormFactor = Enum.FormFactor.Symmetric
  638. part.CanCollide = false
  639. part.Anchored = true
  640. part.Material = Enum.Material.Neon
  641. part.Size = Vector3.new(1, 1, 1)
  642. part.Locked = true
  643. part.BrickColor = BrickColor.new("Deep blue")
  644. part.Friction = 0.3
  645. part.CFrame=cframee
  646. Mesh = Instance.new("SpecialMesh")
  647. Mesh.Parent = part
  648. Mesh.MeshType = "FileMesh"
  649. Mesh.Scale = Vector3.new(0.012, 0.012, 0.012)
  650. Mesh.MeshId = "http://www.roblox.com/asset/?id=554112362"
  651. while part and part.Parent~=nil do
  652. local ray = Ray.new(
  653. part.CFrame.p,
  654. (part.CFrame*CFrame.new(1,0,0).p - part.CFrame.p).unit * 4
  655. )
  656. local ignore = game.Players.LocalPlayer.Character
  657.  
  658. local hit, position, normal = Workspace:FindPartOnRay(ray, ignore)
  659. if hit then
  660. part.CFrame=part.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  661. pcall(function()hit.Parent.Humanoid(30)end)
  662. pcall(function()hit.Parent.Parent.Humanoid:TakeDamage(30)end)
  663. else
  664. part.CFrame=part.CFrame*CFrame.new(4,0,0)
  665. end
  666. game:service'RunService'.RenderStepped:wait()
  667. end
  668. end
  669. game:service'Players'.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  670. if key=='e' then
  671. chatfunc("WATER SHURIKEN!")
  672. Fire(game.Players.LocalPlayer.Character.Head.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(90),0))
  673. elseif key == 'q' then
  674. g = Instance.new("Sound",workspace)
  675. g.SoundId = "rbxassetid://613240668"
  676. g.Name = "oh yes daddy"
  677. g.Volume = 7
  678. g:Play()
  679. for i=1, 36 do
  680. coroutine.resume(coroutine.create(function()
  681. Fire(game.Players.LocalPlayer.Character.Head.CFrame*CFrame.Angles(0,math.rad(i*10),0)*CFrame.new(0,0,-4)*CFrame.Angles(0,math.rad(90),0))
  682. end))
  683. end
  684. wait(3)
  685. g:Stop()
  686. g:Remove()
  687. end
  688. end)
  689.  
  690. Humanoid.WalkSpeed = 100
  691.  
  692.  
  693. -- music
  694.  
  695. sound = coroutine.create(function()
  696. a = Instance.new("Sound",workspace)
  697. a.SoundId = "rbxassetid://540644878"
  698. a.Name = "RAINING MEN"
  699. a.Volume = 5
  700. a.Looped = true
  701. a:Play()
  702. while wait(0.2) do
  703. rainin = workspace:FindFirstChild("RAINING MEN")
  704. if not rainin then
  705. a = Instance.new("Sound",workspace)
  706. a.SoundId = "rbxassetid://540644878"
  707. a.Name = "RAINING MEN"
  708. a.Volume = 5
  709. a.Looped = true
  710. a:Play()
  711. end
  712. end
  713. end)
  714.  
  715. -- chat function
  716.  
  717. function chatfunc(text)
  718. local chat = coroutine.wrap(function()
  719. local m8n = player.Character
  720. if m8n:FindFirstChild("TalkingBillBoard")~= nil then
  721. m8n:FindFirstChild("TalkingBillBoard"):destroy()
  722. end
  723. local naeeym2 = Instance.new("BillboardGui",m8n)
  724. naeeym2.Size = UDim2.new(0,100,0,40)
  725. naeeym2.StudsOffset = Vector3.new(0,3,0)
  726. naeeym2.Adornee = m8n.Head
  727. naeeym2.Name = "TalkingBillBoard"
  728. local tecks2 = Instance.new("TextLabel",naeeym2)
  729. tecks2.BackgroundTransparency = 1
  730. tecks2.BorderSizePixel = 0
  731. tecks2.Text = ""
  732. tecks2.Font = "Cartoon"
  733. tecks2.TextSize = 30
  734. tecks2.TextStrokeTransparency = 0
  735. tecks2.TextColor3 = Color3.new(.6,0,0)
  736. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  737. tecks2.Size = UDim2.new(1,0,0.5,0)
  738. local tecks3 = Instance.new("TextLabel",naeeym2)
  739. tecks3.BackgroundTransparency = 1
  740. tecks3.BorderSizePixel = 0
  741. tecks3.Text = ""
  742. tecks3.Font = "Cartoon"
  743. tecks3.TextSize = 30
  744. tecks3.TextStrokeTransparency = 0
  745. tecks3.TextColor3 = Color3.new(.6,0,0)
  746. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  747. tecks3.Size = UDim2.new(1,0,0.5,0)
  748. for i = 1,string.len(text),1 do
  749. tecks2.Text = string.sub(text,1,i)
  750. tecks3.Text = string.sub(text,1,i)
  751. wait(0.005)
  752. end
  753. wait(2)
  754. for i = 1, 50 do
  755. wait(0.1)
  756. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  757. tecks2.Rotation = tecks2.Rotation - .8
  758. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  759. tecks2.TextTransparency = tecks2.TextTransparency + .04
  760. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  761. tecks3.Rotation = tecks2.Rotation + .8
  762. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  763. tecks3.TextTransparency = tecks2.TextTransparency + .04
  764. end
  765. naeeym2:Destroy()
  766. end)
  767. chat()
  768. end
  769. function onChatted(msg)
  770. chatfunc(msg)
  771. end
  772. player.Chatted:connect(onChatted)
  773.  
  774. abss = Instance.new("BillboardGui",m8n)
  775. abss.Size = UDim2.new(10,0,10,0)
  776. abss.Enabled = false
  777. imgl = Instance.new("ImageLabel",abss)
  778. imgl.Position = UDim2.new(0,0,0,0)
  779. imgl.Size = UDim2.new(1,0,1,0)
  780. imgl.Image = "rbxassetid://711463989"
  781. imgl.BackgroundTransparency = 1
  782. imgl.ImageColor3 = Color3.new(.9,0,0)
  783. img2 = Instance.new("ImageLabel",abss)
  784. img2.Position = UDim2.new(0,0,0,0)
  785. img2.Size = UDim2.new(1,0,1,0)
  786. img2.Image = "rbxassetid://711463989"
  787. img2.BackgroundTransparency = 1
  788. img2.ImageColor3 = Color3.new(.9,0,0)
  789.  
  790. coroutine.resume(sound)
  791.  
  792. -- ATATATATA
  793.  
  794. local oldtick = tick()
  795. warn("Animation rig - By Mewy23")
  796. local plr = game:GetService("Players").LocalPlayer
  797. local char, mouse = plr.Character, plr:GetMouse()
  798. local hitTab = {}
  799. local fadeTab = {}
  800. local spd = 0.2 * char:FindFirstChild("Humanoid").WalkSpeed / 16
  801. local sound1 = Instance.new("Sound", char.HumanoidRootPart)
  802. local sound2 = Instance.new("Sound", char.HumanoidRootPart)
  803. local sound3 = Instance.new("Sound")
  804. sound1.SoundId = "rbxassetid://130767866"
  805. sound1.Volume = 7
  806. sound2.SoundId = "rbxassetid://142684400"
  807. sound2.Volume = 7
  808. sound3.SoundId = "rbxassetid://985132972"
  809. sound3.Volume = 7
  810. local particle = Instance.new("ParticleEmitter")
  811. particle.LightEmission = 0.2
  812. particle.Texture = "rbxassetid://50263573"
  813. particle.Size = NumberSequence.new({
  814. NumberSequenceKeypoint.new(0, 0),
  815. NumberSequenceKeypoint.new(0.5, 1),
  816. NumberSequenceKeypoint.new(1, 0)
  817. })
  818. particle.Acceleration = Vector3.new(0, 0, 0)
  819. particle.Lifetime = NumberRange.new(0.15, 0.3)
  820. particle.Rate = 50
  821. particle.Rotation = NumberRange.new(0, 360)
  822. particle.RotSpeed = NumberRange.new(0, 0)
  823. particle.Speed = NumberRange.new(0, 0)
  824. local dfj = {}
  825. char:WaitForChild("Animate"):Destroy()
  826. char:WaitForChild("Humanoid"):WaitForChild("Animator"):Destroy()
  827. for i, v in pairs(char:FindFirstChild("Torso"):GetChildren()) do
  828. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  829. table.insert(dfj, v:Clone())
  830. v:Destroy()
  831. end
  832. end
  833. local state = "idle"
  834. local rootpart = char:FindFirstChild("HumanoidRootPart")
  835. local rootjoint = rootpart:FindFirstChild("RootJoint")
  836. rootjoint.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180))
  837. local rarm = Instance.new("Weld", char:FindFirstChild("Right Arm") or nil)
  838. rarm.Part0 = char:FindFirstChild("Torso") or nil
  839. rarm.Part1 = char:FindFirstChild("Right Arm") or nil
  840. rarm.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  841. rarm.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  842. local larm = Instance.new("Weld", char:FindFirstChild("Left Arm") or nil)
  843. larm.Part0 = char:FindFirstChild("Torso") or nil
  844. larm.Part1 = char:FindFirstChild("Left Arm") or nil
  845. larm.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  846. larm.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  847. local rleg = Instance.new("Weld", char:FindFirstChild("Right Leg") or nil)
  848. rleg.Part0 = char:FindFirstChild("Torso") or nil
  849. rleg.Part1 = char:FindFirstChild("Right Leg") or nil
  850. rleg.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  851. rleg.C1 = CFrame.new(0.5, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  852. local lleg = Instance.new("Weld", char:FindFirstChild("Left Leg") or nil)
  853. lleg.Part0 = char:FindFirstChild("Torso") or nil
  854. lleg.Part1 = char:FindFirstChild("Left Leg") or nil
  855. lleg.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  856. lleg.C1 = CFrame.new(-0.5, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  857. local neck = char:FindFirstChild("Torso"):FindFirstChild("Neck") or nil
  858. neck.Part0 = char:FindFirstChild("Torso") or nil
  859. neck.Part1 = char:FindFirstChild("Head") or nil
  860. neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  861. neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  862. function hitSphere()
  863. local function recSearch(par)
  864. local tab = {}
  865. local function rec(parent)
  866. if parent:IsA("Humanoid") and parent ~= char:FindFirstChildOfClass("Humanoid") then
  867. table.insert(tab, parent)
  868. end
  869. for i, v in pairs(parent:GetChildren()) do
  870. rec(v)
  871. end
  872. end
  873. rec(par)
  874. return tab
  875. end
  876. local humsFound = {}
  877. for i, v in pairs(recSearch(workspace)) do
  878. table.insert(humsFound, v)
  879. end
  880. return humsFound
  881. end
  882. mouse.Button1Down:connect(function()
  883. if state ~= "busy" then
  884. state = "busy"
  885. do
  886. local foundHums = {}
  887. local prtcls = {}
  888. local sounds = {}
  889. local parts = {}
  890. sound1:Play()
  891. chatfunc("ATATATATATATATATATATATATATATATATA")
  892. local hit = false
  893. local toggle = false
  894. local frmcon
  895. local frame = 0
  896. frmcon = game:service("RunService").RenderStepped:connect(function()
  897. frame = frame + 1
  898. if frame / 4 == math.floor(frame / 4) then
  899. if toggle == false then
  900. toggle = true
  901. else
  902. toggle = false
  903. end
  904. end
  905. if toggle == true then
  906. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  907. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  908. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), spd * 1.5)
  909. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), spd * 1.5)
  910. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(225)), spd * 1.5)
  911. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), spd * 1.5)
  912. else
  913. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  914. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  915. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), spd * 1.5)
  916. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)), spd * 1.5)
  917. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(135)), spd * 1.5)
  918. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), spd * 1.5)
  919. end
  920. if frame % 5 == 0 then
  921. for i, v in pairs(hitSphere()) do
  922. for o, b in pairs(v.Parent:GetChildren()) do
  923. if b:IsA("BasePart") and 4 >= (b.Position - rootjoint.Parent.CFrame * CFrame.new(0, 0, -2.25).p).Magnitude then
  924. hit = true
  925. if foundHums[v] then
  926. foundHums[v] = foundHums[v] + 1
  927. else
  928. foundHums[v] = 1
  929. local ns = sound3:Clone()
  930. ns.Parent = b
  931. table.insert(sounds, ns)
  932. end
  933. if not prtcls[b] then
  934. partClone = particle:Clone()
  935. partClone.Enabled = false
  936. partClone.Parent = b
  937. prtcls[b] = partClone
  938. end
  939. local p = Instance.new("Part")
  940. p.Size = Vector3.new(0.2, 0.2, 0.2)
  941. p.Color = Color3.new(1, 1, 1)
  942. p.TopSurface = "Smooth"
  943. p.BottomSurface = "Smooth"
  944. p.Anchored = true
  945. p.CanCollide = false
  946. p.Shape = "Ball"
  947. p.CFrame = CFrame.new(b.CFrame.p + Vector3.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10))
  948. p.Parent = workspace
  949. table.insert(fadeTab, p)
  950. parts[b] = b
  951. end
  952. end
  953. end
  954. end
  955. end)
  956. local bucon
  957. bucon = mouse.Button1Up:connect(function()
  958. frmcon:disconnect()
  959. sound1:Stop()
  960. state = "idle"
  961. if hit == true then
  962. sound2:Play()
  963. chatfunc("Omae Wa Mou Shindeiru")
  964. wait(2.7)
  965. for i, v in pairs(sounds) do
  966. spawn(function()
  967. wait(math.random(0, 100) / 600)
  968. v.TimePosition = 2.5
  969. v:Play()
  970. end)
  971. end
  972. wait(1.2)
  973. for i, v in pairs(prtcls) do
  974. v.Enabled = true
  975. end
  976. wait(1.3)
  977. spawn(function()
  978. local rcon
  979. local frame = 0
  980. rcon = game:service("RunService").RenderStepped:connect(function()
  981. frame = frame + 1
  982. for i, v in pairs(sounds) do
  983. v.Volume = 10 - frame / 5
  984. if v.Volume <= 0 then
  985. v.Volume = 0
  986. v:Destroy()
  987. end
  988. end
  989. if frame >= 200 then
  990. for i, v in pairs(sounds) do
  991. v:Destroy()
  992. end
  993. end
  994. end)
  995. end)
  996. for i, v in pairs(parts) do
  997. v.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  998. v.Velocity = v.Velocity + Vector3.new(0, 20, 0)
  999. local bvel = Instance.new("BodyVelocity", v)
  1000. bvel.MaxForce = Vector3.new(1000000, 1000000, 1000000)
  1001. bvel.Velocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1002. game:service("Debris"):AddItem(bvel, 0.5)
  1003. end
  1004. for i, v in pairs(foundHums) do
  1005. if i.MaxHealth >= math.huge then
  1006. i.MaxHealth = 100
  1007. end
  1008. i.Health = 0
  1009. end
  1010. wait(0.7)
  1011. for i, v in pairs(prtcls) do
  1012. v.Enabled = false
  1013. end
  1014. end
  1015. bucon:disconnect()
  1016. end)
  1017. end
  1018. end
  1019. end)
  1020. game:GetService("RunService").Heartbeat:connect(function()
  1021. for i, v in pairs(fadeTab) do
  1022. v.Transparency = v.Transparency + 0.1
  1023. local savecf = v.CFrame
  1024. v.Size = v.Size + Vector3.new(0.3, 0.3, 0.3)
  1025. v.CFrame = savecf
  1026. end
  1027. local isub = 0
  1028. for i = 1, #fadeTab do
  1029. if fadeTab[i - isub].Transparency >= 1 then
  1030. fadeTab[i - isub]:Destroy()
  1031. table.remove(fadeTab, i - isub)
  1032. isub = isub + 1
  1033. end
  1034. end
  1035. char:FindFirstChild("Humanoid").WalkSpeed = 26
  1036. spd = 0.2 * char:FindFirstChild("Humanoid").WalkSpeed / 16
  1037. if state ~= "busy" then
  1038. local ray = Ray.new(rootpart.Position, Vector3.new(0, -4, 0))
  1039. local part, pos, normal = workspace:FindPartOnRayWithIgnoreList(ray, char:GetChildren(), false, true)
  1040. if rootpart.Velocity.Magnitude > 0.5 and part ~= nil then
  1041. state = "running"
  1042. elseif rootpart.Velocity.Magnitude <= 0.5 and part ~= nil then
  1043. state = "idle"
  1044. elseif 0 < rootpart.Velocity.Y and part == nil then
  1045. state = "jumping"
  1046. elseif 0 >= rootpart.Velocity.Y and part == nil then
  1047. state = "falling"
  1048. end
  1049. if state == "idle" then
  1050. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1051. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1052. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5 + math.cos(tick() + 0.5) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad((math.cos(tick()) + 1) / 16) * 20), spd)
  1053. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5 + math.cos(tick() + 0.5) / 16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-(math.cos(tick()) + 1) / 16) * 20), spd)
  1054. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, math.cos(tick()) / 16, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  1055. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1056. elseif state == "running" then
  1057. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1 - -math.sin(tick() * 8 + 90) / 8, math.sin(tick() * 8 + 90) / 10) * CFrame.Angles(math.rad(math.sin(tick() * 8) * 60), math.rad(0), math.rad(0)), spd)
  1058. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1 - math.sin(tick() * 8 + 90) / 8, -math.sin(tick() * 8 + 90) / 10) * CFrame.Angles(-math.rad(math.sin(tick() * 8) * 60), math.rad(0), math.rad(0)), spd)
  1059. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(math.sin(tick() * 8) * 80), math.rad(0), math.rad(0)), spd)
  1060. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(math.sin(tick() * 8) * 80), math.rad(0), math.rad(0)), spd)
  1061.  
  1062. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(180)), spd)
  1063. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), spd)
  1064. elseif state == "jumping" then
  1065. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1066. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1067. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1068. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1069. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  1070. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1071. elseif state == "falling" then
  1072. rleg.C0 = rleg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1073. lleg.C0 = lleg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1074. rarm.C0 = rarm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1075. larm.C0 = larm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1076. rootjoint.C0 = rootjoint.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(180)), spd)
  1077. neck.C0 = neck.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), spd)
  1078. end
  1079. end
  1080. end)
  1081. warn("Loaded! Time elapsed: " .. tick() - oldtick)
Add Comment
Please, Sign In to add comment