TheGamerKing

william.txt

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