Advertisement
refrop

goku black 2.0 ssjr

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