Advertisement
FloweyTheFlower

roblox scripts #11 Bendy

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