Advertisement
Plug_RBLX

anotherone

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