Advertisement
DDDDDtuij

Untitled

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