Advertisement
WagnerJunio07

Ink Sans

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