Advertisement
refrop

super goku ssj

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