Advertisement
simhwui

Untitled

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