Advertisement
MrSlakyx

error sans

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