Insanity_Mark

Ignore

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