skylershults

Untitled

Jun 27th, 2016
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Since you damned fmers are so enraptured by this script
  3. i might aswell release THIS!
  4. DSSJ3 baby
  5. ]]
  6.  
  7. --[[
  8. User: TheDarkRevenant
  9. Script: DSSJ3
  10. Pass: QNAh3g8U
  11.  
  12. ]]
  13.  
  14. local p = game.Players.LocalPlayer
  15. local char = p.Character
  16. local mouse = p:GetMouse()
  17. local larm = char["Left Arm"]
  18. local rarm = char["Right Arm"]
  19. local lleg = char["Left Leg"]
  20. local rleg = char["Right Leg"]
  21. local hed = char.Head
  22. local torso = char.Torso
  23. local hum = char.Humanoid
  24. local cam = game.Workspace.CurrentCamera
  25. local root = char.HumanoidRootPart
  26. local deb = false
  27. local shot = 0
  28. local debris=game:service"Debris"
  29. local l = game:GetService("Lighting")
  30. local rs = game:GetService("RunService").RenderStepped
  31. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  32. math.randomseed(os.time())
  33. for i,v in pairs(char:children()) do
  34. if v:IsA("Hat") then
  35. v:Destroy()
  36. end
  37. end
  38. for i,v in pairs (hed:GetChildren()) do
  39. if v:IsA("Sound") then
  40. v:Destroy()
  41. end
  42. end
  43. ----------------------------------------------------
  44. Debounces = {
  45. CanAttack = true;
  46. NoIdl = false;
  47. Slashing = false;
  48. Slashed = false;
  49. RPunch = false;
  50. RPunched = false;
  51. LPunch = false;
  52. LPunched = false;
  53. }
  54. local Touche = {char.Name, }
  55. ----------------------------------------------------
  56. hed.face.Texture = "rbxassetid://416805592"
  57. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  58. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  59. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  60. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  61. ----------------------------------------------------
  62. ypcall(function()
  63. char.Shirt:Destroy()
  64. char.Pants:Destroy()
  65. shirt = Instance.new("Shirt", char)
  66. shirt.Name = "Shirt"
  67. pants = Instance.new("Pants", char)
  68. pants.Name = "Pants"
  69. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334755544"
  70. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=315964941"
  71. end)
  72. ----------------------------------------------------
  73. function lerp(a, b, t) -- Linear interpolation
  74. return a + (b - a)*t
  75. end
  76.  
  77. function slerp(a, b, t) --Spherical interpolation
  78. dot = a:Dot(b)
  79. if dot > 0.99999 or dot < -0.99999 then
  80. return t <= 0.5 and a or b
  81. else
  82. r = math.acos(dot)
  83. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  84. end
  85. end
  86.  
  87. function matrixInterpolate(a, b, t)
  88. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  89. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  90. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  91. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  92. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  93. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  94. local t = v1:Dot(v2)
  95. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  96. return CFrame.new()
  97. end
  98. return CFrame.new(
  99. v0.x, v0.y, v0.z,
  100. v1.x, v1.y, v1.z,
  101. v2.x, v2.y, v2.z,
  102. v3.x, v3.y, v3.z)
  103. end
  104. ----------------------------------------------------
  105. function genWeld(a,b)
  106. local w = Instance.new("Weld",a)
  107. w.Part0 = a
  108. w.Part1 = b
  109. return w
  110. end
  111. function weld(a, b)
  112. local weld = Instance.new("Weld")
  113. weld.Name = "W"
  114. weld.Part0 = a
  115. weld.Part1 = b
  116. weld.C0 = a.CFrame:inverse() * b.CFrame
  117. weld.Parent = a
  118. return weld;
  119. end
  120. ----------------------------------------------------
  121. function Lerp(c1,c2,al)
  122. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  123. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  124. for i,v in pairs(com1) do
  125. com1[i] = v+(com2[i]-v)*al
  126. end
  127. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  128. end
  129. ----------------------------------------------------
  130. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  131. local wld = Instance.new("Weld", wp1)
  132. wld.Part0 = wp0
  133. wld.Part1 = wp1
  134. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  135. end
  136. ----------------------------------------------------
  137. function weld5(part0, part1, c0, c1)
  138. weeld=Instance.new("Weld", part0)
  139. weeld.Part0=part0
  140. weeld.Part1=part1
  141. weeld.C0=c0
  142. weeld.C1=c1
  143. return weeld
  144. end
  145. ----------------------------------------------------
  146. function HasntTouched(plrname)
  147. local ret = true
  148. for _, v in pairs(Touche) do
  149. if v == plrname then
  150. ret = false
  151. end
  152. end
  153. return ret
  154. end
  155. ----------------------------------------------------
  156. newWeld(torso, larm, -1.5, 0.5, 0)
  157. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  158. newWeld(torso, rarm, 1.5, 0.5, 0)
  159. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  160. newWeld(torso, hed, 0, 1.5, 0)
  161. newWeld(torso, lleg, -0.5, -1, 0)
  162. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  163. newWeld(torso, rleg, 0.5, -1, 0)
  164. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  165. newWeld(root, torso, 0, -1, 0)
  166. torso.Weld.C1 = CFrame.new(0, -1, 0)
  167. ----------------------------------------------------
  168. z = Instance.new("Sound", char)
  169. z.SoundId = "rbxassetid://306370481"--412795855
  170. z.Looped = true
  171. z.Pitch = 1
  172. z.Volume = 1
  173. wait(.1)
  174. z:Play()
  175. ----------------------------------------------------
  176. local Transforming = true
  177. hum.WalkSpeed = 0
  178. local fx = Instance.new("Part",torso)
  179. fx.Anchored = true
  180. fx.Material = "Neon"
  181. fx.CanCollide = false
  182. fx.Locked = true
  183. fx.Transparency = 1
  184. fx.Material = "SmoothPlastic"
  185. fx.Size = Vector3.new(1,1,1)
  186. fx.TopSurface = "SmoothNoOutlines"
  187. fx.BottomSurface = "SmoothNoOutlines"
  188. fx.BrickColor = BrickColor.new("Cyan")
  189. fxm = Instance.new("SpecialMesh",fx)
  190. fxm.MeshType = "Sphere"
  191. fxm.Scale = Vector3.new(1,1,1)
  192. for i = 1, 20 do rs:wait()
  193. fx.Transparency = fx.Transparency - (1/20)
  194. fx.CFrame = torso.CFrame
  195. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  196. rs:wait()
  197. end
  198. ----------------------------------------------------
  199.  
  200. ----------------------------------------------------
  201.  
  202. ----------------------------------------------------
  203. GroundWave1 = function()
  204. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  205. local Colors = {"Royal purple", "Really black"}
  206. local wave = Instance.new("Part", torso)
  207. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  208. wave.Anchored = true
  209. wave.CanCollide = false
  210. wave.Locked = true
  211. wave.Size = Vector3.new(1, 1, 1)
  212. wave.TopSurface = "Smooth"
  213. wave.BottomSurface = "Smooth"
  214. wave.Transparency = 0.35
  215. wave.CFrame = HandCF
  216. wm = Instance.new("SpecialMesh", wave)
  217. wm.MeshId = "rbxassetid://3270017"
  218. coroutine.wrap(function()
  219. for i = 1, 30, 1 do
  220. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  221. wave.Size = wm.Scale
  222. wave.CFrame = HandCF
  223. wave.Transparency = i/30
  224. wait()
  225. end
  226. wait()
  227. wave:Destroy()
  228. end)()
  229. end
  230. ----------------------------------------------------
  231. GroundWave = function()
  232. if Transforming == true then
  233. local wave = Instance.new("Part", torso)
  234. wave.BrickColor = BrickColor.new("Cyan")
  235. wave.Anchored = true
  236. wave.CanCollide = false
  237. wave.Locked = true
  238. wave.Size = Vector3.new(1, 1, 1)
  239. wave.TopSurface = "Smooth"
  240. wave.BottomSurface = "Smooth"
  241. wave.Transparency = 0.35
  242. wave.CFrame = fx.CFrame
  243. wm = Instance.new("SpecialMesh", wave)
  244. wm.MeshType = "Sphere"
  245. wm.Scale = Vector3.new(1,1,1)
  246. coroutine.wrap(function()
  247. for i = 1, 18, 1 do
  248. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  249. --wave.Size = wm.Scale
  250. wave.CFrame = fx.CFrame
  251. wave.Transparency = i/14
  252. wait()
  253. end
  254. wait()
  255. wave:Destroy()
  256. end)()
  257. elseif Transforming == false then
  258. wait()
  259. end
  260. end
  261.  
  262. for i = 1, 100 do rs:wait()
  263. fx.CFrame = torso.CFrame
  264. end
  265.  
  266. Spawn(function()
  267. while wait(1) do
  268. GroundWave()
  269. end
  270. end)
  271.  
  272. wait(4)
  273.  
  274. Transforming = false
  275.  
  276. for i = 1, 20 do rs:wait()
  277. fx.Transparency = fx.Transparency + (1/20)
  278. fx.CFrame = torso.CFrame
  279. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  280. rs:wait()
  281. end
  282.  
  283. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  284. local wave = Instance.new("Part", torso)
  285. wave.BrickColor = BrickColor.new("Institutional white")
  286. wave.Anchored = true
  287. wave.CanCollide = false
  288. wave.Locked = true
  289. wave.Size = Vector3.new(1, 1, 1)
  290. wave.TopSurface = "Smooth"
  291. wave.BottomSurface = "Smooth"
  292. wave.Transparency = 0.35
  293. wave.CFrame = HandCF
  294. wm = Instance.new("SpecialMesh", wave)
  295. wm.MeshId = "rbxassetid://3270017"
  296. coroutine.wrap(function()
  297. for i = 1, 14, 1 do
  298. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  299. wave.Size = wm.Scale
  300. wave.CFrame = HandCF
  301. wave.Transparency = i/14
  302. wait()
  303. end
  304. wait()
  305. wave:Destroy()
  306. end)()
  307. hum.WalkSpeed = 16
  308. ----------------------------------------------------
  309. Blast = function()
  310. local Colors = {"Really black", "Really black"}
  311. local wave = Instance.new("Part", torso)
  312. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  313. wave.Anchored = true
  314. wave.CanCollide = false
  315. wave.Locked = true
  316. wave.Size = Vector3.new(1, 1, 1)
  317. wave.TopSurface = "Smooth"
  318. wave.BottomSurface = "Smooth"
  319. wave.Transparency = 0.35
  320. wave.CFrame = rarm.CFrame
  321. wm = Instance.new("SpecialMesh", wave)
  322. wm.MeshType = "Sphere"
  323. wm.Scale = Vector3.new(1,1,1)
  324. z = Instance.new("Sound",wave)
  325. z.SoundId = "rbxassetid://237035051"
  326. z.Volume = 1
  327. z.Pitch = .9
  328. z:Play()
  329. coroutine.wrap(function()
  330. for i = 1, 30, 1 do
  331. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  332. --wave.Size = wm.Scale
  333. wave.CFrame = rarm.CFrame
  334. wave.Transparency = (1/14)
  335. rs:wait()
  336. end
  337. rs:wait()
  338. wave:Destroy()
  339. z:Destroy()
  340. end)()
  341. end
  342. ----------------------------------------------------
  343. rarm.Touched:connect(function(ht)
  344. hit = ht.Parent
  345. if ht and hit:IsA("Model") then
  346. if hit:FindFirstChild("Humanoid") then
  347. if hit.Name ~= p.Name then
  348. if Debounces.RPunch == true and Debounces.RPunched == false then
  349. Debounces.RPunched = true
  350. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  351. if Debounces.ks==true then
  352. z = Instance.new("Sound",hed)
  353. z.SoundId = "rbxassetid://169380525"
  354. z.Pitch = ptz[math.random(1,#ptz)]
  355. z.Volume = 1
  356. z:Play()
  357. end
  358. wait(.2)
  359. Debounces.RPunched = false
  360. end
  361. end
  362. end
  363. elseif ht and hit:IsA("Hat") then
  364. if hit.Parent.Name ~= p.Name then
  365. if hit.Parent:FindFirstChild("Humanoid") then
  366. if Debounces.RPunch == true and Debounces.RPunched == false then
  367. Debounces.RPunched = true
  368. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  369. if Debounces.ks==true then
  370. z = Instance.new("Sound",hed)
  371. z.SoundId = "rbxassetid://169380525"
  372. z.Pitch = ptz[math.random(1,#ptz)]
  373. z.Volume = 1
  374. z:Play()
  375. end
  376. wait(.2)
  377. Debounces.RPunched = false
  378. end
  379. end
  380. end
  381. end
  382. end)
  383. larm.Touched:connect(function(ht)
  384. hit = ht.Parent
  385. if ht and hit:IsA("Model") then
  386. if hit:FindFirstChild("Humanoid") then
  387. if hit.Name ~= p.Name then
  388. if Debounces.LPunch == true and Debounces.LPunched == false then
  389. Debounces.LPunched = true
  390. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  391. if Debounces.ks2==true then
  392. z = Instance.new("Sound",hed)
  393. z.SoundId = "rbxassetid://169380525"
  394. z.Pitch = ptz[math.random(1,#ptz)]
  395. z.Volume = 1
  396. z:Play()
  397. end
  398. wait(.2)
  399. Debounces.LPunched = false
  400. end
  401. end
  402. end
  403. elseif ht and hit:IsA("Hat") then
  404. if hit.Parent.Name ~= p.Name then
  405. if hit.Parent:FindFirstChild("Humanoid") then
  406. if Debounces.LPunch == true and Debounces.LPunched == false then
  407. Debounces.LPunched = true
  408. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  409. if Debounces.ks2==true then
  410. z = Instance.new("Sound",hed)
  411. z.SoundId = "rbxassetid://169380525"
  412. z.Pitch = ptz[math.random(1,#ptz)]
  413. z.Volume = 1
  414. z:Play()
  415. end
  416. wait(.2)
  417. Debounces.LPunched = false
  418. end
  419. end
  420. end
  421. end
  422. end)
  423. ----------------------------------------------------
  424. mod4 = Instance.new("Model",char)
  425.  
  426. ptez = {0.7, 0.8, 0.9, 1}
  427.  
  428. function FindNearestTorso(Position,Distance,SinglePlayer)
  429. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  430. local List = {}
  431. for i,v in pairs(workspace:GetChildren())do
  432. if v:IsA("Model")then
  433. if v:findFirstChild("Torso")then
  434. if v ~= char then
  435. if(v.Torso.Position -Position).magnitude <= Distance then
  436. table.insert(List,v)
  437. end
  438. end
  439. end
  440. end
  441. end
  442. return List
  443. end
  444.  
  445. function Punch()
  446. part=Instance.new('Part',mod4)
  447. part.Anchored=true
  448. part.CanCollide=false
  449. part.FormFactor='Custom'
  450. part.Size=Vector3.new(.2,.2,.2)
  451. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  452. part.Transparency=.7
  453. part.BrickColor=BrickColor.new('Really black')
  454. mesh=Instance.new('SpecialMesh',part)
  455. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  456. mesh.Scale=Vector3.new(3,3,3)
  457. part2=Instance.new('Part',mod4)
  458. part2.Anchored=true
  459. part2.CanCollide=false
  460. part2.FormFactor='Custom'
  461. part2.Size=Vector3.new(.2,.2,.2)
  462. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  463. part2.Transparency=.7
  464. part2.BrickColor=BrickColor.new('Really black')
  465. mesh2=Instance.new('SpecialMesh',part2)
  466. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  467. mesh2.Scale=Vector3.new(3,1.5,3)
  468. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  469. if v:FindFirstChild('Humanoid') then
  470. v.Humanoid:TakeDamage(math.random(2,6))
  471. end
  472. end
  473. coroutine.resume(coroutine.create(function()
  474. for i=0,0.62,0.4 do
  475. wait()
  476. part.CFrame=part.CFrame
  477. part.Transparency=i
  478. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  479. part2.CFrame=part2.CFrame
  480. part2.Transparency=i
  481. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  482. end
  483. part.Parent=nil
  484. part2.Parent=nil
  485. end))
  486. end
  487. ----------------------------------------------------
  488. rarm.Touched:connect(function(ht)
  489. hit = ht.Parent
  490. if ht and hit:IsA("Model") then
  491. if hit:FindFirstChild("Humanoid") then
  492. if hit.Name ~= p.Name then
  493. if Debounces.RPunch == true and Debounces.RPunched == false then
  494. Debounces.RPunched = true
  495. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  496. if Debounces.ks==true then
  497. z = Instance.new("Sound",hed)
  498. z.SoundId = "rbxassetid://169380525"
  499. z.Pitch = ptz[math.random(1,#ptz)]
  500. z.Volume = 1
  501. z:Play()
  502. end
  503. wait(.2)
  504. Debounces.RPunched = false
  505. end
  506. end
  507. end
  508. elseif ht and hit:IsA("Hat") then
  509. if hit.Parent.Name ~= p.Name then
  510. if hit.Parent:FindFirstChild("Humanoid") then
  511. if Debounces.RPunch == true and Debounces.RPunched == false then
  512. Debounces.RPunched = true
  513. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  514. if Debounces.ks==true then
  515. z = Instance.new("Sound",hed)
  516. z.SoundId = "rbxassetid://169380525"
  517. z.Pitch = ptz[math.random(1,#ptz)]
  518. z.Volume = 1
  519. z:Play()
  520. end
  521. wait(.2)
  522. Debounces.RPunched = false
  523. end
  524. end
  525. end
  526. end
  527. end)
  528. larm.Touched:connect(function(ht)
  529. hit = ht.Parent
  530. if ht and hit:IsA("Model") then
  531. if hit:FindFirstChild("Humanoid") then
  532. if hit.Name ~= p.Name then
  533. if Debounces.LPunch == true and Debounces.LPunched == false then
  534. Debounces.LPunched = true
  535. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  536. if Debounces.ks2==true then
  537. z = Instance.new("Sound",hed)
  538. z.SoundId = "rbxassetid://169380525"
  539. z.Pitch = ptz[math.random(1,#ptz)]
  540. z.Volume = 1
  541. z:Play()
  542. end
  543. wait(.2)
  544. Debounces.LPunched = false
  545. end
  546. end
  547. end
  548. elseif ht and hit:IsA("Hat") then
  549. if hit.Parent.Name ~= p.Name then
  550. if hit.Parent:FindFirstChild("Humanoid") then
  551. if Debounces.LPunch == true and Debounces.LPunched == false then
  552. Debounces.LPunched = true
  553. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  554. if Debounces.ks2==true then
  555. z = Instance.new("Sound",hed)
  556. z.SoundId = "rbxassetid://169380525"
  557. z.Pitch = ptz[math.random(1,#ptz)]
  558. z.Volume = 1
  559. z:Play()
  560. end
  561. wait(.2)
  562. Debounces.LPunched = false
  563. end
  564. end
  565. end
  566. end
  567. end)
  568. ----------------------------------------------------
  569. local player = game.Players.LocalPlayer
  570. local pchar = player.Character
  571. local mouse = player:GetMouse()
  572. local cam = workspace.CurrentCamera
  573.  
  574. local rad = math.rad
  575.  
  576. local keysDown = {}
  577. local flySpeed = 0
  578. local MAX_FLY_SPEED = 150
  579.  
  580. local canFly = false
  581. local flyToggled = false
  582.  
  583. local forward, side = 0, 0
  584. local lastForward, lastSide = 0, 0
  585.  
  586. local floatBP = Instance.new("BodyPosition")
  587. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  588. local flyBV = Instance.new("BodyVelocity")
  589. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  590. local turnBG = Instance.new("BodyGyro")
  591. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  592.  
  593. mouse.KeyDown:connect(function(key)
  594. keysDown[key] = true
  595.  
  596. if key == "f" then
  597. flyToggled = not flyToggled
  598.  
  599. if not flyToggled then
  600. stanceToggle = "Normal"
  601. floatBP.Parent = nil
  602. flyBV.Parent = nil
  603. turnBG.Parent = nil
  604. root.Velocity = Vector3.new()
  605. pchar.Humanoid.PlatformStand = false
  606. end
  607. end
  608.  
  609. end)
  610. mouse.KeyUp:connect(function(key)
  611. keysDown[key] = nil
  612. end)
  613.  
  614. local function updateFly()
  615.  
  616. if not flyToggled then return end
  617.  
  618. lastForward = forward
  619. lastSide = side
  620.  
  621. forward = 0
  622. side = 0
  623.  
  624. if keysDown.w then
  625. forward = forward + 1
  626. end
  627. if keysDown.s then
  628. forward = forward - 1
  629. end
  630. if keysDown.a then
  631. side = side - 1
  632. end
  633. if keysDown.d then
  634. side = side + 1
  635. end
  636.  
  637. canFly = (forward ~= 0 or side ~= 0)
  638.  
  639. if canFly then
  640. stanceToggle = "Floating"
  641. turnBG.Parent = root
  642. floatBP.Parent = nil
  643. flyBV.Parent = root
  644.  
  645. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  646. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  647. else
  648. floatBP.position = root.Position
  649. floatBP.Parent = root
  650.  
  651. flySpeed = flySpeed - 1
  652. if flySpeed < 0 then flySpeed = 0 end
  653. end
  654.  
  655. local camCF = cam.CoordinateFrame
  656. local in_forward = canFly and forward or lastForward
  657. local in_side = canFly and side or lastSide
  658.  
  659. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  660. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  661.  
  662. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  663. 0)
  664. end
  665.  
  666. game:service'RunService'.RenderStepped:connect(function()
  667. if flyToggled then
  668. pchar.Humanoid.PlatformStand = true
  669. end
  670. updateFly()
  671. end)
  672. -------------------------------
  673. mouse.KeyDown:connect(function(key)
  674. if key == "q" then
  675. if Debounces.CanAttack == true then
  676. Debounces.CanAttack = false
  677. Debounces.NoIdl = true
  678. Debounces.on = true
  679. function FindNearestTorso(Position,Distance,SinglePlayer)
  680. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  681. local List = {}
  682. for i,v in pairs(workspace:GetChildren())do
  683. if v:IsA("Model")then
  684. if v:findFirstChild("Torso")then
  685. if v ~= char then
  686. if(v.Torso.Position -Position).magnitude <= Distance then
  687. table.insert(List,v)
  688. end
  689. end
  690. end
  691. end
  692. end
  693. return List
  694. end
  695. z = Instance.new("Sound",hed)
  696. z.SoundId = "rbxassetid://232213955"
  697. z.Pitch = 1
  698. z.Volume = 1
  699. wait(0.2)
  700. z:Play()
  701. sp = Instance.new("Part",rarm)
  702. sp.Anchored = true
  703. sp.CanCollide = false
  704. sp.Locked = true
  705. sp.Transparency = 0
  706. sp.Material = "Neon"
  707. sp.Size = Vector3.new(1,1,1)
  708. sp.TopSurface = "SmoothNoOutlines"
  709. sp.BottomSurface = "SmoothNoOutlines"
  710. sp.BrickColor = BrickColor.new("Royal purple")
  711. spm = Instance.new("SpecialMesh",sp)
  712. spm.MeshType = "Sphere"
  713. spm.Scale = Vector3.new(21,21,21)
  714. sp2 = Instance.new("Part", rarm)
  715. sp2.Name = "Energy"
  716. sp2.BrickColor = BrickColor.new("Royal purple")
  717. sp2.Size = Vector3.new(1, 1, 1)
  718. sp2.Shape = "Ball"
  719. sp2.CanCollide = false
  720. sp2.Anchored = true
  721. sp2.Locked = true
  722. sp2.TopSurface = 0
  723. sp2.BottomSurface = 0
  724. sp2.Transparency = 1
  725. spm2 = Instance.new("SpecialMesh",sp2)
  726. spm2.MeshId = "rbxassetid://9982590"
  727. spm2.Scale = Vector3.new(2,2,2)
  728. for i = 1, 20 do
  729. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  730. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  731. 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)
  732. 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)
  733. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  734. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  735. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  736. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  737. if Debounces.on == false then break end
  738. rs:wait()
  739. end
  740. for i = 1, 100, 20 do rs:wait()
  741. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  742. end
  743. for i = 1, 20 do
  744. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  745. 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)
  746. 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)
  747. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  748. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  749. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  750. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  751. if Debounces.on == false then break end
  752. rs:wait()
  753. end
  754. sp.Transparency = 1
  755. for i = 1, 20 do
  756. 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)
  757. 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)
  758. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  759. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  760. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  761. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  762. if Debounces.on == false then break end
  763. rs:wait()
  764. end
  765. wait(1)
  766. sp.Transparency = 0
  767. sp2.Transparency = 0.84
  768. for i = 1, 20 do
  769. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  770. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  771. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  772. 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)
  773. 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)
  774. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  775. 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)
  776. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  777. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  778. if Debounces.on == false then break end
  779. rs:wait()
  780. end
  781. for i = 1, 2880, 50 do
  782. rs:wait()
  783. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  784. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  785. rs:wait()
  786. end
  787. sp:Destroy()
  788. sp2:Destroy()
  789. local X = Instance.new("Part",char)
  790. local O = Instance.new("ObjectValue",X)
  791. O.Name = "creator"
  792. X.Locked = true
  793. X.Name = "Shell"
  794. X.Anchored = false
  795. X.CanCollide = false
  796. X.Transparency = 0
  797. X.Reflectance = 0
  798. X.BottomSurface = 0
  799. X.TopSurface = 0
  800. X.Shape = 0
  801. local V = Instance.new("ObjectValue",X)
  802. V.Value = char
  803. V.Name = "creator"
  804. X.BrickColor = BrickColor.new("Royal purple")
  805. X.Size = Vector3.new(2,2,2)
  806. X.Material = "Neon"
  807. local Z = Instance.new("SpecialMesh",X)
  808. Z.MeshType = "Sphere"
  809. Z.Scale = Vector3.new(0.5,0.5,1)
  810. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  811. local bv = Instance.new("BodyVelocity",X)
  812. bv.maxForce = Vector3.new(99999,99999,99999)
  813. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  814. bv.velocity = X.CFrame.lookVector*65
  815.  
  816. Explode = X.Touched:connect(function(hit)
  817. if hit ~= char and hit.Name ~= "Shell" then
  818. local cf = X.CFrame
  819. bv:Destroy()
  820. X.Anchored = true
  821. Z:Remove()
  822. Explode:disconnect()
  823. X.Size = Vector3.new(3,3,3)
  824. X.Touched:connect(function(hit) end)
  825. X.CanCollide = false
  826. local part3 = Instance.new("Part", rarm)
  827. part3.Anchored=true
  828. part3.CanCollide=false
  829. part3.Locked = true
  830. part3.TopSurface = "SmoothNoOutlines"
  831. part3.BottomSurface = "SmoothNoOutlines"
  832. part3.FormFactor='Custom'
  833. part3.Size=Vector3.new(1,1, 1)
  834. part3.CFrame=X.CFrame
  835. part3.Transparency=0
  836. part3.BrickColor=BrickColor.new("Royal purple")
  837. local mesh3 = Instance.new("SpecialMesh",part3)
  838. mesh3.MeshType = "Sphere"
  839. mesh3.Scale = Vector3.new(1,1,1)
  840. --debris:AddItem(X,8)
  841. local part4 = Instance.new("Part", rarm)
  842. part4.Material = "Neon"
  843. part4.Anchored=true
  844. part4.CanCollide=false
  845. part4.Locked = true
  846. part4.TopSurface = "SmoothNoOutlines"
  847. part4.BottomSurface = "SmoothNoOutlines"
  848. part4.FormFactor='Custom'
  849. part4.Size=Vector3.new(1,1, 1)
  850. part4.CFrame=X.CFrame
  851. part4.Transparency=0
  852. part4.BrickColor=BrickColor.new("Hot pink")
  853. local mesh4 = Instance.new("SpecialMesh",part4)
  854. mesh4.MeshType = "Sphere"
  855. mesh4.Scale = Vector3.new(.5,.5,.5)
  856. local part7 = Instance.new("Part", rarm)
  857. part7.Material = "Neon"
  858. part7.Anchored=true
  859. part7.CanCollide=false
  860. part7.Locked = true
  861. part7.TopSurface = "SmoothNoOutlines"
  862. part7.BottomSurface = "SmoothNoOutlines"
  863. part7.FormFactor='Custom'
  864. part7.Size=Vector3.new(1,1, 1)
  865. part7.CFrame=X.CFrame
  866. part7.Transparency=0
  867. part7.BrickColor=BrickColor.new("Really black")
  868. local mesh7 = Instance.new("SpecialMesh",part7)
  869. mesh7.MeshType = "Sphere"
  870. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  871. --[[X.Touched:connect(function(ht)
  872. hit = ht.Parent
  873. if ht and hit:IsA("Model") then
  874. if hit:FindFirstChild("Humanoid") then
  875. if hit.Name ~= p.Name then
  876. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  877. wait(.3)
  878. end
  879. end
  880. elseif ht and hit:IsA("Hat") then
  881. if hit.Parent.Name ~= p.Name then
  882. if hit.Parent:FindFirstChild("Humanoid") then
  883. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  884. wait(.3)
  885. end
  886. end
  887. end
  888. end)
  889. part3.Touched:connect(function(ht)
  890. hit = ht.Parent
  891. if ht and hit:IsA("Model") then
  892. if hit:FindFirstChild("Humanoid") then
  893. if hit.Name ~= p.Name then
  894. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  895. wait(.3)
  896. end
  897. end
  898. elseif ht and hit:IsA("Hat") then
  899. if hit.Parent.Name ~= p.Name then
  900. if hit.Parent:FindFirstChild("Humanoid") then
  901. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  902. wait(.3)
  903. end
  904. end
  905. end
  906. end)]]--
  907. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  908. if v:FindFirstChild('Humanoid') then
  909. v.Humanoid:TakeDamage(math.random(60,90))
  910. v.Humanoid.PlatformStand = true
  911. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  912. end
  913. end
  914.  
  915. local acos = math.acos
  916. local sqrt = math.sqrt
  917. local Vec3 = Vector3.new
  918. local fromAxisAngle = CFrame.fromAxisAngle
  919.  
  920. local function toAxisAngle(CFr)
  921. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  922. local Angle = math.acos((R00+R11+R22-1)/2)
  923. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  924. A = A == 0 and 0.00001 or A
  925. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  926. B = B == 0 and 0.00001 or B
  927. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  928. C = C == 0 and 0.00001 or C
  929. local x = (R21-R12)/sqrt(A)
  930. local y = (R02-R20)/sqrt(B)
  931. local z = (R10-R01)/sqrt(C)
  932. return Vec3(x,y,z),Angle
  933. end
  934.  
  935. function ApplyTrig(Num,Func)
  936. local Min,Max = Func(0),Func(1)
  937. local i = Func(Num)
  938. return (i-Min)/(Max-Min)
  939. end
  940.  
  941. function LerpCFrame(CFrame1,CFrame2,Num)
  942. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  943. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  944. end
  945.  
  946. function Crater(Torso,Radius)
  947. Spawn(function()
  948. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  949. local Ignore = {}
  950. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  951. if v.Character ~= nil then
  952. Ignore[#Ignore+1] = v.Character
  953. end
  954. end
  955. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  956. if Hit == nil then return end
  957. local Parts = {}
  958. for i = 1,360,10 do
  959. local P = Instance.new("Part",Torso.Parent)
  960. P.Anchored = true
  961. P.FormFactor = "Custom"
  962. P.BrickColor = Hit.BrickColor
  963. P.Material = Hit.Material
  964. P.TopSurface = "Smooth"
  965. P.BottomSurface = "Smooth"
  966. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  967. 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)))
  968. 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}
  969. if math.random(0,5) == 0 then -- rubble
  970. local P = Instance.new("Part",Torso.Parent)
  971. P.Anchored = true
  972. P.FormFactor = "Custom"
  973. P.BrickColor = Hit.BrickColor
  974. P.Material = Hit.Material
  975. P.TopSurface = "Smooth"
  976. P.BottomSurface = "Smooth"
  977. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  978. 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)))
  979. 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}
  980. end
  981. end
  982. for i = 0,1,0.05 do
  983. for i2,v in pairs(Parts) do
  984. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  985. end
  986. wait(0.02)
  987. end
  988. for i,v in pairs(Parts) do
  989. if v[1].Size.X > 2.1 then
  990. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  991. end
  992. v[1].Anchored = false
  993. end
  994. for i = 0,1,0.05 do
  995. for i2,v in pairs(Parts) do
  996. v[1].Transparency = i
  997. if i == 1 then
  998. v[1]:Destroy()
  999. elseif i >= 0.25 then
  1000. v[1].CanCollide = false
  1001. end
  1002. end
  1003. wait(0.02)
  1004. end
  1005. Parts = nil
  1006. end)
  1007. end
  1008.  
  1009. ROW = function(out, trans, s, wt, t, ang, plus)
  1010. for i = 1, 360, 360/t do
  1011. local c = Instance.new("Part", game.Workspace)
  1012. c.FormFactor = 3
  1013. c.TopSurface = 0
  1014. c.BottomSurface = 0
  1015. c.Size = s
  1016. c.Anchored = true
  1017. c.CanCollide = wt
  1018. c.Material=workspace.Base.Material
  1019. c.Transparency = trans
  1020. c.BrickColor = workspace.Base.BrickColor
  1021. 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
  1022. c.Locked=true
  1023. game.Debris:AddItem(c,15)
  1024. end
  1025. end
  1026.  
  1027. Part = function(x,y,z,color,tr,cc,an,parent)
  1028. local p = Instance.new('Part',parent or Weapon)
  1029. p.formFactor = 'Custom'
  1030. p.Size = Vector3.new(x,y,z)
  1031. p.BrickColor = BrickColor.new(color)
  1032. p.CanCollide = cc
  1033. p.Transparency = tr
  1034. p.Anchored = an
  1035. p.TopSurface,p.BottomSurface = 0,0
  1036. p.Locked=true
  1037. p:BreakJoints()
  1038. return p end
  1039.  
  1040. Mesh = function(par,num,x,y,z)
  1041. local msh = _
  1042. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1043. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1044. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1045. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1046. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1047. end msh.Scale = Vector3.new(x,y,z)
  1048. return msh end
  1049.  
  1050. function explosion(col1,col2,cfr,sz,rng,dmg)
  1051. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1052. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1053. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1054. v1,v2,v3=sz.x,sz.y,sz.z
  1055. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1056. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1057. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1058. a.CFrame=cfr
  1059. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1060. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1061.  
  1062. Spawn(function()
  1063. while wait() do
  1064. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1065. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1066. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1067. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1068. a.Transparency=a.Transparency+0.05
  1069. a2.Transparency=a2.Transparency+0.05
  1070. a3.Transparency=a3.Transparency+0.05
  1071. end
  1072. end)
  1073. end
  1074.  
  1075. Crater(X,20)
  1076. 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)
  1077. z = Instance.new("Sound",X)
  1078. z.SoundId = "rbxassetid://231917744"
  1079. z.Pitch = .5
  1080. z.Volume = 10
  1081. z1 = Instance.new("Sound",X)
  1082. z1.SoundId = "rbxassetid://231917744"
  1083. z1.Pitch = .5
  1084. z1.Volume = 10
  1085. z2 = Instance.new("Sound",X)
  1086. z2.SoundId = "rbxassetid://231917744"
  1087. z2.Pitch = .5
  1088. z2.Volume = 10
  1089. z3 = Instance.new("Sound",X)
  1090. z3.SoundId = "rbxassetid://245537790"
  1091. z3.Pitch = .7
  1092. z3.Volume = 1
  1093. z4 = Instance.new("Sound",X)
  1094. z4.SoundId = "rbxassetid://245537790"
  1095. z4.Pitch = .7
  1096. z4.Volume = 1
  1097. wait(0.1)
  1098. z:Play()
  1099. z1:Play()
  1100. z2:Play()
  1101. z3:Play()
  1102. z4:Play()
  1103.  
  1104. local part=Instance.new('Part',rarm)
  1105. part.Anchored=true
  1106. part.CanCollide=false
  1107. part.Locked = true
  1108. part.FormFactor='Custom'
  1109. part.Size=Vector3.new(1,1,1)
  1110. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1111. part.Transparency=0
  1112. part.BrickColor=BrickColor.new('Really black')
  1113. local mesh=Instance.new('SpecialMesh',part)
  1114. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1115. mesh.Scale=Vector3.new(2,2,2)
  1116. local part2=part:clone()
  1117. part2.Parent = rarm
  1118. part2.BrickColor=BrickColor.new("Royal purple")
  1119. local part5=part:clone()
  1120. part5.Parent = rarm
  1121. part5.BrickColor=BrickColor.new("Magenta")
  1122. local part6=part:clone()
  1123. part6.Parent = rarm
  1124. part6.BrickColor=BrickColor.new("Black")
  1125. local mesh2=mesh:clone()
  1126. mesh2.Parent=part2
  1127. mesh2.Scale=Vector3.new(3, 3, 3)
  1128. local mesh5=mesh:clone()
  1129. mesh5.Parent=part5
  1130. mesh5.Scale=Vector3.new(3, 3, 3)
  1131. local mesh6=mesh:clone()
  1132. mesh6.Parent=part6
  1133. mesh6.Scale=Vector3.new(3, 3, 3)
  1134. local blast = Instance.new("Part", rarm)
  1135. blast.BrickColor = BrickColor.new("Really black")
  1136. blast.Anchored = true
  1137. blast.CanCollide = false
  1138. blast.Locked = true
  1139. blast.Size = Vector3.new(1, 1, 1)
  1140. blast.TopSurface = "Smooth"
  1141. blast.BottomSurface = "Smooth"
  1142. blast.Transparency = 0
  1143. blast.CFrame = HandCF
  1144. local bm = Instance.new("SpecialMesh", blast)
  1145. bm.Scale = Vector3.new(5,1,5)
  1146. bm.MeshId = "rbxassetid://3270017"
  1147. local blast2 = Instance.new("Part", rarm)
  1148. blast2.BrickColor = BrickColor.new("Really black")
  1149. blast2.Anchored = true
  1150. blast2.CanCollide = false
  1151. blast2.Locked = true
  1152. blast2.Size = Vector3.new(1, 1, 1)
  1153. blast2.TopSurface = "Smooth"
  1154. blast2.BottomSurface = "Smooth"
  1155. blast2.Transparency = 0
  1156. blast2.CFrame = HandCF
  1157. local bm2 = Instance.new("SpecialMesh", blast2)
  1158. bm2.Scale = Vector3.new(3,1,3)
  1159. bm2.MeshId = "rbxassetid://3270017"
  1160. local blast3 = Instance.new("Part", rarm)
  1161. blast3.BrickColor = BrickColor.new("Really black")
  1162. blast3.Anchored = true
  1163. blast3.CanCollide = false
  1164. blast3.Locked = true
  1165. blast3.Size = Vector3.new(1, 1, 1)
  1166. blast3.TopSurface = "Smooth"
  1167. blast3.BottomSurface = "Smooth"
  1168. blast3.Transparency = 0
  1169. blast3.CFrame = HandCF
  1170. local bm3 = Instance.new("SpecialMesh", blast3)
  1171. bm3.Scale = Vector3.new(3,1,3)
  1172. bm3.MeshId = "rbxassetid://3270017"
  1173. for i = 1,120 do rs:wait()
  1174. X.Transparency = X.Transparency + (1/120)
  1175. part.Transparency = part.Transparency + (1/120)
  1176. part2.Transparency = part2.Transparency + (1/120)
  1177. part3.Transparency = part3.Transparency + (1/120)
  1178. part4.Transparency = part4.Transparency + (1/120)
  1179. part5.Transparency = part5.Transparency + (1/120)
  1180. part6.Transparency = part6.Transparency + (1/120)
  1181. part7.Transparency = part7.Transparency + (1/120)
  1182. blast.Transparency = blast.Transparency + (1/120)
  1183. blast2.Transparency = blast2.Transparency + (1/120)
  1184. blast3.Transparency = blast3.Transparency + (1/120)
  1185. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1186. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1187. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1188. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1189. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1190. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1191. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1192. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1193. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1194. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1195. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1196. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1197. X.CFrame = cf
  1198. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1199. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1200. part3.CFrame=X.CFrame
  1201. part4.CFrame=X.CFrame
  1202. part7.CFrame=X.CFrame
  1203. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1204. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1205. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1206. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1207. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1208. rs:wait()
  1209. end
  1210. X:Destroy()
  1211. part:Destroy()
  1212. part2:Destroy()
  1213. part3:Destroy()
  1214. part4:Destroy()
  1215. part5:Destroy()
  1216. part6:Destroy()
  1217. blast:Destroy()
  1218. blast2:Destroy()
  1219. blast3:Destroy()
  1220. z:Destroy()
  1221. z1:Destroy()
  1222. z2:Destroy()
  1223. z3:Destroy()
  1224. z4:Destroy()
  1225. end
  1226. end)
  1227. for i = 1, 20 do
  1228. 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)
  1229. 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)
  1230. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1231. 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)
  1232. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1233. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1234. if Debounces.on == false then break end
  1235. rs:wait()
  1236. end
  1237. if Debounces.CanAttack == false then
  1238. Debounces.CanAttack = true
  1239. Debounces.NoIdl = false
  1240. Debounces.on = false
  1241. end
  1242. end
  1243. end
  1244. end)
  1245. ----------------------------------------------------
  1246. mouse.KeyDown:connect(function(key)
  1247. if key == "e" then
  1248. if Debounces.CanAttack == true then
  1249. Debounces.CanAttack = false
  1250. Debounces.on = true
  1251. Debounces.NoIdl = true
  1252. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1253. z = Instance.new("Sound", rarm)
  1254. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1255. z.Volume = .6
  1256. z.Pitch = pt[math.random(1,#pt)]
  1257. z.Looped = false
  1258. z:Play()
  1259. Debounces.RPunch = true
  1260. Debounces.LPunch = true
  1261. Debounces.ks = true
  1262. Debounces.ks2 = true
  1263. for i = 1, 3 do
  1264. 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)
  1265. 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)
  1266. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1267. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1268. 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)
  1269. 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)
  1270. if Debounces.on == false then break end
  1271. wait()
  1272. end
  1273. z2 = Instance.new("Sound", larm)
  1274. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1275. z2.Volume = .6
  1276. z2.Pitch = pt[math.random(1,#pt)]
  1277. z2.Looped = false
  1278. z2:Play()
  1279. for i = 1, 3 do
  1280. 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)
  1281. 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)
  1282. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1283. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1284. 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)
  1285. 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)
  1286. if Debounces.on == false then break end
  1287. wait()
  1288. end
  1289. z3 = Instance.new("Sound", rarm)
  1290. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1291. z3.Volume = 0.6
  1292. z3.Pitch = pt[math.random(1,#pt)]
  1293. z3.Looped = false
  1294. z3:Play()
  1295. for i = 1, 3 do
  1296. 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)
  1297. 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)
  1298. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1299. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1300. 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)
  1301. 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)
  1302. if Debounces.on == false then break end
  1303. wait()
  1304. end
  1305. z4 = Instance.new("Sound", larm)
  1306. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1307. z4.Volume = .6
  1308. z4.Pitch = pt[math.random(1,#pt)]
  1309. z4.Looped = false
  1310. z4:Play()
  1311. for i = 1, 3 do
  1312. 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)
  1313. 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)
  1314. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1315. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1316. 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)
  1317. 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)
  1318. if Debounces.on == false then break end
  1319. wait()
  1320. end
  1321. z5 = Instance.new("Sound", rarm)
  1322. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1323. z5.Volume = .6
  1324. z5.Pitch = pt[math.random(1,#pt)]
  1325. z5.Looped = false
  1326. z5:Play()
  1327. for i = 1, 3 do
  1328. 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)
  1329. 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)
  1330. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1331. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1332. 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)
  1333. 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)
  1334. if Debounces.on == false then break end
  1335. wait()
  1336. end
  1337. z6 = Instance.new("Sound", larm)
  1338. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1339. z6.Volume = .6
  1340. z6.Pitch = pt[math.random(1,#pt)]
  1341. z6.Looped = false
  1342. z6:Play()
  1343. for i = 1, 3 do
  1344. 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)
  1345. 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)
  1346. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1347. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1348. 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)
  1349. 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)
  1350. if Debounces.on == false then break end
  1351. wait()
  1352. end
  1353. z7 = Instance.new("Sound", rarm)
  1354. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1355. z7.Volume = .6
  1356. z7.Pitch = pt[math.random(1,#pt)]
  1357. z7.Looped = false
  1358. z7:Play()
  1359. for i = 1, 3 do
  1360. 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)
  1361. 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)
  1362. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1363. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1364. 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)
  1365. 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)
  1366. if Debounces.on == false then break end
  1367. wait()
  1368. end
  1369. z8 = Instance.new("Sound", larm)
  1370. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1371. z8.Volume = .6
  1372. z8.Pitch = pt[math.random(1,#pt)]
  1373. z8.Looped = false
  1374. z8:Play()
  1375. for i = 1, 3 do
  1376. 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)
  1377. 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)
  1378. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1379. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1380. 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)
  1381. 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)
  1382. if Debounces.on == false then break end
  1383. wait()
  1384. end
  1385. z9 = Instance.new("Sound", rarm)
  1386. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1387. z9.Volume = 0.6
  1388. z9.Pitch = pt[math.random(1,#pt)]
  1389. z9.Looped = false
  1390. z9:Play()
  1391. for i = 1, 3 do
  1392. 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)
  1393. 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)
  1394. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1395. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1396. 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)
  1397. 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)
  1398. if Debounces.on == false then break end
  1399. wait()
  1400. end
  1401. z10 = Instance.new("Sound", larm)
  1402. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1403. z10.Volume = .6
  1404. z10.Pitch = pt[math.random(1,#pt)]
  1405. z10.Looped = false
  1406. z10:Play()
  1407. for i = 1, 3 do
  1408. 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)
  1409. 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)
  1410. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1411. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1412. 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)
  1413. 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)
  1414. if Debounces.on == false then break end
  1415. wait()
  1416. end
  1417. z11 = Instance.new("Sound", rarm)
  1418. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1419. z11.Volume = .6
  1420. z11.Pitch = pt[math.random(1,#pt)]
  1421. z11.Looped = false
  1422. z11:Play()
  1423. for i = 1, 3 do
  1424. 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)
  1425. 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)
  1426. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1427. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1428. 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)
  1429. 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)
  1430. if Debounces.on == false then break end
  1431. wait()
  1432. end
  1433. z12 = Instance.new("Sound", larm)
  1434. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1435. z12.Volume = .6
  1436. z12.Pitch = pt[math.random(1,#pt)]
  1437. z12.Looped = false
  1438. z12:Play()
  1439. for i = 1, 3 do
  1440. 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)
  1441. 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)
  1442. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1443. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1444. 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)
  1445. 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)
  1446. if Debounces.on == false then break end
  1447. wait()
  1448. end
  1449. z13 = Instance.new("Sound", rarm)
  1450. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1451. z13.Volume = 0.6
  1452. z13.Pitch = pt[math.random(1,#pt)]
  1453. z13.Looped = false
  1454. z13:Play()
  1455. for i = 1, 3 do
  1456. 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)
  1457. 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)
  1458. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1459. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1460. 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)
  1461. 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)
  1462. if Debounces.on == false then break end
  1463. wait()
  1464. end
  1465. z14 = Instance.new("Sound", larm)
  1466. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1467. z14.Volume = .6
  1468. z14.Pitch = pt[math.random(1,#pt)]
  1469. z14.Looped = false
  1470. z14:Play()
  1471. for i = 1, 3 do
  1472. 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)
  1473. 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)
  1474. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1475. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1476. 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)
  1477. 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)
  1478. if Debounces.on == false then break end
  1479. wait()
  1480. end
  1481. z15 = Instance.new("Sound", rarm)
  1482. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1483. z15.Volume = .6
  1484. z15.Pitch = pt[math.random(1,#pt)]
  1485. z15.Looped = false
  1486. z15:Play()
  1487. for i = 1, 3 do
  1488. 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)
  1489. 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)
  1490. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1491. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1492. 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)
  1493. 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)
  1494. if Debounces.on == false then break end
  1495. wait()
  1496. end
  1497. z16 = Instance.new("Sound", larm)
  1498. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1499. z16.Volume = .6
  1500. z16.Pitch = pt[math.random(1,#pt)]
  1501. z16.Looped = false
  1502. z16:Play()
  1503. for i = 1, 3 do
  1504. 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)
  1505. 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)
  1506. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1507. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1508. 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)
  1509. 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)
  1510. if Debounces.on == false then break end
  1511. wait()
  1512. end
  1513. z17 = Instance.new("Sound", rarm)
  1514. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1515. z17.Volume = .6
  1516. z17.Pitch = pt[math.random(1,#pt)]
  1517. z17.Looped = false
  1518. z17:Play()
  1519. for i = 1, 3 do
  1520. 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)
  1521. 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)
  1522. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1523. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1524. 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)
  1525. 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)
  1526. if Debounces.on == false then break end
  1527. wait()
  1528. end
  1529. z18 = Instance.new("Sound", larm)
  1530. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1531. z18.Volume = .6
  1532. z18.Pitch = pt[math.random(1,#pt)]
  1533. z18.Looped = false
  1534. z18:Play()
  1535. for i = 1, 3 do
  1536. 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)
  1537. 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)
  1538. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1539. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1540. 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)
  1541. 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)
  1542. if Debounces.on == false then break end
  1543. wait()
  1544. end
  1545. z19 = Instance.new("Sound", rarm)
  1546. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1547. z19.Volume = 0.6
  1548. z19.Pitch = pt[math.random(1,#pt)]
  1549. z19.Looped = false
  1550. z19:Play()
  1551. for i = 1, 3 do
  1552. 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)
  1553. 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)
  1554. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1555. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1556. 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)
  1557. 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)
  1558. if Debounces.on == false then break end
  1559. wait()
  1560. end
  1561. z20 = Instance.new("Sound", larm)
  1562. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1563. z20.Volume = .6
  1564. z20.Pitch = pt[math.random(1,#pt)]
  1565. z20.Looped = false
  1566. z20:Play()
  1567. for i = 1, 3 do
  1568. 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)
  1569. 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)
  1570. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1571. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1572. 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)
  1573. 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)
  1574. if Debounces.on == false then break end
  1575. wait()
  1576. end
  1577. z:Destroy()
  1578. z2:Destroy()
  1579. z3:Destroy()
  1580. z4:Destroy()
  1581. z5:Destroy()
  1582. z6:Destroy()
  1583. z7:Destroy()
  1584. z8:Destroy()
  1585. z9:Destroy()
  1586. z10:Destroy()
  1587. z11:Destroy()
  1588. z12:Destroy()
  1589. z13:Destroy()
  1590. z14:Destroy()
  1591. z15:Destroy()
  1592. z16:Destroy()
  1593. z17:Destroy()
  1594. z18:Destroy()
  1595. z19:Destroy()
  1596. z20:Destroy()
  1597. Debounces.LPunch = false
  1598. Debounces.RPunch = false
  1599. Debounces.ks = false
  1600. Debounces.ks2 = false
  1601. if Debounces.CanAttack == false then
  1602. Debounces.CanAttack = true
  1603. Debounces.on = false
  1604. Debounces.NoIdl = false
  1605. end
  1606. end
  1607. end
  1608. end)
  1609. -------------------------------
  1610. mouse.KeyDown:connect(function(key)
  1611. if key == "t" then
  1612. if Debounces.CanAttack == true then
  1613. Debounces.CanAttack = false
  1614. Debounces.NoIdl = true
  1615. Debounces.on = true
  1616. Debounces.ks = true
  1617. kik = rleg.Touched:connect(function(ht)
  1618. hit = ht.Parent
  1619. if ht and hit:IsA("Model") then
  1620. if hit:FindFirstChild("Humanoid") then
  1621. if hit.Name ~= p.Name then
  1622. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1623. Debounces.Slashed = true]]--
  1624. if Debounces.ks==true then
  1625. z = Instance.new("Sound",hed)
  1626. z.SoundId = "rbxassetid://169380525"
  1627. z.Volume = 1
  1628. z:Play()
  1629. Debounces.ks=false
  1630. end
  1631. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  1632. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  1633. --Debounces.Slashed = false
  1634. --end
  1635. end
  1636. end
  1637. elseif ht and hit:IsA("Hat") then
  1638. if hit.Parent.Name ~= p.Name then
  1639. if hit.Parent:FindFirstChild("Humanoid") then
  1640. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1641. Debounces.Slashed = true]]--
  1642. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  1643. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  1644. --Debounces.Slashed = false
  1645. --end
  1646. end
  1647. end
  1648. end
  1649. end)
  1650. for i = 1,20 do
  1651. 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)
  1652. 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)
  1653. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1654. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  1655. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  1656. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1657. if Debounces.on == false then break end
  1658. rs:wait()
  1659. end
  1660. kik:disconnect()
  1661. if Debounces.CanAttack == false then
  1662. Debounces.CanAttack = true
  1663. Debounces.NoIdl = false
  1664. Debounces.on = false
  1665. end
  1666. end
  1667. end
  1668. end)
  1669. ----------------------------------------------------
  1670. mouse.KeyDown:connect(function(key)
  1671. if key == "y" then
  1672. if Debounces.CanAttack == true then
  1673. Debounces.CanAttack = false
  1674. Debounces.on = true
  1675. Debounces.NoIdl = true
  1676. for i = 1, 15 do
  1677. 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)
  1678. 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)
  1679. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1680. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  1681. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1682. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1683. if Debounces.on == false then break end
  1684. rs:wait(2.7)
  1685. end
  1686. x = Instance.new("Sound",char)
  1687. x.SoundId = "rbxassetid://228343271"
  1688. x.Pitch = 1
  1689. x.Volume = .8
  1690. wait(.1)
  1691. x:Play()
  1692. Debounces.on = false
  1693. Debounces.Here = false
  1694. shot = shot + 1
  1695. local rng = Instance.new("Part", larm)
  1696. rng.Anchored = true
  1697. rng.BrickColor = BrickColor.new("Royal purple")
  1698. rng.CanCollide = false
  1699. rng.FormFactor = 3
  1700. rng.Name = "Ring"
  1701. rng.Size = Vector3.new(1, 1, 1)
  1702. rng.Transparency = 0.35
  1703. rng.TopSurface = 0
  1704. rng.BottomSurface = 0
  1705. rng2 = rng:clone()
  1706. rng3 = rng2:clone()
  1707. rng4 = rng2:clone()
  1708. local rngm = Instance.new("SpecialMesh", rng)
  1709. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1710. rngm.Scale = Vector3.new(10, 10, 1)
  1711. rngm2 = rngm:clone()
  1712. rngm2.Scale = Vector3.new(5, 5, 3)
  1713. rngm3=rngm2:clone()
  1714. rngm3.Parent = rng3
  1715. rngm3.Scale = Vector3.new(8, 8, 1)
  1716. rngm4 = rngm2:clone()
  1717. rngm4.Parent = rng4
  1718. rngm4.Scale = Vector3.new(6, 6, 1)
  1719. local bem = Instance.new("Part", larm)
  1720. bem.Anchored = true
  1721. bem.BrickColor = BrickColor.new("Really black")
  1722. bem.CanCollide = false
  1723. bem.FormFactor = 3
  1724. bem.Name = "Beam" .. shot
  1725. bem.Size = Vector3.new(1, 1, 1)
  1726. bem.Transparency = 0.35
  1727. bem.TopSurface = 0
  1728. bem.BottomSurface = 0
  1729. local bemm = Instance.new("SpecialMesh", bem)
  1730. bemm.MeshType = 4
  1731. bemm.Scale = Vector3.new(1, 4, 4)
  1732. local out = Instance.new("Part", larm)
  1733. out.Anchored = true
  1734. out.BrickColor = BrickColor.new("Really black")
  1735. out.CanCollide = false
  1736. out.FormFactor = 3
  1737. out.Name = "Out"
  1738. out.Size = Vector3.new(4, 4, 4)
  1739. out.Transparency = 0.35
  1740. out.TopSurface = 0
  1741. out.BottomSurface = 0
  1742. local outm = Instance.new("SpecialMesh", out)
  1743. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1744. outm.Scale = Vector3.new(6, 4, 6)
  1745. local bnd = Instance.new("Part", larm)
  1746. bnd.Anchored = true
  1747. bnd.BrickColor = BrickColor.new("Really black")
  1748. bnd.CanCollide = false
  1749. bnd.FormFactor = 3
  1750. bnd.Name = "Bend"
  1751. bnd.Size = Vector3.new(1, 1, 1)
  1752. bnd.Transparency = 1
  1753. bnd.TopSurface = 0
  1754. bnd.BottomSurface = 0
  1755. local bndm = Instance.new("SpecialMesh", bnd)
  1756. bndm.MeshType = 3
  1757. bndm.Scale = Vector3.new(8, 8, 8)
  1758. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1759. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1760. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1761. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1762. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1763. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  1764. Debounces.Shewt = true
  1765. coroutine.wrap(function()
  1766. for i = 1, 20, 0.2 do
  1767. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1768. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  1769. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  1770. rng.Transparency = i/20
  1771. rng3.Transparency = 1/24
  1772. rng4.Transparency = i/26
  1773. wait()
  1774. end
  1775. wait()
  1776. rng:Destroy()
  1777. end)()
  1778. if Debounces.Shewt == true then
  1779. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1780. hit = ht.Parent
  1781. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1782. if HasntTouched(hit.Name) == true and deb == false then
  1783. deb = true
  1784. coroutine.wrap(function()
  1785. hit:FindFirstChild("Humanoid").PlatformStand = true
  1786. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1787. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1788. end)()
  1789. table.insert(Touche, hit.Name)
  1790. deb = false
  1791. end
  1792. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1793. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1794. deb = true
  1795. coroutine.wrap(function()
  1796. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1797. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1798. wait(1)
  1799. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1800. end)()
  1801. table.insert(Touche, hit.Parent.Name)
  1802. deb = false
  1803. for i, v in pairs(Touche) do
  1804. print(v)
  1805. end
  1806. end
  1807. end
  1808. end)
  1809. end
  1810. for i = 0, 260, 8 do
  1811. bem.Size = Vector3.new(i, 3, 3)
  1812. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1813. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1814. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1815. bnd.Size = Vector3.new(1,1,1)
  1816. bndm.Scale = Vector3.new(8,8,8)
  1817. if i % 10 == 0 then
  1818. local newRng = rng2:Clone()
  1819. newRng.Parent = larm
  1820. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1821. local newRngm = rngm2:clone()
  1822. newRngm.Parent=newRng
  1823. coroutine.wrap(function()
  1824. for i = 1, 10, 0.2 do
  1825. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  1826. newRng.Transparency = i/10
  1827. wait()
  1828. end
  1829. wait()
  1830. newRng:Destroy()
  1831. end)()
  1832. end
  1833. wait()
  1834. end
  1835. wait()
  1836. Debounces.Shewt = false
  1837. bem:Destroy()
  1838. out:Destroy()
  1839. bnd:Destroy()
  1840. Debounces.Ready = false
  1841. for i, v in pairs(Touche) do
  1842. table.remove(Touche, i)
  1843. end
  1844. wait()
  1845. table.insert(Touche, char.Name)
  1846. Debounces.NoIdl = false
  1847. if Debounces.CanAttack == false then
  1848. Debounces.CanAttack = true
  1849. end
  1850. end
  1851. end
  1852. end)
  1853. ----------------------------------------------------
  1854. --[[mouse.KeyDown:connect(function(key)
  1855. if key == "y" then
  1856. if Debounces.CanAttack == true then
  1857. Debounces.CanAttack = false
  1858. Debounces.NoIdl = true
  1859. Debounces.on = true
  1860. local shell = Instance.new("Part",torso)
  1861. shell.BrickColor = BrickColor.new("Royal purple")
  1862. shell.Anchored = false
  1863. shell.CanCollide = false
  1864. shell.Locked = true
  1865. shell.TopSurface = "SmoothNoOutlines"
  1866. shell.BottomSurface = "SmoothNoOutlines"
  1867. shell.Size = Vector3.new(1.2,1.2,1.2)
  1868. shell.FormFactor = 3
  1869. local shellm = Instance.new("SpecialMesh",shell)
  1870. shellm.MeshType = "Sphere"
  1871. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  1872. Omega = function()
  1873. local X = Instance.new("Part",char)
  1874. local O = Instance.new("ObjectValue",X)
  1875. O.Name = "creator"
  1876. X.Locked = true
  1877. X.Name = "Shell"
  1878. X.Anchored = false
  1879. X.CanCollide = false
  1880. X.Transparency = 0.5
  1881. X.Reflectance = 0
  1882. X.BottomSurface = 0
  1883. X.TopSurface = 0
  1884. X.Shape = 0
  1885. local V = Instance.new("ObjectValue",X)
  1886. V.Value = char
  1887. V.Name = "creator"
  1888. X.BrickColor = BrickColor.new("Royal purple")
  1889. X.Size = Vector3.new(40,40,40)
  1890. --X.Material = "Neon"
  1891. local Z = Instance.new("SpecialMesh",X)
  1892. Z.MeshType = "Sphere"
  1893. Z.Scale = Vector3.new(0.2,0.2,0.2)
  1894. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  1895. local bv = Instance.new("BodyVelocity",X)
  1896. bv.maxForce = Vector3.new(99999,99999,99999)
  1897. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  1898. bv.velocity = root.CFrame.lookVector*10
  1899. Explode = X.Touched:connect(function(hit)
  1900. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  1901. local cf = X.CFrame
  1902. bv:Destroy()
  1903. X.Anchored = true
  1904. Z:Remove()
  1905. Explode:disconnect()
  1906. X.Size = Vector3.new(3,3,3)
  1907. X.Touched:connect(function(hit) end)
  1908. X.CanCollide = false
  1909. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  1910. if v:FindFirstChild('Humanoid') then
  1911. v.Humanoid:TakeDamage(math.random(80,120))
  1912. end
  1913. end
  1914. for i = 1, (40) do rs:wait()
  1915. X.Transparency = X.Transparency + (1/40)
  1916. X.Size = X.Size + Vector3.new(1,1,1)
  1917. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  1918. end
  1919. X:Destroy()
  1920. end
  1921. end)
  1922. end
  1923. for i = 1,200 do
  1924. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  1925. 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)
  1926. 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)
  1927. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1928. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1929. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1930. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1931. if Debounces.on == false then break end
  1932. rs:wait()
  1933. end
  1934. for i = 1,30 do
  1935. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  1936. 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)
  1937. 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)
  1938. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1939. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1940. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1941. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1942. if Debounces.on == false then break end
  1943. rs:wait()
  1944. end
  1945. for i = 1,40 do
  1946. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  1947. shell.Size = shell.Size + Vector3.new(1,1,1)
  1948. 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)
  1949. 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)
  1950. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1951. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1952. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1953. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1954. if Debounces.on == false then break end
  1955. rs:wait()
  1956. end
  1957. for i = 1,40 do
  1958. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  1959. 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)
  1960. 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)
  1961. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1962. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1963. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1964. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1965. if Debounces.on == false then break end
  1966. rs:wait()
  1967. end
  1968. for i = 1,60 do
  1969. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  1970. 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)
  1971. 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)
  1972. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1973. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1974. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1975. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1976. if Debounces.on == false then break end
  1977. rs:wait()
  1978. end
  1979. for i = 1,60 do
  1980. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  1981. shell.Size = shell.Size + Vector3.new(1,1,1)
  1982. 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)
  1983. 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)
  1984. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1985. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1986. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1987. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  1988. if Debounces.on == false then break end
  1989. rs:wait()
  1990. end
  1991. if Debounces.CanAttack == false then
  1992. Debounces.CanAttack = true
  1993. Debounces.NoIdl = false
  1994. Debounces.on = false
  1995. end
  1996. end
  1997. end
  1998. end)]]--
  1999. ----------------------------------------------------
  2000. Charging = false
  2001. mouse.KeyDown:connect(function(key)
  2002. if key == "r" then
  2003. if Charging == false then
  2004. Charging = true
  2005. if Debounces.CanAttack == true then
  2006. Debounces.CanAttack = false
  2007. Debounces.NoIdl = true
  2008. Debounces.on = true
  2009. for i = 1,20 do
  2010. 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)
  2011. 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)
  2012. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2013. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2014. 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)
  2015. 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)
  2016. if Debounces.on == false then break end
  2017. rs:wait()
  2018. end
  2019. --[[for i = 1,20 do
  2020. 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)
  2021. 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)
  2022. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2023. 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)
  2024. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2025. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2026. if Debounces.on == false then break end
  2027. rs:wait()
  2028. end]]--
  2029. pt=Instance.new('Part',torso)
  2030. pt.Anchored=true
  2031. pt.CanCollide=false
  2032. pt.Locked = true
  2033. pt.FormFactor='Custom'
  2034. pt.Size=Vector3.new(1,1,1)
  2035. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2036. pt.Transparency=.6
  2037. pt.BrickColor=BrickColor.new('Really black')
  2038. msh=Instance.new('SpecialMesh',pt)
  2039. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2040. msh.Scale=Vector3.new(8,4,8)
  2041. pt2=pt:clone()
  2042. pt2.Parent = torso
  2043. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2044. pt2.BrickColor=BrickColor.new("Royal purple")
  2045. msh2=msh:clone()
  2046. msh2.Parent=pt2
  2047. msh2.Scale=Vector3.new(10,5,10)
  2048.  
  2049. 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}
  2050.  
  2051. bl = Instance.new("Part", char)
  2052. bl.Locked = true
  2053. bl.Name = "Shell"
  2054. bl.BrickColor = BrickColor.new("Really black")
  2055. bl.Anchored = true
  2056. bl.CanCollide = false
  2057. bl.Transparency = 0
  2058. bl.Reflectance = 0
  2059. bl.BottomSurface = 0
  2060. bl.TopSurface = 0
  2061. bl.Shape = 0
  2062. blm = Instance.new("SpecialMesh",bl)
  2063. blm.MeshType = "Sphere"
  2064. blm.Scale = Vector3.new(1,1,1)
  2065. blm.MeshId = "rbxassetid://9982590"
  2066.  
  2067. coroutine.resume(coroutine.create(function()
  2068. for i=1, math.huge, 4 do
  2069. if Charging == true then
  2070. rs:wait()
  2071. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2072. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2073. bl.Transparency = bl.Transparency + 0.005
  2074. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2075. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2076. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2077. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2078. elseif Charging == false then break
  2079. end
  2080. end
  2081. end))
  2082.  
  2083. repeat
  2084. local p = Instance.new('Part',torso)
  2085. p.formFactor = 'Custom'
  2086. p.Size = Vector3.new(1,1,1)
  2087. p.BrickColor = workspace.Base.BrickColor
  2088. p.CanCollide = false
  2089. p.Transparency = 0
  2090. p.Anchored = true
  2091. p.Locked=true
  2092. p.Material = workspace.Base.Material
  2093. s = math.random(1,40)/10
  2094. local m = Instance.new("BlockMesh",p)
  2095. m.Scale = Vector3.new(s,s,s)
  2096. 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())
  2097. --[[coroutine.wrap(function()
  2098. wait(2)
  2099. while Charging == true do
  2100. wait(2)
  2101. GroundWave1()
  2102. wait(2)
  2103. end
  2104. end)()]]--
  2105. Spawn(function()
  2106. while rs:wait() do
  2107. if Charging == true then
  2108. 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)))
  2109. 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)))
  2110. 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))
  2111. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2112. 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)))
  2113. 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)))
  2114. elseif Charging == false then break
  2115. end
  2116. end
  2117. end)
  2118. Spawn(function()
  2119. while rs:wait() do
  2120. if p.Transparency >= 1 then p:Destroy() break end
  2121. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2122. p.Transparency = p.Transparency+0.01
  2123. end
  2124. end)
  2125. wait(.3)
  2126. until Charging == false
  2127. end
  2128. end
  2129. end
  2130. end)
  2131. ----------------------------------------------------
  2132. mouse.KeyUp:connect(function(key)
  2133. if key == "r" then
  2134. if Charging == true then
  2135. Charging = false
  2136. pt:Destroy()
  2137. pt2:Destroy()
  2138. bl:Destroy()
  2139. if Debounces.CanAttack == false then
  2140. Debounces.CanAttack = true
  2141. Debounces.NoIdl = false
  2142. Debounces.on = false
  2143. end
  2144. end
  2145. end
  2146. end)
  2147. ----------------------------------------------------
  2148. mouse.KeyDown:connect(function(key)
  2149. if key == "g" then
  2150. if Debounces.CanAttack == true then
  2151. Debounces.CanAttack = false
  2152. Debounces.NoIdl = true
  2153. Debounces.on = true
  2154. local shell = Instance.new("Part",torso)
  2155. shell.BrickColor = BrickColor.new("Royal purple")
  2156. shell.Anchored = true
  2157. shell.CanCollide = false
  2158. shell.Locked = true
  2159. shell.TopSurface = "SmoothNoOutlines"
  2160. shell.BottomSurface = "SmoothNoOutlines"
  2161. shell.Size = Vector3.new(1,1,1)
  2162. shellm = Instance.new("SpecialMesh",shell)
  2163. shellm.MeshType = "Sphere"
  2164. shellm.Scale = Vector3.new(1,1,1)
  2165. local shell2 = Instance.new("Part",torso)
  2166. shell2.BrickColor = BrickColor.new("Royal purple")
  2167. shell2.Anchored = true
  2168. shell2.CanCollide = false
  2169. shell2.Locked = true
  2170. shell2.TopSurface = "SmoothNoOutlines"
  2171. shell2.BottomSurface = "SmoothNoOutlines"
  2172. shell2.Size = Vector3.new(1,1,1)
  2173. shellm2 = Instance.new("SpecialMesh",shell2)
  2174. shellm2.MeshType = "Sphere"
  2175. shellm2.Scale = Vector3.new(1,1,1)
  2176.  
  2177. function FindNearestTorso(Position,Distance,SinglePlayer)
  2178. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2179. local List = {}
  2180. for i,v in pairs(workspace:GetChildren())do
  2181. if v:IsA("Model")then
  2182. if v:findFirstChild("Torso")then
  2183. if v ~= char then
  2184. if(v.Torso.Position -Position).magnitude <= Distance then
  2185. table.insert(List,v)
  2186. end
  2187. end
  2188. end
  2189. end
  2190. end
  2191. return List
  2192. end
  2193.  
  2194. Shell = function()
  2195. local X = Instance.new("Part",char)
  2196. local O = Instance.new("ObjectValue",X)
  2197. O.Name = "creator"
  2198. X.Locked = true
  2199. X.Name = "Shell"
  2200. X.Anchored = false
  2201. X.CanCollide = false
  2202. X.Transparency = 0
  2203. X.Reflectance = 0
  2204. X.BottomSurface = 0
  2205. X.TopSurface = 0
  2206. X.Shape = 0
  2207. local V = Instance.new("ObjectValue",X)
  2208. V.Value = char
  2209. V.Name = "creator"
  2210. X.BrickColor = BrickColor.new("Royal purple")
  2211. X.Size = Vector3.new(1,1,1)
  2212. --X.Material = "Neon"
  2213. local Z = Instance.new("SpecialMesh",X)
  2214. Z.MeshType = "Sphere"
  2215. Z.Scale = Vector3.new(1,1,1)
  2216. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2217. local bv = Instance.new("BodyVelocity",X)
  2218. bv.maxForce = Vector3.new(99999,99999,99999)
  2219. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2220. bv.velocity = root.CFrame.lookVector*65
  2221. Explode = X.Touched:connect(function(hit)
  2222. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2223. local cf = X.CFrame
  2224. bv:Destroy()
  2225. X.Anchored = true
  2226. Z:Remove()
  2227. Explode:disconnect()
  2228. X.Size = Vector3.new(3,3,3)
  2229. X.Touched:connect(function(hit) end)
  2230. X.CanCollide = false
  2231. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2232. if v:FindFirstChild('Humanoid') then
  2233. v.Humanoid:TakeDamage(math.random(6,12))
  2234. end
  2235. end
  2236. for i = 1, (40) do rs:wait()
  2237. X.Transparency = X.Transparency + (1/40)
  2238. X.Size = X.Size + Vector3.new(1,1,1)
  2239. X.CFrame = cf
  2240. end
  2241. X:Destroy()
  2242. end
  2243. end)
  2244. end
  2245. Shell()
  2246. for i = 1, 10 do
  2247. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2248. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2249. 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)
  2250. 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)
  2251. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2252. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2253. 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)
  2254. 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)
  2255. if Debounces.on == false then break end
  2256. rs:wait()
  2257. end
  2258. Shell()
  2259. shell.Transparency = 1
  2260. for i = 1, 10 do
  2261. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2262. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2263. 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)
  2264. 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)
  2265. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2266. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2267. 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)
  2268. 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)
  2269. if Debounces.on == false then break end
  2270. rs:wait()
  2271. end
  2272. Shell()
  2273. shell.Transparency = 0
  2274. shell2.Transparency = 1
  2275. for i = 1, 10 do
  2276. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2277. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2278. 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)
  2279. 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)
  2280. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2281. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2282. 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)
  2283. 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)
  2284. if Debounces.on == false then break end
  2285. rs:wait()
  2286. end
  2287. Shell()
  2288. shell2.Transparency = 0
  2289. shell.Transparency = 1
  2290. for i = 1, 10 do
  2291. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2292. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2293. 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)
  2294. 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)
  2295. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2296. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2297. 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)
  2298. 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)
  2299. if Debounces.on == false then break end
  2300. rs:wait()
  2301. end
  2302. Shell()
  2303. shell.Transparency = 0
  2304. shell2.Transparency = 1
  2305. for i = 1, 10 do
  2306. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2307. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2308. 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)
  2309. 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)
  2310. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2311. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2312. 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)
  2313. 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)
  2314. if Debounces.on == false then break end
  2315. rs:wait()
  2316. end
  2317. Shell()
  2318. shell2.Transparency = 0
  2319. shell.Transparency = 1
  2320. for i = 1, 10 do
  2321. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2322. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2323. 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)
  2324. 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)
  2325. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2326. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2327. 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)
  2328. 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)
  2329. if Debounces.on == false then break end
  2330. rs:wait()
  2331. end
  2332. Shell()
  2333. shell.Transparency = 0
  2334. shell2.Transparency = 1
  2335. for i = 1, 10 do
  2336. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2337. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2338. 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)
  2339. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2340. 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)
  2341. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2342. 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)
  2343. 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)
  2344. if Debounces.on == false then break end
  2345. rs:wait()
  2346. end
  2347. Shell()
  2348. shell2.Transparency = 0
  2349. shell.Transparency = 1
  2350. for i = 1, 10 do
  2351. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2352. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2353. 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)
  2354. 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)
  2355. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2356. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2357. 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)
  2358. 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)
  2359. if Debounces.on == false then break end
  2360. rs:wait()
  2361. end
  2362. Shell()
  2363. shell.Transparency = 0
  2364. shell2.Transparency = 1
  2365. for i = 1, 10 do
  2366. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2367. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2368. 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)
  2369. 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)
  2370. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2371. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2372. 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)
  2373. 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)
  2374. if Debounces.on == false then break end
  2375. rs:wait()
  2376. end
  2377. Shell()
  2378. shell2.Transparency = 0
  2379. shell.Transparency = 1
  2380. for i = 1, 10 do
  2381. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2382. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2383. 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)
  2384. 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)
  2385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2387. 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)
  2388. 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)
  2389. if Debounces.on == false then break end
  2390. rs:wait()
  2391. end
  2392. Shell()
  2393. shell.Transparency = 0
  2394. shell2.Transparency = 1
  2395. for i = 1, 10 do
  2396. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2397. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2398. 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)
  2399. 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)
  2400. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2401. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2402. 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)
  2403. 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)
  2404. if Debounces.on == false then break end
  2405. rs:wait()
  2406. end
  2407. Shell()
  2408. shell2.Transparency = 0
  2409. shell.Transparency = 1
  2410. for i = 1, 10 do
  2411. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2412. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2413. 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)
  2414. 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)
  2415. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2416. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2417. 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)
  2418. 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)
  2419. if Debounces.on == false then break end
  2420. rs:wait()
  2421. end
  2422. Shell()
  2423. shell.Transparency = 0
  2424. shell2.Transparency = 1
  2425. for i = 1, 10 do
  2426. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2427. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2428. 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)
  2429. 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)
  2430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2432. 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)
  2433. 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)
  2434. if Debounces.on == false then break end
  2435. rs:wait()
  2436. end
  2437. shell.Transparency = 1
  2438. if Debounces.CanAttack == false then
  2439. Debounces.CanAttack = true
  2440. Debounces.NoIdl = false
  2441. Debounces.on = false
  2442. end
  2443. end
  2444. end
  2445. end)
  2446. ----------------------------------------------------
  2447. Search = false
  2448. mouse.KeyDown:connect(function(key)
  2449. if key == "n" then
  2450. if Search == false then
  2451. Search = true
  2452. for i,v in pairs(game.Players:getPlayers()) do
  2453. if v.Name~=char.Name then
  2454. for j,k in pairs(v.Character:GetChildren()) do
  2455. if k:IsA("BasePart") and k.Transparency >= 1 then
  2456. bawx=Instance.new("SelectionBox",cam)
  2457. bawx.Color = BrickColor.new("Bright red")
  2458. bawx.Transparency = .5
  2459. bawx.Adornee = k
  2460. end
  2461. end
  2462. end
  2463. end
  2464. elseif Search == true then
  2465. Search = false
  2466. for i, v in pairs(cam:GetChildren()) do
  2467. if v:IsA("SelectionBox") then
  2468. v:Destroy()
  2469. end
  2470. end
  2471. end
  2472. end
  2473. end)
  2474. ----------------------------------------------------
  2475. Grab = false
  2476. mouse.KeyDown:connect(function(key)
  2477. if key == "z" then
  2478. Debounces.on = true
  2479. Debounces.NoIdl = true
  2480. Debounces.ks = true
  2481. if Grab == false then
  2482. gp = nil
  2483. for i = 1, 20 do
  2484. 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)
  2485. 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)
  2486. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2487. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2488. 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)
  2489. 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)
  2490. if Debounces.on == false then break end
  2491. rs:wait()
  2492. end
  2493. con1=larm.Touched:connect(function(hit) -- this is grab
  2494. ht = hit.Parent
  2495. hum1=ht:FindFirstChild('Humanoid')
  2496. if hum1 ~= nil then
  2497. if Debounces.ks==true then
  2498. z = Instance.new("Sound",hed)
  2499. z.SoundId = "rbxassetid://169380525"
  2500. z.Volume = 1
  2501. z:Play()
  2502. Debounces.ks=false
  2503. end
  2504. hum1.PlatformStand=true
  2505. gp = ht
  2506. Grab = true
  2507. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  2508. asd.Parent = larm
  2509. asd.Name = "asd"
  2510. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  2511. --[[elseif hum1 == nil then
  2512. con1:disconnect()
  2513. wait() return]]--
  2514. end
  2515. end)
  2516. for i = 1, 20 do
  2517. 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)
  2518. 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)
  2519. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2520. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2521. 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)
  2522. 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)
  2523. if Debounces.on == false then break end
  2524. rs:wait()
  2525. end
  2526. if hum1 == nil then
  2527. Debounces.on = false
  2528. Debounces.NoIdl = false
  2529. end
  2530. con1:disconnect()
  2531. elseif Grab == true then
  2532. Grab = false
  2533. Punch()
  2534. z = Instance.new("Sound",hed)
  2535. z.SoundId = "rbxassetid://169380525"
  2536. z.Pitch = ptz[math.random(1,#ptz)]
  2537. z.Volume = 1
  2538. z:Play()
  2539. for i = 1, 10 do
  2540. 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)
  2541. 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)
  2542. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2543. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2544. 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)
  2545. 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)
  2546. if Debounces.on == false then break end
  2547. rs:wait()
  2548. end
  2549. Punch()
  2550. z = Instance.new("Sound",hed)
  2551. z.SoundId = "rbxassetid://169380525"
  2552. z.Pitch = ptz[math.random(1,#ptz)]
  2553. z.Volume = 1
  2554. z:Play()
  2555. for i = 1, 10 do
  2556. 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)
  2557. 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)
  2558. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2559. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2560. 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)
  2561. 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)
  2562. if Debounces.on == false then break end
  2563. rs:wait()
  2564. end
  2565. Punch()
  2566. z = Instance.new("Sound",hed)
  2567. z.SoundId = "rbxassetid://169380525"
  2568. z.Pitch = ptz[math.random(1,#ptz)]
  2569. z.Volume = 1
  2570. z:Play()
  2571. for i = 1, 10 do
  2572. 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)
  2573. 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)
  2574. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2575. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2576. 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)
  2577. 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)
  2578. if Debounces.on == false then break end
  2579. rs:wait()
  2580. end
  2581. Punch()
  2582. z = Instance.new("Sound",hed)
  2583. z.SoundId = "rbxassetid://169380525"
  2584. z.Pitch = ptz[math.random(1,#ptz)]
  2585. z.Volume = 1
  2586. z:Play()
  2587. for i = 1, 10 do
  2588. 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)
  2589. 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)
  2590. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2591. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2592. 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)
  2593. 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)
  2594. if Debounces.on == false then break end
  2595. rs:wait()
  2596. end
  2597. Punch()
  2598. z = Instance.new("Sound",hed)
  2599. z.SoundId = "rbxassetid://169380525"
  2600. z.Pitch = ptz[math.random(1,#ptz)]
  2601. z.Volume = 1
  2602. z:Play()
  2603. for i = 1, 10 do
  2604. 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)
  2605. 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)
  2606. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2607. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2608. 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)
  2609. 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)
  2610. if Debounces.on == false then break end
  2611. rs:wait()
  2612. end
  2613. Punch()
  2614. z = Instance.new("Sound",hed)
  2615. z.SoundId = "rbxassetid://169380525"
  2616. z.Pitch = ptz[math.random(1,#ptz)]
  2617. z.Volume = 1
  2618. z:Play()
  2619. for i = 1, 10 do
  2620. 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)
  2621. 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)
  2622. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2623. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2624. 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)
  2625. 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)
  2626. if Debounces.on == false then break end
  2627. rs:wait()
  2628. end
  2629. Punch()
  2630. z = Instance.new("Sound",hed)
  2631. z.SoundId = "rbxassetid://169380525"
  2632. z.Pitch = ptz[math.random(1,#ptz)]
  2633. z.Volume = 1
  2634. z:Play()
  2635. for i = 1, 10 do
  2636. 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)
  2637. 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)
  2638. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2639. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2640. 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)
  2641. 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)
  2642. if Debounces.on == false then break end
  2643. rs:wait()
  2644. end
  2645. Punch()
  2646. z = Instance.new("Sound",hed)
  2647. z.SoundId = "rbxassetid://169380525"
  2648. z.Pitch = ptz[math.random(1,#ptz)]
  2649. z.Volume = 1
  2650. z:Play()
  2651. for i = 1, 10 do
  2652. 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)
  2653. 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)
  2654. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2655. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2656. 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)
  2657. 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)
  2658. if Debounces.on == false then break end
  2659. rs:wait()
  2660. end
  2661. Punch()
  2662. z = Instance.new("Sound",hed)
  2663. z.SoundId = "rbxassetid://169380525"
  2664. z.Pitch = ptz[math.random(1,#ptz)]
  2665. z.Volume = 1
  2666. z:Play()
  2667. for i = 1, 10 do
  2668. 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)
  2669. 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)
  2670. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2671. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2672. 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)
  2673. 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)
  2674. if Debounces.on == false then break end
  2675. rs:wait()
  2676. end
  2677. Punch()
  2678. z = Instance.new("Sound",hed)
  2679. z.SoundId = "rbxassetid://169380525"
  2680. z.Pitch = ptz[math.random(1,#ptz)]
  2681. z.Volume = 1
  2682. z:Play()
  2683. for i = 1, 10 do
  2684. 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)
  2685. 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)
  2686. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2687. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2688. 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)
  2689. 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)
  2690. if Debounces.on == false then break end
  2691. rs:wait()
  2692. end
  2693. Punch()
  2694. z = Instance.new("Sound",hed)
  2695. z.SoundId = "rbxassetid://169380525"
  2696. z.Pitch = ptz[math.random(1,#ptz)]
  2697. z.Volume = 1
  2698. z:Play()
  2699. for i = 1, 10 do
  2700. 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)
  2701. 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)
  2702. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2703. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2704. 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)
  2705. 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)
  2706. if Debounces.on == false then break end
  2707. rs:wait()
  2708. end
  2709. Punch()
  2710. z = Instance.new("Sound",hed)
  2711. z.SoundId = "rbxassetid://169380525"
  2712. z.Pitch = ptz[math.random(1,#ptz)]
  2713. z.Volume = 1
  2714. z:Play()
  2715. for i = 1, 10 do
  2716. 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)
  2717. 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)
  2718. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2719. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2720. 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)
  2721. 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)
  2722. if Debounces.on == false then break end
  2723. rs:wait()
  2724. end
  2725. con1:disconnect()
  2726. Debounces.on = false
  2727. Debounces.NoIdl = false
  2728. if gp ~= nil then
  2729. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  2730. for i,v in pairs(larm:GetChildren()) do
  2731. if v.Name == "asd" and v:IsA("Weld") then
  2732. v:Remove()
  2733. end
  2734. end
  2735. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2736. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2737. bv.P = 125000
  2738. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2739. hum1=nil
  2740. ht=nil
  2741. Debounces.on = false
  2742. Debounces.NoIdl = false
  2743. elseif ht == nil then wait()
  2744. Grab = false
  2745. Debounces.on = false
  2746. Debounces.NoIdl = false
  2747. end
  2748. end
  2749. end
  2750. end)
  2751. ----------------------------------------------------
  2752. mouse.KeyDown:connect(function(key)
  2753. if string.byte(key) == 52 then
  2754. char.Humanoid.WalkSpeed = 60
  2755. end
  2756. end)
  2757. mouse.KeyUp:connect(function(key)
  2758. if string.byte(key) == 52 then
  2759. char.Humanoid.WalkSpeed = 8
  2760. end
  2761. end)
  2762. -------------------------------
  2763. local animpose = "Idle"
  2764. local lastanimpose = "Idle"
  2765. local sine = 0
  2766. local change = 1
  2767. local val = 0
  2768. local ffing = false
  2769. -------------------------------
  2770. game:GetService("RunService").RenderStepped:connect(function()
  2771. --[[if char.Humanoid.Jump == true then
  2772. jump = true
  2773. else
  2774. jump = false
  2775. end]]
  2776. char.Humanoid.FreeFalling:connect(function(f)
  2777. if f then
  2778. ffing = true
  2779. else
  2780. ffing = false
  2781. end
  2782. end)
  2783. sine = sine + change
  2784. if jumpn == true then
  2785. animpose = "Jumping"
  2786. elseif ffing == true then
  2787. animpose = "Freefalling"
  2788. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2789. animpose = "Idle"
  2790. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2791. animpose = "Walking"
  2792. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2793. animpose = "Running"
  2794. end
  2795. if animpose ~= lastanimpose then
  2796. sine = 0
  2797. if Debounces.NoIdl == false then
  2798. if animpose == "Idle" then
  2799. for i = 1, 2 do
  2800. 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)
  2801. 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)
  2802. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2803. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2804. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  2805. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  2806. end
  2807. elseif animpose == "Walking" then
  2808. for i = 1, 2 do
  2809. 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)
  2810. 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)
  2811. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  2812. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  2813. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  2814. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  2815. end
  2816. elseif animpose == "Running" then
  2817. for i = 1, 2 do
  2818. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  2819. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  2820. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  2821. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  2822. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  2823. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  2824. wait()
  2825. end
  2826. end
  2827. else
  2828. end
  2829. end
  2830. lastanimpose = animpose
  2831. if Debounces.NoIdl == false then
  2832. if animpose == "Idle" then
  2833. change = 0.5
  2834. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  2835. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  2836. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  2837. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  2838. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  2839. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  2840. elseif animpose == "Walking" then
  2841. change = 1
  2842. 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)
  2843. 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)
  2844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  2845. 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)
  2846. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  2847. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  2848. elseif animpose == "Running" then
  2849. change = 1
  2850. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  2851. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  2852. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  2853. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  2854. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  2855. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  2856. end
  2857. end
  2858. end)
  2859.  
  2860. hum.MaxHealth = 9001
  2861. wait(3)
  2862. hum.Health = 9001
  2863.  
  2864. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  2865. --[[Part0 = Vector3 (Start pos)
  2866. Part1 = Vector3 (End pos)
  2867. Times = number (Amount of lightning parts)
  2868. Offset = number (Offset)
  2869. Color = color (brickcolor value)
  2870. Thickness = number (thickness)
  2871. Trans = number (transparency)
  2872. ]]--
  2873. local magz = (Part0 - Part1).magnitude
  2874. local curpos = Part0
  2875. local trz = {-Offset,Offset}
  2876. for i=1,Times do
  2877. local li = Instance.new("Part", torso)
  2878. li.Name = "Lightning"
  2879. li.TopSurface =0
  2880. li.Material = "Neon"
  2881. li.BottomSurface = 0
  2882. li.Anchored = true
  2883. li.Locked = true
  2884. li.Transparency = Trans or 0.4
  2885. li.BrickColor = BrickColor.new(Color)
  2886. li.formFactor = "Custom"
  2887. li.CanCollide = false
  2888. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  2889. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  2890. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  2891. if Times == i then
  2892. local magz2 = (curpos - Part1).magnitude
  2893. li.Size = Vector3.new(Thickness,Thickness,magz2)
  2894. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  2895. else
  2896. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  2897. end
  2898. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  2899. game.Debris:AddItem(li,.1)
  2900. end
  2901. end
  2902.  
  2903. BodyParts = {} -- Parts to emit lightning effects from
  2904. for _, v in pairs(char:GetChildren()) do
  2905. if v:IsA("Part") then
  2906. table.insert(BodyParts, v)
  2907. end
  2908. end
  2909.  
  2910. Bounding = {} -- Calculate the bounding boxes
  2911. for _, v in pairs(BodyParts) do
  2912. local temp = {X=nil, Y=nil, Z=nil}
  2913. temp.X = v.Size.X/2 * 10
  2914. temp.Y = v.Size.Y/2 * 10
  2915. temp.Z = v.Size.Z/2 * 10
  2916. Bounding[v.Name] = temp
  2917. --table.insert(Bounding, v.Name, temp)
  2918. end
  2919.  
  2920. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  2921. local Body1 = BodyParts[math.random(#BodyParts)]
  2922. local Body2 = BodyParts[math.random(#BodyParts)]
  2923. local Pos1 = Vector3.new(
  2924. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  2925. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  2926. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  2927. )
  2928. local Pos2 = Vector3.new(
  2929. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  2930. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  2931. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  2932. )
  2933. local SPos1 = Body1.Position + Pos1
  2934. local SPos2 = Body2.Position + Pos2
  2935. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  2936. end
  2937. --~joshcoolsam
Add Comment
Please, Sign In to add comment