Advertisement
alex_hi

Untitled

Aug 22nd, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 202.89 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local deb = false
  14. local shot = 0
  15. local debris=game:service"Debris"
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  19. math.randomseed(os.time())
  20. for i,v in pairs (hed:GetChildren()) do
  21. if v:IsA("Sound") then
  22. v:Destroy()
  23. end
  24. end
  25. --------------------------------------------------------------------
  26.  
  27.  
  28. hed.face.Texture = "rbxassetid://635120692"
  29. ----------------------------------------------------
  30. Debounces = {
  31. CanAttack = true;
  32. NoIdl = false;
  33. Slashing = false;
  34. Slashed = false;
  35. RPunch = false;
  36. RPunched = false;
  37. LPunch = false;
  38. LPunched = false;
  39. }
  40. local Touche = {char.Name, }
  41. ----------------------------------------------------
  42. char["Body Colors"].HeadColor = BrickColor.new("Black")
  43. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  44. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  45. char["Body Colors"].RightArmColor = BrickColor.new("Black")
  46. ----------------------------------------------------
  47. ----------------------------------------------------------------
  48.  
  49. ---------------------------- SHIRT AND PANTS --
  50. --------------------------------
  51. shirt = Instance.new("Shirt", char)
  52. shirt.Name = "Shirt"
  53. pants = Instance.new("Pants", char)
  54. pants.Name = "Pants"
  55. char.Shirt.ShirtTemplate = "rbxassetid://713444235"
  56. char.Pants.PantsTemplate = "rbxassetid://687437158"
  57.  
  58. ---------------------------------------------------------
  59.  
  60. --------------
  61. purple = Color3.new(1, 1, 1)
  62. local player = "LocalPlayer"
  63. local Character = game.Players[player].Character
  64. it = Instance.new
  65. vt = Vector3.new
  66. bc = BrickColor.new
  67. cf = CFrame.new
  68. local hed = Character.Head
  69. local ultcooldown = 99999
  70.  
  71. paly = game.Players.LocalPlayer
  72. p = game.Players.LocalPlayer
  73. char = paly.Character
  74. torso = char.Torso
  75. neck = char.Torso.Neck
  76. hum = char.Humanoid
  77. Player = game:GetService("Players").LocalPlayer
  78. local mouse = Player:GetMouse()
  79. Character = Player.Character
  80. tors = Character.Torso
  81. lleg = Character["Left Leg"]
  82. root = Character.HumanoidRootPart
  83. hed = Character.Head
  84. rleg = Character["Right Leg"]
  85. rarm = Character["Right Arm"]
  86. larm = Character["Left Arm"]
  87. local Effects = {}
  88.  
  89.  
  90. function ExplodeMass(rad,par)
  91. local expart = Instance.new("Part",script.Parent)
  92. local expart2 = Instance.new("Part",script.Parent)
  93. local partMesh = Instance.new("SpecialMesh",expart)
  94. partMesh.MeshType = "Sphere"
  95. local partMesh2 = Instance.new("SpecialMesh",expart2)
  96. partMesh2.MeshType = "Sphere"
  97. local expld = Instance.new("Explosion", script.Parent)
  98. local plode = Instance.new("Sound",workspace)
  99. plode.SoundId = "rbxassetid://158644872"
  100. plode.Volume = 1
  101. plode.Pitch = 0.85
  102. plode.Looped = false
  103. plode:Play()
  104. local plodez = Instance.new("Sound",workspace)
  105. plodez.SoundId = "rbxassetid://158644872"
  106. plodez.Volume = 1
  107. plodez.Pitch = 0.75
  108. plodez.Looped = false
  109. plodez:Play()
  110. local plodeza = Instance.new("Sound",workspace)
  111. plodeza.SoundId = "rbxassetid://197161452"
  112. plodeza.Volume = 0.85
  113. plodeza.Pitch = 0.65
  114. plodeza.Looped = false
  115. plodeza:Play()
  116. local plodezar = Instance.new("Sound",workspace)
  117. plodezar.SoundId = "rbxassetid://197161452"
  118. plodezar.Volume = 0.85
  119. plodezar.Pitch = 0.25
  120. plodezar.Looped = false
  121. plodezar:Play()
  122. local s3 = Instance.new("Sound",workspace)
  123. s3.SoundId = "rbxassetid://158644872"
  124. s3.Pitch = 1
  125. s3.Volume = 1
  126. s3.Looped = false
  127. s3:Play()
  128. xay = Instance.new("Sound",workspace)
  129. xay.SoundId = "rbxassetid://158644872"
  130. xay.Pitch = 1
  131. xay.Volume = 2.5
  132. xay:Play()
  133. expld.BlastRadius = rad
  134. expld.Position = par.Position
  135. partMesh.Scale = vt(rad,rad,rad)
  136. expart.Size = vt(1,1,1)*1.5
  137. expart.Transparency = 0
  138. expart.Anchored = true
  139. expart.Material = "Neon"
  140. expart.BrickColor = bc("Black")
  141. expart.CFrame = par.CFrame
  142. partMesh2.Scale = vt(rad,rad,rad)
  143. expart2.Size = vt(1.15,1.15,1.15)*1.5
  144. expart2.Transparency = 0.5
  145. expart2.Anchored = true
  146. expart2.Material = "Neon"
  147. expart2.BrickColor = Character.Torso.BrickColor
  148. expart2.CFrame = par.CFrame
  149. local value = 1*rad/10
  150. par:Destroy()
  151. for i = 0, 300 do
  152. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  153. expart.CFrame = expart.CFrame
  154. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  155. expart2.CFrame = expart.CFrame
  156. value = value - 0.0175*rad/10
  157. if value <= 0 then
  158. expart.Transparency = expart.Transparency + 0.0125
  159. expart2.Transparency = expart2.Transparency + 0.0125
  160. value = 0.25
  161. end
  162. wait()
  163. end
  164. plode.Parent = nil
  165. expart.Parent = nil
  166. expart2.Parent = nil
  167. expld.Parent = nil
  168. end
  169.  
  170. function ExplodeMass2(rad,par)
  171. local expart = Instance.new("Part",script.Parent)
  172. local expart2 = Instance.new("Part",script.Parent)
  173. local partMesh = Instance.new("SpecialMesh",expart)
  174. partMesh.MeshType = "Sphere"
  175. local partMesh2 = Instance.new("SpecialMesh",expart2)
  176. partMesh2.MeshType = "Sphere"
  177. local expld = Instance.new("Explosion", script.Parent)
  178. local plode = Instance.new("Sound",workspace)
  179. plode.SoundId = "rbxassetid://158644872"
  180. plode.Volume = 1
  181. plode.Pitch = 0.8
  182. plode.Looped = false
  183. plode:Play()
  184. local plodez = Instance.new("Sound",workspace)
  185. plodez.SoundId = "rbxassetid://158644872"
  186. plodez.Volume = 1
  187. plodez.Pitch = 0.7
  188. plodez.Looped = false
  189. plodez:Play()
  190. local plodeza = Instance.new("Sound",workspace)
  191. plodeza.SoundId = "rbxassetid://158644872"
  192. plodeza.Volume = 0.85
  193. plodeza.Pitch = 0.6
  194. plodeza.Looped = false
  195. plodeza:Play()
  196. local plodezar = Instance.new("Sound",workspace)
  197. plodezar.SoundId = "rbxassetid://158644872"
  198. plodezar.Volume = 0.85
  199. plodezar.Pitch = 0.2
  200. plodezar.Looped = false
  201. plodezar:Play()
  202. local s3 = Instance.new("Sound",workspace)
  203. s3.SoundId = "rbxassetid://158644872"
  204. s3.Pitch = 0.85
  205. s3.Volume = 1
  206. s3.Looped = false
  207. s3:Play()
  208. xay = Instance.new("Sound",workspace)
  209. xay.SoundId = "rbxassetid://158644872"
  210. xay.Pitch = 1
  211. xay.Volume = 3.5
  212. xay:Play()
  213. expld.BlastRadius = rad
  214. expld.Position = par.Position
  215. partMesh.Scale = vt(rad,rad,rad)
  216. expart.Size = vt(1,1,1)*1.5
  217. expart.Transparency = 0
  218. expart.Anchored = true
  219. expart.Material = "Neon"
  220. expart.BrickColor = bc("Really black")
  221. expart.CFrame = par.CFrame
  222. partMesh2.Scale = vt(rad,rad,rad)
  223. expart2.Size = vt(1.15,1.15,1.15)*1.5
  224. expart2.Transparency = 0.5
  225. expart2.Anchored = true
  226. expart2.Material = "Neon"
  227. expart2.BrickColor = Character.Torso.BrickColor
  228. expart2.CFrame = par.CFrame
  229. local value = 1*rad/10
  230. par:Destroy()
  231. for i = 0, 300 do
  232. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  233. expart.CFrame = expart.CFrame
  234. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  235. expart2.CFrame = expart.CFrame
  236. value = value - 0.0175*rad/10
  237. if value <= 0 then
  238. expart.Transparency = expart.Transparency + 0.0125
  239. expart2.Transparency = expart2.Transparency + 0.0125
  240. value = 0.25
  241. end
  242. wait()
  243. end
  244. plode.Parent = nil
  245. expart.Parent = nil
  246. expart2.Parent = nil
  247. expld.Parent = nil
  248. end
  249.  
  250. function Blaze2()
  251. if ultcooldown >= 30 then
  252. ultcooldown = ultcooldown - 30
  253. wit = Character.Torso.BrickColor.Color
  254. local sloc = Instance.new("Part",workspace)
  255. local msh = Instance.new("SpecialMesh",sloc)
  256. msh.MeshType = "Sphere"
  257. sloc.Size = vt(1,1,1)
  258. sloc.Transparency = 1
  259. sloc.BrickColor = Character.Torso.BrickColor
  260. sloc.Position = hed.Position + vt(0,0,0)
  261. sloc.CanCollide = false
  262. sloc.Shape = "Ball"
  263. sloc.Anchored = true
  264. sloc.Material = "Neon"
  265. local forcefield = Instance.new("ForceField",Character)
  266. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  267. kolor.TintColor = Character.Torso.BrickColor.Color
  268. local glowz = Instance.new("ParticleEmitter")
  269. glowz.LightEmission = 0
  270. glowz.Parent = sloc
  271. glowz.Texture = "rbxassetid://284205403"
  272. glowz.Color = ColorSequence.new(wit)
  273. glowz.Size = NumberSequence.new(15)
  274. glowz.Speed = NumberRange.new(100,250)
  275. glowz.LockedToPart = false
  276. glowz.Transparency = NumberSequence.new(0.75)
  277. glowz.RotSpeed = NumberRange.new(-2000,2000)
  278. glowz.Lifetime = NumberRange.new(1)
  279. glowz.Rate = 50
  280. glowz.VelocitySpread = 9001
  281. local s = Instance.new("Sound",workspace)
  282. s.SoundId = "rbxassetid://158644872"
  283. s.Pitch = 0.45
  284. s.Volume = 1.5
  285. s.Looped = false
  286. s:Play()
  287. local s2 = Instance.new("Sound",workspace)
  288. s2.SoundId = "rbxassetid://158644872"
  289. s2.Pitch = 0.5
  290. s2.Volume = 1.5
  291. s2.Looped = false
  292. s2:Play()
  293. local val = 1*5
  294. for i = 0 , 20 do
  295. sloc.Transparency = sloc.Transparency - 0.055
  296. msh.Scale = msh.Scale + vt(val,val,val)
  297. val = val - 0.05*5
  298. kolor.Brightness = kolor.Brightness - 0.1
  299. kolor.Contrast = kolor.Contrast + 0.1
  300. wait()
  301. end
  302. for i = 0 , 5 do
  303. msh.Scale = msh.Scale + vt(val,val,val)
  304. val = val + 0.05*5
  305. kolor.Brightness = kolor.Brightness + 0.5
  306. kolor.Contrast = kolor.Contrast - 0.5
  307. wait()
  308. end
  309. for i = 0 , 5 do
  310. msh.Scale = msh.Scale + vt(val,val,val)
  311. val = val - 0.05*5
  312. kolor.Brightness = kolor.Brightness - 0.5
  313. kolor.Contrast = kolor.Contrast + 0.5
  314. wait()
  315. end
  316. for i = 0 , 5 do
  317. msh.Scale = msh.Scale + vt(val,val,val)
  318. val = val + 0.05*10
  319. kolor.Brightness = kolor.Brightness + 0.5
  320. kolor.Contrast = kolor.Contrast - 0.5
  321. wait()
  322. end
  323. for i = 0 , 5 do
  324. msh.Scale = msh.Scale + vt(val,val,val)
  325. val = val - 0.05*10
  326. kolor.Brightness = kolor.Brightness - 0.5
  327. kolor.Contrast = kolor.Contrast + 0.5
  328. wait()
  329. end
  330. for i = 0 , 5 do
  331. msh.Scale = msh.Scale + vt(val,val,val)
  332. val = val + 0.05*20
  333. kolor.Brightness = kolor.Brightness + 0.5
  334. kolor.Contrast = kolor.Contrast - 0.5
  335. wait()
  336. end
  337. for i = 0 , 5 do
  338. msh.Scale = msh.Scale + vt(val,val,val)
  339. val = val - 0.05*20
  340. kolor.Brightness = kolor.Brightness - 0.5
  341. kolor.Contrast = kolor.Contrast + 0.5
  342. wait()
  343. end
  344. for i = 0 , 5 do
  345. msh.Scale = msh.Scale + vt(val,val,val)
  346. val = val + 0.05*40
  347. kolor.Brightness = kolor.Brightness + 0.5
  348. kolor.Contrast = kolor.Contrast - 0.5
  349. wait()
  350. end
  351. for i = 0 , 5 do
  352. msh.Scale = msh.Scale + vt(val,val,val)
  353. val = val - 0.05*40
  354. kolor.Brightness = kolor.Brightness - 0.5
  355. kolor.Contrast = kolor.Contrast + 0.5
  356. wait()
  357. end
  358. for i = 0 , 5 do
  359. msh.Scale = msh.Scale + vt(val,val,val)
  360. val = val + 0.05*45
  361. kolor.Brightness = kolor.Brightness + 0.5
  362. kolor.Contrast = kolor.Contrast - 0.5
  363. wait()
  364. end
  365. for i = 0 , 5 do
  366. msh.Scale = msh.Scale + vt(val,val,val)
  367. val = val - 0.05*45
  368. kolor.Brightness = kolor.Brightness - 0.5
  369. kolor.Contrast = kolor.Contrast + 0.5
  370. wait()
  371. end
  372. for i = 0 , 5 do
  373. msh.Scale = msh.Scale + vt(val,val,val)
  374. val = val + 0.05*50
  375. kolor.Brightness = kolor.Brightness + 0.5
  376. kolor.Contrast = kolor.Contrast - 0.5
  377. wait()
  378. end
  379. for i = 0 , 20 do
  380. sloc.Transparency = sloc.Transparency + 0.055
  381. msh.Scale = msh.Scale + vt(val,val,val)
  382. val = val - 0.05*50
  383. wait()
  384. end
  385. kolor:Destroy()
  386. ExplodeMass2(125,sloc)
  387. sloc:Destroy()
  388. forcefield:Destroy()
  389. end
  390. if ultcooldown < 1 then
  391. for i = 0, 29 do
  392. ultcooldown = ultcooldown + 1
  393. wait(1)
  394. end
  395. end
  396. end
  397.  
  398. function Blaze()
  399. if ultcooldown >= 30 then
  400. local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
  401. local see = Instance.new("Sound",workspace)
  402. see.SoundId = "rbxassetid://158644872"
  403. see.Pitch = 1
  404. see.Volume = 2.75
  405. see.Looped = false
  406. see:Play()
  407. kolor.Brightness = -1
  408. kolor.Contrast = -1
  409. kolor.TintColor = Character.Torso.BrickColor.Color
  410. wait(0.1)
  411. for i = 0, 9 do
  412. kolor.Brightness = kolor.Brightness + 0.35
  413. kolor.Contrast = kolor.Contrast + 0.35
  414. wait(0.05)
  415. end
  416. for i = 0, 9 do
  417. kolor.Brightness = kolor.Brightness - 0.35
  418. kolor.Contrast = kolor.Contrast - 0.35
  419. wait(0.05)
  420. end
  421. kolor:Destroy()
  422. local sloc = Instance.new("Part",workspace)
  423. local msh = Instance.new("SpecialMesh",sloc)
  424. msh.MeshType = "Sphere"
  425. sloc.Size = vt(1,1,1)
  426. sloc.Transparency = 1
  427. sloc.BrickColor = Character.Torso.BrickColor
  428. sloc.Position = hed.Position + vt(0,5,0)
  429. sloc.CanCollide = false
  430. sloc.Shape = "Ball"
  431. sloc.Anchored = true
  432. sloc.Material = "Neon"
  433. local s = Instance.new("Sound",workspace)
  434. s.SoundId = "rbxassetid://158644872"
  435. s.Pitch = 1
  436. s.Volume = 1
  437. s.Looped = false
  438. s:Play()
  439. local s2 = Instance.new("Sound",workspace)
  440. s2.SoundId = "rbxassetid://158644872"
  441. s2.Pitch = 0.25
  442. s2.Volume = 1
  443. s2.Looped = false
  444. s2:Play()
  445. local val = 0.65*5
  446. for i = 0 , 75 do
  447. sloc.Transparency = sloc.Transparency - 0.035
  448. msh.Scale = msh.Scale + vt(val,val,val)
  449. sloc.Position = sloc.Position + vt(0,val,0)
  450. val = val - 0.0075*5
  451. wait()
  452. end
  453. msh.Scale = msh.Scale - vt(1,1,1)
  454. sloc.Transparency = sloc.Transparency + 0.015
  455. local spart = Instance.new("Part",workspace)
  456. local msh2 = Instance.new("SpecialMesh",spart)
  457. msh2.MeshType = "Sphere"
  458. spart.Size = vt(2,2,2)
  459. spart.Shape = "Ball"
  460. spart.BrickColor = Character.Torso.BrickColor
  461. spart.Material = "Neon"
  462. spart.Transparency = 0
  463. spart.Anchored = false
  464. msh2.Scale = msh.Scale/2
  465. spart.Rotation = hed.Rotation
  466. spart.CanCollide = false
  467. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  468. local bv = Instance.new("BodyVelocity")
  469. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  470. bv.velocity = spart.CFrame.lookVector*75
  471. bv.Parent = spart
  472. local tick = Instance.new("Sound",workspace)
  473. tick.SoundId = "rbxassetid://203691467"
  474. tick.Volume = 2
  475. tick.Pitch = 0.75
  476. tick:Play()
  477. sloc:Destroy()
  478. wait(0.00001)
  479. pewdiepie=spart.Touched:connect(function(hit)
  480. ExplodeMass(100,spart)
  481. end)
  482. sloc:Destroy()
  483. end
  484. if ultcooldown < 1 then
  485. for i = 0, 29 do
  486. ultcooldown = ultcooldown + 1
  487. wait(1)
  488. end
  489. end
  490. end
  491.  
  492. euler = CFrame.fromEulerAnglesXYZ
  493. angles = CFrame.Angles
  494. mr = math.rad
  495. local Weapon = {}
  496. local p = game.Players.LocalPlayer
  497. local char = p.Character
  498. local mouse = p:GetMouse()
  499. local larm = char["Left Arm"]
  500. local rarm = char["Right Arm"]
  501. local lleg = char["Left Leg"]
  502. local rleg = char["Right Leg"]
  503. local hed = char.Head
  504. local torso = char.Torso
  505. local hum = char.Humanoid
  506. local cam = game.Workspace.CurrentCamera
  507. local root = char.HumanoidRootPart
  508. local deb = false
  509. local shot = 0
  510. local debris=game:service"Debris"
  511. local l = game:GetService("Lighting")
  512. local rs = game:GetService("RunService").RenderStepped
  513. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  514. math.randomseed(os.time())
  515. for i,v in pairs (hed:GetChildren()) do
  516. if v:IsA("Sound") then
  517. v:Destroy()
  518. end
  519. end
  520.  
  521. wait(0.016666666666667)
  522. script.Archivable = false
  523. Effects = {}
  524. local Player = game.Players.localPlayer
  525. local Character = Player.Character
  526. local Humanoid = Character.Humanoid
  527. local mouse = Player:GetMouse()
  528. local m = Instance.new("Model", Character)
  529. m.Name = "WeaponModel"
  530. local effect = Instance.new("Model", Character)
  531. effect.Name = "effecsfsafzx"
  532. local demon = Instance.new("Model", Character)
  533. demon.Name = "demdemd"
  534. local LeftArm = Character["Left Arm"]
  535. local RightArm = Character["Right Arm"]
  536. local LeftLeg = Character["Left Leg"]
  537. local RightLeg = Character["Right Leg"]
  538. local do2target = nil
  539. local Head = Character.Head
  540. local Torso = Character.Torso
  541. TorsoColor = Torso.BrickColor
  542. z = Instance.new("Sound", Torso)
  543. z.SoundId = "rbxassetid://158644872" -- Put Music ID Here.
  544. z.Looped = true
  545. z.Pitch = 1
  546. z.Volume = 2
  547. wait(.1)
  548. z:Play()
  549. local cam = game.Workspace.CurrentCamera
  550. local RootPart = Character.HumanoidRootPart
  551. local RootJoint = RootPart.RootJoint
  552. local equipped = false
  553. local attack = false
  554. local Anim = "Idle"
  555. local idle = 0
  556. local attacktype = 1
  557. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  558. local velocity = RootPart.Velocity.y
  559. local sine = 0
  560. local change = 1
  561. local mana = 0
  562. local it = Instance.new
  563. vt = Vector3.new
  564. local grabbed = false
  565. local cf = CFrame.new
  566. local mr = math.rad
  567. local angles = CFrame.Angles
  568. local ud = UDim2.new
  569. local c3 = Color3.new
  570. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  571. Humanoid.Animator:Destroy()
  572. Character.Animate:Destroy()
  573. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  574. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  575. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  576. RSH = nil
  577. RW = Instance.new("Weld")
  578. LW = Instance.new("Weld")
  579. RH = Torso["Right Hip"]
  580. LH = Torso["Left Hip"]
  581. RSH = Torso["Right Shoulder"]
  582. LSH = Torso["Left Shoulder"]
  583. RSH.Parent = nil
  584. LSH.Parent = nil
  585. RW.Name = "RW"
  586. RW.Part0 = Torso
  587. RW.C0 = cf(1.5, 0.5, 0)
  588. RW.C1 = cf(0, 0.5, 0)
  589. RW.Part1 = RightArm
  590. RW.Parent = Torso
  591. LW.Name = "LW"
  592. LW.Part0 = Torso
  593. LW.C0 = cf(-1.5, 0.5, 0)
  594. LW.C1 = cf(0, 0.5, 0)
  595. LW.Part1 = LeftArm
  596. LW.Parent = Torso
  597. clerp = function(a, b, t)
  598.  
  599. return a:lerp(b, t)
  600. end
  601.  
  602. local RbxUtility = LoadLibrary("RbxUtility")
  603. local Create = RbxUtility.Create
  604. RemoveOutlines = function(part)
  605.  
  606. part.TopSurface = 10
  607. end
  608.  
  609. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  610.  
  611. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  612. RemoveOutlines(Part)
  613. return Part
  614. end
  615.  
  616. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  617.  
  618. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  619. if Mesh == "SpecialMesh" then
  620. Msh.MeshType = MeshType
  621. Msh.MeshId = MeshId
  622. end
  623. return Msh
  624. end
  625.  
  626. local co1 = 3
  627. local co2 = 10
  628. local co3 = 15
  629. local co4 = 30
  630. local cooldown1 = 0
  631. local cooldown2 = 0
  632. local cooldown3 = 0
  633. local cooldown4 = 0
  634. local maxEnergy = 100
  635. local Energy = 0
  636. local skill1stam = 1000
  637. local skill2stam = 1000
  638. local skill3stam = 1000
  639. local skill4stam = 1000
  640. local recovermana = 5
  641. local skillcolorscheme = BrickColor.new("Black").Color
  642. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  643. makeframe = function(par, trans, pos, size, color)
  644.  
  645. local frame = Instance.new("Frame", par)
  646. frame.BackgroundTransparency = trans
  647. frame.BorderSizePixel = 0
  648. frame.Position = pos
  649. frame.Size = size
  650. frame.BackgroundColor3 = color
  651. return frame
  652. end
  653.  
  654. makelabel = function(par, text)
  655.  
  656. local label = Instance.new("TextLabel", par)
  657. label.BackgroundTransparency = 1
  658. label.Size = UDim2.new(1, 0, 1, 0)
  659. label.Position = UDim2.new(0, 0, 0, 0)
  660. label.TextColor3 = Color3.new(255, 255, 255)
  661. label.TextStrokeTransparency = 0
  662. label.FontSize = Enum.FontSize.Size32
  663. label.Font = Enum.Font.SourceSansLight
  664. label.BorderSizePixel = 0
  665. label.TextScaled = true
  666. label.Text = text
  667. end
  668.  
  669. ArtificialHB = Instance.new("BindableEvent", script)
  670. ArtificialHB.Name = "Heartbeat"
  671. script:WaitForChild("Heartbeat")
  672. frame = 0.033333333333333
  673. tf = 0
  674. allowframeloss = false
  675. tossremainder = false
  676. lastframe = tick()
  677. script.Heartbeat:Fire()
  678. game:GetService("RunService").Heartbeat:connect(function(s, p)
  679.  
  680. tf = tf + s
  681. if frame <= tf then
  682. if allowframeloss then
  683. script.Heartbeat:Fire()
  684. lastframe = tick()
  685. else
  686. for i = 1, math.floor(tf / frame) do
  687. script.Heartbeat:Fire()
  688. end
  689. lastframe = tick()
  690. end
  691. if tossremainder then
  692. tf = 0
  693. else
  694. tf = tf - frame * math.floor(tf / frame)
  695. end
  696. end
  697. end
  698. )
  699. swait = function(num)
  700.  
  701. if num == 0 or num == nil then
  702. ArtificialHB.Event:wait()
  703. else
  704. for i = 0, num do
  705. ArtificialHB.Event:wait()
  706. end
  707. end
  708. end
  709.  
  710. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  711.  
  712. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  713. return Weld
  714. end
  715.  
  716. rayCast = function(Position, Direction, Range, Ignore)
  717.  
  718. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  719. end
  720.  
  721. CreateSound = function(id, par, vol, pit)
  722.  
  723. coroutine.resume(coroutine.create(function()
  724.  
  725. local sou = Instance.new("Sound", par or workspace)
  726. sou.Volume = vol
  727. sou.Pitch = pit or 1
  728. sou.SoundId = id
  729. swait()
  730. sou:play()
  731. game:GetService("Debris"):AddItem(sou, 6)
  732. end
  733. ))
  734. end
  735.  
  736. local getclosest = function(obj, distance)
  737.  
  738. local last, lastx = distance + 1, nil
  739. for i,v in pairs(workspace:GetChildren()) do
  740. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  741. local t = v.Torso
  742. local dist = t.Position - obj.Position.magnitude
  743. if dist <= distance and dist < last then
  744. last = dist
  745. lastx = v
  746. end
  747. end
  748. end
  749. return lastx
  750. end
  751.  
  752. CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size)
  753.  
  754. if PartType == "Part" then
  755. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  756. RemoveOutlines(Part)
  757. return Part
  758. else
  759. do
  760. if PartType == "WedgePart" then
  761. local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  762. RemoveOutlines(Part)
  763. return Part
  764. end
  765. end
  766. end
  767. end
  768.  
  769. for _,c in pairs(m:children()) do
  770. if c.className == "Weld" then
  771. table.insert(CBladeWelds, R67_PC6072)
  772. print(R66_PC6093)
  773. end
  774. end
  775. -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg'
  776.  
  777. -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg'
  778.  
  779. --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5))
  780. -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg'
  781.  
  782. -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg'
  783.  
  784. HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  785. CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
  786. FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013))
  787. FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  788. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  789. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  790. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
  791. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  792. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  793. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
  794. TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3))
  795. TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0))
  796. CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  797. local DBlade = {}
  798. local DBladeWelds = {}
  799. for _,c in pairs(demon:children()) do
  800. if c.className == "Part" then
  801. table.insert(DBlade, c)
  802. end
  803. end
  804. for _,c in pairs(demon:children()) do
  805. if c.className == "Weld" then
  806. table.insert(DBladeWelds, c)
  807. print(c)
  808. end
  809. end
  810. demon.Parent = nil
  811.  
  812. Debounces = {
  813. CanAttack = true;
  814. NoIdl = false;
  815. Slashing = false;
  816. Slashed = false;
  817. RPunch = false;
  818. RPunched = false;
  819. LPunch = false;
  820. LPunched = false;
  821. }
  822. local Touche = {char.Name, }
  823. ----------------------------------------------------
  824. function lerp(a, b, t) -- Linear interpolation
  825. return a + (b - a)*t
  826. end
  827.  
  828. function slerp(a, b, t) --Spherical interpolation
  829. dot = a:Dot(b)
  830. if dot > 0.99999 or dot < -0.99999 then
  831. return t <= 0.5 and a or b
  832. else
  833. r = math.acos(dot)
  834. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  835. end
  836. end
  837.  
  838. function matrixInterpolate(a, b, t)
  839. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  840. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  841. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  842. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  843. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  844. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  845. local t = v1:Dot(v2)
  846. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  847. return CFrame.new()
  848. end
  849. return CFrame.new(
  850. v0.x, v0.y, v0.z,
  851. v1.x, v1.y, v1.z,
  852. v2.x, v2.y, v2.z,
  853. v3.x, v3.y, v3.z)
  854. end
  855. ----------------------------------------------------
  856. function genWeld(a,b)
  857. local w = Instance.new("Weld",a)
  858. w.Part0 = a
  859. w.Part1 = b
  860. return w
  861. end
  862. function weld(a, b)
  863. local weld = Instance.new("Weld")
  864. weld.Name = "W"
  865. weld.Part0 = a
  866. weld.Part1 = b
  867. weld.C0 = a.CFrame:inverse() * b.CFrame
  868. weld.Parent = a
  869. return weld;
  870. end
  871. ----------------------------------------------------
  872. function Lerp(c1,c2,al)
  873. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  874. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  875. for i,v in pairs(com1) do
  876. com1[i] = v+(com2[i]-v)*al
  877. end
  878. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  879. end
  880. ----------------------------------------------------
  881. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  882. local wld = Instance.new("Weld", wp1)
  883. wld.Part0 = wp0
  884. wld.Part1 = wp1
  885. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  886. end
  887. ----------------------------------------------------
  888. function Tween(a,b,c)
  889. return a+(b-a)*c
  890. end
  891. ----------------------------------------------------
  892. function FindNearestTorso(Position,Distance,SinglePlayer)
  893. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  894. local List = {}
  895. for i,v in pairs(workspace:GetChildren())do
  896. if v:IsA("Model")then
  897. if v:findFirstChild("Torso")then
  898. if v ~= char then
  899. if(v.Torso.Position -Position).magnitude <= Distance then
  900. table.insert(List,v)
  901. end
  902. end
  903. end
  904. end
  905. end
  906. return List
  907. end
  908.  
  909. mod3 = Instance.new("Model",rleg)
  910.  
  911. function Stomp()
  912. part=Instance.new('Part',mod3)
  913. part.Anchored=true
  914. part.CanCollide=false
  915. part.FormFactor='Custom'
  916. part.Size=Vector3.new(.2,.2,.2)
  917. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  918. part.Transparency=.7
  919. part.BrickColor=BrickColor.new('Bright green')
  920. mesh=Instance.new('SpecialMesh',part)
  921. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  922. mesh.Scale=Vector3.new(25,25,25)
  923. part2=part:clone()
  924. part2.Parent=mod3
  925. part2.BrickColor=BrickColor.new('Bright green')
  926. mesh2=mesh:clone()
  927. mesh2.Parent=part2
  928. mesh2.Scale=Vector3.new(15,15,15)
  929. part3=part:clone()
  930. part3.Parent=mod3
  931. part3.TopSurface=0
  932. part3.BottomSurface=0
  933. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  934. mesh3=Instance.new('SpecialMesh',part3)
  935. mesh3.MeshType = 3
  936. mesh3.Scale=Vector3.new(12,12,12)
  937. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  938. if v:FindFirstChild('Humanoid') then
  939. v.Humanoid:TakeDamage(math.random(20,60))
  940. v.Humanoid.PlatformStand = true
  941. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  942. end
  943. end
  944. coroutine.resume(coroutine.create(function()
  945. for i=0,3.8,0.05 do
  946. wait()
  947. part.CFrame=part.CFrame
  948. part.Transparency=i
  949. mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
  950. part2.CFrame=part2.CFrame
  951. part2.Transparency=i
  952. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  953. part3.CFrame=part3.CFrame
  954. part3.Transparency=i
  955. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  956. end
  957. end))
  958. end
  959. ----------------------------------------------------
  960. function nwPrt(prnt,siz,cf,col)
  961. local prt=Instance.new("Part")
  962. prt.Parent=prnt
  963. prt.FormFactor=3
  964. prt.Name="Part"
  965. prt.Size=siz
  966. prt.CanCollide=false
  967. prt.Anchored=true
  968. prt.Locked=true
  969. prt.TopSurface=10
  970. prt.BottomSurface=10
  971. prt.FrontSurface=10
  972. prt.BackSurface=10
  973. prt.LeftSurface=10
  974. prt.RightSurface=10
  975. prt:BreakJoints()
  976. prt.CFrame=cf or CFrame.new(30,10,30)
  977. prt.Material="Neon"
  978. prt.BrickColor=TorsoColor
  979. m=Instance.new("SpecialMesh",prt)
  980. m.MeshType=6
  981. return prt
  982. end
  983. ----------------------------------------------------
  984. function nwSnd(prnt,pch,vol,id)
  985. local s=Instance.new("Sound",prnt)
  986. s.Pitch=pch
  987. s.Volume=vol
  988. s.SoundId="rbxassetid://"..id
  989. s.PlayOnRemove=true
  990. return s
  991. end
  992. ----------------------------------------------------
  993. function newRay(start,face,range,wat)
  994. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  995. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  996. return rey,hit,pos
  997. end
  998. ----------------------------------------------------
  999. function Lerp(c1,c2,al)
  1000. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1001. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1002. for i,v in pairs(com1) do
  1003. com1[i] = v+(com2[i]-v)*al
  1004. end
  1005. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1006. end
  1007. ----------------------------------------------------
  1008. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1009. local wld = Instance.new("Weld", wp1)
  1010. wld.Part0 = wp0
  1011. wld.Part1 = wp1
  1012. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1013. end
  1014. ----------------------------------------------------
  1015. function weld5(part0, part1, c0, c1)
  1016. weeld=Instance.new("Weld", part0)
  1017. weeld.Part0=part0
  1018. weeld.Part1=part1
  1019. weeld.C0=c0
  1020. weeld.C1=c1
  1021. return weeld
  1022. end
  1023. ----------------------------------------------------
  1024. function HasntTouched(plrname)
  1025. local ret = true
  1026. for _, v in pairs(Touche) do
  1027. if v == plrname then
  1028. ret = false
  1029. end
  1030. end
  1031. return ret
  1032. end
  1033. ----------------------------------------------------
  1034. newWeld(torso, larm, -1.5, 0.5, 0)
  1035. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1036. newWeld(torso, rarm, 1.5, 0.5, 0)
  1037. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1038. newWeld(torso, hed, 0, 1.5, 0)
  1039. newWeld(torso, lleg, -0.5, -1, 0)
  1040. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1041. newWeld(torso, rleg, 0.5, -1, 0)
  1042. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1043. newWeld(root, torso, 0, -1, 0)
  1044. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1045. ----------------------------------------------------
  1046. z = Instance.new("Sound", char)
  1047. z.SoundId = "rbxassetid://158644872"--158644872
  1048. z.Looped = true
  1049. z.Pitch = 1
  1050. z.Volume = 4
  1051. wait(.1)
  1052. z:Play()
  1053. ----------------------------------------------------
  1054. local Transforming = true
  1055. hum.WalkSpeed = 0
  1056. local fx = Instance.new("Part",torso)
  1057. wit = torso.BrickColor.Color
  1058. wit2 = Color3.new(0,0,0)
  1059. local glowz = Instance.new("ParticleEmitter",fx)
  1060. glowz.LightEmission = 1
  1061. glowz.Texture = "rbxassetid://284205403"
  1062. glowz.Color = ColorSequence.new(wit)
  1063. glowz.Size = NumberSequence.new(5)
  1064. glowz.Speed = NumberRange.new(25,50)
  1065. glowz.LockedToPart = false
  1066. glowz.Transparency = NumberSequence.new(0.75)
  1067. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1068. glowz.Lifetime = NumberRange.new(1)
  1069. glowz.Rate = 50000
  1070. glowz.VelocitySpread = 9001
  1071. local glowz2 = Instance.new("ParticleEmitter",fx)
  1072. glowz2.LightEmission = 0.5
  1073. glowz.Texture = "rbxassetid://284205403"
  1074. glowz2.Color = ColorSequence.new(wit2)
  1075. glowz2.Size = NumberSequence.new(5)
  1076. glowz2.Speed = NumberRange.new(25,50)
  1077. glowz2.LockedToPart = false
  1078. glowz2.Transparency = NumberSequence.new(0.75)
  1079. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1080. glowz2.Lifetime = NumberRange.new(1)
  1081. glowz2.Rate = 50000
  1082. glowz2.VelocitySpread = 9001
  1083. fx.Anchored = true
  1084. fx.Material = "Neon"
  1085. fx.CanCollide = false
  1086. fx.Locked = true
  1087. fx.Transparency = 1
  1088. fx.Material = "Neon"
  1089. fx.Size = Vector3.new(1,1,1)
  1090. fx.TopSurface = "SmoothNoOutlines"
  1091. fx.BottomSurface = "SmoothNoOutlines"
  1092. fx.BrickColor = BrickColor.new("Really black")
  1093. fxm = Instance.new("SpecialMesh",fx)
  1094. fxm.MeshType = "Sphere"
  1095. local sa2 = Instance.new("Sound",torso)
  1096. sa2.SoundId = "rbxassetid://158644872"
  1097. sa2.Pitch = 0.5
  1098. sa2.Volume = 5
  1099. sa2.Looped = false
  1100. sa2:Play()
  1101. local value = 1
  1102. fxm.Scale = Vector3.new(1,1,1)
  1103. for i = 1, 20 do rs:wait()
  1104. value = value - 0.05
  1105. fx.Transparency = fx.Transparency - (1/20)
  1106. fx.CFrame = torso.CFrame
  1107. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  1108. rs:wait()
  1109. end
  1110. ----------------------------------------------------
  1111. GroundWave1 = function()
  1112. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1113. local Colors = {"White", "Really black"}
  1114. local wave = Instance.new("Part", torso)
  1115. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1116. wave.Anchored = true
  1117. wave.CanCollide = false
  1118. wave.Locked = true
  1119. wave.Size = Vector3.new(1, 1, 1)
  1120. wave.TopSurface = "Smooth"
  1121. wave.BottomSurface = "Smooth"
  1122. wave.Transparency = 0.35
  1123. wave.CFrame = HandCF
  1124. wm = Instance.new("SpecialMesh", wave)
  1125. wm.MeshId = "rbxassetid://3270017"
  1126. coroutine.wrap(function()
  1127. for i = 1, 30, 1 do
  1128. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  1129. wave.Size = wm.Scale
  1130. wave.CFrame = HandCF
  1131. wave.Transparency = i/30
  1132. wait()
  1133. end
  1134. wait()
  1135. wave:Destroy()
  1136. end)()
  1137. end
  1138. ----------------------------------------------------
  1139. GroundWave = function()
  1140. if Transforming == true then
  1141. local value = 5
  1142. local value2 = 10
  1143. local value3 = 20
  1144. local sa2 = Instance.new("Sound",torso)
  1145. sa2.SoundId = "rbxassetid://158644872"
  1146. sa2.Pitch = 1
  1147. sa2.Volume = 10
  1148. sa2.Looped = false
  1149. sa2:Play()
  1150. local wave = Instance.new("Part", torso)
  1151. local glowz = Instance.new("ParticleEmitter",wave)
  1152. glowz.LightEmission = 1
  1153. glowz.Texture = "rbxassetid://284205403"
  1154. glowz.Color = ColorSequence.new(wit)
  1155. glowz.Size = NumberSequence.new(30)
  1156. glowz.Speed = NumberRange.new(25,100)
  1157. glowz.LockedToPart = false
  1158. glowz.Transparency = NumberSequence.new(0.75)
  1159. glowz.RotSpeed = NumberRange.new(-2000,2000)
  1160. glowz.Lifetime = NumberRange.new(1)
  1161. glowz.Rate = 50000
  1162. glowz.VelocitySpread = 9001
  1163. local glowz2 = Instance.new("ParticleEmitter",wave)
  1164. glowz2.LightEmission = 1
  1165. glowz.Texture = "rbxassetid://284205403"
  1166. glowz2.Color = ColorSequence.new(wit)
  1167. glowz2.Size = NumberSequence.new(30)
  1168. glowz2.Speed = NumberRange.new(25,100)
  1169. glowz2.LockedToPart = false
  1170. glowz2.Transparency = NumberSequence.new(0.75)
  1171. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  1172. glowz2.Lifetime = NumberRange.new(1)
  1173. glowz2.Rate = 50000
  1174. glowz2.VelocitySpread = 9001
  1175. wave.BrickColor = TorsoColor
  1176. wave.Anchored = true
  1177. wave.CanCollide = false
  1178. wave.Locked = true
  1179. wave.Size = Vector3.new(1, 1, 1)
  1180. wave.TopSurface = "Smooth"
  1181. wave.BottomSurface = "Smooth"
  1182. wave.Transparency = 0.35
  1183. wave.CFrame = fx.CFrame
  1184. wave.Material = "Neon"
  1185. wm = Instance.new("SpecialMesh", wave)
  1186. wm.MeshType = "Sphere"
  1187. wm.Scale = Vector3.new(1,1,1)
  1188. local wave2 = Instance.new("Part", torso)
  1189. wave2.BrickColor = TorsoColor
  1190. wave2.Anchored = true
  1191. wave2.CanCollide = false
  1192. wave2.Locked = true
  1193. wave2.Size = Vector3.new(1, 1, 1)
  1194. wave2.TopSurface = "Smooth"
  1195. wave2.BottomSurface = "Smooth"
  1196. wave2.Transparency = 0.35
  1197. wave2.CFrame = fx.CFrame
  1198. wave2.Material = "Neon"
  1199. wm2 = Instance.new("SpecialMesh", wave2)
  1200. wm2.MeshType = "FileMesh"
  1201. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1202. wm2.Scale = Vector3.new(1,1,1)
  1203. local wave3 = Instance.new("Part", torso)
  1204. wave3.BrickColor = BrickColor.new("Really black")
  1205. wave3.Anchored = true
  1206. wave3.CanCollide = false
  1207. wave3.Locked = true
  1208. wave3.Size = Vector3.new(1, 1, 1)
  1209. wave3.TopSurface = "Smooth"
  1210. wave3.BottomSurface = "Smooth"
  1211. wave3.Transparency = 0.35
  1212. wave3.CFrame = fx.CFrame
  1213. wave3.Material = "Neon"
  1214. wm3 = Instance.new("SpecialMesh", wave3)
  1215. wm3.MeshType = "FileMesh"
  1216. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1217. wm3.Scale = Vector3.new(1,1,1)
  1218. coroutine.wrap(function()
  1219. for i = 1, 18, 1 do
  1220. value = value - 0.5
  1221. value2 = value2 - 0.75*1.5
  1222. value3 = value3 - 0.475*1.5
  1223. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  1224. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  1225. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  1226. --wave.Size = wm.Scale
  1227. wave.CFrame = fx.CFrame
  1228. wave.Transparency = i/14
  1229. --wave2.Size = wm2.Scale
  1230. wave2.CFrame = fx.CFrame
  1231. wave2.Rotation = Vector3.new(90, 0, 0)
  1232. wave2.Transparency = i/14
  1233. --wave3.Size = wm3.Scale
  1234. wave3.CFrame = fx.CFrame
  1235. wave3.Rotation = Vector3.new(90, 0, 0)
  1236. wave3.Transparency = i/14
  1237. wait()
  1238. glowz.Rate = 0
  1239. glowz2.Rate = 0
  1240. end
  1241. wait()
  1242. wave:Destroy()
  1243. wave2:Destroy()
  1244. wave3:Destroy()
  1245. end)()
  1246. elseif Transforming == false then
  1247. wait()
  1248. end
  1249. end
  1250.  
  1251. for i = 1, 100 do rs:wait()
  1252. fx.CFrame = torso.CFrame
  1253. end
  1254.  
  1255. Spawn(function()
  1256. while wait(1) do
  1257. GroundWave()
  1258. end
  1259. end)
  1260.  
  1261. wait(4)
  1262.  
  1263. Transforming = false
  1264.  
  1265. local value2 = 1
  1266. for i = 1, 20 do rs:wait()
  1267. value2 = value2 - 0.05
  1268. glowz.Rate = 0
  1269. glowz2.Rate = 0
  1270. fx.Transparency = fx.Transparency + (1/20)
  1271. fx.CFrame = torso.CFrame
  1272. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  1273. rs:wait()
  1274. end
  1275. glowz:Destroy()
  1276. glowz2:Destroy()
  1277.  
  1278. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1279. local valuer = 5
  1280. local valuer2 = 10
  1281. local valuer3 = 15
  1282. local sa2 = Instance.new("Sound",torso)
  1283. sa2.SoundId = "rbxassetid://158644872"
  1284. sa2.Pitch = 1
  1285. sa2.Volume = 5
  1286. sa2.Looped = false
  1287. sa2:Play()
  1288. local sar2 = Instance.new("Sound",torso)
  1289. sar2.SoundId = "rbxassetid://158644872"
  1290. sar2.Pitch = 1
  1291. sar2.Volume = 5
  1292. sar2.Looped = false
  1293. sar2:Play()
  1294. local wave = Instance.new("Part", torso)
  1295. wave.BrickColor = TorsoColor
  1296. wave.Anchored = true
  1297. wave.CanCollide = false
  1298. wave.Locked = true
  1299. wave.Size = Vector3.new(1, 1, 1)
  1300. wave.TopSurface = "Smooth"
  1301. wave.BottomSurface = "Smooth"
  1302. wave.Transparency = 0.35
  1303. wave.CFrame = HandCF
  1304. wm = Instance.new("SpecialMesh", wave)
  1305. wm.MeshId = "rbxassetid://3270017"
  1306. local wave2 = Instance.new("Part", torso)
  1307. wave2.BrickColor = BrickColor.new("Really black")
  1308. wave2.Anchored = true
  1309. wave2.CanCollide = false
  1310. wave2.Locked = true
  1311. wave2.Size = Vector3.new(1, 1, 1)
  1312. wave2.TopSurface = "Smooth"
  1313. wave2.BottomSurface = "Smooth"
  1314. wave2.Transparency = 0.35
  1315. wave2.CFrame = HandCF
  1316. wm2 = Instance.new("SpecialMesh", wave2)
  1317. wm2.MeshId = "rbxassetid://3270017"
  1318. local wave3 = Instance.new("Part", torso)
  1319. wave3.BrickColor = TorsoColor
  1320. wave3.Anchored = true
  1321. wave3.CanCollide = false
  1322. wave3.Locked = true
  1323. wave3.Size = Vector3.new(1, 1, 1)
  1324. wave3.TopSurface = "Smooth"
  1325. wave3.BottomSurface = "Smooth"
  1326. wave3.Transparency = 0.35
  1327. wave3.CFrame = HandCF
  1328. wm3 = Instance.new("SpecialMesh", wave3)
  1329. wm3.MeshId = "rbxassetid://3270017"
  1330. coroutine.wrap(function()
  1331. for i = 1, 14, 1 do
  1332. valuer = valuer - 0.35
  1333. valuer2 = valuer - 0.45
  1334. valuer3 = valuer3 - 0.475
  1335. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  1336. wave.Size = wm.Scale
  1337. wave.CFrame = HandCF
  1338. wave.Transparency = i/14
  1339. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  1340. wave2.Size = wm2.Scale
  1341. wave2.CFrame = HandCF
  1342. wave2.Transparency = i/14
  1343. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  1344. wave3.Size = wm2.Scale
  1345. wave3.CFrame = HandCF
  1346. wave3.Transparency = i/14
  1347. wait()
  1348. end
  1349. wait()
  1350. wave:Destroy()
  1351. wave2:Destroy()
  1352. end)()
  1353. hum.WalkSpeed = 16
  1354. ----------------------------------------------------
  1355. local cor = Instance.new("Part", char)
  1356. cor.Name = "Thingy"
  1357. cor.Locked = true
  1358. cor.BottomSurface = 0
  1359. cor.CanCollide = false
  1360. cor.Size = Vector3.new(1, 13, 1)
  1361. cor.Transparency = 1
  1362. cor.TopSurface = 0
  1363. corw = Instance.new("Weld", cor)
  1364. corw.Part0 = rarm
  1365. corw.Part1 = cor
  1366. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1367. corw.C1 = CFrame.new(0, 0, 0)
  1368. weld1 = Instance.new("Weld", char)
  1369. weld1.Part0 = cor
  1370. weld1.Part1 = p6
  1371. weld1.C0 = CFrame.new(0, 0, 0)
  1372. ----------------------------------------------------
  1373. Blast = function()
  1374. local Colors = {"Really black", "Really black"}
  1375. local wave = Instance.new("Part", torso)
  1376. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1377. wave.Anchored = true
  1378. wave.CanCollide = false
  1379. wave.Locked = true
  1380. wave.Size = Vector3.new(1, 1, 1)
  1381. wave.TopSurface = "Smooth"
  1382. wave.BottomSurface = "Smooth"
  1383. wave.Transparency = 0.35
  1384. wave.CFrame = rarm.CFrame
  1385. wm = Instance.new("SpecialMesh", wave)
  1386. wm.MeshType = "Sphere"
  1387. wm.Scale = Vector3.new(1,1,1)
  1388. z = Instance.new("Sound",wave)
  1389. z.SoundId = "rbxassetid://158644872"
  1390. z.Volume = 1
  1391. z.Pitch = .9
  1392. z:Play()
  1393. coroutine.wrap(function()
  1394. for i = 1, 30, 1 do
  1395. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1396. --wave.Size = wm.Scale
  1397. wave.CFrame = rarm.CFrame
  1398. wave.Transparency = (1/14)
  1399. rs:wait()
  1400. end
  1401. rs:wait()
  1402. wave:Destroy()
  1403. z:Destroy()
  1404. end)()
  1405. end
  1406. ----------------------------------------------------
  1407. rarm.Touched:connect(function(ht)
  1408. hit = ht.Parent
  1409. if ht and hit:IsA("Model") then
  1410. if hit:FindFirstChild("Humanoid") then
  1411. if hit.Name ~= p.Name then
  1412. if Debounces.RPunch == true and Debounces.RPunched == false then
  1413. Debounces.RPunched = true
  1414. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1415. if Debounces.ks==true then
  1416. z = Instance.new("Sound",hed)
  1417. z.SoundId = "rbxassetid://158644872"
  1418. z.Pitch = ptz[math.random(1,#ptz)]
  1419. z.Volume = 1
  1420. z:Play()
  1421. end
  1422. wait(.2)
  1423. Debounces.RPunched = false
  1424. end
  1425. end
  1426. end
  1427. elseif ht and hit:IsA("Hat") then
  1428. if hit.Parent.Name ~= p.Name then
  1429. if hit.Parent:FindFirstChild("Humanoid") then
  1430. if Debounces.RPunch == true and Debounces.RPunched == false then
  1431. Debounces.RPunched = true
  1432. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1433. if Debounces.ks==true then
  1434. z = Instance.new("Sound",hed)
  1435. z.SoundId = "rbxassetid://158644872"
  1436. z.Pitch = ptz[math.random(1,#ptz)]
  1437. z.Volume = 1
  1438. z:Play()
  1439. end
  1440. wait(.2)
  1441. Debounces.RPunched = false
  1442. end
  1443. end
  1444. end
  1445. end
  1446. end)
  1447. larm.Touched:connect(function(ht)
  1448. hit = ht.Parent
  1449. if ht and hit:IsA("Model") then
  1450. if hit:FindFirstChild("Humanoid") then
  1451. if hit.Name ~= p.Name then
  1452. if Debounces.LPunch == true and Debounces.LPunched == false then
  1453. Debounces.LPunched = true
  1454. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1455. if Debounces.ks2==true then
  1456. z = Instance.new("Sound",hed)
  1457. z.SoundId = "rbxassetid://158644872"
  1458. z.Pitch = ptz[math.random(1,#ptz)]
  1459. z.Volume = 1
  1460. z:Play()
  1461. end
  1462. wait(.2)
  1463. Debounces.LPunched = false
  1464. end
  1465. end
  1466. end
  1467. elseif ht and hit:IsA("Hat") then
  1468. if hit.Parent.Name ~= p.Name then
  1469. if hit.Parent:FindFirstChild("Humanoid") then
  1470. if Debounces.LPunch == true and Debounces.LPunched == false then
  1471. Debounces.LPunched = true
  1472. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1473. if Debounces.ks2==true then
  1474. z = Instance.new("Sound",hed)
  1475. z.SoundId = "rbxassetid://169380525"
  1476. z.Pitch = ptz[math.random(1,#ptz)]
  1477. z.Volume = 1
  1478. z:Play()
  1479. end
  1480. wait(.2)
  1481. Debounces.LPunched = false
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end)
  1487. ----------------------------------------------------
  1488. mod4 = Instance.new("Model",char)
  1489.  
  1490. ptez = {0.7, 0.8, 0.9, 1}
  1491.  
  1492. function FindNearestTorso(Position,Distance,SinglePlayer)
  1493. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1494. local List = {}
  1495. for i,v in pairs(workspace:GetChildren())do
  1496. if v:IsA("Model")then
  1497. if v:findFirstChild("Torso")then
  1498. if v ~= char then
  1499. if(v.Torso.Position -Position).magnitude <= Distance then
  1500. table.insert(List,v)
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506. return List
  1507. end
  1508.  
  1509. function Punch()
  1510. part=Instance.new('Part',mod4)
  1511. part.Anchored=true
  1512. part.CanCollide=false
  1513. part.FormFactor='Custom'
  1514. part.Size=Vector3.new(.2,.2,.2)
  1515. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1516. part.Transparency=.7
  1517. part.BrickColor=BrickColor.new('Really black')
  1518. mesh=Instance.new('SpecialMesh',part)
  1519. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1520. mesh.Scale=Vector3.new(3,3,3)
  1521. part2=Instance.new('Part',mod4)
  1522. part2.Anchored=true
  1523. part2.CanCollide=false
  1524. part2.FormFactor='Custom'
  1525. part2.Size=Vector3.new(.2,.2,.2)
  1526. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1527. part2.Transparency=.7
  1528. part2.BrickColor=BrickColor.new('Really black')
  1529. mesh2=Instance.new('SpecialMesh',part2)
  1530. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1531. mesh2.Scale=Vector3.new(3,1.5,3)
  1532. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1533. if v:FindFirstChild('Humanoid') then
  1534. v.Humanoid:TakeDamage(math.random(2,6))
  1535. end
  1536. end
  1537. coroutine.resume(coroutine.create(function()
  1538. for i=0,0.62,0.4 do
  1539. wait()
  1540. part.CFrame=part.CFrame
  1541. part.Transparency=i
  1542. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1543. part2.CFrame=part2.CFrame
  1544. part2.Transparency=i
  1545. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1546. end
  1547. part.Parent=nil
  1548. part2.Parent=nil
  1549. end))
  1550. end
  1551. ----------------------------------------------------
  1552. rarm.Touched:connect(function(ht)
  1553. hit = ht.Parent
  1554. if ht and hit:IsA("Model") then
  1555. if hit:FindFirstChild("Humanoid") then
  1556. if hit.Name ~= p.Name then
  1557. if Debounces.RPunch == true and Debounces.RPunched == false then
  1558. Debounces.RPunched = true
  1559. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1560. if Debounces.ks==true then
  1561. z = Instance.new("Sound",hed)
  1562. z.SoundId = "rbxassetid://158644872"
  1563. z.Pitch = ptz[math.random(1,#ptz)]
  1564. z.Volume = 1
  1565. z:Play()
  1566. end
  1567. wait(.2)
  1568. Debounces.RPunched = false
  1569. end
  1570. end
  1571. end
  1572. elseif ht and hit:IsA("Hat") then
  1573. if hit.Parent.Name ~= p.Name then
  1574. if hit.Parent:FindFirstChild("Humanoid") then
  1575. if Debounces.RPunch == true and Debounces.RPunched == false then
  1576. Debounces.RPunched = true
  1577. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1578. if Debounces.ks==true then
  1579. z = Instance.new("Sound",hed)
  1580. z.SoundId = "rbxassetid://158644872"
  1581. z.Pitch = ptz[math.random(1,#ptz)]
  1582. z.Volume = 1
  1583. z:Play()
  1584. end
  1585. wait(.2)
  1586. Debounces.RPunched = false
  1587. end
  1588. end
  1589. end
  1590. end
  1591. end)
  1592. larm.Touched:connect(function(ht)
  1593. hit = ht.Parent
  1594. if ht and hit:IsA("Model") then
  1595. if hit:FindFirstChild("Humanoid") then
  1596. if hit.Name ~= p.Name then
  1597. if Debounces.LPunch == true and Debounces.LPunched == false then
  1598. Debounces.LPunched = true
  1599. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1600. if Debounces.ks2==true then
  1601. z = Instance.new("Sound",hed)
  1602. z.SoundId = "rbxassetid://158644872"
  1603. z.Pitch = ptz[math.random(1,#ptz)]
  1604. z.Volume = 1
  1605. z:Play()
  1606. end
  1607. wait(.2)
  1608. Debounces.LPunched = false
  1609. end
  1610. end
  1611. end
  1612. elseif ht and hit:IsA("Hat") then
  1613. if hit.Parent.Name ~= p.Name then
  1614. if hit.Parent:FindFirstChild("Humanoid") then
  1615. if Debounces.LPunch == true and Debounces.LPunched == false then
  1616. Debounces.LPunched = true
  1617. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1618. if Debounces.ks2==true then
  1619. z = Instance.new("Sound",hed)
  1620. z.SoundId = "rbxassetid://158644872"
  1621. z.Pitch = ptz[math.random(1,#ptz)]
  1622. z.Volume = 1
  1623. z:Play()
  1624. end
  1625. wait(.2)
  1626. Debounces.LPunched = false
  1627. end
  1628. end
  1629. end
  1630. end
  1631. end)
  1632. ----------------------------------------------------
  1633. local player = game.Players.LocalPlayer
  1634. local pchar = player.Character
  1635. local mouse = player:GetMouse()
  1636. local cam = workspace.CurrentCamera
  1637.  
  1638. local rad = math.rad
  1639.  
  1640. local keysDown = {}
  1641. local flySpeed = 0
  1642. local MAX_FLY_SPEED = 3000
  1643.  
  1644. local canFly = false
  1645. local flyToggled = false
  1646.  
  1647. local forward, side = 0, 0
  1648. local lastForward, lastSide = 0, 0
  1649.  
  1650. local floatBP = Instance.new("BodyPosition")
  1651. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1652. local flyBV = Instance.new("BodyVelocity")
  1653. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1654. local turnBG = Instance.new("BodyGyro")
  1655. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1656.  
  1657. mouse.KeyDown:connect(function(key)
  1658. keysDown[key] = true
  1659.  
  1660. if key == "f" then
  1661. flyToggled = not flyToggled
  1662.  
  1663. if not flyToggled then
  1664. stanceToggle = "Normal"
  1665. floatBP.Parent = nil
  1666. flyBV.Parent = nil
  1667. turnBG.Parent = nil
  1668. root.Velocity = Vector3.new()
  1669. pchar.Humanoid.PlatformStand = false
  1670. end
  1671. end
  1672.  
  1673. end)
  1674. mouse.KeyUp:connect(function(key)
  1675. keysDown[key] = nil
  1676. end)
  1677.  
  1678. local function updateFly()
  1679.  
  1680. if not flyToggled then return end
  1681.  
  1682. lastForward = forward
  1683. lastSide = side
  1684.  
  1685. forward = 0
  1686. side = 0
  1687.  
  1688. if keysDown.w then
  1689. forward = forward + 1
  1690. end
  1691. if keysDown.s then
  1692. forward = forward - 1
  1693. end
  1694. if keysDown.a then
  1695. side = side - 1
  1696. end
  1697. if keysDown.d then
  1698. side = side + 1
  1699. end
  1700.  
  1701. canFly = (forward ~= 0 or side ~= 0)
  1702.  
  1703. if canFly then
  1704. stanceToggle = "Floating"
  1705. turnBG.Parent = root
  1706. floatBP.Parent = nil
  1707. flyBV.Parent = root
  1708.  
  1709. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1710. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1711. else
  1712. floatBP.position = root.Position
  1713. floatBP.Parent = root
  1714.  
  1715. flySpeed = flySpeed - 1
  1716. if flySpeed < 0 then flySpeed = 0 end
  1717. end
  1718.  
  1719. local camCF = cam.CoordinateFrame
  1720. local in_forward = canFly and forward or lastForward
  1721. local in_side = canFly and side or lastSide
  1722.  
  1723. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1724. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1725.  
  1726. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1727. 0)
  1728. end
  1729.  
  1730. game:service'RunService'.RenderStepped:connect(function()
  1731. if flyToggled then
  1732. pchar.Humanoid.PlatformStand = true
  1733. end
  1734. updateFly()
  1735. end)
  1736. -------------------------------
  1737. mouse.KeyDown:connect(function(key)
  1738. if key == "q" then
  1739. if Debounces.CanAttack == true then
  1740. Debounces.CanAttack = false
  1741. Debounces.NoIdl = true
  1742. Debounces.on = true
  1743. function FindNearestTorso(Position,Distance,SinglePlayer)
  1744. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1745. local List = {}
  1746. for i,v in pairs(workspace:GetChildren())do
  1747. if v:IsA("Model")then
  1748. if v:findFirstChild("Torso")then
  1749. if v ~= char then
  1750. if(v.Torso.Position -Position).magnitude <= Distance then
  1751. table.insert(List,v)
  1752. end
  1753. end
  1754. end
  1755. end
  1756. end
  1757. return List
  1758. end
  1759. z = Instance.new("Sound",workspace)
  1760. z.SoundId = "rbxassetid://158644872"
  1761. z.Pitch = 0.75
  1762. z.Volume = 5
  1763. wait(0.2)
  1764. z:Play()
  1765. sp = Instance.new("Part",rarm)
  1766. sp.Anchored = true
  1767. sp.CanCollide = false
  1768. sp.Locked = true
  1769. sp.Transparency = 0
  1770. sp.Material = "Neon"
  1771. sp.Size = Vector3.new(2,2,2)
  1772. sp.TopSurface = "SmoothNoOutlines"
  1773. sp.BottomSurface = "SmoothNoOutlines"
  1774. sp.BrickColor = TorsoColor
  1775. spm = Instance.new("SpecialMesh",sp)
  1776. spm.MeshType = "Sphere"
  1777. spm.Scale = Vector3.new(42,42,42)
  1778. sp2 = Instance.new("Part", rarm)
  1779. sp2.Name = "Energy"
  1780. sp2.BrickColor = TorsoColor
  1781. sp2.Size = Vector3.new(1, 1, 1)
  1782. sp2.Shape = "Ball"
  1783. sp2.CanCollide = false
  1784. sp2.Anchored = true
  1785. sp2.Locked = true
  1786. sp2.TopSurface = 0
  1787. sp2.BottomSurface = 0
  1788. sp2.Transparency = 1
  1789. spm2 = Instance.new("SpecialMesh",sp2)
  1790. spm2.MeshId = "rbxassetid://9982590"
  1791. spm2.Scale = Vector3.new(4,4,4)
  1792. sp3 = Instance.new("Part", rarm)
  1793. sp3.Name = "Energy"
  1794. sp3.BrickColor = TorsoColor
  1795. sp3.Size = Vector3.new(1, 1, 1)
  1796. sp3.Shape = "Ball"
  1797. sp3.CanCollide = false
  1798. sp3.Anchored = true
  1799. sp3.Locked = true
  1800. sp3.TopSurface = 0
  1801. sp3.BottomSurface = 0
  1802. sp3.Transparency = 1
  1803. spm3 = Instance.new("SpecialMesh",sp2)
  1804. spm3.MeshId = "rbxassetid://9982590"
  1805. spm3.Scale = Vector3.new(8,8,8)
  1806. for i = 1, 20 do
  1807. spm.Scale = spm.Scale - Vector3.new(2,2,2)
  1808. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1809. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1810. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1811. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1812. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1813. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1814. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1815. if Debounces.on == false then break end
  1816. rs:wait()
  1817. end
  1818. for i = 1, 100, 20 do rs:wait()
  1819. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1820. end
  1821. for i = 1, 20 do
  1822. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1823. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1824. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1825. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1826. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1827. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1828. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1829. if Debounces.on == false then break end
  1830. rs:wait()
  1831. end
  1832. sp.Transparency = 1
  1833. for i = 1, 20 do
  1834. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1835. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1836. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1837. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1838. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1839. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1840. if Debounces.on == false then break end
  1841. rs:wait()
  1842. end
  1843. wait(1)
  1844. sp.Transparency = 0
  1845. sp2.Transparency = 0.84
  1846. for i = 1, 20 do
  1847. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1848. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1849. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1850. sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1851. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1852. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1853. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1854. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1855. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1856. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1857. if Debounces.on == false then break end
  1858. rs:wait()
  1859. end
  1860. for i = 1, 2880, 50 do
  1861. rs:wait()
  1862. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1863. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1864. sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10))
  1865. rs:wait()
  1866. end
  1867. sp:Destroy()
  1868. sp2:Destroy()
  1869. sp3:Destroy()
  1870. local X = Instance.new("Part",char)
  1871. local O = Instance.new("ObjectValue",X)
  1872. O.Name = "creator"
  1873. X.Locked = true
  1874. X.Name = "Shell"
  1875. X.Anchored = false
  1876. X.CanCollide = false
  1877. X.Transparency = 0
  1878. X.Reflectance = 0
  1879. X.BottomSurface = 0
  1880. X.TopSurface = 0
  1881. X.Shape = 0
  1882. local V = Instance.new("ObjectValue",X)
  1883. V.Value = char
  1884. V.Name = "creator"
  1885. X.BrickColor = TorsoColor
  1886. X.Size = Vector3.new(2,2,2)
  1887. X.Material = "Neon"
  1888. local Z = Instance.new("SpecialMesh",X)
  1889. Z.MeshType = "Sphere"
  1890. Z.Scale = Vector3.new(0.5,0.5,1)
  1891. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1892. local bv = Instance.new("BodyVelocity",X)
  1893. bv.maxForce = Vector3.new(99999,99999,99999)
  1894. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1895. bv.velocity = X.CFrame.lookVector*75
  1896.  
  1897. Explode = X.Touched:connect(function(hit)
  1898. if hit ~= char and hit.Name ~= "Shell" then
  1899. local cf = X.CFrame
  1900. bv:Destroy()
  1901. X.Anchored = true
  1902. Z:Remove()
  1903. Explode:disconnect()
  1904. X.Size = Vector3.new(6,6,6)
  1905. X.Touched:connect(function(hit) end)
  1906. X.CanCollide = false
  1907. local part3 = Instance.new("Part", rarm)
  1908. part3.Anchored=true
  1909. part3.CanCollide=false
  1910. part3.Locked = true
  1911. part3.TopSurface = "SmoothNoOutlines"
  1912. part3.BottomSurface = "SmoothNoOutlines"
  1913. part3.FormFactor='Custom'
  1914. part3.Size=Vector3.new(2,2, 2)
  1915. part3.CFrame=X.CFrame
  1916. part3.Transparency=0
  1917. part3.BrickColor=TorsoColor
  1918. local mesh3 = Instance.new("SpecialMesh",part3)
  1919. mesh3.MeshType = "Sphere"
  1920. mesh3.Scale = Vector3.new(2,2,2)
  1921. --debris:AddItem(X,8)
  1922. local part4 = Instance.new("Part", rarm)
  1923. part4.Material = "Neon"
  1924. part4.Anchored=true
  1925. part4.CanCollide=false
  1926. part4.Locked = true
  1927. part4.TopSurface = "SmoothNoOutlines"
  1928. part4.BottomSurface = "SmoothNoOutlines"
  1929. part4.FormFactor='Custom'
  1930. part4.Size=Vector3.new(2,2, 2)
  1931. part4.CFrame=X.CFrame
  1932. part4.Transparency=0
  1933. part4.BrickColor=BrickColor.new("Black")
  1934. local mesh4 = Instance.new("SpecialMesh",part4)
  1935. mesh4.MeshType = "Sphere"
  1936. mesh4.Scale = Vector3.new(1,1,1)
  1937. local part7 = Instance.new("Part", rarm)
  1938. part7.Material = "Neon"
  1939. part7.Anchored=true
  1940. part7.CanCollide=false
  1941. part7.Locked = true
  1942. part7.TopSurface = "SmoothNoOutlines"
  1943. part7.BottomSurface = "SmoothNoOutlines"
  1944. part7.FormFactor='Custom'
  1945. part7.Size=Vector3.new(2,2, 2)
  1946. part7.CFrame=X.CFrame
  1947. part7.Transparency=0
  1948. part7.BrickColor=BrickColor.new("Really black")
  1949. local mesh7 = Instance.new("SpecialMesh",part7)
  1950. mesh7.MeshType = "Sphere"
  1951. mesh7.Scale = Vector3.new(0.2, 0.2, 0.2)
  1952. --[[X.Touched:connect(function(ht)
  1953. hit = ht.Parent
  1954. if ht and hit:IsA("Model") then
  1955. if hit:FindFirstChild("Humanoid") then
  1956. if hit.Name ~= p.Name then
  1957. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1958. wait(.3)
  1959. end
  1960. end
  1961. elseif ht and hit:IsA("Hat") then
  1962. if hit.Parent.Name ~= p.Name then
  1963. if hit.Parent:FindFirstChild("Humanoid") then
  1964. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1965. wait(.3)
  1966. end
  1967. end
  1968. end
  1969. end)
  1970. part3.Touched:connect(function(ht)
  1971. hit = ht.Parent
  1972. if ht and hit:IsA("Model") then
  1973. if hit:FindFirstChild("Humanoid") then
  1974. if hit.Name ~= p.Name then
  1975. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1976. wait(.3)
  1977. end
  1978. end
  1979. elseif ht and hit:IsA("Hat") then
  1980. if hit.Parent.Name ~= p.Name then
  1981. if hit.Parent:FindFirstChild("Humanoid") then
  1982. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1983. wait(.3)
  1984. end
  1985. end
  1986. end
  1987. end)]]--
  1988. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1989. if v:FindFirstChild('Humanoid') then
  1990. v.Humanoid:TakeDamage(math.random(60,90))
  1991. v.Humanoid.PlatformStand = true
  1992. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1993. end
  1994. end
  1995.  
  1996. local acos = math.acos
  1997. local sqrt = math.sqrt
  1998. local Vec3 = Vector3.new
  1999. local fromAxisAngle = CFrame.fromAxisAngle
  2000.  
  2001. local function toAxisAngle(CFr)
  2002. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2003. local Angle = math.acos((R00+R11+R22-1)/2)
  2004. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2005. A = A == 0 and 0.00001 or A
  2006. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2007. B = B == 0 and 0.00001 or B
  2008. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2009. C = C == 0 and 0.00001 or C
  2010. local x = (R21-R12)/sqrt(A)
  2011. local y = (R02-R20)/sqrt(B)
  2012. local z = (R10-R01)/sqrt(C)
  2013. return Vec3(x,y,z),Angle
  2014. end
  2015.  
  2016. function ApplyTrig(Num,Func)
  2017. local Min,Max = Func(0),Func(1)
  2018. local i = Func(Num)
  2019. return (i-Min)/(Max-Min)
  2020. end
  2021.  
  2022. function LerpCFrame(CFrame1,CFrame2,Num)
  2023. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2024. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2025. end
  2026.  
  2027. function Crater(Torso,Radius)
  2028. Spawn(function()
  2029. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2030. local Ignore = {}
  2031. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2032. if v.Character ~= nil then
  2033. Ignore[#Ignore+1] = v.Character
  2034. end
  2035. end
  2036. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2037. if Hit == nil then return end
  2038. local Parts = {}
  2039. for i = 1,360,10 do
  2040. local P = Instance.new("Part",Torso.Parent)
  2041. P.Anchored = true
  2042. P.FormFactor = "Custom"
  2043. P.BrickColor = Hit.BrickColor
  2044. P.Material = Hit.Material
  2045. P.TopSurface = "Smooth"
  2046. P.BottomSurface = "Smooth"
  2047. P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100)
  2048. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2049. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2050. if math.random(0,5) == 0 then -- rubble
  2051. local P = Instance.new("Part",Torso.Parent)
  2052. P.Anchored = true
  2053. P.FormFactor = "Custom"
  2054. P.BrickColor = Hit.BrickColor
  2055. P.Material = Hit.Material
  2056. P.TopSurface = "Smooth"
  2057. P.BottomSurface = "Smooth"
  2058. P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100)
  2059. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2060. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2061. end
  2062. end
  2063. for i = 0,1,0.05 do
  2064. for i2,v in pairs(Parts) do
  2065. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2066. end
  2067. wait(0.02)
  2068. end
  2069. for i,v in pairs(Parts) do
  2070. if v[1].Size.X > 2.1 then
  2071. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2072. end
  2073. v[1].Anchored = false
  2074. end
  2075. for i = 0,1,0.05 do
  2076. for i2,v in pairs(Parts) do
  2077. v[1].Transparency = i
  2078. if i == 1 then
  2079. v[1]:Destroy()
  2080. elseif i >= 0.25 then
  2081. v[1].CanCollide = false
  2082. end
  2083. end
  2084. wait(0.02)
  2085. end
  2086. Parts = nil
  2087. end)
  2088. end
  2089.  
  2090. ROW = function(out, trans, s, wt, t, ang, plus)
  2091. for i = 1, 360, 360/t do
  2092. local c = Instance.new("Part", game.Workspace)
  2093. c.FormFactor = 3
  2094. c.TopSurface = 0
  2095. c.BottomSurface = 0
  2096. c.Size = s
  2097. c.Anchored = true
  2098. c.CanCollide = wt
  2099. c.Material=workspace.Base.Material
  2100. c.Transparency = trans
  2101. c.BrickColor = workspace.Base.BrickColor
  2102. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  2103. c.Locked=true
  2104. game.Debris:AddItem(c,15)
  2105. end
  2106. end
  2107.  
  2108. Part = function(x,y,z,color,tr,cc,an,parent)
  2109. local p = Instance.new('Part',parent or Weapon)
  2110. p.formFactor = 'Custom'
  2111. p.Size = Vector3.new(x,y,z)
  2112. p.BrickColor = BrickColor.new(color)
  2113. p.CanCollide = cc
  2114. p.Transparency = tr
  2115. p.Anchored = an
  2116. p.TopSurface,p.BottomSurface = 0,0
  2117. p.Locked=true
  2118. p:BreakJoints()
  2119. return p end
  2120.  
  2121. Mesh = function(par,num,x,y,z)
  2122. local msh = _
  2123. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2124. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2125. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2126. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2127. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2128. end msh.Scale = Vector3.new(x,y,z)
  2129. return msh end
  2130.  
  2131. function explosion(col1,col2,cfr,sz,rng,dmg)
  2132. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2133. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2134. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2135. v1,v2,v3=sz.x,sz.y,sz.z
  2136. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2137. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2138. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2139. a.CFrame=cfr
  2140. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2141. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2142.  
  2143. Spawn(function()
  2144. while wait() do
  2145. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2146. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2147. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2148. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2149. a.Transparency=a.Transparency+0.05
  2150. a2.Transparency=a2.Transparency+0.05
  2151. a3.Transparency=a3.Transparency+0.05
  2152. end
  2153. end)
  2154. end
  2155.  
  2156. Crater(X,20)
  2157. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  2158. z = Instance.new("Sound",workspace)
  2159. z.SoundId = "rbxassetid://158644872"
  2160. z.Pitch = .5
  2161. z.Volume = 5
  2162. z1 = Instance.new("Sound",workspace)
  2163. z1.SoundId = "rbxassetid://158644872"
  2164. z1.Pitch = .5
  2165. z1.Volume = 5
  2166. z2 = Instance.new("Sound",workspace)
  2167. z2.SoundId = "rbxassetid://158644872"
  2168. z2.Pitch = .5
  2169. z2.Volume = 5
  2170. z3 = Instance.new("Sound",workspace)
  2171. z3.SoundId = "rbxassetid://158644872"
  2172. z3.Pitch = .7
  2173. z3.Volume = 5
  2174. z4 = Instance.new("Sound",workspace)
  2175. z4.SoundId = "rbxassetid://158644872"
  2176. z4.Pitch = .7
  2177. z4.Volume = 5
  2178. z4a = Instance.new("Sound",workspace)
  2179. z4a.SoundId = "rbxassetid://419447292"
  2180. z4a.Pitch = 1
  2181. z4a.Volume = 5
  2182. z3a = Instance.new("Sound",workspace)
  2183. z3a.SoundId = "rbxassetid://158644872"
  2184. z3a.Pitch = 1
  2185. z3a.Volume = 5
  2186. wait(0.1)
  2187. z:Play()
  2188. z1:Play()
  2189. z2:Play()
  2190. z3:Play()
  2191. z4:Play()
  2192. z3a:Play()
  2193. z4a:Play()
  2194.  
  2195. local part=Instance.new('Part',rarm)
  2196. part.Anchored=true
  2197. part.CanCollide=false
  2198. part.Locked = true
  2199. part.FormFactor='Custom'
  2200. part.Size=Vector3.new(2,2,2)
  2201. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2202. part.Transparency=0
  2203. part.BrickColor=BrickColor.new('Really black')
  2204. local mesh=Instance.new('SpecialMesh',part)
  2205. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2206. mesh.Scale=Vector3.new(4,4,4)
  2207. local part2=part:clone()
  2208. part2.Parent = rarm
  2209. part2.BrickColor=TorsoColor
  2210. local part5=part:clone()
  2211. part5.Parent = rarm
  2212. part5.BrickColor=TorsoColor
  2213. local part6=part:clone()
  2214. part6.Parent = rarm
  2215. part6.BrickColor=BrickColor.new("Black")
  2216. local mesh2=mesh:clone()
  2217. mesh2.Parent=part2
  2218. mesh2.Scale=Vector3.new(6, 6, 6)
  2219. local mesh5=mesh:clone()
  2220. mesh5.Parent=part5
  2221. mesh5.Scale=Vector3.new(6, 6, 6)
  2222. local mesh6=mesh:clone()
  2223. mesh6.Parent=part6
  2224. mesh6.Scale=Vector3.new(6, 6, 6)
  2225. local blast = Instance.new("Part", rarm)
  2226. blast.BrickColor = BrickColor.new("Really black")
  2227. blast.Anchored = true
  2228. blast.CanCollide = false
  2229. blast.Locked = true
  2230. blast.Size = Vector3.new(2, 2, 2)
  2231. blast.TopSurface = "Smooth"
  2232. blast.BottomSurface = "Smooth"
  2233. blast.Transparency = 0
  2234. blast.CFrame = HandCF
  2235. local bm = Instance.new("SpecialMesh", blast)
  2236. bm.Scale = Vector3.new(10,2,10)
  2237. bm.MeshId = "rbxassetid://3270017"
  2238. local blast2 = Instance.new("Part", rarm)
  2239. blast2.BrickColor = BrickColor.new("Really black")
  2240. blast2.Anchored = true
  2241. blast2.CanCollide = false
  2242. blast2.Locked = true
  2243. blast2.Size = Vector3.new(2, 2, 2)
  2244. blast2.TopSurface = "Smooth"
  2245. blast2.BottomSurface = "Smooth"
  2246. blast2.Transparency = 0
  2247. blast2.CFrame = HandCF
  2248. local bm2 = Instance.new("SpecialMesh", blast2)
  2249. bm2.Scale = Vector3.new(6,2,6)
  2250. bm2.MeshId = "rbxassetid://3270017"
  2251. local blast3 = Instance.new("Part", rarm)
  2252. blast3.BrickColor = BrickColor.new("Really black")
  2253. blast3.Anchored = true
  2254. blast3.CanCollide = false
  2255. blast3.Locked = true
  2256. blast3.Size = Vector3.new(1, 1, 1)
  2257. blast3.TopSurface = "Smooth"
  2258. blast3.BottomSurface = "Smooth"
  2259. blast3.Transparency = 0
  2260. blast3.CFrame = HandCF
  2261. local bm3 = Instance.new("SpecialMesh", blast3)
  2262. bm3.Scale = Vector3.new(6,2,6)
  2263. bm3.MeshId = "rbxassetid://3270017"
  2264. for i = 1,120 do rs:wait()
  2265. X.Transparency = X.Transparency + (1/120)
  2266. part.Transparency = part.Transparency + (1/120)
  2267. part2.Transparency = part2.Transparency + (1/120)
  2268. part3.Transparency = part3.Transparency + (1/120)
  2269. part4.Transparency = part4.Transparency + (1/120)
  2270. part5.Transparency = part5.Transparency + (1/120)
  2271. part6.Transparency = part6.Transparency + (1/120)
  2272. part7.Transparency = part7.Transparency + (1/120)
  2273. blast.Transparency = blast.Transparency + (1/120)
  2274. blast2.Transparency = blast2.Transparency + (1/120)
  2275. blast3.Transparency = blast3.Transparency + (1/120)
  2276. X.Size = X.Size + Vector3.new(1.6,1.6,1.6)
  2277. --part3.Size = part3.Size + Vector3.new(6,6,6)
  2278. mesh.Scale = mesh.Scale + Vector3.new(2,.4,2)
  2279. mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2)
  2280. mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6)
  2281. mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4)
  2282. mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2)
  2283. mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4)
  2284. mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8)
  2285. bm.Scale = bm.Scale + Vector3.new(12,12,.4)
  2286. bm2.Scale = bm2.Scale + Vector3.new(8,8,.4)
  2287. bm3.Scale = bm3.Scale + Vector3.new(8,8,.4)
  2288. X.CFrame = cf
  2289. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2290. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2291. part3.CFrame=X.CFrame
  2292. part4.CFrame=X.CFrame
  2293. part7.CFrame=X.CFrame
  2294. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2295. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2296. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2297. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2298. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2299. rs:wait()
  2300. end
  2301. X:Destroy()
  2302. part:Destroy()
  2303. part2:Destroy()
  2304. part3:Destroy()
  2305. part4:Destroy()
  2306. part5:Destroy()
  2307. part6:Destroy()
  2308. blast:Destroy()
  2309. blast2:Destroy()
  2310. blast3:Destroy()
  2311. z:Destroy()
  2312. z1:Destroy()
  2313. z2:Destroy()
  2314. z3:Destroy()
  2315. z4:Destroy()
  2316. end
  2317. end)
  2318. for i = 1, 20 do
  2319. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  2320. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  2321. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  2322. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  2323. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  2324. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  2325. if Debounces.on == false then break end
  2326. rs:wait()
  2327. end
  2328. if Debounces.CanAttack == false then
  2329. Debounces.CanAttack = true
  2330. Debounces.NoIdl = false
  2331. Debounces.on = false
  2332. end
  2333. end
  2334. end
  2335. end)
  2336. ----------------------------------------------------
  2337. mouse.KeyDown:connect(function(key)
  2338. if key == "c" then
  2339. Blaze()
  2340. end
  2341. end)
  2342. ----------------------------------------------------
  2343. mouse.KeyDown:connect(function(key)
  2344. if key == "v" then
  2345. Blaze2()
  2346. end
  2347. end)
  2348. ----------------------------------------------------
  2349. mouse.KeyDown:connect(function(key)
  2350. if key == "x" then
  2351. hum.WalkSpeed = 0.01
  2352. if Debounces.CanAttack == true then
  2353. Debounces.CanAttack = false
  2354. Debounces.NoIdl = true
  2355. Debounces.on = true
  2356. for i = 1, 30 do
  2357. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2358. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2359. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2360. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2361. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2362. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2363. if Debounces.on == false then break end
  2364. rs:wait(6)
  2365. end
  2366. v = Instance.new("Sound")
  2367. v.SoundId = "158644872"
  2368. v.Parent = char
  2369. v.Looped = false
  2370. v.Pitch = 1
  2371. v.Volume = 18
  2372. wait(.01)
  2373. v:Play()
  2374.  
  2375. if Daytime == true then
  2376. Daytime = false
  2377. l.TimeOfDay = 00
  2378. else
  2379. Daytime = true
  2380. l.TimeOfDay = 12
  2381. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  2382. end
  2383.  
  2384. local Shockwave = function()
  2385. local rng1 = Instance.new("Part", char)
  2386. rng1.Anchored = true
  2387. rng1.BrickColor = BrickColor.new("Really black")
  2388. rng1.CanCollide = false
  2389. rng1.FormFactor = 3
  2390. rng1.Name = "Ring"
  2391. rng1.Material = "Neon"
  2392. rng1.Size = Vector3.new(1, 1, 1)
  2393. rng1.Transparency = 0.35
  2394. rng1.TopSurface = 0
  2395. rng1.BottomSurface = 0
  2396. local rngm1 = Instance.new("SpecialMesh", rng)
  2397. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2398. rngm1.Scale = Vector3.new(10, 10, 1)
  2399. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  2400. local Wave = Instance.new("Part", game.Workspace--[[?]])
  2401. Wave.Name = "Shockwave"
  2402. Wave.BrickColor = BrickColor.new("Really black")
  2403. Wave.Material = "Neon"
  2404. Wave.Size = Vector3.new(1, 1, 1)
  2405. Wave.Shape = "Ball"
  2406. Wave.CanCollide = false
  2407. Wave.Anchored = true
  2408. Wave.TopSurface = 0
  2409. Wave.BottomSurface = 0
  2410. local Wave2 = Instance.new("Part", game.Workspace--[[?]])
  2411. Wave2.Name = "Shockwave2"
  2412. Wave2.BrickColor = TorsoColor
  2413. Wave2.Material = "Neon"
  2414. Wave2.Size = Vector3.new(1, 1, 1)
  2415. Wave2.Shape = "Ball"
  2416. Wave2.CanCollide = false
  2417. Wave2.Anchored = true
  2418. Wave2.TopSurface = 0
  2419. Wave2.BottomSurface = 0
  2420. Wave2.Touched:connect(function(hit)
  2421. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  2422. local Occlude = true
  2423. local NotOccludes = {
  2424. char.Name;
  2425. "Wings";
  2426. "Scythe";
  2427. "Thingy";
  2428. "Thingy2"; -- put all of the names in a table pls
  2429. }
  2430. for i,v in pairs(NotOccludes) do
  2431. if hit.Parent.Name == v then
  2432. Occlude = false
  2433. end
  2434. end
  2435. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  2436. if Occlude then
  2437. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  2438. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2439. end
  2440. end
  2441. end)
  2442.  
  2443. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2444.  
  2445. coroutine.wrap(function()
  2446. for i = 1, 20, 0.2 do
  2447. rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20)
  2448. rng1.Transparency = i/20
  2449. wait()
  2450. end
  2451. wait()
  2452. rng1:Destroy()
  2453. end)()
  2454.  
  2455. Delay(0, function()
  2456.  
  2457. if Daytime == false then
  2458. for i = 3, 50, 1 do
  2459. Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
  2460. Wave.CFrame = char.Torso.CFrame
  2461. local t = i / 50
  2462. Wave.Transparency = t
  2463. Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
  2464. Wave2.CFrame = char.Torso.CFrame
  2465. local tq = i / 50
  2466. Wave2.Transparency = tq
  2467. wait()
  2468. end
  2469. else
  2470. for i = 3, 50, 1 do
  2471. Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
  2472. Wave.CFrame = char.Torso.CFrame
  2473. local t = i / 50
  2474. Wave.Transparency = t
  2475. Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
  2476. Wave2.CFrame = char.Torso.CFrame
  2477. local tq = i / 50
  2478. Wave2.Transparency = tq
  2479. wait()
  2480. end
  2481. end
  2482. Wave:Destroy()
  2483. Wave2:Destroy()
  2484. end)
  2485. Delay(0, function()
  2486. while wait() do
  2487. if Wave ~= nil then
  2488. Wave.CFrame = char.Torso.CFrame
  2489. else
  2490. break
  2491. end
  2492. end
  2493. end)
  2494. end
  2495. Shockwave()
  2496. for i = 1, 30 do
  2497. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2498. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2499. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2500. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2501. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2502. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2503. if Debounces.on == false then break end
  2504. rs:wait()
  2505. end
  2506. wait(2.4)
  2507. Debounces.NoIdl = false
  2508. hum.WalkSpeed = 16
  2509. Debounces.on = false
  2510. wait()
  2511. if Debounces.CanAttack == false then
  2512. Debounces.CanAttack = true
  2513. v:Destroy()
  2514. end
  2515. end
  2516. end
  2517. end)
  2518. ----------------------------------------------------
  2519. mouse.KeyDown:connect(function(key)
  2520. if key == "e" then
  2521. if Debounces.CanAttack == true then
  2522. Debounces.CanAttack = false
  2523. Debounces.on = true
  2524. Debounces.NoIdl = true
  2525. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  2526. z = Instance.new("Sound", rarm)
  2527. z.SoundId = "http://www.roblox.com/asset/?id=158644872"--158644872, 158644872
  2528. z.Volume = 1.25
  2529. z.Pitch = pt[math.random(1,#pt)]
  2530. z.Looped = false
  2531. z:Play()
  2532. Debounces.RPunch = true
  2533. Debounces.LPunch = true
  2534. Debounces.ks = true
  2535. Debounces.ks2 = true
  2536. for i = 1, 3 do
  2537. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2538. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2539. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2540. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2541. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2542. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2543. if Debounces.on == false then break end
  2544. wait()
  2545. end
  2546. z2 = Instance.new("Sound", larm)
  2547. z2.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2548. z2.Volume = 1.25
  2549. z2.Pitch = pt[math.random(1,#pt)]
  2550. z2.Looped = false
  2551. z2:Play()
  2552. for i = 1, 3 do
  2553. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2554. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2555. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2556. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2557. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2558. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2559. if Debounces.on == false then break end
  2560. wait()
  2561. end
  2562. z3 = Instance.new("Sound", rarm)
  2563. z3.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2564. z3.Volume = 1.25
  2565. z3.Pitch = pt[math.random(1,#pt)]
  2566. z3.Looped = false
  2567. z3:Play()
  2568. for i = 1, 3 do
  2569. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2570. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2571. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2572. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2573. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2574. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2575. if Debounces.on == false then break end
  2576. wait()
  2577. end
  2578. z4 = Instance.new("Sound", larm)
  2579. z4.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2580. z4.Volume = 1.25
  2581. z4.Pitch = pt[math.random(1,#pt)]
  2582. z4.Looped = false
  2583. z4:Play()
  2584. for i = 1, 3 do
  2585. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2586. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2587. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2588. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2589. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2590. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2591. if Debounces.on == false then break end
  2592. wait()
  2593. end
  2594. z5 = Instance.new("Sound", rarm)
  2595. z5.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2596. z5.Volume = 1.25
  2597. z5.Pitch = pt[math.random(1,#pt)]
  2598. z5.Looped = false
  2599. z5:Play()
  2600. for i = 1, 3 do
  2601. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2602. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2603. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2604. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2605. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2606. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2607. if Debounces.on == false then break end
  2608. wait()
  2609. end
  2610. z6 = Instance.new("Sound", larm)
  2611. z6.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2612. z6.Volume = 1.25
  2613. z6.Pitch = pt[math.random(1,#pt)]
  2614. z6.Looped = false
  2615. z6:Play()
  2616. for i = 1, 3 do
  2617. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2618. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2619. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2620. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2621. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2622. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2623. if Debounces.on == false then break end
  2624. wait()
  2625. end
  2626. z7 = Instance.new("Sound", rarm)
  2627. z7.SoundId = "http://www.roblox.com/asset/?id=158644872"--158644872, 158644872
  2628. z7.Volume = 1.25
  2629. z7.Pitch = pt[math.random(1,#pt)]
  2630. z7.Looped = false
  2631. z7:Play()
  2632. for i = 1, 3 do
  2633. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2634. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2635. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2636. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2637. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2638. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2639. if Debounces.on == false then break end
  2640. wait()
  2641. end
  2642. z8 = Instance.new("Sound", larm)
  2643. z8.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2644. z8.Volume = 1.25
  2645. z8.Pitch = pt[math.random(1,#pt)]
  2646. z8.Looped = false
  2647. z8:Play()
  2648. for i = 1, 3 do
  2649. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2650. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2653. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2654. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2655. if Debounces.on == false then break end
  2656. wait()
  2657. end
  2658. z9 = Instance.new("Sound", rarm)
  2659. z9.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2660. z9.Volume = 1.25
  2661. z9.Pitch = pt[math.random(1,#pt)]
  2662. z9.Looped = false
  2663. z9:Play()
  2664. for i = 1, 3 do
  2665. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2666. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2667. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2668. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2669. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2670. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2671. if Debounces.on == false then break end
  2672. wait()
  2673. end
  2674. z10 = Instance.new("Sound", larm)
  2675. z10.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2676. z10.Volume = 1.25
  2677. z10.Pitch = pt[math.random(1,#pt)]
  2678. z10.Looped = false
  2679. z10:Play()
  2680. for i = 1, 3 do
  2681. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2682. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2683. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2684. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2685. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2686. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2687. if Debounces.on == false then break end
  2688. wait()
  2689. end
  2690. z11 = Instance.new("Sound", rarm)
  2691. z11.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2692. z11.Volume = 1.25
  2693. z11.Pitch = pt[math.random(1,#pt)]
  2694. z11.Looped = false
  2695. z11:Play()
  2696. for i = 1, 3 do
  2697. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2698. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2699. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2700. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2701. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2702. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2703. if Debounces.on == false then break end
  2704. wait()
  2705. end
  2706. z12 = Instance.new("Sound", larm)
  2707. z12.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2708. z12.Volume = 1.25
  2709. z12.Pitch = pt[math.random(1,#pt)]
  2710. z12.Looped = false
  2711. z12:Play()
  2712. for i = 1, 3 do
  2713. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2714. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2715. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2716. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2717. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2718. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2719. if Debounces.on == false then break end
  2720. wait()
  2721. end
  2722. z13 = Instance.new("Sound", rarm)
  2723. z13.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2724. z13.Volume = 1.25
  2725. z13.Pitch = pt[math.random(1,#pt)]
  2726. z13.Looped = false
  2727. z13:Play()
  2728. for i = 1, 3 do
  2729. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2730. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2731. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2732. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2733. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2734. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2735. if Debounces.on == false then break end
  2736. wait()
  2737. end
  2738. z14 = Instance.new("Sound", larm)
  2739. z14.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2740. z14.Volume = 1.25
  2741. z14.Pitch = pt[math.random(1,#pt)]
  2742. z14.Looped = false
  2743. z14:Play()
  2744. for i = 1, 3 do
  2745. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2746. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2747. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2748. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2749. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2750. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2751. if Debounces.on == false then break end
  2752. wait()
  2753. end
  2754. z15 = Instance.new("Sound", rarm)
  2755. z15.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2756. z15.Volume = 1.25
  2757. z15.Pitch = pt[math.random(1,#pt)]
  2758. z15.Looped = false
  2759. z15:Play()
  2760. for i = 1, 3 do
  2761. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2762. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2763. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2764. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2765. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2766. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2767. if Debounces.on == false then break end
  2768. wait()
  2769. end
  2770. z16 = Instance.new("Sound", larm)
  2771. z16.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2772. z16.Volume = 1.25
  2773. z16.Pitch = pt[math.random(1,#pt)]
  2774. z16.Looped = false
  2775. z16:Play()
  2776. for i = 1, 3 do
  2777. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2778. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2779. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2780. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2781. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2782. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2783. if Debounces.on == false then break end
  2784. wait()
  2785. end
  2786. z17 = Instance.new("Sound", rarm)
  2787. z17.SoundId = "http://www.roblox.com/asset/?id=158644872"--158644872, 158644872
  2788. z17.Volume = 1.25
  2789. z17.Pitch = pt[math.random(1,#pt)]
  2790. z17.Looped = false
  2791. z17:Play()
  2792. for i = 1, 3 do
  2793. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2794. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2795. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2796. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2797. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2798. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2799. if Debounces.on == false then break end
  2800. wait()
  2801. end
  2802. z18 = Instance.new("Sound", larm)
  2803. z18.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2804. z18.Volume = 1.25
  2805. z18.Pitch = pt[math.random(1,#pt)]
  2806. z18.Looped = false
  2807. z18:Play()
  2808. for i = 1, 3 do
  2809. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2810. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2811. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2812. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2813. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2814. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2815. if Debounces.on == false then break end
  2816. wait()
  2817. end
  2818. z19 = Instance.new("Sound", rarm)
  2819. z19.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2820. z19.Volume = 1.25
  2821. z19.Pitch = pt[math.random(1,#pt)]
  2822. z19.Looped = false
  2823. z19:Play()
  2824. for i = 1, 3 do
  2825. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2826. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2827. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2828. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2829. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2830. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2831. if Debounces.on == false then break end
  2832. wait()
  2833. end
  2834. z20 = Instance.new("Sound", larm)
  2835. z20.SoundId = "http://www.roblox.com/asset/?id=158644872"
  2836. z20.Volume = 1.25
  2837. z20.Pitch = pt[math.random(1,#pt)]
  2838. z20.Looped = false
  2839. z20:Play()
  2840. for i = 1, 3 do
  2841. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2842. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2843. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2844. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2845. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2846. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2847. if Debounces.on == false then break end
  2848. wait()
  2849. end
  2850. z:Destroy()
  2851. z2:Destroy()
  2852. z3:Destroy()
  2853. z4:Destroy()
  2854. z5:Destroy()
  2855. z6:Destroy()
  2856. z7:Destroy()
  2857. z8:Destroy()
  2858. z9:Destroy()
  2859. z10:Destroy()
  2860. z11:Destroy()
  2861. z12:Destroy()
  2862. z13:Destroy()
  2863. z14:Destroy()
  2864. z15:Destroy()
  2865. z16:Destroy()
  2866. z17:Destroy()
  2867. z18:Destroy()
  2868. z19:Destroy()
  2869. z20:Destroy()
  2870. Debounces.LPunch = false
  2871. Debounces.RPunch = false
  2872. Debounces.ks = false
  2873. Debounces.ks2 = false
  2874. if Debounces.CanAttack == false then
  2875. Debounces.CanAttack = true
  2876. Debounces.on = false
  2877. Debounces.NoIdl = false
  2878. end
  2879. end
  2880. end
  2881. end)
  2882. -------------------------------
  2883. mouse.KeyDown:connect(function(key)
  2884. if key == "t" then
  2885. if Debounces.CanAttack == true then
  2886. Debounces.CanAttack = false
  2887. Debounces.NoIdl = true
  2888. Debounces.on = true
  2889. Debounces.ks = true
  2890. kik = rleg.Touched:connect(function(ht)
  2891. hit = ht.Parent
  2892. if ht and hit:IsA("Model") then
  2893. if hit:FindFirstChild("Humanoid") then
  2894. if hit.Name ~= p.Name then
  2895. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2896. Debounces.Slashed = true]]--
  2897. if Debounces.ks==true then
  2898. z = Instance.new("Sound",hed)
  2899. z.SoundId = "rbxassetid://158644872"
  2900. z.Volume = 1
  2901. z:Play()
  2902. Debounces.ks=false
  2903. end
  2904. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2905. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2906. --Debounces.Slashed = false
  2907. --end
  2908. end
  2909. end
  2910. elseif ht and hit:IsA("Hat") then
  2911. if hit.Parent.Name ~= p.Name then
  2912. if hit.Parent:FindFirstChild("Humanoid") then
  2913. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2914. Debounces.Slashed = true]]--
  2915. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2916. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2917. --Debounces.Slashed = false
  2918. --end
  2919. end
  2920. end
  2921. end
  2922. end)
  2923. for i = 1,20 do
  2924. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2925. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2926. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2927. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2928. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2929. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2930. if Debounces.on == false then break end
  2931. rs:wait()
  2932. end
  2933. kik:disconnect()
  2934. if Debounces.CanAttack == false then
  2935. Debounces.CanAttack = true
  2936. Debounces.NoIdl = false
  2937. Debounces.on = false
  2938. end
  2939. end
  2940. end
  2941. end)
  2942. ----------------------------------------------------
  2943. mouse.KeyDown:connect(function(key)
  2944. if key == "y" then
  2945. if Debounces.CanAttack == true then
  2946. Debounces.CanAttack = false
  2947. Debounces.on = true
  2948. Debounces.NoIdl = true
  2949. for i = 1, 15 do
  2950. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2)
  2951. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6)
  2952. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
  2953. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4)
  2954. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2955. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2956. if Debounces.on == false then break end
  2957. rs:wait(2.7)
  2958. end
  2959. xa = Instance.new("Sound",char)
  2960. xa.SoundId = "rbxassetid://158644872"
  2961. xa.Pitch = 1
  2962. xa.Volume = 2.5
  2963. wait(.1)
  2964. xa:Play()
  2965. Debounces.on = false
  2966. Debounces.Here = false
  2967. shot = shot + 1
  2968. local rng = Instance.new("Part", larm)
  2969. rng.Anchored = true
  2970. rng.BrickColor = TorsoColor
  2971. rng.CanCollide = false
  2972. rng.FormFactor = 3
  2973. rng.Name = "Ring"
  2974. rng.Size = Vector3.new(1, 1, 1)
  2975. rng.Transparency = 0.35
  2976. rng.TopSurface = 0
  2977. rng.BottomSurface = 0
  2978. rng2 = rng:clone()
  2979. rng3 = rng2:clone()
  2980. rng4 = rng2:clone()
  2981. local rngm = Instance.new("SpecialMesh", rng)
  2982. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2983. rngm.Scale = Vector3.new(10, 10, 1)
  2984. rngm2 = rngm:clone()
  2985. rngm2.Scale = Vector3.new(5, 5, 3)
  2986. rngm3=rngm2:clone()
  2987. rngm3.Parent = rng3
  2988. rngm3.Scale = Vector3.new(8, 8, 1)
  2989. rngm4 = rngm2:clone()
  2990. rngm4.Parent = rng4
  2991. rngm4.Scale = Vector3.new(6, 6, 1)
  2992. local bem = Instance.new("Part", larm)
  2993. bem.Anchored = true
  2994. bem.BrickColor = BrickColor.new("Really black")
  2995. bem.CanCollide = false
  2996. bem.FormFactor = 3
  2997. bem.Name = "Beam" .. shot
  2998. bem.Size = Vector3.new(1, 1, 1)
  2999. bem.Transparency = 0.35
  3000. bem.Material = "Neon"
  3001. bem.TopSurface = 0
  3002. bem.BottomSurface = 0
  3003. local bemm = Instance.new("SpecialMesh", bem)
  3004. bemm.MeshType = 4
  3005. bemm.Scale = Vector3.new(1, 50, 50)
  3006. local out = Instance.new("Part", larm)
  3007. out.Anchored = true
  3008. out.BrickColor = BrickColor.new("Really black")
  3009. out.CanCollide = false
  3010. out.FormFactor = 3
  3011. out.Name = "Out"
  3012. out.Size = Vector3.new(8, 8, 8)
  3013. out.Transparency = 0.35
  3014. out.TopSurface = 0
  3015. out.BottomSurface = 0
  3016. local outm = Instance.new("SpecialMesh", out)
  3017. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3018. outm.Scale = Vector3.new(12, 8, 12)
  3019. local bnd = Instance.new("Part", larm)
  3020. bnd.Anchored = true
  3021. bnd.BrickColor = BrickColor.new("Really black")
  3022. bnd.CanCollide = false
  3023. bnd.FormFactor = 3
  3024. bnd.Name = "Bend"
  3025. bnd.Size = Vector3.new(1, 1, 1)
  3026. bnd.Transparency = 1
  3027. bnd.TopSurface = 0
  3028. bnd.BottomSurface = 0
  3029. local bndm = Instance.new("SpecialMesh", bnd)
  3030. bndm.MeshType = 3
  3031. bndm.Scale = Vector3.new(16, 16, 16)
  3032. out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
  3033. bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90))
  3034. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  3035. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  3036. rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  3037. rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0)
  3038. Debounces.Shewt = true
  3039. coroutine.wrap(function()
  3040. for i = 1, 20, 0.2 do
  3041. rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2)
  3042. rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2)
  3043. rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2)
  3044. rng.Transparency = i/20
  3045. rng3.Transparency = 1/24
  3046. rng4.Transparency = i/26
  3047. wait()
  3048. end
  3049. wait()
  3050. rng:Destroy()
  3051. end)()
  3052. if Debounces.Shewt == true then
  3053. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  3054. hit = ht.Parent
  3055. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  3056. if HasntTouched(hit.Name) == true and deb == false then
  3057. deb = true
  3058. coroutine.wrap(function()
  3059. hit:FindFirstChild("Humanoid").PlatformStand = true
  3060. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
  3061. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  3062. end)()
  3063. table.insert(Touche, hit.Name)
  3064. deb = false
  3065. end
  3066. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  3067. if HasntTouched(hit.Parent.Name) == true and deb == false then
  3068. deb = true
  3069. coroutine.wrap(function()
  3070. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  3071. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
  3072. wait(1)
  3073. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  3074. end)()
  3075. table.insert(Touche, hit.Parent.Name)
  3076. deb = false
  3077. for i, v in pairs(Touche) do
  3078. print(v)
  3079. end
  3080. end
  3081. end
  3082. end)
  3083. end
  3084. for i = 0, 260, 8 do
  3085. bem.Size = Vector3.new(i, 30, 30)
  3086. out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
  3087. bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  3088. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  3089. bnd.Size = Vector3.new(2,2,2)
  3090. bndm.Scale = Vector3.new(16,16,16)
  3091. if i % 10 == 0 then
  3092. local newRng = rng2:Clone()
  3093. newRng.Parent = larm
  3094. newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  3095. local newRngm = rngm2:clone()
  3096. newRngm.Parent=newRng
  3097. coroutine.wrap(function()
  3098. for i = 1, 10, 0.2 do
  3099. newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6)
  3100. newRng.Transparency = i/10
  3101. wait()
  3102. end
  3103. wait()
  3104. newRng:Destroy()
  3105. end)()
  3106. end
  3107. wait()
  3108. end
  3109. wait()
  3110. Debounces.Shewt = false
  3111. bem:Destroy()
  3112. out:Destroy()
  3113. bnd:Destroy()
  3114. Debounces.Ready = false
  3115. for i, v in pairs(Touche) do
  3116. table.remove(Touche, i)
  3117. end
  3118. wait()
  3119. table.insert(Touche, char.Name)
  3120. Debounces.NoIdl = false
  3121. if Debounces.CanAttack == false then
  3122. Debounces.CanAttack = true
  3123. end
  3124. end
  3125. end
  3126. end)
  3127. ----------------------------------------------------
  3128. mouse.KeyDown:connect(function(key)
  3129. if key == "h" then
  3130. if Debounces.CanAttack == true then
  3131. Debounces.CanAttack = false
  3132. Debounces.on = true
  3133. Debounces.NoIdl = true
  3134. for i = 1, 20 do
  3135. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  3136. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  3137. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  3138. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3139. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  3140. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  3141. if Debounces.on == false then break end
  3142. rs:wait(2.6)
  3143. end
  3144. Spawn(function()
  3145. local Parts = {}
  3146. for Y = -5,5 do
  3147. local P = Instance.new("Part",char)
  3148. P.Anchored = true
  3149. P.FormFactor = "Custom"
  3150. P.CanCollide = false
  3151. P.Size = Vector3.new(2,4,2)
  3152. P.TopSurface = "SmoothNoOutlines"
  3153. P.BottomSurface = "SmoothNoOutlines"
  3154. P.Material = "Neon"
  3155. P.BrickColor = BrickColor.new("Really black")
  3156. P.Name = tostring(Y)
  3157. local i = (Y+5)/(10)
  3158. i = 1-math.cos(math.pi*i-(math.pi/2))
  3159. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  3160. --[[P.Touched:connect(function(ht)
  3161. local hit = ht.Parent
  3162. if hit:FindFirstChild("Humanoid") then
  3163. hit.Humanoid:TakeDamage(math.random(20,50))
  3164. end
  3165. end)]]--
  3166. s = Instance.new("Sound",P)
  3167. s.SoundId = "rbxassetid://158644872"
  3168. s.Volume = 1
  3169. s.Pitch = 0.9
  3170. s:Play()
  3171. sa = Instance.new("Sound",P)
  3172. sa.SoundId = "rbxassetid://158644872"
  3173. sa.Volume = 1
  3174. sa.Pitch = 1
  3175. sa:Play()
  3176. P.Touched:connect(function(ht)
  3177. hit = ht.Parent
  3178. if ht and hit:IsA("Model") then
  3179. if hit:FindFirstChild("Humanoid") then
  3180. if hit.Name ~= p.Name then
  3181. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3182. Debounces.Slashed = true]]--
  3183. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  3184. hit:FindFirstChild("Humanoid").PlatformStand = true
  3185. wait(1)
  3186. --Debounces.Slashed = false
  3187. --end
  3188. end
  3189. end
  3190. elseif ht and hit:IsA("Hat") then
  3191. if hit.Parent.Name ~= p.Name then
  3192. if hit.Parent:FindFirstChild("Humanoid") then
  3193. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  3194. Debounces.Slashed = true]]--
  3195. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  3196. hit:FindFirstChild("Humanoid").PlatformStand = true
  3197. wait(1)
  3198. --Debounces.Slashed = false
  3199. --end
  3200. end
  3201. end
  3202. end
  3203. end)
  3204. Parts[#Parts+1] = P
  3205. end
  3206. local BREAKIT = false
  3207. local CParts = {}
  3208. local Rocks = {}
  3209. local LastPos = nil
  3210. for i = 1,70 do
  3211. for i2,v in pairs(Parts) do
  3212. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  3213. local cf = v.CFrame
  3214. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  3215. v.CFrame = cf
  3216. v.Transparency = v.Transparency+0.02
  3217. if v.Transparency >= 0.975 then BREAKIT = true end
  3218. if v.Name == "0" then
  3219. local Ignore = {}
  3220. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3221. if v.Character ~= nil then
  3222. Ignore[#Ignore+1] = v.Character
  3223. end
  3224. end
  3225. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  3226. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  3227. if Hit ~= nil then
  3228. if #Rocks == 0 then
  3229. for i = 1,5 do
  3230. local P = Instance.new("Part",char)
  3231. Rocks[#Rocks+1] = P
  3232. P.Anchored = true
  3233. P.FormFactor = "Custom"
  3234. P.BrickColor = Hit.BrickColor
  3235. P.Material = Hit.Material
  3236. P.TopSurface = "Smooth"
  3237. P.BottomSurface = "Smooth"
  3238. P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100)
  3239. end
  3240. end
  3241. for i,P in pairs(Rocks) do
  3242. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  3243. end
  3244. local P = Instance.new("Part",char)
  3245. CParts[#CParts+1] = {P,tick()}
  3246. P.Anchored = true
  3247. P.FormFactor = "Custom"
  3248. P.BrickColor = Hit.BrickColor
  3249. P.Material = Hit.Material
  3250. P.TopSurface = "Smooth"
  3251. P.BottomSurface = "Smooth"
  3252. P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
  3253. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  3254. Pos = Pos.p
  3255. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  3256. local P = P:Clone()
  3257. CParts[#CParts+1] = {P,tick()}
  3258. P.Parent = char
  3259. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  3260. Pos = Pos.p
  3261. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  3262. if LastPos ~= nil then
  3263. local P = P:Clone()
  3264. CParts[#CParts+1] = {P,tick()}
  3265. P.Parent = char
  3266. P.BrickColor = TorsoColor
  3267. P.Material = "Neon"
  3268. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  3269. Pos = Pos.p
  3270. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  3271. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  3272. --P.Velocity = Vector3.new(0,-1000,0)
  3273. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  3274. end
  3275. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  3276. end
  3277. end
  3278. end
  3279. if BREAKIT then break end
  3280. wait(0.002)
  3281. end
  3282. for i,v in pairs(Rocks) do
  3283. CParts[#CParts+1] = {v,tick()}
  3284. end
  3285. for i,v in pairs(Parts) do
  3286. v:Destroy()
  3287. end
  3288. Parts = nil
  3289. while true do
  3290. local t = tick()
  3291. local p = nil
  3292. for i,v in pairs(CParts) do
  3293. if t-v[2] > 4 then
  3294. v[1].Transparency = v[1].Transparency+0.05
  3295. if v[1].Transparency >= 1 then
  3296. v[1]:Destroy()
  3297. CParts[i] = nil
  3298. end
  3299. end
  3300. p = v
  3301. end
  3302. if p == nil then break end
  3303. wait(0.002)
  3304. end
  3305. for i,v in pairs(CParts) do
  3306. v:Destroy()
  3307. end
  3308. CParts = {}
  3309. end)
  3310. for i = 1, 20 do
  3311. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  3312. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  3313. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  3314. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  3315. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  3316. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  3317. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  3318. if Debounces.on == false then break end
  3319. rs:wait(2)
  3320. end
  3321. if Debounces.CanAttack == false then
  3322. Debounces.CanAttack = true
  3323. Debounces.on = false
  3324. Debounces.NoIdl = false
  3325. end
  3326. end
  3327. end
  3328. end)
  3329. ----------------------------------------------------
  3330. local orbt={}
  3331. local stlt={}
  3332. local chot={}
  3333. local cfxt={}
  3334. local pfxt={}
  3335. local cns=0
  3336. local cnOrb=nil
  3337. mouse.KeyDown:connect(function(key)
  3338. if key == "u" then
  3339. if Debounces.CanAttack == true then
  3340. Debounces.CanAttack = false
  3341. Debounces.NoIdl = true
  3342. Debounces.on = true
  3343. orbt={}
  3344. stlt={}
  3345. chot={}
  3346. cfxt={}
  3347. for i = 1, 20 do
  3348. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  3349. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  3350. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  3351. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  3352. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3353. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3354. if Debounces.on == false then end
  3355. rs:wait()
  3356. end
  3357. z2 = Instance.new("Sound",char)
  3358. z2.SoundId = "rbxassetid://158644872"
  3359. z2.Pitch = 1
  3360. z2.Volume = 2
  3361. wait(0.1)
  3362. z2:Play()
  3363. cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White")
  3364. debris:AddItem(cnOrb,50)
  3365. cnOrb.Mesh.MeshType=3
  3366. cnOrb.Transparency = 0.5
  3367. table.insert(orbt,cnOrb)
  3368. table.insert(stlt,cnOrb)
  3369. local nt=0
  3370. for i=0,14.75,0.02 do
  3371. nt=nt+1
  3372. cns=i
  3373. if nt>=2 then
  3374. nt=0
  3375. local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White")
  3376. debris:AddItem(cho,1)
  3377. cho.Mesh.MeshType=3
  3378. cho.Transparency = 1
  3379. table.insert(chot,cho)
  3380. end
  3381. cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1)
  3382. cnOrb.Mesh.Scale=Vector3.new(i,i,i)
  3383. wait()
  3384. end
  3385. for i = 1, 14 do
  3386. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  3387. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  3388. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  3389. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3390. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  3391. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  3392. if Debounces.on == false then end
  3393. rs:wait()
  3394. end
  3395. coroutine.wrap(function()
  3396. for i = 1, 20 do
  3397. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  3398. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  3399. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  3400. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  3401. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  3402. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  3403. if Debounces.on == false then end
  3404. rs:wait()
  3405. end
  3406. end)()
  3407. wait(0.1)
  3408. stlt={}
  3409. local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-4),root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)*CFrame.new(0,0,-2),160,{char})
  3410. cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)
  3411. local nt=0
  3412. for i=0,160,3 do
  3413. cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-3)
  3414. nt=nt+1
  3415. if nt>=6 then
  3416. nt=0
  3417. local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black")
  3418. cfx.Mesh.MeshId="rbxassetid://0"
  3419. cfx.Transparency=0.4
  3420. table.insert(cfxt,cfx)
  3421. debris:AddItem(cfx,1)
  3422. end
  3423. if (cnOrb.Position-ps).magnitude<12 then
  3424. break
  3425. end
  3426. wait()
  3427. end
  3428. orbt={}
  3429.  
  3430. for i=0,1,0.1 do
  3431. local cs=cnOrb.Mesh.Scale
  3432. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
  3433. wait()
  3434. end
  3435. local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black")
  3436. ofx.Transparency=0.5
  3437. ofx.Mesh.MeshType=3
  3438. ofx.Mesh.Scale=Vector3.new(30,30,30)
  3439. for _,v in pairs(game:service"Players":GetChildren()) do
  3440. pcall(function()
  3441. for _,c in pairs(v.Character:GetChildren()) do
  3442. if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then
  3443. local hrp=v.Character:FindFirstChild("HumanoidRootPart")
  3444. hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500
  3445. end
  3446. end
  3447. end)
  3448. end
  3449. for i=0,1,0.05 do
  3450. local cs=cnOrb.Mesh.Scale
  3451. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i))
  3452. local ofs=ofx.Mesh.Scale
  3453. ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i))
  3454. ofx.Transparency=Tween(ofx.Transparency,1,i)
  3455. wait()
  3456. end
  3457. ofx:Destroy()
  3458. cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0)
  3459. local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
  3460. cnfx.Mesh.MeshType=3
  3461. cnOrb.Transparency=0.5
  3462. local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
  3463. cnr.Transparency=0.5
  3464. cnr.Mesh.MeshType=3
  3465. local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White")
  3466. rn1.Transparency=1
  3467. rn1.Mesh.MeshId="rbxassetid://3270017"
  3468. local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White")
  3469. rn2.Transparency=1
  3470. rn2.Mesh.MeshId="rbxassetid://3270017"
  3471. local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White")
  3472. rn3.Transparency=1
  3473. rn3.Mesh.MeshId="rbxassetid://3270017"
  3474. local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White")
  3475. rn4.Transparency=1
  3476. rn4.Mesh.MeshId="rbxassetid://3270017"
  3477. local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
  3478. rn5.Transparency=1
  3479. rn5.Mesh.MeshId="rbxassetid://3270017"
  3480. local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
  3481. rn6.Transparency=1
  3482. rn6.Mesh.MeshId="rbxassetid://3270017"
  3483. local nt=0
  3484. local cs=nil
  3485. z4 = Instance.new("Sound",char)
  3486. z4.SoundId = "rbxassetid://419447292"
  3487. z4.Pitch = 1
  3488. z4.Volume = 10
  3489. wait(0.1)
  3490. z4:Play()
  3491. z3 = Instance.new("Sound",char)
  3492. z3.SoundId = "rbxassetid://421328847"
  3493. z3.Pitch = 1
  3494. z3.Volume = 10
  3495. wait(0.1)
  3496. z3:Play()
  3497. for i=0,1,0.05 do
  3498. cs=cnOrb.Mesh.Scale
  3499. cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
  3500. local fs=cnfx.Mesh.Scale
  3501. cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i))
  3502. cnfx.Transparency=cnfx.Transparency+0.05
  3503. rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
  3504. rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
  3505. rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
  3506. rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
  3507. rn1.Transparency=Tween(rn1.Transparency,0.8,i)
  3508. rn2.Transparency=Tween(rn2.Transparency,0.8,i)
  3509. rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
  3510. rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
  3511. rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
  3512. rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
  3513. rn3.Transparency=Tween(rn1.Transparency,0.8,i)
  3514. rn4.Transparency=Tween(rn2.Transparency,0.8,i)
  3515. rn5.Transparency=Tween(rn2.Transparency,0.25,i)
  3516. rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9))
  3517. rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
  3518. rn6.Transparency=Tween(rn2.Transparency,0.25,i)
  3519. rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9))
  3520. rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
  3521. local rs=cnr.Mesh.Scale
  3522. cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i))
  3523. nt=nt+1
  3524. if nt>=6 then
  3525. local pls={}
  3526. for _,v in pairs(game.Players:GetChildren()) do
  3527. table.insert(pls,v)
  3528. end
  3529. local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
  3530. local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
  3531. pffx.Mesh.MeshId="rbxassetid://0"
  3532. pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z)
  3533. debris:AddItem(pffx,2)
  3534. table.insert(pfxt,pffx)
  3535. nt=0
  3536. end
  3537. wait()
  3538. end
  3539. local int=0
  3540. coroutine.wrap(function()
  3541. for i=1,500 do
  3542. rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
  3543. rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
  3544. rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
  3545. rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
  3546. rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5))
  3547. rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5))
  3548. nt=nt+1
  3549. int=int+1
  3550. local htd={p}
  3551. for _,v in pairs(game:service"Players":GetChildren()) do
  3552. pcall(function()
  3553. for _,c in pairs(v.Character:GetChildren()) do
  3554. if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
  3555. v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2
  3556. v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0)
  3557. table.insert(htd,v)
  3558. end
  3559. end
  3560. end)
  3561. end
  3562. htd={p}
  3563. if int>=6 then
  3564. for _,v in pairs(game:service"Players":GetChildren()) do
  3565. pcall(function()
  3566. for _,c in pairs(v.Character:GetChildren()) do
  3567. if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
  3568. table.insert(htd,v)
  3569. local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White")
  3570. hfx.Mesh.Scale=Vector3.new(2,2,2)
  3571. hfx.Mesh.MeshType=3
  3572. debris:AddItem(hfx,2)
  3573. coroutine.wrap(function()
  3574. pcall(function()
  3575. for i=0,1,0.05 do
  3576. pcall(function()
  3577. local hs=hfx.Mesh.Scale
  3578. hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i)
  3579. hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i))
  3580. end)
  3581. wait()
  3582. end
  3583. hfx:Destroy()
  3584. end)
  3585. end)()
  3586. end
  3587. end
  3588. end)
  3589. end
  3590. int=0
  3591. end
  3592. if nt>=4 then
  3593. local pls={}
  3594. for _,v in pairs(game.Players:GetChildren()) do
  3595. table.insert(pls,v)
  3596. end
  3597. local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
  3598. local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
  3599. pffx.Transparency=0.4
  3600. pffx.Mesh.MeshId="rbxassetid://0"
  3601. pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10)
  3602. debris:AddItem(pffx,2)
  3603. table.insert(pfxt,pffx)
  3604. nt=0
  3605. end
  3606. wait()
  3607. end
  3608. cnOrb:Destroy()
  3609. cnfx:Destroy()
  3610. for _,v in pairs(mod3:GetChildren()) do
  3611. v:Destroy()
  3612. end
  3613. orbt={}
  3614. stlt={}
  3615. chot={}
  3616. cfxt={}
  3617. pfxt={}
  3618. end)()
  3619. if Debounces.CanAttack == false then
  3620. Debounces.CanAttack = true
  3621. Debounces.NoIdl = false
  3622. Debounces.on = false
  3623. end
  3624. end
  3625. end
  3626. end)
  3627. ----------------------------------------------------
  3628. --[[mouse.KeyDown:connect(function(key)
  3629. if key == "y" then
  3630. if Debounces.CanAttack == true then
  3631. Debounces.CanAttack = false
  3632. Debounces.NoIdl = true
  3633. Debounces.on = true
  3634. local shell = Instance.new("Part",torso)
  3635. shell.BrickColor = TorsoColor
  3636. shell.Anchored = false
  3637. shell.CanCollide = false
  3638. shell.Locked = true
  3639. shell.TopSurface = "SmoothNoOutlines"
  3640. shell.BottomSurface = "SmoothNoOutlines"
  3641. shell.Size = Vector3.new(1.2,1.2,1.2)
  3642. shell.FormFactor = 3
  3643. local shellm = Instance.new("SpecialMesh",shell)
  3644. shellm.MeshType = "Sphere"
  3645. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  3646. Omega = function()
  3647. local X = Instance.new("Part",char)
  3648. local O = Instance.new("ObjectValue",X)
  3649. O.Name = "creator"
  3650. X.Locked = true
  3651. X.Name = "Shell"
  3652. X.Anchored = false
  3653. X.CanCollide = false
  3654. X.Transparency = 0.5
  3655. X.Reflectance = 0
  3656. X.BottomSurface = 0
  3657. X.TopSurface = 0
  3658. X.Shape = 0
  3659. local V = Instance.new("ObjectValue",X)
  3660. V.Value = char
  3661. V.Name = "creator"
  3662. X.BrickColor = TorsoColor
  3663. X.Size = Vector3.new(40,40,40)
  3664. --X.Material = "Neon"
  3665. local Z = Instance.new("SpecialMesh",X)
  3666. Z.MeshType = "Sphere"
  3667. Z.Scale = Vector3.new(0.2,0.2,0.2)
  3668. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  3669. local bv = Instance.new("BodyVelocity",X)
  3670. bv.maxForce = Vector3.new(99999,99999,99999)
  3671. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  3672. bv.velocity = root.CFrame.lookVector*10
  3673. Explode = X.Touched:connect(function(hit)
  3674. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  3675. local cf = X.CFrame
  3676. bv:Destroy()
  3677. X.Anchored = true
  3678. Z:Remove()
  3679. Explode:disconnect()
  3680. X.Size = Vector3.new(3,3,3)
  3681. X.Touched:connect(function(hit) end)
  3682. X.CanCollide = false
  3683. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  3684. if v:FindFirstChild('Humanoid') then
  3685. v.Humanoid:TakeDamage(math.random(80,120))
  3686. end
  3687. end
  3688. for i = 1, (40) do rs:wait()
  3689. X.Transparency = X.Transparency + (1/40)
  3690. X.Size = X.Size + Vector3.new(1,1,1)
  3691. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  3692. end
  3693. X:Destroy()
  3694. end
  3695. end)
  3696. end
  3697. for i = 1,200 do
  3698. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  3699. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  3700. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  3701. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3702. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3703. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3704. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3705. if Debounces.on == false then break end
  3706. rs:wait()
  3707. end
  3708. for i = 1,30 do
  3709. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  3710. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  3711. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  3712. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3713. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3714. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3715. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3716. if Debounces.on == false then break end
  3717. rs:wait()
  3718. end
  3719. for i = 1,40 do
  3720. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  3721. shell.Size = shell.Size + Vector3.new(1,1,1)
  3722. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  3723. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  3724. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3725. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3726. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3727. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3728. if Debounces.on == false then break end
  3729. rs:wait()
  3730. end
  3731. for i = 1,40 do
  3732. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  3733. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  3734. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  3735. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3736. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3737. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3739. if Debounces.on == false then break end
  3740. rs:wait()
  3741. end
  3742. for i = 1,60 do
  3743. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3744. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  3745. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  3746. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3747. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3748. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3749. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3750. if Debounces.on == false then break end
  3751. rs:wait()
  3752. end
  3753. for i = 1,60 do
  3754. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  3755. shell.Size = shell.Size + Vector3.new(1,1,1)
  3756. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  3757. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  3758. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  3759. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3760. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3761. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  3762. if Debounces.on == false then break end
  3763. rs:wait()
  3764. end
  3765. if Debounces.CanAttack == false then
  3766. Debounces.CanAttack = true
  3767. Debounces.NoIdl = false
  3768. Debounces.on = false
  3769. end
  3770. end
  3771. end
  3772. end)]]--
  3773. ----------------------------------------------------
  3774. Charging = false
  3775. mouse.KeyDown:connect(function(key)
  3776. if key == "r" then
  3777. if Charging == false then
  3778. Charging = true
  3779. if Debounces.CanAttack == true then
  3780. Debounces.CanAttack = false
  3781. Debounces.NoIdl = true
  3782. Debounces.on = true
  3783. for i = 1,20 do
  3784. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  3785. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  3786. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  3788. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3789. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  3790. if Debounces.on == false then break end
  3791. rs:wait()
  3792. end
  3793. --[[for i = 1,20 do
  3794. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  3795. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  3796. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  3797. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  3798. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  3799. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  3800. if Debounces.on == false then break end
  3801. rs:wait()
  3802. end]]--
  3803. xay = Instance.new("Sound",char)
  3804. xay.SoundId = "rbxassetid://419447292"
  3805. xay.Pitch = 1
  3806. xay.Volume = 2.5
  3807. xay:Play()
  3808. pt=Instance.new('Part',torso)
  3809. pt.Anchored=true
  3810. pt.CanCollide=false
  3811. pt.Locked = true
  3812. pt.FormFactor='Custom'
  3813. pt.Size=Vector3.new(1,1,1)
  3814. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3815. pt.Transparency=.6
  3816. pt.BrickColor=BrickColor.new('Really black')
  3817. msh=Instance.new('SpecialMesh',pt)
  3818. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3819. msh.Scale=Vector3.new(8,4,8)
  3820. pt2=pt:clone()
  3821. pt2.Parent = torso
  3822. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  3823. pt2.BrickColor=TorsoColor
  3824. msh2=msh:clone()
  3825. msh2.Parent=pt2
  3826. msh2.Scale=Vector3.new(10,5,10)
  3827.  
  3828. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  3829.  
  3830. bl = Instance.new("Part", char)
  3831. bl.Locked = true
  3832. bl.Name = "Shell"
  3833. bl.BrickColor = BrickColor.new("Really black")
  3834. bl.Anchored = true
  3835. bl.CanCollide = false
  3836. bl.Transparency = 0
  3837. bl.Reflectance = 0
  3838. bl.BottomSurface = 0
  3839. bl.TopSurface = 0
  3840. bl.Shape = 0
  3841. blm = Instance.new("SpecialMesh",bl)
  3842. blm.MeshType = "Sphere"
  3843. blm.Scale = Vector3.new(1,1,1)
  3844. blm.MeshId = "rbxassetid://9982590"
  3845.  
  3846. bl2 = Instance.new("Part", char)
  3847. bl2.Locked = true
  3848. bl2.Name = "Shella"
  3849. bl2.BrickColor = BrickColor.new("Really black")
  3850. bl2.Anchored = true
  3851. bl2.CanCollide = false
  3852. bl2.Transparency = 0
  3853. bl2.Reflectance = 0
  3854. bl2.BottomSurface = 0
  3855. bl2.TopSurface = 0
  3856. bl2.Shape = 0
  3857. blm2 = Instance.new("SpecialMesh",bl2)
  3858. blm2.MeshType = "Sphere"
  3859. blm2.Scale = Vector3.new(1,1,1)
  3860. blm2.MeshId = "rbxassetid://9982590"
  3861.  
  3862. coroutine.resume(coroutine.create(function()
  3863. for i=1, math.huge, 4 do
  3864. if Charging == true then
  3865. rs:wait()
  3866. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3867. blm.Scale = blm.Scale + Vector3.new(15, 15, 15)
  3868. bl.Transparency = bl.Transparency + 0.075
  3869. bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3870. blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5)
  3871. bl2.Transparency = bl2.Transparency + 0.025
  3872. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  3873. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  3874. msh.Scale = msh.Scale + Vector3.new(5,2.5,5)
  3875. msh2.Scale = msh2.Scale + Vector3.new(10,5,10)
  3876. elseif Charging == false then break
  3877. end
  3878. end
  3879. end))
  3880.  
  3881. repeat
  3882. local p = Instance.new('Part',torso)
  3883. p.formFactor = 'Custom'
  3884. p.Size = Vector3.new(1,1,1)
  3885. p.BrickColor = workspace.Base.BrickColor
  3886. p.CanCollide = false
  3887. p.Transparency = 0
  3888. p.Anchored = true
  3889. p.Locked=true
  3890. p.Material = workspace.Base.Material
  3891. s = math.random(1,40)/10
  3892. local m = Instance.new("BlockMesh",p)
  3893. m.Scale = Vector3.new(s,s,s)
  3894. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  3895. --[[coroutine.wrap(function()
  3896. wait(2)
  3897. while Charging == true do
  3898. wait(2)
  3899. GroundWave1()
  3900. wait(2)
  3901. end
  3902. end)()]]--
  3903. Spawn(function()
  3904. while rs:wait() do
  3905. if Charging == true then
  3906. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  3907. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  3908. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  3909. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  3910. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  3911. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  3912. elseif Charging == false then break
  3913. end
  3914. end
  3915. end)
  3916. Spawn(function()
  3917. while rs:wait() do
  3918. if p.Transparency >= 1 then p:Destroy() break end
  3919. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  3920. p.Transparency = p.Transparency+0.01
  3921. end
  3922. end)
  3923. wait(.3)
  3924. until Charging == false
  3925. end
  3926. end
  3927. end
  3928. end)
  3929. ----------------------------------------------------
  3930. mouse.KeyUp:connect(function(key)
  3931. if key == "r" then
  3932. if Charging == true then
  3933. Charging = false
  3934. pt:Destroy()
  3935. pt2:Destroy()
  3936. bl:Destroy()
  3937. if Debounces.CanAttack == false then
  3938. Debounces.CanAttack = true
  3939. Debounces.NoIdl = false
  3940. Debounces.on = false
  3941. end
  3942. end
  3943. end
  3944. end)
  3945. ----------------------------------------------------
  3946. mouse.KeyDown:connect(function(key)
  3947. if key == "g" then
  3948. if Debounces.CanAttack == true then
  3949. Debounces.CanAttack = false
  3950. Debounces.NoIdl = true
  3951. Debounces.on = true
  3952. local shell = Instance.new("Part",torso)
  3953. shell.BrickColor = TorsoColor
  3954. shell.Anchored = true
  3955. shell.CanCollide = false
  3956. shell.Locked = true
  3957. shell.TopSurface = "SmoothNoOutlines"
  3958. shell.BottomSurface = "SmoothNoOutlines"
  3959. shell.Size = Vector3.new(1,1,1)
  3960. shellm = Instance.new("SpecialMesh",shell)
  3961. shellm.MeshType = "Sphere"
  3962. shellm.Scale = Vector3.new(1,1,1)
  3963. local shell2 = Instance.new("Part",torso)
  3964. shell2.BrickColor = TorsoColor
  3965. shell2.Anchored = true
  3966. shell2.CanCollide = false
  3967. shell2.Locked = true
  3968. shell2.TopSurface = "SmoothNoOutlines"
  3969. shell2.BottomSurface = "SmoothNoOutlines"
  3970. shell2.Size = Vector3.new(1,1,1)
  3971. shellm2 = Instance.new("SpecialMesh",shell2)
  3972. shellm2.MeshType = "Sphere"
  3973. shellm2.Scale = Vector3.new(1,1,1)
  3974.  
  3975. function FindNearestTorso(Position,Distance,SinglePlayer)
  3976. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3977. local List = {}
  3978. for i,v in pairs(workspace:GetChildren())do
  3979. if v:IsA("Model")then
  3980. if v:findFirstChild("Torso")then
  3981. if v ~= char then
  3982. if(v.Torso.Position -Position).magnitude <= Distance then
  3983. table.insert(List,v)
  3984. end
  3985. end
  3986. end
  3987. end
  3988. end
  3989. return List
  3990. end
  3991.  
  3992. Shell = function()
  3993. local X = Instance.new("Part",char)
  3994. local O = Instance.new("ObjectValue",X)
  3995. O.Name = "creator"
  3996. X.Locked = true
  3997. X.Name = "Shell"
  3998. X.Anchored = false
  3999. X.CanCollide = false
  4000. X.Transparency = 0
  4001. X.Reflectance = 0
  4002. X.BottomSurface = 0
  4003. X.TopSurface = 0
  4004. X.Shape = 0
  4005. local V = Instance.new("ObjectValue",X)
  4006. V.Value = char
  4007. V.Name = "creator"
  4008. X.BrickColor = TorsoColor
  4009. X.Size = Vector3.new(1,1,1)
  4010. --X.Material = "Neon"
  4011. local Z = Instance.new("SpecialMesh",X)
  4012. Z.MeshType = "Sphere"
  4013. Z.Scale = Vector3.new(1,1,1)
  4014. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  4015. local bv = Instance.new("BodyVelocity",X)
  4016. bv.maxForce = Vector3.new(99999,99999,99999)
  4017. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  4018. bv.velocity = root.CFrame.lookVector*65
  4019. Explode = X.Touched:connect(function(hit)
  4020. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  4021. local cf = X.CFrame
  4022. bv:Destroy()
  4023. X.Anchored = true
  4024. Z:Remove()
  4025. Explode:disconnect()
  4026. X.Size = Vector3.new(3,3,3)
  4027. X.Touched:connect(function(hit) end)
  4028. X.CanCollide = false
  4029. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  4030. if v:FindFirstChild('Humanoid') then
  4031. v.Humanoid:TakeDamage(math.random(6,12))
  4032. end
  4033. end
  4034. for i = 1, (40) do rs:wait()
  4035. X.Transparency = X.Transparency + (1/40)
  4036. X.Size = X.Size + Vector3.new(1,1,1)
  4037. X.CFrame = cf
  4038. end
  4039. X:Destroy()
  4040. end
  4041. end)
  4042. end
  4043. Shell()
  4044. for i = 1, 10 do
  4045. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4046. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4047. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4048. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4049. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  4050. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  4051. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  4052. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  4053. if Debounces.on == false then break end
  4054. rs:wait()
  4055. end
  4056. Shell()
  4057. shell.Transparency = 1
  4058. for i = 1, 10 do
  4059. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4060. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4061. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4062. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4063. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4064. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4065. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4066. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4067. if Debounces.on == false then break end
  4068. rs:wait()
  4069. end
  4070. Shell()
  4071. shell.Transparency = 0
  4072. shell2.Transparency = 1
  4073. for i = 1, 10 do
  4074. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4075. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4076. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4077. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4078. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4079. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4080. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4081. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4082. if Debounces.on == false then break end
  4083. rs:wait()
  4084. end
  4085. Shell()
  4086. shell2.Transparency = 0
  4087. shell.Transparency = 1
  4088. for i = 1, 10 do
  4089. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4090. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4091. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4092. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4093. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4094. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4095. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4096. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4097. if Debounces.on == false then break end
  4098. rs:wait()
  4099. end
  4100. Shell()
  4101. shell.Transparency = 0
  4102. shell2.Transparency = 1
  4103. for i = 1, 10 do
  4104. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4105. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4106. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4107. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4108. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4109. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4110. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4111. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4112. if Debounces.on == false then break end
  4113. rs:wait()
  4114. end
  4115. Shell()
  4116. shell2.Transparency = 0
  4117. shell.Transparency = 1
  4118. for i = 1, 10 do
  4119. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4120. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4121. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4122. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4123. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4124. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4125. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4126. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4127. if Debounces.on == false then break end
  4128. rs:wait()
  4129. end
  4130. Shell()
  4131. shell.Transparency = 0
  4132. shell2.Transparency = 1
  4133. for i = 1, 10 do
  4134. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4135. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4136. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4137. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  4138. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4139. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4140. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4141. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4142. if Debounces.on == false then break end
  4143. rs:wait()
  4144. end
  4145. Shell()
  4146. shell2.Transparency = 0
  4147. shell.Transparency = 1
  4148. for i = 1, 10 do
  4149. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4150. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4151. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4152. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4153. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4154. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4155. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4156. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4157. if Debounces.on == false then break end
  4158. rs:wait()
  4159. end
  4160. Shell()
  4161. shell.Transparency = 0
  4162. shell2.Transparency = 1
  4163. for i = 1, 10 do
  4164. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4165. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4166. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4167. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4168. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4169. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4170. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4171. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4172. if Debounces.on == false then break end
  4173. rs:wait()
  4174. end
  4175. Shell()
  4176. shell2.Transparency = 0
  4177. shell.Transparency = 1
  4178. for i = 1, 10 do
  4179. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4180. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4181. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4182. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4183. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4184. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4185. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4186. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4187. if Debounces.on == false then break end
  4188. rs:wait()
  4189. end
  4190. Shell()
  4191. shell.Transparency = 0
  4192. shell2.Transparency = 1
  4193. for i = 1, 10 do
  4194. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4195. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4196. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4197. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4198. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4199. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4200. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4201. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4202. if Debounces.on == false then break end
  4203. rs:wait()
  4204. end
  4205. Shell()
  4206. shell2.Transparency = 0
  4207. shell.Transparency = 1
  4208. for i = 1, 10 do
  4209. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4210. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4211. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  4212. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  4213. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  4214. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  4215. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  4216. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  4217. if Debounces.on == false then break end
  4218. rs:wait()
  4219. end
  4220. Shell()
  4221. shell.Transparency = 0
  4222. shell2.Transparency = 1
  4223. for i = 1, 10 do
  4224. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4225. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  4226. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  4227. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  4228. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  4229. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  4230. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  4231. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  4232. if Debounces.on == false then break end
  4233. rs:wait()
  4234. end
  4235. shell.Transparency = 1
  4236. if Debounces.CanAttack == false then
  4237. Debounces.CanAttack = true
  4238. Debounces.NoIdl = false
  4239. Debounces.on = false
  4240. end
  4241. end
  4242. end
  4243. end)
  4244. ----------------------------------------------------
  4245. Search = false
  4246. mouse.KeyDown:connect(function(key)
  4247. if key == "n" then
  4248. if Search == false then
  4249. Search = true
  4250. for i,v in pairs(game.Players:getPlayers()) do
  4251. if v.Name~=char.Name then
  4252. for j,k in pairs(v.Character:GetChildren()) do
  4253. if k:IsA("BasePart") and k.Transparency >= 1 then
  4254. bawx=Instance.new("SelectionBox",cam)
  4255. bawx.Color = BrickColor.new("Bright red")
  4256. bawx.Transparency = .5
  4257. bawx.Adornee = k
  4258. end
  4259. end
  4260. end
  4261. end
  4262. elseif Search == true then
  4263. Search = false
  4264. for i, v in pairs(cam:GetChildren()) do
  4265. if v:IsA("SelectionBox") then
  4266. v:Destroy()
  4267. end
  4268. end
  4269. end
  4270. end
  4271. end)
  4272. ----------------------------------------------------
  4273. Grab = false
  4274. mouse.KeyDown:connect(function(key)
  4275. if key == "z" then
  4276. Debounces.on = true
  4277. Debounces.NoIdl = true
  4278. Debounces.ks = true
  4279. if Grab == false then
  4280. gp = nil
  4281. for i = 1, 20 do
  4282. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  4283. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  4284. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  4285. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  4286. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  4287. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  4288. if Debounces.on == false then break end
  4289. rs:wait()
  4290. end
  4291. con1=larm.Touched:connect(function(hit) -- this is grab
  4292. ht = hit.Parent
  4293. hum1=ht:FindFirstChild('Humanoid')
  4294. if hum1 ~= nil then
  4295. if Debounces.ks==true then
  4296. z = Instance.new("Sound",hed)
  4297. z.SoundId = "rbxassetid://169380525"
  4298. z.Volume = 1
  4299. z:Play()
  4300. Debounces.ks=false
  4301. end
  4302. hum1.PlatformStand=true
  4303. gp = ht
  4304. Grab = true
  4305. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  4306. asd.Parent = larm
  4307. asd.Name = "asd"
  4308. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  4309. --[[elseif hum1 == nil then
  4310. con1:disconnect()
  4311. wait() return]]--
  4312. end
  4313. end)
  4314. for i = 1, 20 do
  4315. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  4316. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  4317. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  4318. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  4319. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  4320. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  4321. if Debounces.on == false then break end
  4322. rs:wait()
  4323. end
  4324. if hum1 == nil then
  4325. Debounces.on = false
  4326. Debounces.NoIdl = false
  4327. end
  4328. con1:disconnect()
  4329. elseif Grab == true then
  4330. Grab = false
  4331. Punch()
  4332. z = Instance.new("Sound",hed)
  4333. z.SoundId = "rbxassetid://169380525"
  4334. z.Pitch = ptz[math.random(1,#ptz)]
  4335. z.Volume = 1
  4336. z:Play()
  4337. for i = 1, 10 do
  4338. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4339. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4340. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4341. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4342. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4343. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4344. if Debounces.on == false then break end
  4345. rs:wait()
  4346. end
  4347. Punch()
  4348. z = Instance.new("Sound",hed)
  4349. z.SoundId = "rbxassetid://169380525"
  4350. z.Pitch = ptz[math.random(1,#ptz)]
  4351. z.Volume = 1
  4352. z:Play()
  4353. for i = 1, 10 do
  4354. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4355. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4356. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4357. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4358. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4359. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4360. if Debounces.on == false then break end
  4361. rs:wait()
  4362. end
  4363. Punch()
  4364. z = Instance.new("Sound",hed)
  4365. z.SoundId = "rbxassetid://169380525"
  4366. z.Pitch = ptz[math.random(1,#ptz)]
  4367. z.Volume = 1
  4368. z:Play()
  4369. for i = 1, 10 do
  4370. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4371. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4372. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4373. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4374. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4375. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4376. if Debounces.on == false then break end
  4377. rs:wait()
  4378. end
  4379. Punch()
  4380. z = Instance.new("Sound",hed)
  4381. z.SoundId = "rbxassetid://169380525"
  4382. z.Pitch = ptz[math.random(1,#ptz)]
  4383. z.Volume = 1
  4384. z:Play()
  4385. for i = 1, 10 do
  4386. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4387. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4388. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4389. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4390. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4391. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4392. if Debounces.on == false then break end
  4393. rs:wait()
  4394. end
  4395. Punch()
  4396. z = Instance.new("Sound",hed)
  4397. z.SoundId = "rbxassetid://169380525"
  4398. z.Pitch = ptz[math.random(1,#ptz)]
  4399. z.Volume = 1
  4400. z:Play()
  4401. for i = 1, 10 do
  4402. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4403. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4404. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4405. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4406. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4407. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4408. if Debounces.on == false then break end
  4409. rs:wait()
  4410. end
  4411. Punch()
  4412. z = Instance.new("Sound",hed)
  4413. z.SoundId = "rbxassetid://169380525"
  4414. z.Pitch = ptz[math.random(1,#ptz)]
  4415. z.Volume = 1
  4416. z:Play()
  4417. for i = 1, 10 do
  4418. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4419. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4420. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4421. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4422. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4423. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4424. if Debounces.on == false then break end
  4425. rs:wait()
  4426. end
  4427. Punch()
  4428. z = Instance.new("Sound",hed)
  4429. z.SoundId = "rbxassetid://169380525"
  4430. z.Pitch = ptz[math.random(1,#ptz)]
  4431. z.Volume = 1
  4432. z:Play()
  4433. for i = 1, 10 do
  4434. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4435. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4436. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4437. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4438. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4439. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4440. if Debounces.on == false then break end
  4441. rs:wait()
  4442. end
  4443. Punch()
  4444. z = Instance.new("Sound",hed)
  4445. z.SoundId = "rbxassetid://169380525"
  4446. z.Pitch = ptz[math.random(1,#ptz)]
  4447. z.Volume = 1
  4448. z:Play()
  4449. for i = 1, 10 do
  4450. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4451. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4452. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4453. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4454. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4455. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4456. if Debounces.on == false then break end
  4457. rs:wait()
  4458. end
  4459. Punch()
  4460. z = Instance.new("Sound",hed)
  4461. z.SoundId = "rbxassetid://169380525"
  4462. z.Pitch = ptz[math.random(1,#ptz)]
  4463. z.Volume = 1
  4464. z:Play()
  4465. for i = 1, 10 do
  4466. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4467. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4468. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4469. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4470. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4471. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4472. if Debounces.on == false then break end
  4473. rs:wait()
  4474. end
  4475. Punch()
  4476. z = Instance.new("Sound",hed)
  4477. z.SoundId = "rbxassetid://169380525"
  4478. z.Pitch = ptz[math.random(1,#ptz)]
  4479. z.Volume = 1
  4480. z:Play()
  4481. for i = 1, 10 do
  4482. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4483. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4484. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4485. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4486. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4487. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4488. if Debounces.on == false then break end
  4489. rs:wait()
  4490. end
  4491. Punch()
  4492. z = Instance.new("Sound",hed)
  4493. z.SoundId = "rbxassetid://169380525"
  4494. z.Pitch = ptz[math.random(1,#ptz)]
  4495. z.Volume = 1
  4496. z:Play()
  4497. for i = 1, 10 do
  4498. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  4499. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  4500. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  4501. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  4502. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4503. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4504. if Debounces.on == false then break end
  4505. rs:wait()
  4506. end
  4507. Punch()
  4508. z = Instance.new("Sound",hed)
  4509. z.SoundId = "rbxassetid://169380525"
  4510. z.Pitch = ptz[math.random(1,#ptz)]
  4511. z.Volume = 1
  4512. z:Play()
  4513. for i = 1, 10 do
  4514. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  4515. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  4516. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  4517. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  4518. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  4519. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  4520. if Debounces.on == false then break end
  4521. rs:wait()
  4522. end
  4523. con1:disconnect()
  4524. Debounces.on = false
  4525. Debounces.NoIdl = false
  4526. if gp ~= nil then
  4527. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  4528. for i,v in pairs(larm:GetChildren()) do
  4529. if v.Name == "asd" and v:IsA("Weld") then
  4530. v:Remove()
  4531. end
  4532. end
  4533. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  4534. bv.maxForce = Vector3.new(400000, 400000, 400000)
  4535. bv.P = 125000
  4536. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  4537. hum1=nil
  4538. ht=nil
  4539. Debounces.on = false
  4540. Debounces.NoIdl = false
  4541. elseif ht == nil then wait()
  4542. Grab = false
  4543. Debounces.on = false
  4544. Debounces.NoIdl = false
  4545. end
  4546. end
  4547. end
  4548. end)
  4549. ----------------------------------------------------
  4550. paly = game.Players.LocalPlayer
  4551. paly = game.Players.LocalPlayer
  4552. p = game.Players.LocalPlayer
  4553. char = paly.Character
  4554. vt = Vector3.new
  4555. rarm = char["Right Arm"]
  4556. larm = char["Left Arm"]
  4557. local maincolor = char.Torso.BrickColor
  4558.  
  4559. local orb = Instance.new("Part")
  4560. orb.Parent = char
  4561. orb.Size = Vector3.new(0.5, 0.5, 0.5)
  4562. orb.Archivable = true
  4563. orb.Transparency = 1
  4564. orb.BrickColor = maincolor
  4565. orb.Material = "Neon"
  4566. orb.CanCollide = false
  4567. local weld1 = Instance.new("Weld")
  4568. weld1.Parent = rarm
  4569. weld1.Part0 = rarm
  4570. weld1.Part1 = orb
  4571. weld1.C1 = CFrame.new(0, 1.125, 0)
  4572. local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
  4573. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  4574. local effecto = Instance.new("ParticleEmitter",orb)
  4575. effecto.LightEmission = 1
  4576. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  4577. effecto.Color = ColorSequence.new(maincolor.Color)
  4578. effecto.Rate = 10000
  4579. effecto.Lifetime = NumberRange.new(1)
  4580. effecto.Size = NumberSequence.new({pt1,pt2})
  4581. effecto.Speed = NumberRange.new(0,0)
  4582. effecto.RotSpeed = NumberRange.new(100,100)
  4583.  
  4584. local orbz = Instance.new("Part")
  4585. orbz.Parent = char
  4586. orbz.Size = Vector3.new(0.5, 0.5, 0.5)
  4587. orbz.Archivable = true
  4588. orbz.Transparency = 1
  4589. orbz.BrickColor = maincolor
  4590. orbz.Material = "Neon"
  4591. orbz.CanCollide = false
  4592. local weldz1 = Instance.new("Weld")
  4593. weldz1.Parent = larm
  4594. weldz1.Part0 = larm
  4595. weldz1.Part1 = orbz
  4596. weldz1.C1 = CFrame.new(0, 1.125, 0)
  4597. local effecton = Instance.new("ParticleEmitter",orbz)
  4598. effecton.LightEmission = 1
  4599. effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
  4600. effecton.Color = ColorSequence.new(maincolor.Color)
  4601. effecton.Rate = 10000
  4602. effecton.Lifetime = NumberRange.new(1)
  4603. effecton.Size = NumberSequence.new({pt1,pt2})
  4604. effecton.Speed = NumberRange.new(0,0)
  4605. effecton.RotSpeed = NumberRange.new(100,100)
  4606. -------------------------------------------
  4607.  
  4608. mouse.KeyDown:connect(function(key)
  4609. if string.byte(key) == 52 then
  4610. char.Humanoid.WalkSpeed = 65
  4611. end
  4612. end)
  4613. mouse.KeyUp:connect(function(key)
  4614. if string.byte(key) == 52 then
  4615. char.Humanoid.WalkSpeed = 10
  4616. end
  4617. end)
  4618. -------------------------------
  4619. local animpose = "Idle"
  4620. local lastanimpose = "Idle"
  4621. local sine = 0
  4622. local change = 1
  4623. local val = 0
  4624. local och = 0
  4625. local ffing = false
  4626. -------------------------------
  4627. game:GetService("RunService").RenderStepped:connect(function()
  4628. --[[if char.Humanoid.Jump == true then
  4629. jump = true
  4630. else
  4631. jump = false
  4632. end]]
  4633. char.Humanoid.FreeFalling:connect(function(f)
  4634. if f then
  4635. ffing = true
  4636. else
  4637. ffing = false
  4638. end
  4639. end)
  4640. sine = sine + change
  4641. if jumpn == true then
  4642. animpose = "Jumping"
  4643. elseif ffing == true then
  4644. animpose = "Freefalling"
  4645. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  4646. animpose = "Idle"
  4647. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  4648. animpose = "Walking"
  4649. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  4650. animpose = "Running"
  4651. end
  4652. if animpose ~= lastanimpose then
  4653. sine = 0
  4654. if Debounces.NoIdl == false then
  4655. if animpose == "Idle" then
  4656. for i = 1, 2 do
  4657. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  4658. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  4659. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  4660. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4661. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  4662. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  4663. end
  4664. elseif animpose == "Walking" then
  4665. for i = 1, 2 do
  4666. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  4667. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4668. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4669. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4670. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  4671. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  4672. end
  4673. elseif animpose == "Running" then
  4674. for i = 1, 2 do
  4675. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  4676. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  4677. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  4678. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  4679. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  4680. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  4681. wait()
  4682. end
  4683. end
  4684. else
  4685. end
  4686. end
  4687. lastanimpose = animpose
  4688. if Debounces.NoIdl == false then
  4689. if animpose == "Idle" then
  4690. change = 0.5
  4691. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  4692. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  4693. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  4694. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  4695. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  4696. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  4697. elseif animpose == "Walking" then
  4698. change = 1
  4699. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-28),math.rad(10+2*math.cos(sine/14))), 0.2)
  4700. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(50),math.rad(-45),math.rad(-10-2*math.cos(sine/14))), 0.2)
  4701. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  4702. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  4703. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4)
  4704. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.475,0,0), 0.4)
  4705. elseif animpose == "Running" then
  4706. change = 1
  4707. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
  4708. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
  4709. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
  4710. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
  4711. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
  4712. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
  4713. end
  4714. end
  4715. end)
  4716.  
  4717. hum.MaxHealth = math.huge
  4718. wait(3)
  4719. hum.Health = hum.MaxHealth
  4720.  
  4721. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  4722. --[[Part0 = Vector3 (Start pos)
  4723. Part1 = Vector3 (End pos)
  4724. Times = number (Amount of lightning parts)
  4725. Offset = number (Offset)
  4726. Color = color (brickcolor value)
  4727. Thickness = number (thickness)
  4728. Trans = number (transparency)
  4729. ]]--
  4730. local magz = (Part0 - Part1).magnitude
  4731. local curpos = Part0
  4732. local trz = {-Offset,Offset}
  4733. for i=1,Times do
  4734. local li = Instance.new("Part", torso)
  4735. li.Name = "Lightning"
  4736. li.TopSurface =0
  4737. li.Material = "Neon"
  4738. li.BottomSurface = 0
  4739. li.Anchored = true
  4740. li.Locked = true
  4741. li.Transparency = Trans or 0.4
  4742. li.BrickColor = TorsoColor
  4743. li.formFactor = "Custom"
  4744. li.CanCollide = false
  4745. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  4746. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  4747. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  4748. if Times == i then
  4749. local magz2 = (curpos - Part1).magnitude
  4750. li.Size = Vector3.new(Thickness,Thickness,magz2)
  4751. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  4752. else
  4753. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  4754. end
  4755. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  4756. game.Debris:AddItem(li,.1)
  4757. end
  4758. end
  4759.  
  4760. BodyParts = {} -- Parts to emit lightning effects from
  4761. for _, v in pairs(char:GetChildren()) do
  4762. if v:IsA("Part") then
  4763. table.insert(BodyParts, v)
  4764. end
  4765. end
  4766.  
  4767. Bounding = {} -- Calculate the bounding boxes
  4768. for _, v in pairs(BodyParts) do
  4769. local temp = {X=nil, Y=nil, Z=nil}
  4770. temp.X = v.Size.X/2 * 10
  4771. temp.Y = v.Size.Y/2 * 10
  4772. temp.Z = v.Size.Z/2 * 10
  4773. Bounding[v.Name] = temp
  4774. --table.insert(Bounding, v.Name, temp)
  4775. end
  4776.  
  4777. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  4778. local Body1 = BodyParts[math.random(#BodyParts)]
  4779. local Body2 = BodyParts[math.random(#BodyParts)]
  4780. local Pos1 = Vector3.new(
  4781. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  4782. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  4783. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  4784. )
  4785. local Pos2 = Vector3.new(
  4786. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  4787. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  4788. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  4789. )
  4790. local SPos1 = Body1.Position + Pos1
  4791. local SPos2 = Body2.Position + Pos2
  4792. Lightning(SPos1, SPos2, 4, 3, "Black", .3, .56)
  4793. end
  4794. och=och+1
  4795. for _,v in pairs(orbt) do
  4796. pcall(function()
  4797. v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8)))
  4798. end)
  4799. end
  4800. for _,v in pairs(stlt) do
  4801. pcall(function()
  4802. v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1)
  4803. end)
  4804. end
  4805. for _,v in pairs(chot) do
  4806. pcall(function()
  4807. v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1)
  4808. v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1))
  4809. end)
  4810. end
  4811. for _,v in pairs(cfxt) do
  4812. pcall(function()
  4813. local vs=v.Mesh.Scale
  4814. v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5)
  4815. v.Transparency=v.Transparency+0.05
  4816. end)
  4817. end
  4818. for _,v in pairs(pfxt) do
  4819. pcall(function()
  4820. local vs=v.Mesh.Scale
  4821. v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2)
  4822. v.Transparency=v.Transparency+0.025
  4823. end)
  4824. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement