Advertisement
Guest User

SSJ WITH SWORD

a guest
Mar 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 217.83 KB | None | 0 0
  1. --Ok go abuse this. I dare you. Anyways enjoy little brats.
  2.  
  3. --[[
  4. User: TheDarkRevenant
  5. Script: DSSJ3
  6. Pass: CENSORED
  7.  
  8. ]]
  9.  
  10. local p = game.Players.LocalPlayer
  11. local char = p.Character
  12. local mouse = p:GetMouse()
  13. local larm = char["Left Arm"]
  14. local rarm = char["Right Arm"]
  15. local lleg = char["Left Leg"]
  16. local rleg = char["Right Leg"]
  17. local hed = char.Head
  18. local torso = char.Torso
  19. local hum = char.Humanoid
  20. local cam = game.Workspace.CurrentCamera
  21. local root = char.HumanoidRootPart
  22. local deb = false
  23. local shot = 0
  24. local debris=game:service"Debris"
  25. local l = game:GetService("Lighting")
  26. local rs = game:GetService("RunService").RenderStepped
  27. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  28. math.randomseed(os.time())
  29. for i,v in pairs(char:children()) do
  30. if v:IsA("Hat") then
  31. v:Destroy()
  32. end
  33. end
  34. for i,v in pairs (hed:GetChildren()) do
  35. if v:IsA("Sound") then
  36. v:Destroy()
  37. end
  38. end
  39. ----------------------------------------------------
  40. Debounces = {
  41. CanAttack = true;
  42. NoIdl = false;
  43. Slashing = false;
  44. Slashed = false;
  45. RPunch = false;
  46. RPunched = false;
  47. LPunch = false;
  48. LPunched = false;
  49. }
  50. local Touche = {char.Name, }
  51. ----------------------------------------------------
  52. hed.face.Texture = "rbxassetid://34668268"
  53. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  54. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  55. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  56. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  57. ----------------------------------------------------
  58. ypcall(function()
  59. char.Shirt:Destroy()
  60. char.Pants:Destroy()
  61. shirt = Instance.new("Shirt", char)
  62. shirt.Name = "Shirt"
  63. pants = Instance.new("Pants", char)
  64. pants.Name = "Pants"
  65. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766"
  66. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991"
  67. end)
  68. ----------------------------------------------------
  69. function lerp(a, b, t) -- Linear interpolation
  70. return a + (b - a)*t
  71. end
  72.  
  73. function slerp(a, b, t) --Spherical interpolation
  74. dot = a:Dot(b)
  75. if dot > 0.99999 or dot < -0.99999 then
  76. return t <= 0.5 and a or b
  77. else
  78. r = math.acos(dot)
  79. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  80. end
  81. end
  82.  
  83. function matrixInterpolate(a, b, t)
  84. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  85. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  86. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  87. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  88. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  89. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  90. local t = v1:Dot(v2)
  91. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  92. return CFrame.new()
  93. end
  94. return CFrame.new(
  95. v0.x, v0.y, v0.z,
  96. v1.x, v1.y, v1.z,
  97. v2.x, v2.y, v2.z,
  98. v3.x, v3.y, v3.z)
  99. end
  100. ----------------------------------------------------
  101. function genWeld(a,b)
  102. local w = Instance.new("Weld",a)
  103. w.Part0 = a
  104. w.Part1 = b
  105. return w
  106. end
  107. function weld(a, b)
  108. local weld = Instance.new("Weld")
  109. weld.Name = "W"
  110. weld.Part0 = a
  111. weld.Part1 = b
  112. weld.C0 = a.CFrame:inverse() * b.CFrame
  113. weld.Parent = a
  114. return weld;
  115. end
  116. ----------------------------------------------------
  117. function Lerp(c1,c2,al)
  118. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  119. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  120. for i,v in pairs(com1) do
  121. com1[i] = v+(com2[i]-v)*al
  122. end
  123. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  124. end
  125. ----------------------------------------------------
  126. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  127. local wld = Instance.new("Weld", wp1)
  128. wld.Part0 = wp0
  129. wld.Part1 = wp1
  130. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  131. end
  132. ----------------------------------------------------
  133. function weld5(part0, part1, c0, c1)
  134. weeld=Instance.new("Weld", part0)
  135. weeld.Part0=part0
  136. weeld.Part1=part1
  137. weeld.C0=c0
  138. weeld.C1=c1
  139. return weeld
  140. end
  141. ----------------------------------------------------
  142. function HasntTouched(plrname)
  143. local ret = true
  144. for _, v in pairs(Touche) do
  145. if v == plrname then
  146. ret = false
  147. end
  148. end
  149. return ret
  150. end
  151. ----------------------------------------------------
  152. newWeld(torso, larm, -1.5, 0.5, 0)
  153. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  154. newWeld(torso, rarm, 1.5, 0.5, 0)
  155. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  156. newWeld(torso, hed, 0, 1.5, 0)
  157. newWeld(torso, lleg, -0.5, -1, 0)
  158. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  159. newWeld(torso, rleg, 0.5, -1, 0)
  160. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  161. newWeld(root, torso, 0, -1, 0)
  162. torso.Weld.C1 = CFrame.new(0, -1, 0)
  163. ----------------------------------------------------
  164. z = Instance.new("Sound", char)
  165. z.SoundId = "rbxassetid://303570180"--303570180
  166. z.Looped = true
  167. z.Pitch = 1
  168. z.Volume = 1
  169. wait(.1)
  170. z:Play()
  171. ----------------------------------------------------
  172. local Transforming = true
  173. hum.WalkSpeed = 0
  174. local fx = Instance.new("Part",torso)
  175. fx.Anchored = true
  176. fx.Material = "Neon"
  177. fx.CanCollide = false
  178. fx.Locked = true
  179. fx.Transparency = 1
  180. fx.Material = "SmoothPlastic"
  181. fx.Size = Vector3.new(1,1,1)
  182. fx.TopSurface = "SmoothNoOutlines"
  183. fx.BottomSurface = "SmoothNoOutlines"
  184. fx.BrickColor = BrickColor.new("New Yeller")
  185. fxm = Instance.new("SpecialMesh",fx)
  186. fxm.MeshType = "Sphere"
  187. fxm.Scale = Vector3.new(1,1,1)
  188. for i = 1, 20 do rs:wait()
  189. fx.Transparency = fx.Transparency - (1/20)
  190. fx.CFrame = torso.CFrame
  191. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  192. rs:wait()
  193. end
  194. ----------------------------------------------------
  195. local m = Instance.new("Model")
  196. m.Name = "Hair"
  197. p1 = Instance.new("Part", m)
  198. p1.BrickColor = BrickColor.new("New Yeller")
  199. p1.FormFactor = Enum.FormFactor.Symmetric
  200. p1.Size = Vector3.new(1, 1, 1)
  201. 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)
  202. p1.CanCollide = false
  203. p1.Locked = true
  204. p1.BottomSurface = Enum.SurfaceType.Smooth
  205. p1.TopSurface = Enum.SurfaceType.Smooth
  206. b1 = Instance.new("SpecialMesh", p1)
  207. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  208. b1.TextureId = ""
  209. b1.MeshType = Enum.MeshType.FileMesh
  210. b1.Name = "Mesh"
  211. b1.VertexColor = Vector3.new(0, 0, 0)
  212. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  213. p2 = Instance.new("Part", m)
  214. p2.BrickColor = BrickColor.new("Pastel brown")
  215. p2.Transparency = 1
  216. p2.Name = "Head"
  217. p2.FormFactor = Enum.FormFactor.Symmetric
  218. p2.Size = Vector3.new(2, 1, 1)
  219. 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)
  220. p2.CanCollide = false
  221. p2.Locked = true
  222. p2.TopSurface = Enum.SurfaceType.Smooth
  223. b2 = Instance.new("SpecialMesh", p2)
  224. b2.MeshType = Enum.MeshType.Head
  225. b2.Name = "Mesh"
  226. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  227. p3 = Instance.new("Part", m)
  228. p3.BrickColor = BrickColor.new("New Yeller")
  229. p3.FormFactor = Enum.FormFactor.Symmetric
  230. p3.Size = Vector3.new(2, 2, 2)
  231. 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)
  232. p3.CanCollide = false
  233. p3.Locked = true
  234. p3.BottomSurface = Enum.SurfaceType.Smooth
  235. p3.TopSurface = Enum.SurfaceType.Smooth
  236. b3 = Instance.new("SpecialMesh", p3)
  237. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  238. b3.TextureId = ""
  239. b3.MeshType = Enum.MeshType.FileMesh
  240. b3.Name = "Mesh"
  241. b3.VertexColor = Vector3.new(0, 0, 0)
  242. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  243. p4 = Instance.new("Part", m)
  244. p4.BrickColor = BrickColor.new("New Yeller")
  245. p4.FormFactor = Enum.FormFactor.Symmetric
  246. p4.Size = Vector3.new(1, 1, 1)
  247. 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)
  248. p4.CanCollide = false
  249. p4.Locked = true
  250. p4.BottomSurface = Enum.SurfaceType.Smooth
  251. p4.TopSurface = Enum.SurfaceType.Smooth
  252. b4 = Instance.new("SpecialMesh", p4)
  253. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  254. b4.TextureId = ""
  255. b4.MeshType = Enum.MeshType.FileMesh
  256. b4.Name = "Mesh"
  257. b4.VertexColor = Vector3.new(0, 0, 0)
  258. p5 = Instance.new("Part", m)
  259. p5.BrickColor = BrickColor.new("New Yeller")
  260. p5.FormFactor = Enum.FormFactor.Symmetric
  261. p5.Size = Vector3.new(1, 1, 1)
  262. 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)
  263. p5.CanCollide = false
  264. p5.Locked = true
  265. p5.BottomSurface = Enum.SurfaceType.Smooth
  266. p5.TopSurface = Enum.SurfaceType.Smooth
  267. b5 = Instance.new("SpecialMesh", p5)
  268. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  269. b5.TextureId = ""
  270. b5.MeshType = Enum.MeshType.FileMesh
  271. b5.Name = "Mesh"
  272. b5.VertexColor = Vector3.new(0, 0, 0)
  273. b5.Scale = Vector3.new(1, 0.899999976, 1)
  274. p6 = Instance.new("Part", m)
  275. p6.BrickColor = BrickColor.new("New Yeller")
  276. p6.FormFactor = Enum.FormFactor.Symmetric
  277. p6.Size = Vector3.new(1, 1, 1)
  278. 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)
  279. p6.CanCollide = false
  280. p6.Locked = true
  281. p6.BottomSurface = Enum.SurfaceType.Smooth
  282. p6.TopSurface = Enum.SurfaceType.Smooth
  283. b6 = Instance.new("SpecialMesh", p6)
  284. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  285. b6.TextureId = ""
  286. b6.MeshType = Enum.MeshType.FileMesh
  287. b6.Name = "Mesh"
  288. b6.VertexColor = Vector3.new(0, 0, 0)
  289. p7 = Instance.new("Part", m)
  290. p7.BrickColor = BrickColor.new("New Yeller")
  291. p7.FormFactor = Enum.FormFactor.Symmetric
  292. p7.Size = Vector3.new(1, 1, 1)
  293. 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)
  294. p7.CanCollide = false
  295. p7.Locked = true
  296. p7.BottomSurface = Enum.SurfaceType.Smooth
  297. p7.TopSurface = Enum.SurfaceType.Smooth
  298. b7 = Instance.new("SpecialMesh", p7)
  299. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  300. b7.TextureId = ""
  301. b7.MeshType = Enum.MeshType.FileMesh
  302. b7.Name = "Mesh"
  303. b7.VertexColor = Vector3.new(0, 0, 0)
  304. p8 = Instance.new("Part", m)
  305. p8.BrickColor = BrickColor.new("New Yeller")
  306. p8.FormFactor = Enum.FormFactor.Symmetric
  307. p8.Size = Vector3.new(1, 1, 1)
  308. 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)
  309. p8.CanCollide = false
  310. p8.Locked = true
  311. p8.BottomSurface = Enum.SurfaceType.Smooth
  312. p8.TopSurface = Enum.SurfaceType.Smooth
  313. b8 = Instance.new("SpecialMesh", p8)
  314. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  315. b8.TextureId = ""
  316. b8.MeshType = Enum.MeshType.FileMesh
  317. b8.Name = "Mesh"
  318. b8.VertexColor = Vector3.new(0, 0, 0)
  319. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  320. p9 = Instance.new("Part", m)
  321. p9.BrickColor = BrickColor.new("New Yeller")
  322. p9.FormFactor = Enum.FormFactor.Symmetric
  323. p9.Size = Vector3.new(2, 1, 2)
  324. 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)
  325. p9.CanCollide = false
  326. p9.Locked = true
  327. p9.BottomSurface = Enum.SurfaceType.Smooth
  328. p9.TopSurface = Enum.SurfaceType.Smooth
  329. b9 = Instance.new("SpecialMesh", p9)
  330. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  331. b9.TextureId = ""
  332. b9.MeshType = Enum.MeshType.FileMesh
  333. b9.Name = "Mesh"
  334. b9.VertexColor = Vector3.new(0, 0, 0)
  335. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  336. p10 = Instance.new("Part", m)
  337. p10.BrickColor = BrickColor.new("New Yeller")
  338. p10.FormFactor = Enum.FormFactor.Symmetric
  339. p10.Size = Vector3.new(1, 1, 1)
  340. 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)
  341. p10.CanCollide = false
  342. p10.Locked = true
  343. p10.BottomSurface = Enum.SurfaceType.Smooth
  344. p10.TopSurface = Enum.SurfaceType.Smooth
  345. b10 = Instance.new("SpecialMesh", p10)
  346. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  347. b10.TextureId = ""
  348. b10.MeshType = Enum.MeshType.FileMesh
  349. b10.Name = "Mesh"
  350. b10.VertexColor = Vector3.new(0, 0, 0)
  351. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  352. p11 = Instance.new("Part", m)
  353. p11.BrickColor = BrickColor.new("New Yeller")
  354. p11.FormFactor = Enum.FormFactor.Symmetric
  355. p11.Size = Vector3.new(1, 1, 1)
  356. 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)
  357. p11.CanCollide = false
  358. p11.Locked = true
  359. p11.BottomSurface = Enum.SurfaceType.Smooth
  360. p11.TopSurface = Enum.SurfaceType.Smooth
  361. b11 = Instance.new("SpecialMesh", p11)
  362. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  363. b11.TextureId = ""
  364. b11.MeshType = Enum.MeshType.FileMesh
  365. b11.Name = "Mesh"
  366. b11.VertexColor = Vector3.new(0, 0, 0)
  367. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  368. p12 = Instance.new("Part", m)
  369. p12.BrickColor = BrickColor.new("New Yeller")
  370. p12.FormFactor = Enum.FormFactor.Custom
  371. p12.Size = Vector3.new(1, 3.5, 1)
  372. 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)
  373. p12.CanCollide = false
  374. p12.Locked = true
  375. p12.BottomSurface = Enum.SurfaceType.Smooth
  376. p12.TopSurface = Enum.SurfaceType.Smooth
  377. b12 = Instance.new("SpecialMesh", p12)
  378. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  379. b12.TextureId = ""
  380. b12.MeshType = Enum.MeshType.FileMesh
  381. b12.Name = "Mesh"
  382. b12.VertexColor = Vector3.new(0, 0, 0)
  383. b12.Scale = Vector3.new(1, 3, 1.29999995)
  384. p13 = Instance.new("Part", m)
  385. p13.BrickColor = BrickColor.new("New Yeller")
  386. p13.FormFactor = Enum.FormFactor.Custom
  387. p13.Size = Vector3.new(1, 2, 1)
  388. 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)
  389. p13.CanCollide = false
  390. p13.Locked = true
  391. p13.BottomSurface = Enum.SurfaceType.Smooth
  392. p13.TopSurface = Enum.SurfaceType.Smooth
  393. b13 = Instance.new("SpecialMesh", p13)
  394. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  395. b13.TextureId = ""
  396. b13.MeshType = Enum.MeshType.FileMesh
  397. b13.Name = "Mesh"
  398. b13.VertexColor = Vector3.new(0, 0, 0)
  399. b13.Scale = Vector3.new(1, 3, 1.29999995)
  400. p14 = Instance.new("Part", m)
  401. p14.BrickColor = BrickColor.new("New Yeller")
  402. p14.FormFactor = Enum.FormFactor.Custom
  403. p14.Size = Vector3.new(1, 2, 1)
  404. 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)
  405. p14.CanCollide = false
  406. p14.Locked = true
  407. p14.BottomSurface = Enum.SurfaceType.Smooth
  408. p14.TopSurface = Enum.SurfaceType.Smooth
  409. b14 = Instance.new("SpecialMesh", p14)
  410. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  411. b14.TextureId = ""
  412. b14.MeshType = Enum.MeshType.FileMesh
  413. b14.Name = "Mesh"
  414. b14.VertexColor = Vector3.new(0, 0, 0)
  415. b14.Scale = Vector3.new(1, 3, 1.29999995)
  416. p15 = Instance.new("Part", m)
  417. p15.BrickColor = BrickColor.new("New Yeller")
  418. p15.FormFactor = Enum.FormFactor.Custom
  419. p15.Size = Vector3.new(1, 2.5, 1)
  420. 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)
  421. p15.CanCollide = false
  422. p15.Locked = true
  423. p15.BottomSurface = Enum.SurfaceType.Smooth
  424. p15.TopSurface = Enum.SurfaceType.Smooth
  425. b15 = Instance.new("SpecialMesh", p15)
  426. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  427. b15.TextureId = ""
  428. b15.MeshType = Enum.MeshType.FileMesh
  429. b15.Name = "Mesh"
  430. b15.VertexColor = Vector3.new(0, 0, 0)
  431. b15.Scale = Vector3.new(1, 3, 1.29999995)
  432. p16 = Instance.new("Part", m)
  433. p16.BrickColor = BrickColor.new("New Yeller")
  434. p16.FormFactor = Enum.FormFactor.Custom
  435. p16.Size = Vector3.new(1, 2.5, 1)
  436. 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)
  437. p16.CanCollide = false
  438. p16.Locked = true
  439. p16.BottomSurface = Enum.SurfaceType.Smooth
  440. p16.TopSurface = Enum.SurfaceType.Smooth
  441. b16 = Instance.new("SpecialMesh", p16)
  442. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  443. b16.TextureId = ""
  444. b16.MeshType = Enum.MeshType.FileMesh
  445. b16.Name = "Mesh"
  446. b16.VertexColor = Vector3.new(0, 0, 0)
  447. b16.Scale = Vector3.new(1, 3, 1.29999995)
  448. p17 = Instance.new("Part", m)
  449. p17.BrickColor = BrickColor.new("New Yeller")
  450. p17.FormFactor = Enum.FormFactor.Custom
  451. p17.Size = Vector3.new(1, 2.4000001, 1)
  452. 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)
  453. p17.CanCollide = false
  454. p17.Locked = true
  455. p17.BottomSurface = Enum.SurfaceType.Smooth
  456. p17.TopSurface = Enum.SurfaceType.Smooth
  457. b17 = Instance.new("SpecialMesh", p17)
  458. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  459. b17.TextureId = ""
  460. b17.MeshType = Enum.MeshType.FileMesh
  461. b17.Name = "Mesh"
  462. b17.VertexColor = Vector3.new(0, 0, 0)
  463. b17.Scale = Vector3.new(1, 3, 1.29999995)
  464. p18 = Instance.new("Part", m)
  465. p18.BrickColor = BrickColor.new("New Yeller")
  466. p18.FormFactor = Enum.FormFactor.Custom
  467. p18.Size = Vector3.new(2, 2, 2)
  468. 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)
  469. p18.CanCollide = false
  470. p18.Locked = true
  471. p18.BottomSurface = Enum.SurfaceType.Smooth
  472. p18.TopSurface = Enum.SurfaceType.Smooth
  473. b18 = Instance.new("SpecialMesh", p18)
  474. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  475. b18.TextureId = ""
  476. b18.MeshType = Enum.MeshType.FileMesh
  477. b18.Name = "Mesh"
  478. b18.VertexColor = Vector3.new(0, 0, 0)
  479. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  480. w1 = Instance.new("Weld", p1)
  481. w1.Name = "Head_Weld"
  482. w1.Part0 = p1
  483. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  484. w1.Part1 = p2
  485. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  486. w2 = Instance.new("Weld", p2)
  487. w2.Name = "Part_Weld"
  488. w2.Part0 = p2
  489. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  490. w2.Part1 = p3
  491. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  492. w3 = Instance.new("Weld", p3)
  493. w3.Name = "Part_Weld"
  494. w3.Part0 = p3
  495. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  496. w3.Part1 = p4
  497. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  498. w4 = Instance.new("Weld", p4)
  499. w4.Name = "Part_Weld"
  500. w4.Part0 = p4
  501. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  502. w4.Part1 = p5
  503. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  504. w5 = Instance.new("Weld", p5)
  505. w5.Name = "Part_Weld"
  506. w5.Part0 = p5
  507. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  508. w5.Part1 = p6
  509. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  510. w6 = Instance.new("Weld", p6)
  511. w6.Name = "Part_Weld"
  512. w6.Part0 = p6
  513. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  514. w6.Part1 = p7
  515. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  516. w7 = Instance.new("Weld", p7)
  517. w7.Name = "Part_Weld"
  518. w7.Part0 = p7
  519. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  520. w7.Part1 = p8
  521. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  522. w8 = Instance.new("Weld", p8)
  523. w8.Name = "Part_Weld"
  524. w8.Part0 = p8
  525. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  526. w8.Part1 = p9
  527. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  528. w9 = Instance.new("Weld", p9)
  529. w9.Name = "Part_Weld"
  530. w9.Part0 = p9
  531. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  532. w9.Part1 = p10
  533. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  534. w10 = Instance.new("Weld", p10)
  535. w10.Name = "Part_Weld"
  536. w10.Part0 = p10
  537. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  538. w10.Part1 = p11
  539. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  540. w11 = Instance.new("Weld", p11)
  541. w11.Name = "Part_Weld"
  542. w11.Part0 = p11
  543. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  544. w11.Part1 = p12
  545. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  546. w12 = Instance.new("Weld", p12)
  547. w12.Name = "Part_Weld"
  548. w12.Part0 = p12
  549. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  550. w12.Part1 = p13
  551. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  552. w13 = Instance.new("Weld", p13)
  553. w13.Name = "Part_Weld"
  554. w13.Part0 = p13
  555. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  556. w13.Part1 = p14
  557. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  558. w14 = Instance.new("Weld", p14)
  559. w14.Name = "Part_Weld"
  560. w14.Part0 = p14
  561. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  562. w14.Part1 = p15
  563. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  564. w15 = Instance.new("Weld", p15)
  565. w15.Name = "Part_Weld"
  566. w15.Part0 = p15
  567. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  568. w15.Part1 = p16
  569. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  570. w16 = Instance.new("Weld", p16)
  571. w16.Name = "Part_Weld"
  572. w16.Part0 = p16
  573. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  574. w16.Part1 = p17
  575. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  576. w17 = Instance.new("Weld", p17)
  577. w17.Name = "Part_Weld"
  578. w17.Part0 = p17
  579. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  580. w17.Part1 = p18
  581. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  582. m.Parent = char
  583. m:MakeJoints()
  584. ----------------------------------------------------
  585. local cor = Instance.new("Part", char.Hair)
  586. cor.Name = "Link"
  587. cor.Locked = true
  588. cor.BottomSurface = 0
  589. cor.CanCollide = false
  590. cor.Size = Vector3.new(1, 9, 1)
  591. cor.Transparency = 1
  592. cor.TopSurface = 0
  593. corw = Instance.new("Weld", cor)
  594. corw.Part0 = hed
  595. corw.Part1 = cor
  596. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  597. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  598. weld1 = Instance.new("Weld", char.Hair)
  599. weld1.Part0 = cor
  600. weld1.Part1 = char.Hair.Head
  601. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  602. ----------------------------------------------------
  603. GroundWave1 = function()
  604. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  605. local Colors = {"New Yeller", "New Yeller"}
  606. local wave = Instance.new("Part", torso)
  607. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  608. wave.Anchored = true
  609. wave.CanCollide = false
  610. wave.Locked = true
  611. wave.Size = Vector3.new(1, 1, 1)
  612. wave.TopSurface = "Smooth"
  613. wave.BottomSurface = "Smooth"
  614. wave.Transparency = 0.35
  615. wave.CFrame = HandCF
  616. wm = Instance.new("SpecialMesh", wave)
  617. wm.MeshId = "rbxassetid://3270017"
  618. coroutine.wrap(function()
  619. for i = 1, 30, 1 do
  620. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  621. wave.Size = wm.Scale
  622. wave.CFrame = HandCF
  623. wave.Transparency = i/30
  624. wait()
  625. end
  626. wait()
  627. wave:Destroy()
  628. end)()
  629. end
  630. ----------------------------------------------------
  631. GroundWave = function()
  632. if Transforming == true then
  633. local wave = Instance.new("Part", torso)
  634. wave.BrickColor = BrickColor.new("New Yeller")
  635. wave.Anchored = true
  636. wave.CanCollide = false
  637. wave.Locked = true
  638. wave.Size = Vector3.new(1, 1, 1)
  639. wave.TopSurface = "Smooth"
  640. wave.BottomSurface = "Smooth"
  641. wave.Transparency = 0.35
  642. wave.CFrame = fx.CFrame
  643. wm = Instance.new("SpecialMesh", wave)
  644. wm.MeshType = "Sphere"
  645. wm.Scale = Vector3.new(1,1,1)
  646. coroutine.wrap(function()
  647. for i = 1, 18, 1 do
  648. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  649. --wave.Size = wm.Scale
  650. wave.CFrame = fx.CFrame
  651. wave.Transparency = i/14
  652. wait()
  653. end
  654. wait()
  655. wave:Destroy()
  656. end)()
  657. elseif Transforming == false then
  658. wait()
  659. end
  660. end
  661.  
  662. for i = 1, 100 do rs:wait()
  663. fx.CFrame = torso.CFrame
  664. end
  665.  
  666. Spawn(function()
  667. while wait(1) do
  668. GroundWave()
  669. end
  670. end)
  671.  
  672. wait(4)
  673.  
  674. Transforming = false
  675.  
  676. for i = 1, 20 do rs:wait()
  677. fx.Transparency = fx.Transparency + (1/20)
  678. fx.CFrame = torso.CFrame
  679. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  680. rs:wait()
  681. end
  682.  
  683. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  684. local wave = Instance.new("Part", torso)
  685. wave.BrickColor = BrickColor.new("Institutional white")
  686. wave.Anchored = true
  687. wave.CanCollide = false
  688. wave.Locked = true
  689. wave.Size = Vector3.new(1, 1, 1)
  690. wave.TopSurface = "Smooth"
  691. wave.BottomSurface = "Smooth"
  692. wave.Transparency = 0.35
  693. wave.CFrame = HandCF
  694. wm = Instance.new("SpecialMesh", wave)
  695. wm.MeshId = "rbxassetid://3270017"
  696. coroutine.wrap(function()
  697. for i = 1, 14, 1 do
  698. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  699. wave.Size = wm.Scale
  700. wave.CFrame = HandCF
  701. wave.Transparency = i/14
  702. wait()
  703. end
  704. wait()
  705. wave:Destroy()
  706. end)()
  707. hum.WalkSpeed = 16
  708. ----------------------------------------------------
  709. Blast = function()
  710. local Colors = {"New Yeller", "New Yeller"}
  711. local wave = Instance.new("Part", torso)
  712. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  713. wave.Anchored = true
  714. wave.CanCollide = false
  715. wave.Locked = true
  716. wave.Size = Vector3.new(1, 1, 1)
  717. wave.TopSurface = "Smooth"
  718. wave.BottomSurface = "Smooth"
  719. wave.Transparency = 0.35
  720. wave.CFrame = rarm.CFrame
  721. wm = Instance.new("SpecialMesh", wave)
  722. wm.MeshType = "Sphere"
  723. wm.Scale = Vector3.new(1,1,1)
  724. z = Instance.new("Sound",wave)
  725. z.SoundId = "rbxassetid://237035051"
  726. z.Volume = 1
  727. z.Pitch = .9
  728. z:Play()
  729. coroutine.wrap(function()
  730. for i = 1, 30, 1 do
  731. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  732. --wave.Size = wm.Scale
  733. wave.CFrame = rarm.CFrame
  734. wave.Transparency = (1/14)
  735. rs:wait()
  736. end
  737. rs:wait()
  738. wave:Destroy()
  739. z:Destroy()
  740. end)()
  741. end
  742. ----------------------------------------------------
  743. rarm.Touched:connect(function(ht)
  744. hit = ht.Parent
  745. if ht and hit:IsA("Model") then
  746. if hit:FindFirstChild("Humanoid") then
  747. if hit.Name ~= p.Name then
  748. if Debounces.RPunch == true and Debounces.RPunched == false then
  749. Debounces.RPunched = true
  750. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  751. if Debounces.ks==true then
  752. z = Instance.new("Sound",hed)
  753. z.SoundId = "rbxassetid://169380525"
  754. z.Pitch = ptz[math.random(1,#ptz)]
  755. z.Volume = 1
  756. z:Play()
  757. end
  758. wait(.2)
  759. Debounces.RPunched = false
  760. end
  761. end
  762. end
  763. elseif ht and hit:IsA("Hat") then
  764. if hit.Parent.Name ~= p.Name then
  765. if hit.Parent:FindFirstChild("Humanoid") then
  766. if Debounces.RPunch == true and Debounces.RPunched == false then
  767. Debounces.RPunched = true
  768. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  769. if Debounces.ks==true then
  770. z = Instance.new("Sound",hed)
  771. z.SoundId = "rbxassetid://169380525"
  772. z.Pitch = ptz[math.random(1,#ptz)]
  773. z.Volume = 1
  774. z:Play()
  775. end
  776. wait(.2)
  777. Debounces.RPunched = false
  778. end
  779. end
  780. end
  781. end
  782. end)
  783. larm.Touched:connect(function(ht)
  784. hit = ht.Parent
  785. if ht and hit:IsA("Model") then
  786. if hit:FindFirstChild("Humanoid") then
  787. if hit.Name ~= p.Name then
  788. if Debounces.LPunch == true and Debounces.LPunched == false then
  789. Debounces.LPunched = true
  790. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  791. if Debounces.ks2==true then
  792. z = Instance.new("Sound",hed)
  793. z.SoundId = "rbxassetid://169380525"
  794. z.Pitch = ptz[math.random(1,#ptz)]
  795. z.Volume = 1
  796. z:Play()
  797. end
  798. wait(.2)
  799. Debounces.LPunched = false
  800. end
  801. end
  802. end
  803. elseif ht and hit:IsA("Hat") then
  804. if hit.Parent.Name ~= p.Name then
  805. if hit.Parent:FindFirstChild("Humanoid") then
  806. if Debounces.LPunch == true and Debounces.LPunched == false then
  807. Debounces.LPunched = true
  808. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  809. if Debounces.ks2==true then
  810. z = Instance.new("Sound",hed)
  811. z.SoundId = "rbxassetid://169380525"
  812. z.Pitch = ptz[math.random(1,#ptz)]
  813. z.Volume = 1
  814. z:Play()
  815. end
  816. wait(.2)
  817. Debounces.LPunched = false
  818. end
  819. end
  820. end
  821. end
  822. end)
  823. ----------------------------------------------------
  824. mod4 = Instance.new("Model",char)
  825.  
  826. ptez = {0.7, 0.8, 0.9, 1}
  827.  
  828. function FindNearestTorso(Position,Distance,SinglePlayer)
  829. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  830. local List = {}
  831. for i,v in pairs(workspace:GetChildren())do
  832. if v:IsA("Model")then
  833. if v:findFirstChild("Torso")then
  834. if v ~= char then
  835. if(v.Torso.Position -Position).magnitude <= Distance then
  836. table.insert(List,v)
  837. end
  838. end
  839. end
  840. end
  841. end
  842. return List
  843. end
  844.  
  845. function Punch()
  846. part=Instance.new('Part',mod4)
  847. part.Anchored=true
  848. part.CanCollide=false
  849. part.FormFactor='Custom'
  850. part.Size=Vector3.new(.2,.2,.2)
  851. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  852. part.Transparency=.7
  853. part.BrickColor=BrickColor.new('New Yeller')
  854. mesh=Instance.new('SpecialMesh',part)
  855. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  856. mesh.Scale=Vector3.new(3,3,3)
  857. part2=Instance.new('Part',mod4)
  858. part2.Anchored=true
  859. part2.CanCollide=false
  860. part2.FormFactor='Custom'
  861. part2.Size=Vector3.new(.2,.2,.2)
  862. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  863. part2.Transparency=.7
  864. part2.BrickColor=BrickColor.new('New Yeller')
  865. mesh2=Instance.new('SpecialMesh',part2)
  866. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  867. mesh2.Scale=Vector3.new(3,1.5,3)
  868. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  869. if v:FindFirstChild('Humanoid') then
  870. v.Humanoid:TakeDamage(math.random(2,6))
  871. end
  872. end
  873. coroutine.resume(coroutine.create(function()
  874. for i=0,0.62,0.4 do
  875. wait()
  876. part.CFrame=part.CFrame
  877. part.Transparency=i
  878. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  879. part2.CFrame=part2.CFrame
  880. part2.Transparency=i
  881. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  882. end
  883. part.Parent=nil
  884. part2.Parent=nil
  885. end))
  886. end
  887. ----------------------------------------------------
  888. rarm.Touched:connect(function(ht)
  889. hit = ht.Parent
  890. if ht and hit:IsA("Model") then
  891. if hit:FindFirstChild("Humanoid") then
  892. if hit.Name ~= p.Name then
  893. if Debounces.RPunch == true and Debounces.RPunched == false then
  894. Debounces.RPunched = true
  895. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  896. if Debounces.ks==true then
  897. z = Instance.new("Sound",hed)
  898. z.SoundId = "rbxassetid://169380525"
  899. z.Pitch = ptz[math.random(1,#ptz)]
  900. z.Volume = 1
  901. z:Play()
  902. end
  903. wait(.2)
  904. Debounces.RPunched = false
  905. end
  906. end
  907. end
  908. elseif ht and hit:IsA("Hat") then
  909. if hit.Parent.Name ~= p.Name then
  910. if hit.Parent:FindFirstChild("Humanoid") then
  911. if Debounces.RPunch == true and Debounces.RPunched == false then
  912. Debounces.RPunched = true
  913. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  914. if Debounces.ks==true then
  915. z = Instance.new("Sound",hed)
  916. z.SoundId = "rbxassetid://169380525"
  917. z.Pitch = ptz[math.random(1,#ptz)]
  918. z.Volume = 1
  919. z:Play()
  920. end
  921. wait(.2)
  922. Debounces.RPunched = false
  923. end
  924. end
  925. end
  926. end
  927. end)
  928. larm.Touched:connect(function(ht)
  929. hit = ht.Parent
  930. if ht and hit:IsA("Model") then
  931. if hit:FindFirstChild("Humanoid") then
  932. if hit.Name ~= p.Name then
  933. if Debounces.LPunch == true and Debounces.LPunched == false then
  934. Debounces.LPunched = true
  935. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  936. if Debounces.ks2==true then
  937. z = Instance.new("Sound",hed)
  938. z.SoundId = "rbxassetid://169380525"
  939. z.Pitch = ptz[math.random(1,#ptz)]
  940. z.Volume = 1
  941. z:Play()
  942. end
  943. wait(.2)
  944. Debounces.LPunched = false
  945. end
  946. end
  947. end
  948. elseif ht and hit:IsA("Hat") then
  949. if hit.Parent.Name ~= p.Name then
  950. if hit.Parent:FindFirstChild("Humanoid") then
  951. if Debounces.LPunch == true and Debounces.LPunched == false then
  952. Debounces.LPunched = true
  953. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  954. if Debounces.ks2==true then
  955. z = Instance.new("Sound",hed)
  956. z.SoundId = "rbxassetid://169380525"
  957. z.Pitch = ptz[math.random(1,#ptz)]
  958. z.Volume = 1
  959. z:Play()
  960. end
  961. wait(.2)
  962. Debounces.LPunched = false
  963. end
  964. end
  965. end
  966. end
  967. end)
  968. ----------------------------------------------------
  969. local player = game.Players.LocalPlayer
  970. local pchar = player.Character
  971. local mouse = player:GetMouse()
  972. local cam = workspace.CurrentCamera
  973.  
  974. local rad = math.rad
  975.  
  976. local keysDown = {}
  977. local flySpeed = 0
  978. local MAX_FLY_SPEED = 150
  979.  
  980. local canFly = false
  981. local flyToggled = false
  982.  
  983. local forward, side = 0, 0
  984. local lastForward, lastSide = 0, 0
  985.  
  986. local floatBP = Instance.new("BodyPosition")
  987. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  988. local flyBV = Instance.new("BodyVelocity")
  989. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  990. local turnBG = Instance.new("BodyGyro")
  991. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  992.  
  993. mouse.KeyDown:connect(function(key)
  994. keysDown[key] = true
  995.  
  996. if key == "f" then
  997. flyToggled = not flyToggled
  998.  
  999. if not flyToggled then
  1000. stanceToggle = "Normal"
  1001. floatBP.Parent = nil
  1002. flyBV.Parent = nil
  1003. turnBG.Parent = nil
  1004. root.Velocity = Vector3.new()
  1005. pchar.Humanoid.PlatformStand = false
  1006. end
  1007. end
  1008.  
  1009. end)
  1010. mouse.KeyUp:connect(function(key)
  1011. keysDown[key] = nil
  1012. end)
  1013.  
  1014. local function updateFly()
  1015.  
  1016. if not flyToggled then return end
  1017.  
  1018. lastForward = forward
  1019. lastSide = side
  1020.  
  1021. forward = 0
  1022. side = 0
  1023.  
  1024. if keysDown.w then
  1025. forward = forward + 1
  1026. end
  1027. if keysDown.s then
  1028. forward = forward - 1
  1029. end
  1030. if keysDown.a then
  1031. side = side - 1
  1032. end
  1033. if keysDown.d then
  1034. side = side + 1
  1035. end
  1036.  
  1037. canFly = (forward ~= 0 or side ~= 0)
  1038.  
  1039. if canFly then
  1040. stanceToggle = "Floating"
  1041. turnBG.Parent = root
  1042. floatBP.Parent = nil
  1043. flyBV.Parent = root
  1044.  
  1045. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1046. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1047. else
  1048. floatBP.position = root.Position
  1049. floatBP.Parent = root
  1050.  
  1051. flySpeed = flySpeed - 1
  1052. if flySpeed < 0 then flySpeed = 0 end
  1053. end
  1054.  
  1055. local camCF = cam.CoordinateFrame
  1056. local in_forward = canFly and forward or lastForward
  1057. local in_side = canFly and side or lastSide
  1058.  
  1059. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1060. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1061.  
  1062. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1063. 0)
  1064. end
  1065.  
  1066. game:service'RunService'.RenderStepped:connect(function()
  1067. if flyToggled then
  1068. pchar.Humanoid.PlatformStand = true
  1069. end
  1070. updateFly()
  1071. end)
  1072. -------------------------------
  1073. mouse.KeyDown:connect(function(key)
  1074. if key == "q" then
  1075. if Debounces.CanAttack == true then
  1076. Debounces.CanAttack = false
  1077. Debounces.NoIdl = true
  1078. Debounces.on = true
  1079. function FindNearestTorso(Position,Distance,SinglePlayer)
  1080. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1081. local List = {}
  1082. for i,v in pairs(workspace:GetChildren())do
  1083. if v:IsA("Model")then
  1084. if v:findFirstChild("Torso")then
  1085. if v ~= char then
  1086. if(v.Torso.Position -Position).magnitude <= Distance then
  1087. table.insert(List,v)
  1088. end
  1089. end
  1090. end
  1091. end
  1092. end
  1093. return List
  1094. end
  1095. z = Instance.new("Sound",hed)
  1096. z.SoundId = "rbxassetid://232213955"
  1097. z.Pitch = 1
  1098. z.Volume = 1
  1099. wait(0.2)
  1100. z:Play()
  1101. sp = Instance.new("Part",rarm)
  1102. sp.Anchored = true
  1103. sp.CanCollide = false
  1104. sp.Locked = true
  1105. sp.Transparency = 0
  1106. sp.Material = "Neon"
  1107. sp.Size = Vector3.new(1,1,1)
  1108. sp.TopSurface = "SmoothNoOutlines"
  1109. sp.BottomSurface = "SmoothNoOutlines"
  1110. sp.BrickColor = BrickColor.new("New Yeller")
  1111. spm = Instance.new("SpecialMesh",sp)
  1112. spm.MeshType = "Sphere"
  1113. spm.Scale = Vector3.new(21,21,21)
  1114. sp2 = Instance.new("Part", rarm)
  1115. sp2.Name = "Energy"
  1116. sp2.BrickColor = BrickColor.new("New Yeller")
  1117. sp2.Size = Vector3.new(1, 1, 1)
  1118. sp2.Shape = "Ball"
  1119. sp2.CanCollide = false
  1120. sp2.Anchored = true
  1121. sp2.Locked = true
  1122. sp2.TopSurface = 0
  1123. sp2.BottomSurface = 0
  1124. sp2.Transparency = 1
  1125. spm2 = Instance.new("SpecialMesh",sp2)
  1126. spm2.MeshId = "rbxassetid://9982590"
  1127. spm2.Scale = Vector3.new(2,2,2)
  1128. for i = 1, 20 do
  1129. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1130. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1131. 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)
  1132. 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)
  1133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1137. if Debounces.on == false then break end
  1138. rs:wait()
  1139. end
  1140. for i = 1, 100, 20 do rs:wait()
  1141. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1142. end
  1143. for i = 1, 20 do
  1144. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1145. 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)
  1146. 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)
  1147. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1148. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1149. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1150. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1151. if Debounces.on == false then break end
  1152. rs:wait()
  1153. end
  1154. sp.Transparency = 1
  1155. for i = 1, 20 do
  1156. 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)
  1157. 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)
  1158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1160. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1161. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1162. if Debounces.on == false then break end
  1163. rs:wait()
  1164. end
  1165. wait(1)
  1166. sp.Transparency = 0
  1167. sp2.Transparency = 0.84
  1168. for i = 1, 20 do
  1169. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1170. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1171. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1172. 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)
  1173. 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)
  1174. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1175. 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)
  1176. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1177. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1178. if Debounces.on == false then break end
  1179. rs:wait()
  1180. end
  1181. for i = 1, 2880, 50 do
  1182. rs:wait()
  1183. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1184. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1185. rs:wait()
  1186. end
  1187. sp:Destroy()
  1188. sp2:Destroy()
  1189. local X = Instance.new("Part",char)
  1190. local O = Instance.new("ObjectValue",X)
  1191. O.Name = "creator"
  1192. X.Locked = true
  1193. X.Name = "Shell"
  1194. X.Anchored = false
  1195. X.CanCollide = false
  1196. X.Transparency = 0
  1197. X.Reflectance = 0
  1198. X.BottomSurface = 0
  1199. X.TopSurface = 0
  1200. X.Shape = 0
  1201. local V = Instance.new("ObjectValue",X)
  1202. V.Value = char
  1203. V.Name = "creator"
  1204. X.BrickColor = BrickColor.new("New Yeller")
  1205. X.Size = Vector3.new(2,2,2)
  1206. X.Material = "Neon"
  1207. local Z = Instance.new("SpecialMesh",X)
  1208. Z.MeshType = "Sphere"
  1209. Z.Scale = Vector3.new(0.5,0.5,1)
  1210. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1211. local bv = Instance.new("BodyVelocity",X)
  1212. bv.maxForce = Vector3.new(99999,99999,99999)
  1213. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1214. bv.velocity = X.CFrame.lookVector*65
  1215.  
  1216. Explode = X.Touched:connect(function(hit)
  1217. if hit ~= char and hit.Name ~= "Shell" then
  1218. local cf = X.CFrame
  1219. bv:Destroy()
  1220. X.Anchored = true
  1221. Z:Remove()
  1222. Explode:disconnect()
  1223. X.Size = Vector3.new(3,3,3)
  1224. X.Touched:connect(function(hit) end)
  1225. X.CanCollide = false
  1226. local part3 = Instance.new("Part", rarm)
  1227. part3.Anchored=true
  1228. part3.CanCollide=false
  1229. part3.Locked = true
  1230. part3.TopSurface = "SmoothNoOutlines"
  1231. part3.BottomSurface = "SmoothNoOutlines"
  1232. part3.FormFactor='Custom'
  1233. part3.Size=Vector3.new(1,1, 1)
  1234. part3.CFrame=X.CFrame
  1235. part3.Transparency=0
  1236. part3.BrickColor=BrickColor.new("New Yeller")
  1237. local mesh3 = Instance.new("SpecialMesh",part3)
  1238. mesh3.MeshType = "Sphere"
  1239. mesh3.Scale = Vector3.new(1,1,1)
  1240. --debris:AddItem(X,8)
  1241. local part4 = Instance.new("Part", rarm)
  1242. part4.Material = "Neon"
  1243. part4.Anchored=true
  1244. part4.CanCollide=false
  1245. part4.Locked = true
  1246. part4.TopSurface = "SmoothNoOutlines"
  1247. part4.BottomSurface = "SmoothNoOutlines"
  1248. part4.FormFactor='Custom'
  1249. part4.Size=Vector3.new(1,1, 1)
  1250. part4.CFrame=X.CFrame
  1251. part4.Transparency=0
  1252. part4.BrickColor=BrickColor.new("Hot pink")
  1253. local mesh4 = Instance.new("SpecialMesh",part4)
  1254. mesh4.MeshType = "Sphere"
  1255. mesh4.Scale = Vector3.new(.5,.5,.5)
  1256. local part7 = Instance.new("Part", rarm)
  1257. part7.Material = "Neon"
  1258. part7.Anchored=true
  1259. part7.CanCollide=false
  1260. part7.Locked = true
  1261. part7.TopSurface = "SmoothNoOutlines"
  1262. part7.BottomSurface = "SmoothNoOutlines"
  1263. part7.FormFactor='Custom'
  1264. part7.Size=Vector3.new(1,1, 1)
  1265. part7.CFrame=X.CFrame
  1266. part7.Transparency=0
  1267. part7.BrickColor=BrickColor.new("New Yeller")
  1268. local mesh7 = Instance.new("SpecialMesh",part7)
  1269. mesh7.MeshType = "Sphere"
  1270. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1271. --[[X.Touched:connect(function(ht)
  1272. hit = ht.Parent
  1273. if ht and hit:IsA("Model") then
  1274. if hit:FindFirstChild("Humanoid") then
  1275. if hit.Name ~= p.Name then
  1276. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1277. wait(.3)
  1278. end
  1279. end
  1280. elseif ht and hit:IsA("Hat") then
  1281. if hit.Parent.Name ~= p.Name then
  1282. if hit.Parent:FindFirstChild("Humanoid") then
  1283. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1284. wait(.3)
  1285. end
  1286. end
  1287. end
  1288. end)
  1289. part3.Touched:connect(function(ht)
  1290. hit = ht.Parent
  1291. if ht and hit:IsA("Model") then
  1292. if hit:FindFirstChild("Humanoid") then
  1293. if hit.Name ~= p.Name then
  1294. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1295. wait(.3)
  1296. end
  1297. end
  1298. elseif ht and hit:IsA("Hat") then
  1299. if hit.Parent.Name ~= p.Name then
  1300. if hit.Parent:FindFirstChild("Humanoid") then
  1301. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1302. wait(.3)
  1303. end
  1304. end
  1305. end
  1306. end)]]--
  1307. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1308. if v:FindFirstChild('Humanoid') then
  1309. v.Humanoid:TakeDamage(math.random(60,90))
  1310. v.Humanoid.PlatformStand = true
  1311. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1312. end
  1313. end
  1314.  
  1315. local acos = math.acos
  1316. local sqrt = math.sqrt
  1317. local Vec3 = Vector3.new
  1318. local fromAxisAngle = CFrame.fromAxisAngle
  1319.  
  1320. local function toAxisAngle(CFr)
  1321. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1322. local Angle = math.acos((R00+R11+R22-1)/2)
  1323. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1324. A = A == 0 and 0.00001 or A
  1325. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1326. B = B == 0 and 0.00001 or B
  1327. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1328. C = C == 0 and 0.00001 or C
  1329. local x = (R21-R12)/sqrt(A)
  1330. local y = (R02-R20)/sqrt(B)
  1331. local z = (R10-R01)/sqrt(C)
  1332. return Vec3(x,y,z),Angle
  1333. end
  1334.  
  1335. function ApplyTrig(Num,Func)
  1336. local Min,Max = Func(0),Func(1)
  1337. local i = Func(Num)
  1338. return (i-Min)/(Max-Min)
  1339. end
  1340.  
  1341. function LerpCFrame(CFrame1,CFrame2,Num)
  1342. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1343. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1344. end
  1345.  
  1346. function Crater(Torso,Radius)
  1347. Spawn(function()
  1348. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1349. local Ignore = {}
  1350. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1351. if v.Character ~= nil then
  1352. Ignore[#Ignore+1] = v.Character
  1353. end
  1354. end
  1355. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1356. if Hit == nil then return end
  1357. local Parts = {}
  1358. for i = 1,360,10 do
  1359. local P = Instance.new("Part",Torso.Parent)
  1360. P.Anchored = true
  1361. P.FormFactor = "Custom"
  1362. P.BrickColor = Hit.BrickColor
  1363. P.Material = Hit.Material
  1364. P.TopSurface = "Smooth"
  1365. P.BottomSurface = "Smooth"
  1366. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1367. 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)))
  1368. 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}
  1369. if math.random(0,5) == 0 then -- rubble
  1370. local P = Instance.new("Part",Torso.Parent)
  1371. P.Anchored = true
  1372. P.FormFactor = "Custom"
  1373. P.BrickColor = Hit.BrickColor
  1374. P.Material = Hit.Material
  1375. P.TopSurface = "Smooth"
  1376. P.BottomSurface = "Smooth"
  1377. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1378. 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)))
  1379. 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}
  1380. end
  1381. end
  1382. for i = 0,1,0.05 do
  1383. for i2,v in pairs(Parts) do
  1384. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1385. end
  1386. wait(0.02)
  1387. end
  1388. for i,v in pairs(Parts) do
  1389. if v[1].Size.X > 2.1 then
  1390. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1391. end
  1392. v[1].Anchored = false
  1393. end
  1394. for i = 0,1,0.05 do
  1395. for i2,v in pairs(Parts) do
  1396. v[1].Transparency = i
  1397. if i == 1 then
  1398. v[1]:Destroy()
  1399. elseif i >= 0.25 then
  1400. v[1].CanCollide = false
  1401. end
  1402. end
  1403. wait(0.02)
  1404. end
  1405. Parts = nil
  1406. end)
  1407. end
  1408.  
  1409. ROW = function(out, trans, s, wt, t, ang, plus)
  1410. for i = 1, 360, 360/t do
  1411. local c = Instance.new("Part", game.Workspace)
  1412. c.FormFactor = 3
  1413. c.TopSurface = 0
  1414. c.BottomSurface = 0
  1415. c.Size = s
  1416. c.Anchored = true
  1417. c.CanCollide = wt
  1418. c.Material=workspace.Base.Material
  1419. c.Transparency = trans
  1420. c.BrickColor = workspace.Base.BrickColor
  1421. 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
  1422. c.Locked=true
  1423. game.Debris:AddItem(c,15)
  1424. end
  1425. end
  1426.  
  1427. Part = function(x,y,z,color,tr,cc,an,parent)
  1428. local p = Instance.new('Part',parent or Weapon)
  1429. p.formFactor = 'Custom'
  1430. p.Size = Vector3.new(x,y,z)
  1431. p.BrickColor = BrickColor.new(color)
  1432. p.CanCollide = cc
  1433. p.Transparency = tr
  1434. p.Anchored = an
  1435. p.TopSurface,p.BottomSurface = 0,0
  1436. p.Locked=true
  1437. p:BreakJoints()
  1438. return p end
  1439.  
  1440. Mesh = function(par,num,x,y,z)
  1441. local msh = _
  1442. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1443. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1444. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1445. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1446. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1447. end msh.Scale = Vector3.new(x,y,z)
  1448. return msh end
  1449.  
  1450. function explosion(col1,col2,cfr,sz,rng,dmg)
  1451. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1452. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1453. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1454. v1,v2,v3=sz.x,sz.y,sz.z
  1455. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1456. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1457. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1458. a.CFrame=cfr
  1459. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1460. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1461.  
  1462. Spawn(function()
  1463. while wait() do
  1464. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1465. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1466. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1467. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1468. a.Transparency=a.Transparency+0.05
  1469. a2.Transparency=a2.Transparency+0.05
  1470. a3.Transparency=a3.Transparency+0.05
  1471. end
  1472. end)
  1473. end
  1474.  
  1475. Crater(X,20)
  1476. 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)
  1477. z = Instance.new("Sound",X)
  1478. z.SoundId = "rbxassetid://231917744"
  1479. z.Pitch = .5
  1480. z.Volume = 10
  1481. z1 = Instance.new("Sound",X)
  1482. z1.SoundId = "rbxassetid://231917744"
  1483. z1.Pitch = .5
  1484. z1.Volume = 10
  1485. z2 = Instance.new("Sound",X)
  1486. z2.SoundId = "rbxassetid://231917744"
  1487. z2.Pitch = .5
  1488. z2.Volume = 10
  1489. z3 = Instance.new("Sound",X)
  1490. z3.SoundId = "rbxassetid://245537790"
  1491. z3.Pitch = .7
  1492. z3.Volume = 1
  1493. z4 = Instance.new("Sound",X)
  1494. z4.SoundId = "rbxassetid://245537790"
  1495. z4.Pitch = .7
  1496. z4.Volume = 1
  1497. wait(0.1)
  1498. z:Play()
  1499. z1:Play()
  1500. z2:Play()
  1501. z3:Play()
  1502. z4:Play()
  1503.  
  1504. local part=Instance.new('Part',rarm)
  1505. part.Anchored=true
  1506. part.CanCollide=false
  1507. part.Locked = true
  1508. part.FormFactor='Custom'
  1509. part.Size=Vector3.new(1,1,1)
  1510. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1511. part.Transparency=0
  1512. part.BrickColor=BrickColor.new('New Yeller')
  1513. local mesh=Instance.new('SpecialMesh',part)
  1514. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1515. mesh.Scale=Vector3.new(2,2,2)
  1516. local part2=part:clone()
  1517. part2.Parent = rarm
  1518. part2.BrickColor=BrickColor.new("New Yeller")
  1519. local part5=part:clone()
  1520. part5.Parent = rarm
  1521. part5.BrickColor=BrickColor.new("Magenta")
  1522. local part6=part:clone()
  1523. part6.Parent = rarm
  1524. part6.BrickColor=BrickColor.new("Black")
  1525. local mesh2=mesh:clone()
  1526. mesh2.Parent=part2
  1527. mesh2.Scale=Vector3.new(3, 3, 3)
  1528. local mesh5=mesh:clone()
  1529. mesh5.Parent=part5
  1530. mesh5.Scale=Vector3.new(3, 3, 3)
  1531. local mesh6=mesh:clone()
  1532. mesh6.Parent=part6
  1533. mesh6.Scale=Vector3.new(3, 3, 3)
  1534. local blast = Instance.new("Part", rarm)
  1535. blast.BrickColor = BrickColor.new("New Yeller")
  1536. blast.Anchored = true
  1537. blast.CanCollide = false
  1538. blast.Locked = true
  1539. blast.Size = Vector3.new(1, 1, 1)
  1540. blast.TopSurface = "Smooth"
  1541. blast.BottomSurface = "Smooth"
  1542. blast.Transparency = 0
  1543. blast.CFrame = HandCF
  1544. local bm = Instance.new("SpecialMesh", blast)
  1545. bm.Scale = Vector3.new(5,1,5)
  1546. bm.MeshId = "rbxassetid://3270017"
  1547. local blast2 = Instance.new("Part", rarm)
  1548. blast2.BrickColor = BrickColor.new("New Yeller")
  1549. blast2.Anchored = true
  1550. blast2.CanCollide = false
  1551. blast2.Locked = true
  1552. blast2.Size = Vector3.new(1, 1, 1)
  1553. blast2.TopSurface = "Smooth"
  1554. blast2.BottomSurface = "Smooth"
  1555. blast2.Transparency = 0
  1556. blast2.CFrame = HandCF
  1557. local bm2 = Instance.new("SpecialMesh", blast2)
  1558. bm2.Scale = Vector3.new(3,1,3)
  1559. bm2.MeshId = "rbxassetid://3270017"
  1560. local blast3 = Instance.new("Part", rarm)
  1561. blast3.BrickColor = BrickColor.new("New Yeller")
  1562. blast3.Anchored = true
  1563. blast3.CanCollide = false
  1564. blast3.Locked = true
  1565. blast3.Size = Vector3.new(1, 1, 1)
  1566. blast3.TopSurface = "Smooth"
  1567. blast3.BottomSurface = "Smooth"
  1568. blast3.Transparency = 0
  1569. blast3.CFrame = HandCF
  1570. local bm3 = Instance.new("SpecialMesh", blast3)
  1571. bm3.Scale = Vector3.new(3,1,3)
  1572. bm3.MeshId = "rbxassetid://3270017"
  1573. for i = 1,120 do rs:wait()
  1574. X.Transparency = X.Transparency + (1/120)
  1575. part.Transparency = part.Transparency + (1/120)
  1576. part2.Transparency = part2.Transparency + (1/120)
  1577. part3.Transparency = part3.Transparency + (1/120)
  1578. part4.Transparency = part4.Transparency + (1/120)
  1579. part5.Transparency = part5.Transparency + (1/120)
  1580. part6.Transparency = part6.Transparency + (1/120)
  1581. part7.Transparency = part7.Transparency + (1/120)
  1582. blast.Transparency = blast.Transparency + (1/120)
  1583. blast2.Transparency = blast2.Transparency + (1/120)
  1584. blast3.Transparency = blast3.Transparency + (1/120)
  1585. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1586. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1587. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1588. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1589. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1590. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1591. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1592. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1593. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1594. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1595. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1596. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1597. X.CFrame = cf
  1598. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1599. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1600. part3.CFrame=X.CFrame
  1601. part4.CFrame=X.CFrame
  1602. part7.CFrame=X.CFrame
  1603. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1604. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1605. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1606. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1607. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1608. rs:wait()
  1609. end
  1610. X:Destroy()
  1611. part:Destroy()
  1612. part2:Destroy()
  1613. part3:Destroy()
  1614. part4:Destroy()
  1615. part5:Destroy()
  1616. part6:Destroy()
  1617. blast:Destroy()
  1618. blast2:Destroy()
  1619. blast3:Destroy()
  1620. z:Destroy()
  1621. z1:Destroy()
  1622. z2:Destroy()
  1623. z3:Destroy()
  1624. z4:Destroy()
  1625. end
  1626. end)
  1627. for i = 1, 20 do
  1628. 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)
  1629. 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)
  1630. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1631. 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)
  1632. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1633. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1634. if Debounces.on == false then break end
  1635. rs:wait()
  1636. end
  1637. if Debounces.CanAttack == false then
  1638. Debounces.CanAttack = true
  1639. Debounces.NoIdl = false
  1640. Debounces.on = false
  1641. end
  1642. end
  1643. end
  1644. end)
  1645. ----------------------------------------------------
  1646. mouse.KeyDown:connect(function(key)
  1647. if key == "e" then
  1648. if Debounces.CanAttack == true then
  1649. Debounces.CanAttack = false
  1650. Debounces.on = true
  1651. Debounces.NoIdl = true
  1652. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1653. z = Instance.new("Sound", rarm)
  1654. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1655. z.Volume = .6
  1656. z.Pitch = pt[math.random(1,#pt)]
  1657. z.Looped = false
  1658. z:Play()
  1659. Debounces.RPunch = true
  1660. Debounces.LPunch = true
  1661. Debounces.ks = true
  1662. Debounces.ks2 = true
  1663. for i = 1, 3 do
  1664. 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)
  1665. 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)
  1666. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1667. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1668. 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)
  1669. 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)
  1670. if Debounces.on == false then break end
  1671. wait()
  1672. end
  1673. z2 = Instance.new("Sound", larm)
  1674. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1675. z2.Volume = .6
  1676. z2.Pitch = pt[math.random(1,#pt)]
  1677. z2.Looped = false
  1678. z2:Play()
  1679. for i = 1, 3 do
  1680. 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)
  1681. 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)
  1682. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1683. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1684. 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)
  1685. 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)
  1686. if Debounces.on == false then break end
  1687. wait()
  1688. end
  1689. z3 = Instance.new("Sound", rarm)
  1690. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1691. z3.Volume = 0.6
  1692. z3.Pitch = pt[math.random(1,#pt)]
  1693. z3.Looped = false
  1694. z3:Play()
  1695. for i = 1, 3 do
  1696. 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)
  1697. 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)
  1698. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1699. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1700. 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)
  1701. 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)
  1702. if Debounces.on == false then break end
  1703. wait()
  1704. end
  1705. z4 = Instance.new("Sound", larm)
  1706. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1707. z4.Volume = .6
  1708. z4.Pitch = pt[math.random(1,#pt)]
  1709. z4.Looped = false
  1710. z4:Play()
  1711. for i = 1, 3 do
  1712. 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)
  1713. 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)
  1714. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1715. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1716. 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)
  1717. 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)
  1718. if Debounces.on == false then break end
  1719. wait()
  1720. end
  1721. z5 = Instance.new("Sound", rarm)
  1722. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1723. z5.Volume = .6
  1724. z5.Pitch = pt[math.random(1,#pt)]
  1725. z5.Looped = false
  1726. z5:Play()
  1727. for i = 1, 3 do
  1728. 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)
  1729. 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)
  1730. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1731. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1732. 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)
  1733. 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)
  1734. if Debounces.on == false then break end
  1735. wait()
  1736. end
  1737. z6 = Instance.new("Sound", larm)
  1738. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1739. z6.Volume = .6
  1740. z6.Pitch = pt[math.random(1,#pt)]
  1741. z6.Looped = false
  1742. z6:Play()
  1743. for i = 1, 3 do
  1744. 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)
  1745. 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)
  1746. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1747. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1748. 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)
  1749. 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)
  1750. if Debounces.on == false then break end
  1751. wait()
  1752. end
  1753. z7 = Instance.new("Sound", rarm)
  1754. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1755. z7.Volume = .6
  1756. z7.Pitch = pt[math.random(1,#pt)]
  1757. z7.Looped = false
  1758. z7:Play()
  1759. for i = 1, 3 do
  1760. 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)
  1761. 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)
  1762. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1763. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1764. 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)
  1765. 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)
  1766. if Debounces.on == false then break end
  1767. wait()
  1768. end
  1769. z8 = Instance.new("Sound", larm)
  1770. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1771. z8.Volume = .6
  1772. z8.Pitch = pt[math.random(1,#pt)]
  1773. z8.Looped = false
  1774. z8:Play()
  1775. for i = 1, 3 do
  1776. 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)
  1777. 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)
  1778. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1779. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1780. 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)
  1781. 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)
  1782. if Debounces.on == false then break end
  1783. wait()
  1784. end
  1785. z9 = Instance.new("Sound", rarm)
  1786. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1787. z9.Volume = 0.6
  1788. z9.Pitch = pt[math.random(1,#pt)]
  1789. z9.Looped = false
  1790. z9:Play()
  1791. for i = 1, 3 do
  1792. 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)
  1793. 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)
  1794. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1795. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1796. 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)
  1797. 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)
  1798. if Debounces.on == false then break end
  1799. wait()
  1800. end
  1801. z10 = Instance.new("Sound", larm)
  1802. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1803. z10.Volume = .6
  1804. z10.Pitch = pt[math.random(1,#pt)]
  1805. z10.Looped = false
  1806. z10:Play()
  1807. for i = 1, 3 do
  1808. 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)
  1809. 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)
  1810. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1811. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1812. 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)
  1813. 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)
  1814. if Debounces.on == false then break end
  1815. wait()
  1816. end
  1817. z11 = Instance.new("Sound", rarm)
  1818. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1819. z11.Volume = .6
  1820. z11.Pitch = pt[math.random(1,#pt)]
  1821. z11.Looped = false
  1822. z11:Play()
  1823. for i = 1, 3 do
  1824. 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)
  1825. 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)
  1826. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1827. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1828. 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)
  1829. 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)
  1830. if Debounces.on == false then break end
  1831. wait()
  1832. end
  1833. z12 = Instance.new("Sound", larm)
  1834. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1835. z12.Volume = .6
  1836. z12.Pitch = pt[math.random(1,#pt)]
  1837. z12.Looped = false
  1838. z12:Play()
  1839. for i = 1, 3 do
  1840. 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)
  1841. 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)
  1842. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1843. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1844. 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)
  1845. 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)
  1846. if Debounces.on == false then break end
  1847. wait()
  1848. end
  1849. z13 = Instance.new("Sound", rarm)
  1850. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1851. z13.Volume = 0.6
  1852. z13.Pitch = pt[math.random(1,#pt)]
  1853. z13.Looped = false
  1854. z13:Play()
  1855. for i = 1, 3 do
  1856. 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)
  1857. 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)
  1858. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1859. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1860. 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)
  1861. 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)
  1862. if Debounces.on == false then break end
  1863. wait()
  1864. end
  1865. z14 = Instance.new("Sound", larm)
  1866. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1867. z14.Volume = .6
  1868. z14.Pitch = pt[math.random(1,#pt)]
  1869. z14.Looped = false
  1870. z14:Play()
  1871. for i = 1, 3 do
  1872. 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)
  1873. 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)
  1874. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1875. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1876. 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)
  1877. 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)
  1878. if Debounces.on == false then break end
  1879. wait()
  1880. end
  1881. z15 = Instance.new("Sound", rarm)
  1882. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1883. z15.Volume = .6
  1884. z15.Pitch = pt[math.random(1,#pt)]
  1885. z15.Looped = false
  1886. z15:Play()
  1887. for i = 1, 3 do
  1888. 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)
  1889. 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)
  1890. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1891. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1892. 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)
  1893. 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)
  1894. if Debounces.on == false then break end
  1895. wait()
  1896. end
  1897. z16 = Instance.new("Sound", larm)
  1898. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1899. z16.Volume = .6
  1900. z16.Pitch = pt[math.random(1,#pt)]
  1901. z16.Looped = false
  1902. z16:Play()
  1903. for i = 1, 3 do
  1904. 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)
  1905. 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)
  1906. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1907. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1908. 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)
  1909. 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)
  1910. if Debounces.on == false then break end
  1911. wait()
  1912. end
  1913. z17 = Instance.new("Sound", rarm)
  1914. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1915. z17.Volume = .6
  1916. z17.Pitch = pt[math.random(1,#pt)]
  1917. z17.Looped = false
  1918. z17:Play()
  1919. for i = 1, 3 do
  1920. 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)
  1921. 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)
  1922. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1923. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1924. 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)
  1925. 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)
  1926. if Debounces.on == false then break end
  1927. wait()
  1928. end
  1929. z18 = Instance.new("Sound", larm)
  1930. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1931. z18.Volume = .6
  1932. z18.Pitch = pt[math.random(1,#pt)]
  1933. z18.Looped = false
  1934. z18:Play()
  1935. for i = 1, 3 do
  1936. 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)
  1937. 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)
  1938. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1939. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1940. 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)
  1941. 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)
  1942. if Debounces.on == false then break end
  1943. wait()
  1944. end
  1945. z19 = Instance.new("Sound", rarm)
  1946. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1947. z19.Volume = 0.6
  1948. z19.Pitch = pt[math.random(1,#pt)]
  1949. z19.Looped = false
  1950. z19:Play()
  1951. for i = 1, 3 do
  1952. 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)
  1953. 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)
  1954. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1955. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1956. 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)
  1957. 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)
  1958. if Debounces.on == false then break end
  1959. wait()
  1960. end
  1961. z20 = Instance.new("Sound", larm)
  1962. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1963. z20.Volume = .6
  1964. z20.Pitch = pt[math.random(1,#pt)]
  1965. z20.Looped = false
  1966. z20:Play()
  1967. for i = 1, 3 do
  1968. 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)
  1969. 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)
  1970. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1971. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1972. 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)
  1973. 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)
  1974. if Debounces.on == false then break end
  1975. wait()
  1976. end
  1977. z:Destroy()
  1978. z2:Destroy()
  1979. z3:Destroy()
  1980. z4:Destroy()
  1981. z5:Destroy()
  1982. z6:Destroy()
  1983. z7:Destroy()
  1984. z8:Destroy()
  1985. z9:Destroy()
  1986. z10:Destroy()
  1987. z11:Destroy()
  1988. z12:Destroy()
  1989. z13:Destroy()
  1990. z14:Destroy()
  1991. z15:Destroy()
  1992. z16:Destroy()
  1993. z17:Destroy()
  1994. z18:Destroy()
  1995. z19:Destroy()
  1996. z20:Destroy()
  1997. Debounces.LPunch = false
  1998. Debounces.RPunch = false
  1999. Debounces.ks = false
  2000. Debounces.ks2 = false
  2001. if Debounces.CanAttack == false then
  2002. Debounces.CanAttack = true
  2003. Debounces.on = false
  2004. Debounces.NoIdl = false
  2005. end
  2006. end
  2007. end
  2008. end)
  2009. -------------------------------
  2010. mouse.KeyDown:connect(function(key)
  2011. if key == "t" then
  2012. if Debounces.CanAttack == true then
  2013. Debounces.CanAttack = false
  2014. Debounces.NoIdl = true
  2015. Debounces.on = true
  2016. Debounces.ks = true
  2017. kik = rleg.Touched:connect(function(ht)
  2018. hit = ht.Parent
  2019. if ht and hit:IsA("Model") then
  2020. if hit:FindFirstChild("Humanoid") then
  2021. if hit.Name ~= p.Name then
  2022. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2023. Debounces.Slashed = true]]--
  2024. if Debounces.ks==true then
  2025. z = Instance.new("Sound",hed)
  2026. z.SoundId = "rbxassetid://169380525"
  2027. z.Volume = 1
  2028. z:Play()
  2029. Debounces.ks=false
  2030. end
  2031. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2032. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2033. --Debounces.Slashed = false
  2034. --end
  2035. end
  2036. end
  2037. elseif ht and hit:IsA("Hat") then
  2038. if hit.Parent.Name ~= p.Name then
  2039. if hit.Parent:FindFirstChild("Humanoid") then
  2040. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2041. Debounces.Slashed = true]]--
  2042. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2043. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2044. --Debounces.Slashed = false
  2045. --end
  2046. end
  2047. end
  2048. end
  2049. end)
  2050. for i = 1,20 do
  2051. 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)
  2052. 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)
  2053. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2054. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2055. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2056. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2057. if Debounces.on == false then break end
  2058. rs:wait()
  2059. end
  2060. kik:disconnect()
  2061. if Debounces.CanAttack == false then
  2062. Debounces.CanAttack = true
  2063. Debounces.NoIdl = false
  2064. Debounces.on = false
  2065. end
  2066. end
  2067. end
  2068. end)
  2069. ----------------------------------------------------
  2070. mouse.KeyDown:connect(function(key)
  2071. if key == "y" then
  2072. if Debounces.CanAttack == true then
  2073. Debounces.CanAttack = false
  2074. Debounces.on = true
  2075. Debounces.NoIdl = true
  2076. for i = 1, 15 do
  2077. 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)
  2078. 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)
  2079. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2080. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2081. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2082. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2083. if Debounces.on == false then break end
  2084. rs:wait(2.7)
  2085. end
  2086. x = Instance.new("Sound",char)
  2087. x.SoundId = "rbxassetid://228343271"
  2088. x.Pitch = 1
  2089. x.Volume = .8
  2090. wait(.1)
  2091. x:Play()
  2092. Debounces.on = false
  2093. Debounces.Here = false
  2094. shot = shot + 1
  2095. local rng = Instance.new("Part", larm)
  2096. rng.Anchored = true
  2097. rng.BrickColor = BrickColor.new("New Yeller")
  2098. rng.CanCollide = false
  2099. rng.FormFactor = 3
  2100. rng.Name = "Ring"
  2101. rng.Size = Vector3.new(1, 1, 1)
  2102. rng.Transparency = 0.35
  2103. rng.TopSurface = 0
  2104. rng.BottomSurface = 0
  2105. rng2 = rng:clone()
  2106. rng3 = rng2:clone()
  2107. rng4 = rng2:clone()
  2108. local rngm = Instance.new("SpecialMesh", rng)
  2109. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2110. rngm.Scale = Vector3.new(10, 10, 1)
  2111. rngm2 = rngm:clone()
  2112. rngm2.Scale = Vector3.new(5, 5, 3)
  2113. rngm3=rngm2:clone()
  2114. rngm3.Parent = rng3
  2115. rngm3.Scale = Vector3.new(8, 8, 1)
  2116. rngm4 = rngm2:clone()
  2117. rngm4.Parent = rng4
  2118. rngm4.Scale = Vector3.new(6, 6, 1)
  2119. local bem = Instance.new("Part", larm)
  2120. bem.Anchored = true
  2121. bem.BrickColor = BrickColor.new("New Yeller")
  2122. bem.CanCollide = false
  2123. bem.FormFactor = 3
  2124. bem.Name = "Beam" .. shot
  2125. bem.Size = Vector3.new(1, 1, 1)
  2126. bem.Transparency = 0.35
  2127. bem.TopSurface = 0
  2128. bem.BottomSurface = 0
  2129. local bemm = Instance.new("SpecialMesh", bem)
  2130. bemm.MeshType = 4
  2131. bemm.Scale = Vector3.new(1, 4, 4)
  2132. local out = Instance.new("Part", larm)
  2133. out.Anchored = true
  2134. out.BrickColor = BrickColor.new("New Yeller")
  2135. out.CanCollide = false
  2136. out.FormFactor = 3
  2137. out.Name = "Out"
  2138. out.Size = Vector3.new(4, 4, 4)
  2139. out.Transparency = 0.35
  2140. out.TopSurface = 0
  2141. out.BottomSurface = 0
  2142. local outm = Instance.new("SpecialMesh", out)
  2143. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2144. outm.Scale = Vector3.new(6, 4, 6)
  2145. local bnd = Instance.new("Part", larm)
  2146. bnd.Anchored = true
  2147. bnd.BrickColor = BrickColor.new("New Yeller")
  2148. bnd.CanCollide = false
  2149. bnd.FormFactor = 3
  2150. bnd.Name = "Bend"
  2151. bnd.Size = Vector3.new(1, 1, 1)
  2152. bnd.Transparency = 1
  2153. bnd.TopSurface = 0
  2154. bnd.BottomSurface = 0
  2155. local bndm = Instance.new("SpecialMesh", bnd)
  2156. bndm.MeshType = 3
  2157. bndm.Scale = Vector3.new(8, 8, 8)
  2158. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2159. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2160. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2161. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2162. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2163. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2164. Debounces.Shewt = true
  2165. coroutine.wrap(function()
  2166. for i = 1, 20, 0.2 do
  2167. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2168. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2169. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2170. rng.Transparency = i/20
  2171. rng3.Transparency = 1/24
  2172. rng4.Transparency = i/26
  2173. wait()
  2174. end
  2175. wait()
  2176. rng:Destroy()
  2177. end)()
  2178. if Debounces.Shewt == true then
  2179. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2180. hit = ht.Parent
  2181. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2182. if HasntTouched(hit.Name) == true and deb == false then
  2183. deb = true
  2184. coroutine.wrap(function()
  2185. hit:FindFirstChild("Humanoid").PlatformStand = true
  2186. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2187. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2188. end)()
  2189. table.insert(Touche, hit.Name)
  2190. deb = false
  2191. end
  2192. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2193. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2194. deb = true
  2195. coroutine.wrap(function()
  2196. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2197. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2198. wait(1)
  2199. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2200. end)()
  2201. table.insert(Touche, hit.Parent.Name)
  2202. deb = false
  2203. for i, v in pairs(Touche) do
  2204. print(v)
  2205. end
  2206. end
  2207. end
  2208. end)
  2209. end
  2210. for i = 0, 260, 8 do
  2211. bem.Size = Vector3.new(i, 3, 3)
  2212. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2213. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2214. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2215. bnd.Size = Vector3.new(1,1,1)
  2216. bndm.Scale = Vector3.new(8,8,8)
  2217. if i % 10 == 0 then
  2218. local newRng = rng2:Clone()
  2219. newRng.Parent = larm
  2220. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2221. local newRngm = rngm2:clone()
  2222. newRngm.Parent=newRng
  2223. coroutine.wrap(function()
  2224. for i = 1, 10, 0.2 do
  2225. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2226. newRng.Transparency = i/10
  2227. wait()
  2228. end
  2229. wait()
  2230. newRng:Destroy()
  2231. end)()
  2232. end
  2233. wait()
  2234. end
  2235. wait()
  2236. Debounces.Shewt = false
  2237. bem:Destroy()
  2238. out:Destroy()
  2239. bnd:Destroy()
  2240. Debounces.Ready = false
  2241. for i, v in pairs(Touche) do
  2242. table.remove(Touche, i)
  2243. end
  2244. wait()
  2245. table.insert(Touche, char.Name)
  2246. Debounces.NoIdl = false
  2247. if Debounces.CanAttack == false then
  2248. Debounces.CanAttack = true
  2249. end
  2250. end
  2251. end
  2252. end)
  2253. ----------------------------------------------------
  2254. --[[mouse.KeyDown:connect(function(key)
  2255. if key == "y" then
  2256. if Debounces.CanAttack == true then
  2257. Debounces.CanAttack = false
  2258. Debounces.NoIdl = true
  2259. Debounces.on = true
  2260. local shell = Instance.new("Part",torso)
  2261. shell.BrickColor = BrickColor.new("New Yeller")
  2262. shell.Anchored = false
  2263. shell.CanCollide = false
  2264. shell.Locked = true
  2265. shell.TopSurface = "SmoothNoOutlines"
  2266. shell.BottomSurface = "SmoothNoOutlines"
  2267. shell.Size = Vector3.new(1.2,1.2,1.2)
  2268. shell.FormFactor = 3
  2269. local shellm = Instance.new("SpecialMesh",shell)
  2270. shellm.MeshType = "Sphere"
  2271. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2272. Omega = function()
  2273. local X = Instance.new("Part",char)
  2274. local O = Instance.new("ObjectValue",X)
  2275. O.Name = "creator"
  2276. X.Locked = true
  2277. X.Name = "Shell"
  2278. X.Anchored = false
  2279. X.CanCollide = false
  2280. X.Transparency = 0.5
  2281. X.Reflectance = 0
  2282. X.BottomSurface = 0
  2283. X.TopSurface = 0
  2284. X.Shape = 0
  2285. local V = Instance.new("ObjectValue",X)
  2286. V.Value = char
  2287. V.Name = "creator"
  2288. X.BrickColor = BrickColor.new("New Yeller")
  2289. X.Size = Vector3.new(40,40,40)
  2290. --X.Material = "Neon"
  2291. local Z = Instance.new("SpecialMesh",X)
  2292. Z.MeshType = "Sphere"
  2293. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2294. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2295. local bv = Instance.new("BodyVelocity",X)
  2296. bv.maxForce = Vector3.new(99999,99999,99999)
  2297. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2298. bv.velocity = root.CFrame.lookVector*10
  2299. Explode = X.Touched:connect(function(hit)
  2300. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2301. local cf = X.CFrame
  2302. bv:Destroy()
  2303. X.Anchored = true
  2304. Z:Remove()
  2305. Explode:disconnect()
  2306. X.Size = Vector3.new(3,3,3)
  2307. X.Touched:connect(function(hit) end)
  2308. X.CanCollide = false
  2309. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2310. if v:FindFirstChild('Humanoid') then
  2311. v.Humanoid:TakeDamage(math.random(80,120))
  2312. end
  2313. end
  2314. for i = 1, (40) do rs:wait()
  2315. X.Transparency = X.Transparency + (1/40)
  2316. X.Size = X.Size + Vector3.new(1,1,1)
  2317. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2318. end
  2319. X:Destroy()
  2320. end
  2321. end)
  2322. end
  2323. for i = 1,200 do
  2324. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2325. 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)
  2326. 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)
  2327. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2328. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2329. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2330. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2331. if Debounces.on == false then break end
  2332. rs:wait()
  2333. end
  2334. for i = 1,30 do
  2335. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2336. 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)
  2337. 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)
  2338. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2339. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2340. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2341. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2342. if Debounces.on == false then break end
  2343. rs:wait()
  2344. end
  2345. for i = 1,40 do
  2346. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2347. shell.Size = shell.Size + Vector3.new(1,1,1)
  2348. 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)
  2349. 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)
  2350. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2351. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2352. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2353. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2354. if Debounces.on == false then break end
  2355. rs:wait()
  2356. end
  2357. for i = 1,40 do
  2358. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2359. 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)
  2360. 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)
  2361. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2362. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2363. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2364. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2365. if Debounces.on == false then break end
  2366. rs:wait()
  2367. end
  2368. for i = 1,60 do
  2369. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2370. 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)
  2371. 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)
  2372. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2373. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2374. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2375. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2376. if Debounces.on == false then break end
  2377. rs:wait()
  2378. end
  2379. for i = 1,60 do
  2380. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2381. shell.Size = shell.Size + Vector3.new(1,1,1)
  2382. 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)
  2383. 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)
  2384. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2385. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2386. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2387. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2388. if Debounces.on == false then break end
  2389. rs:wait()
  2390. end
  2391. if Debounces.CanAttack == false then
  2392. Debounces.CanAttack = true
  2393. Debounces.NoIdl = false
  2394. Debounces.on = false
  2395. end
  2396. end
  2397. end
  2398. end)]]--
  2399. ----------------------------------------------------
  2400. Charging = false
  2401. mouse.KeyDown:connect(function(key)
  2402. if key == "r" then
  2403. if Charging == false then
  2404. Charging = true
  2405. if Debounces.CanAttack == true then
  2406. Debounces.CanAttack = false
  2407. Debounces.NoIdl = true
  2408. Debounces.on = true
  2409. for i = 1,20 do
  2410. 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)
  2411. 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)
  2412. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2413. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2414. 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)
  2415. 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)
  2416. if Debounces.on == false then break end
  2417. rs:wait()
  2418. end
  2419. --[[for i = 1,20 do
  2420. 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)
  2421. 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)
  2422. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2423. 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)
  2424. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2425. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2426. if Debounces.on == false then break end
  2427. rs:wait()
  2428. end]]--
  2429. pt=Instance.new('Part',torso)
  2430. pt.Anchored=true
  2431. pt.CanCollide=false
  2432. pt.Locked = true
  2433. pt.FormFactor='Custom'
  2434. pt.Size=Vector3.new(1,1,1)
  2435. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2436. pt.Transparency=.6
  2437. pt.BrickColor=BrickColor.new('New Yeller')
  2438. msh=Instance.new('SpecialMesh',pt)
  2439. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2440. msh.Scale=Vector3.new(8,4,8)
  2441. pt2=pt:clone()
  2442. pt2.Parent = torso
  2443. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2444. pt2.BrickColor=BrickColor.new("New Yeller")
  2445. msh2=msh:clone()
  2446. msh2.Parent=pt2
  2447. msh2.Scale=Vector3.new(10,5,10)
  2448.  
  2449. 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}
  2450.  
  2451. bl = Instance.new("Part", char)
  2452. bl.Locked = true
  2453. bl.Name = "Shell"
  2454. bl.BrickColor = BrickColor.new("New Yeller")
  2455. bl.Anchored = true
  2456. bl.CanCollide = false
  2457. bl.Transparency = 0
  2458. bl.Reflectance = 0
  2459. bl.BottomSurface = 0
  2460. bl.TopSurface = 0
  2461. bl.Shape = 0
  2462. blm = Instance.new("SpecialMesh",bl)
  2463. blm.MeshType = "Sphere"
  2464. blm.Scale = Vector3.new(1,1,1)
  2465. blm.MeshId = "rbxassetid://9982590"
  2466.  
  2467. coroutine.resume(coroutine.create(function()
  2468. for i=1, math.huge, 4 do
  2469. if Charging == true then
  2470. rs:wait()
  2471. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2472. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2473. bl.Transparency = bl.Transparency + 0.005
  2474. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2475. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2476. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2477. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2478. elseif Charging == false then break
  2479. end
  2480. end
  2481. end))
  2482.  
  2483. repeat
  2484. local p = Instance.new('Part',torso)
  2485. p.formFactor = 'Custom'
  2486. p.Size = Vector3.new(1,1,1)
  2487. p.BrickColor = workspace.Base.BrickColor
  2488. p.CanCollide = false
  2489. p.Transparency = 0
  2490. p.Anchored = true
  2491. p.Locked=true
  2492. p.Material = workspace.Base.Material
  2493. s = math.random(1,40)/10
  2494. local m = Instance.new("BlockMesh",p)
  2495. m.Scale = Vector3.new(s,s,s)
  2496. 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())
  2497. --[[coroutine.wrap(function()
  2498. wait(2)
  2499. while Charging == true do
  2500. wait(2)
  2501. GroundWave1()
  2502. wait(2)
  2503. end
  2504. end)()]]--
  2505. Spawn(function()
  2506. while rs:wait() do
  2507. if Charging == true then
  2508. 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)))
  2509. 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)))
  2510. 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))
  2511. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2512. 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)))
  2513. 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)))
  2514. elseif Charging == false then break
  2515. end
  2516. end
  2517. end)
  2518. Spawn(function()
  2519. while rs:wait() do
  2520. if p.Transparency >= 1 then p:Destroy() break end
  2521. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2522. p.Transparency = p.Transparency+0.01
  2523. end
  2524. end)
  2525. wait(.3)
  2526. until Charging == false
  2527. end
  2528. end
  2529. end
  2530. end)
  2531. ----------------------------------------------------
  2532. mouse.KeyUp:connect(function(key)
  2533. if key == "r" then
  2534. if Charging == true then
  2535. Charging = false
  2536. pt:Destroy()
  2537. pt2:Destroy()
  2538. bl:Destroy()
  2539. if Debounces.CanAttack == false then
  2540. Debounces.CanAttack = true
  2541. Debounces.NoIdl = false
  2542. Debounces.on = false
  2543. end
  2544. end
  2545. end
  2546. end)
  2547. ----------------------------------------------------
  2548. mouse.KeyDown:connect(function(key)
  2549. if key == "g" then
  2550. if Debounces.CanAttack == true then
  2551. Debounces.CanAttack = false
  2552. Debounces.NoIdl = true
  2553. Debounces.on = true
  2554. local shell = Instance.new("Part",torso)
  2555. shell.BrickColor = BrickColor.new("New Yeller")
  2556. shell.Anchored = true
  2557. shell.CanCollide = false
  2558. shell.Locked = true
  2559. shell.TopSurface = "SmoothNoOutlines"
  2560. shell.BottomSurface = "SmoothNoOutlines"
  2561. shell.Size = Vector3.new(1,1,1)
  2562. shellm = Instance.new("SpecialMesh",shell)
  2563. shellm.MeshType = "Sphere"
  2564. shellm.Scale = Vector3.new(1,1,1)
  2565. local shell2 = Instance.new("Part",torso)
  2566. shell2.BrickColor = BrickColor.new("New Yeller")
  2567. shell2.Anchored = true
  2568. shell2.CanCollide = false
  2569. shell2.Locked = true
  2570. shell2.TopSurface = "SmoothNoOutlines"
  2571. shell2.BottomSurface = "SmoothNoOutlines"
  2572. shell2.Size = Vector3.new(1,1,1)
  2573. shellm2 = Instance.new("SpecialMesh",shell2)
  2574. shellm2.MeshType = "Sphere"
  2575. shellm2.Scale = Vector3.new(1,1,1)
  2576.  
  2577. function FindNearestTorso(Position,Distance,SinglePlayer)
  2578. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2579. local List = {}
  2580. for i,v in pairs(workspace:GetChildren())do
  2581. if v:IsA("Model")then
  2582. if v:findFirstChild("Torso")then
  2583. if v ~= char then
  2584. if(v.Torso.Position -Position).magnitude <= Distance then
  2585. table.insert(List,v)
  2586. end
  2587. end
  2588. end
  2589. end
  2590. end
  2591. return List
  2592. end
  2593.  
  2594. Shell = function()
  2595. local X = Instance.new("Part",char)
  2596. local O = Instance.new("ObjectValue",X)
  2597. O.Name = "creator"
  2598. X.Locked = true
  2599. X.Name = "Shell"
  2600. X.Anchored = false
  2601. X.CanCollide = false
  2602. X.Transparency = 0
  2603. X.Reflectance = 0
  2604. X.BottomSurface = 0
  2605. X.TopSurface = 0
  2606. X.Shape = 0
  2607. local V = Instance.new("ObjectValue",X)
  2608. V.Value = char
  2609. V.Name = "creator"
  2610. X.BrickColor = BrickColor.new("New Yeller")
  2611. X.Size = Vector3.new(1,1,1)
  2612. --X.Material = "Neon"
  2613. local Z = Instance.new("SpecialMesh",X)
  2614. Z.MeshType = "Sphere"
  2615. Z.Scale = Vector3.new(1,1,1)
  2616. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2617. local bv = Instance.new("BodyVelocity",X)
  2618. bv.maxForce = Vector3.new(99999,99999,99999)
  2619. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2620. bv.velocity = root.CFrame.lookVector*65
  2621. Explode = X.Touched:connect(function(hit)
  2622. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2623. local cf = X.CFrame
  2624. bv:Destroy()
  2625. X.Anchored = true
  2626. Z:Remove()
  2627. Explode:disconnect()
  2628. X.Size = Vector3.new(3,3,3)
  2629. X.Touched:connect(function(hit) end)
  2630. X.CanCollide = false
  2631. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2632. if v:FindFirstChild('Humanoid') then
  2633. v.Humanoid:TakeDamage(math.random(6,12))
  2634. end
  2635. end
  2636. for i = 1, (40) do rs:wait()
  2637. X.Transparency = X.Transparency + (1/40)
  2638. X.Size = X.Size + Vector3.new(1,1,1)
  2639. X.CFrame = cf
  2640. end
  2641. X:Destroy()
  2642. end
  2643. end)
  2644. end
  2645. Shell()
  2646. for i = 1, 10 do
  2647. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2648. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2649. 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)
  2650. 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)
  2651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2653. 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)
  2654. 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)
  2655. if Debounces.on == false then break end
  2656. rs:wait()
  2657. end
  2658. Shell()
  2659. shell.Transparency = 1
  2660. for i = 1, 10 do
  2661. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2662. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2663. 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)
  2664. 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)
  2665. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2666. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2667. 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)
  2668. 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)
  2669. if Debounces.on == false then break end
  2670. rs:wait()
  2671. end
  2672. Shell()
  2673. shell.Transparency = 0
  2674. shell2.Transparency = 1
  2675. for i = 1, 10 do
  2676. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2677. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2678. 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)
  2679. 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)
  2680. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2681. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2682. 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)
  2683. 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)
  2684. if Debounces.on == false then break end
  2685. rs:wait()
  2686. end
  2687. Shell()
  2688. shell2.Transparency = 0
  2689. shell.Transparency = 1
  2690. for i = 1, 10 do
  2691. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2692. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2693. 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)
  2694. 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)
  2695. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2696. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2697. 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)
  2698. 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)
  2699. if Debounces.on == false then break end
  2700. rs:wait()
  2701. end
  2702. Shell()
  2703. shell.Transparency = 0
  2704. shell2.Transparency = 1
  2705. for i = 1, 10 do
  2706. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2707. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2708. 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)
  2709. 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)
  2710. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2711. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2712. 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)
  2713. 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)
  2714. if Debounces.on == false then break end
  2715. rs:wait()
  2716. end
  2717. Shell()
  2718. shell2.Transparency = 0
  2719. shell.Transparency = 1
  2720. for i = 1, 10 do
  2721. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2722. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2723. 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)
  2724. 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)
  2725. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2726. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2727. 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)
  2728. 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)
  2729. if Debounces.on == false then break end
  2730. rs:wait()
  2731. end
  2732. Shell()
  2733. shell.Transparency = 0
  2734. shell2.Transparency = 1
  2735. for i = 1, 10 do
  2736. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2737. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2738. 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)
  2739. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2740. 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)
  2741. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2742. 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)
  2743. 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)
  2744. if Debounces.on == false then break end
  2745. rs:wait()
  2746. end
  2747. Shell()
  2748. shell2.Transparency = 0
  2749. shell.Transparency = 1
  2750. for i = 1, 10 do
  2751. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2752. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2753. 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)
  2754. 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)
  2755. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2756. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2757. 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)
  2758. 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)
  2759. if Debounces.on == false then break end
  2760. rs:wait()
  2761. end
  2762. Shell()
  2763. shell.Transparency = 0
  2764. shell2.Transparency = 1
  2765. for i = 1, 10 do
  2766. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2767. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2769. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2770. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2771. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2772. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2773. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2774. if Debounces.on == false then break end
  2775. rs:wait()
  2776. end
  2777. Shell()
  2778. shell2.Transparency = 0
  2779. shell.Transparency = 1
  2780. for i = 1, 10 do
  2781. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2782. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2783. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2784. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2785. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2786. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2787. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2788. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2789. if Debounces.on == false then break end
  2790. rs:wait()
  2791. end
  2792. Shell()
  2793. shell.Transparency = 0
  2794. shell2.Transparency = 1
  2795. for i = 1, 10 do
  2796. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2797. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2798. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2799. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2800. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2801. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2802. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2803. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2804. if Debounces.on == false then break end
  2805. rs:wait()
  2806. end
  2807. Shell()
  2808. shell2.Transparency = 0
  2809. shell.Transparency = 1
  2810. for i = 1, 10 do
  2811. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2812. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2813. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2814. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2815. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2816. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2817. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2818. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2819. if Debounces.on == false then break end
  2820. rs:wait()
  2821. end
  2822. Shell()
  2823. shell.Transparency = 0
  2824. shell2.Transparency = 1
  2825. for i = 1, 10 do
  2826. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2827. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2828. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2829. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2830. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2831. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2832. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2833. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2834. if Debounces.on == false then break end
  2835. rs:wait()
  2836. end
  2837. shell.Transparency = 1
  2838. if Debounces.CanAttack == false then
  2839. Debounces.CanAttack = true
  2840. Debounces.NoIdl = false
  2841. Debounces.on = false
  2842. end
  2843. end
  2844. end
  2845. end)
  2846. ----------------------------------------------------
  2847. Search = false
  2848. mouse.KeyDown:connect(function(key)
  2849. if key == "n" then
  2850. if Search == false then
  2851. Search = true
  2852. for i,v in pairs(game.Players:getPlayers()) do
  2853. if v.Name~=char.Name then
  2854. for j,k in pairs(v.Character:GetChildren()) do
  2855. if k:IsA("BasePart") and k.Transparency >= 1 then
  2856. bawx=Instance.new("SelectionBox",cam)
  2857. bawx.Color = BrickColor.new("Bright red")
  2858. bawx.Transparency = .5
  2859. bawx.Adornee = k
  2860. end
  2861. end
  2862. end
  2863. end
  2864. elseif Search == true then
  2865. Search = false
  2866. for i, v in pairs(cam:GetChildren()) do
  2867. if v:IsA("SelectionBox") then
  2868. v:Destroy()
  2869. end
  2870. end
  2871. end
  2872. end
  2873. end)
  2874. ----------------------------------------------------
  2875. Grab = false
  2876. mouse.KeyDown:connect(function(key)
  2877. if key == "z" then
  2878. Debounces.on = true
  2879. Debounces.NoIdl = true
  2880. Debounces.ks = true
  2881. if Grab == false then
  2882. gp = nil
  2883. for i = 1, 20 do
  2884. 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)
  2885. 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)
  2886. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2887. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2888. 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)
  2889. 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)
  2890. if Debounces.on == false then break end
  2891. rs:wait()
  2892. end
  2893. con1=larm.Touched:connect(function(hit) -- this is grab
  2894. ht = hit.Parent
  2895. hum1=ht:FindFirstChild('Humanoid')
  2896. if hum1 ~= nil then
  2897. if Debounces.ks==true then
  2898. z = Instance.new("Sound",hed)
  2899. z.SoundId = "rbxassetid://169380525"
  2900. z.Volume = 1
  2901. z:Play()
  2902. Debounces.ks=false
  2903. end
  2904. hum1.PlatformStand=true
  2905. gp = ht
  2906. Grab = true
  2907. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  2908. asd.Parent = larm
  2909. asd.Name = "asd"
  2910. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  2911. --[[elseif hum1 == nil then
  2912. con1:disconnect()
  2913. wait() return]]--
  2914. end
  2915. end)
  2916. for i = 1, 20 do
  2917. 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)
  2918. 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)
  2919. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2920. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2921. 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)
  2922. 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)
  2923. if Debounces.on == false then break end
  2924. rs:wait()
  2925. end
  2926. if hum1 == nil then
  2927. Debounces.on = false
  2928. Debounces.NoIdl = false
  2929. end
  2930. con1:disconnect()
  2931. elseif Grab == true then
  2932. Grab = false
  2933. Punch()
  2934. z = Instance.new("Sound",hed)
  2935. z.SoundId = "rbxassetid://169380525"
  2936. z.Pitch = ptz[math.random(1,#ptz)]
  2937. z.Volume = 1
  2938. z:Play()
  2939. for i = 1, 10 do
  2940. 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)
  2941. 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)
  2942. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2943. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2944. 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)
  2945. 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)
  2946. if Debounces.on == false then break end
  2947. rs:wait()
  2948. end
  2949. Punch()
  2950. z = Instance.new("Sound",hed)
  2951. z.SoundId = "rbxassetid://169380525"
  2952. z.Pitch = ptz[math.random(1,#ptz)]
  2953. z.Volume = 1
  2954. z:Play()
  2955. for i = 1, 10 do
  2956. 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)
  2957. 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)
  2958. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2959. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2960. 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)
  2961. 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)
  2962. if Debounces.on == false then break end
  2963. rs:wait()
  2964. end
  2965. Punch()
  2966. z = Instance.new("Sound",hed)
  2967. z.SoundId = "rbxassetid://169380525"
  2968. z.Pitch = ptz[math.random(1,#ptz)]
  2969. z.Volume = 1
  2970. z:Play()
  2971. for i = 1, 10 do
  2972. 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)
  2973. 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)
  2974. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  2975. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  2976. 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)
  2977. 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)
  2978. if Debounces.on == false then break end
  2979. rs:wait()
  2980. end
  2981. Punch()
  2982. z = Instance.new("Sound",hed)
  2983. z.SoundId = "rbxassetid://169380525"
  2984. z.Pitch = ptz[math.random(1,#ptz)]
  2985. z.Volume = 1
  2986. z:Play()
  2987. for i = 1, 10 do
  2988. 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)
  2989. 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)
  2990. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  2991. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  2992. 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)
  2993. 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)
  2994. if Debounces.on == false then break end
  2995. rs:wait()
  2996. end
  2997. Punch()
  2998. z = Instance.new("Sound",hed)
  2999. z.SoundId = "rbxassetid://169380525"
  3000. z.Pitch = ptz[math.random(1,#ptz)]
  3001. z.Volume = 1
  3002. z:Play()
  3003. for i = 1, 10 do
  3004. 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)
  3005. 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)
  3006. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3007. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3008. 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)
  3009. 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)
  3010. if Debounces.on == false then break end
  3011. rs:wait()
  3012. end
  3013. Punch()
  3014. z = Instance.new("Sound",hed)
  3015. z.SoundId = "rbxassetid://169380525"
  3016. z.Pitch = ptz[math.random(1,#ptz)]
  3017. z.Volume = 1
  3018. z:Play()
  3019. for i = 1, 10 do
  3020. 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)
  3021. 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)
  3022. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3023. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3024. 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)
  3025. 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)
  3026. if Debounces.on == false then break end
  3027. rs:wait()
  3028. end
  3029. Punch()
  3030. z = Instance.new("Sound",hed)
  3031. z.SoundId = "rbxassetid://169380525"
  3032. z.Pitch = ptz[math.random(1,#ptz)]
  3033. z.Volume = 1
  3034. z:Play()
  3035. for i = 1, 10 do
  3036. 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)
  3037. 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)
  3038. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3039. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3040. 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)
  3041. 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)
  3042. if Debounces.on == false then break end
  3043. rs:wait()
  3044. end
  3045. Punch()
  3046. z = Instance.new("Sound",hed)
  3047. z.SoundId = "rbxassetid://169380525"
  3048. z.Pitch = ptz[math.random(1,#ptz)]
  3049. z.Volume = 1
  3050. z:Play()
  3051. for i = 1, 10 do
  3052. 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)
  3053. 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)
  3054. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3055. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3056. 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)
  3057. 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)
  3058. if Debounces.on == false then break end
  3059. rs:wait()
  3060. end
  3061. Punch()
  3062. z = Instance.new("Sound",hed)
  3063. z.SoundId = "rbxassetid://169380525"
  3064. z.Pitch = ptz[math.random(1,#ptz)]
  3065. z.Volume = 1
  3066. z:Play()
  3067. for i = 1, 10 do
  3068. 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)
  3069. 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)
  3070. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3071. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3072. 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)
  3073. 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)
  3074. if Debounces.on == false then break end
  3075. rs:wait()
  3076. end
  3077. Punch()
  3078. z = Instance.new("Sound",hed)
  3079. z.SoundId = "rbxassetid://169380525"
  3080. z.Pitch = ptz[math.random(1,#ptz)]
  3081. z.Volume = 1
  3082. z:Play()
  3083. for i = 1, 10 do
  3084. 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)
  3085. 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)
  3086. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3087. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3088. 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)
  3089. 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)
  3090. if Debounces.on == false then break end
  3091. rs:wait()
  3092. end
  3093. Punch()
  3094. z = Instance.new("Sound",hed)
  3095. z.SoundId = "rbxassetid://169380525"
  3096. z.Pitch = ptz[math.random(1,#ptz)]
  3097. z.Volume = 1
  3098. z:Play()
  3099. for i = 1, 10 do
  3100. 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)
  3101. 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)
  3102. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3103. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3104. 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)
  3105. 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)
  3106. if Debounces.on == false then break end
  3107. rs:wait()
  3108. end
  3109. Punch()
  3110. z = Instance.new("Sound",hed)
  3111. z.SoundId = "rbxassetid://169380525"
  3112. z.Pitch = ptz[math.random(1,#ptz)]
  3113. z.Volume = 1
  3114. z:Play()
  3115. for i = 1, 10 do
  3116. 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)
  3117. 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)
  3118. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3119. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3120. 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)
  3121. 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)
  3122. if Debounces.on == false then break end
  3123. rs:wait()
  3124. end
  3125. con1:disconnect()
  3126. Debounces.on = false
  3127. Debounces.NoIdl = false
  3128. if gp ~= nil then
  3129. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3130. for i,v in pairs(larm:GetChildren()) do
  3131. if v.Name == "asd" and v:IsA("Weld") then
  3132. v:Remove()
  3133. end
  3134. end
  3135. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3136. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3137. bv.P = 125000
  3138. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3139. hum1=nil
  3140. ht=nil
  3141. Debounces.on = false
  3142. Debounces.NoIdl = false
  3143. elseif ht == nil then wait()
  3144. Grab = false
  3145. Debounces.on = false
  3146. Debounces.NoIdl = false
  3147. end
  3148. end
  3149. end
  3150. end)
  3151. ----------------------------------------------------
  3152. mouse.KeyDown:connect(function(key)
  3153. if string.byte(key) == 52 then
  3154. char.Humanoid.WalkSpeed = 60
  3155. end
  3156. end)
  3157. mouse.KeyUp:connect(function(key)
  3158. if string.byte(key) == 52 then
  3159. char.Humanoid.WalkSpeed = 8
  3160. end
  3161. end)
  3162. -------------------------------
  3163. local animpose = "Idle"
  3164. local lastanimpose = "Idle"
  3165. local sine = 0
  3166. local change = 1
  3167. local val = 0
  3168. local ffing = false
  3169. -------------------------------
  3170. game:GetService("RunService").RenderStepped:connect(function()
  3171. --[[if char.Humanoid.Jump == true then
  3172. jump = true
  3173. else
  3174. jump = false
  3175. end]]
  3176. char.Humanoid.FreeFalling:connect(function(f)
  3177. if f then
  3178. ffing = true
  3179. else
  3180. ffing = false
  3181. end
  3182. end)
  3183. sine = sine + change
  3184. if jumpn == true then
  3185. animpose = "Jumping"
  3186. elseif ffing == true then
  3187. animpose = "Freefalling"
  3188. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3189. animpose = "Idle"
  3190. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3191. animpose = "Walking"
  3192. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3193. animpose = "Running"
  3194. end
  3195. if animpose ~= lastanimpose then
  3196. sine = 0
  3197. if Debounces.NoIdl == false then
  3198. if animpose == "Idle" then
  3199. for i = 1, 2 do
  3200. 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)
  3201. 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)
  3202. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3203. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3204. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3205. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3206. end
  3207. elseif animpose == "Walking" then
  3208. for i = 1, 2 do
  3209. 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)
  3210. 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)
  3211. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3212. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3213. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3214. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3215. end
  3216. elseif animpose == "Running" then
  3217. for i = 1, 2 do
  3218. 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)
  3219. 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)
  3220. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3221. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3222. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3223. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3224. wait()
  3225. end
  3226. end
  3227. else
  3228. end
  3229. end
  3230. lastanimpose = animpose
  3231. if Debounces.NoIdl == false then
  3232. if animpose == "Idle" then
  3233. change = 0.5
  3234. 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)
  3235. 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)
  3236. 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)
  3237. 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)
  3238. 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)
  3239. 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)
  3240. elseif animpose == "Walking" then
  3241. change = 1
  3242. 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)
  3243. 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)
  3244. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3245. 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)
  3246. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3247. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3248. elseif animpose == "Running" then
  3249. change = 1
  3250. 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)
  3251. 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)
  3252. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3253. 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)
  3254. 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)
  3255. 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)
  3256. end
  3257. end
  3258. end)
  3259.  
  3260. hum.MaxHealth = 9001
  3261. wait(3)
  3262. hum.Health = 9001
  3263.  
  3264. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3265. --[[Part0 = Vector3 (Start pos)
  3266. Part1 = Vector3 (End pos)
  3267. Times = number (Amount of lightning parts)
  3268. Offset = number (Offset)
  3269. Color = color (brickcolor value)
  3270. Thickness = number (thickness)
  3271. Trans = number (transparency)
  3272. ]]--
  3273. local magz = (Part0 - Part1).magnitude
  3274. local curpos = Part0
  3275. local trz = {-Offset,Offset}
  3276. for i=1,Times do
  3277. local li = Instance.new("Part", torso)
  3278. li.Name = "Lightning"
  3279. li.TopSurface =0
  3280. li.Material = "Neon"
  3281. li.BottomSurface = 0
  3282. li.Anchored = true
  3283. li.Locked = true
  3284. li.Transparency = Trans or 0.4
  3285. li.BrickColor = BrickColor.new(Color)
  3286. li.formFactor = "Custom"
  3287. li.CanCollide = false
  3288. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3289. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3290. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3291. if Times == i then
  3292. local magz2 = (curpos - Part1).magnitude
  3293. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3294. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3295. else
  3296. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3297. end
  3298. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3299. game.Debris:AddItem(li,.1)
  3300. end
  3301. end
  3302.  
  3303. BodyParts = {} -- Parts to emit lightning effects from
  3304. for _, v in pairs(char:GetChildren()) do
  3305. if v:IsA("Part") then
  3306. table.insert(BodyParts, v)
  3307. end
  3308. end
  3309.  
  3310. Bounding = {} -- Calculate the bounding boxes
  3311. for _, v in pairs(BodyParts) do
  3312. local temp = {X=nil, Y=nil, Z=nil}
  3313. temp.X = v.Size.X/2 * 10
  3314. temp.Y = v.Size.Y/2 * 10
  3315. temp.Z = v.Size.Z/2 * 10
  3316. Bounding[v.Name] = temp
  3317. --table.insert(Bounding, v.Name, temp)
  3318. end
  3319.  
  3320. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  3321. local Body1 = BodyParts[math.random(#BodyParts)]
  3322. local Body2 = BodyParts[math.random(#BodyParts)]
  3323. local Pos1 = Vector3.new(
  3324. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3325. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3326. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3327. )
  3328. local Pos2 = Vector3.new(
  3329. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3330. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3331. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3332. )
  3333. local SPos1 = Body1.Position + Pos1
  3334. local SPos2 = Body2.Position + Pos2
  3335. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  3336. end
  3337. Player=game:GetService("Players").LocalPlayer
  3338. Character=Player.Character
  3339. PlayerGui=Player.PlayerGui
  3340. Backpack=Player.Backpack
  3341. Torso=Character.Torso
  3342. Head=Character.Head
  3343. Humanoid=Character.Humanoid
  3344. LeftArm=Character["Left Arm"]
  3345. LeftLeg=Character["Left Leg"]
  3346. RightArm=Character["Right Arm"]
  3347. RightLeg=Character["Right Leg"]
  3348. cam=game.Workspace.CurrentCamera
  3349. LS=Torso["Left Shoulder"]
  3350. LH=Torso["Left Hip"]
  3351. RS=Torso["Right Shoulder"]
  3352. RH=Torso["Right Hip"]
  3353. Face = Head.face
  3354. Neck=Torso.Neck
  3355. it=Instance.new
  3356. attacktype=1
  3357. vt=Vector3.new
  3358. cf=CFrame.new
  3359. euler=CFrame.fromEulerAnglesXYZ
  3360. angles=CFrame.Angles
  3361. cloaked=false
  3362. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3363. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3364. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3365. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3366. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3367. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3368. RootPart=Character.HumanoidRootPart
  3369. RootJoint=RootPart.RootJoint
  3370. RootCF=euler(-1.57,0,3.14)
  3371. attack = false
  3372. bounce=false
  3373. cooldown=false
  3374. deeznuts=false
  3375. attackdebounce = false
  3376. deb=false
  3377. equipped=true
  3378. hand=false
  3379. MMouse=nil
  3380. combo=0
  3381. mana=0
  3382. trispeed=.2
  3383. attackmode='none'
  3384. local idle=0
  3385. local Anim="Idle"
  3386. local Effects={}
  3387. local gun=false
  3388. local shoot=false
  3389. player=nil
  3390. mana=0
  3391. cam = workspace.CurrentCamera
  3392. ZTarget = nil
  3393. RocketTarget = nil
  3394. local m = Instance.new("Model",Character)
  3395. m.Name = "WeaponModel"
  3396.  
  3397. mouse=Player:GetMouse()
  3398. --save shoulders
  3399. RSH, LSH=nil, nil
  3400. --welds
  3401. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3402. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3403. LH=Torso["Left Hip"]
  3404. RH=Torso["Right Hip"]
  3405. TorsoColor=Torso.BrickColor
  3406. function NoOutline(Part)
  3407. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3408. end
  3409. player=Player
  3410. ch=Character
  3411. RSH=ch.Torso["Right Shoulder"]
  3412. LSH=ch.Torso["Left Shoulder"]
  3413. --
  3414. RSH.Parent=nil
  3415. LSH.Parent=nil
  3416. --
  3417. RW.Name="Right Shoulder"
  3418. RW.Part0=ch.Torso
  3419. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3420. RW.C1=cf(0, 0.5, 0)
  3421. RW.Part1=ch["Right Arm"]
  3422. RW.Parent=ch.Torso
  3423. --
  3424. LW.Name="Left Shoulder"
  3425. LW.Part0=ch.Torso
  3426. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3427. LW.C1=cf(0, 0.5, 0)
  3428. LW.Part1=ch["Left Arm"]
  3429. LW.Parent=ch.Torso
  3430.  
  3431. function swait(num)
  3432. if num==0 or num==nil then
  3433. game:service'RunService'.Heartbeat:wait(0)
  3434. else
  3435. for i=0,num do
  3436. game:service'RunService'.Heartbeat:wait(0)
  3437. end
  3438. end
  3439. end
  3440.  
  3441. function nooutline(part)
  3442. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3443. end
  3444.  
  3445. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3446. local fp=it("Part")
  3447. fp.formFactor=formfactor
  3448. fp.Parent=parent
  3449. fp.Reflectance=reflectance
  3450. fp.Transparency=transparency
  3451. fp.CanCollide=false
  3452. fp.Locked=true
  3453. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3454. fp.Name=name
  3455. fp.Size=size
  3456. fp.Position=Character.Torso.Position
  3457. nooutline(fp)
  3458. fp.Material=material
  3459. fp:BreakJoints()
  3460. return fp
  3461. end
  3462.  
  3463. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3464. local fp = it("Part")
  3465. fp.formFactor = formfactor
  3466. fp.Parent = parent
  3467. fp.Reflectance = reflectance
  3468. fp.Transparency = transparency
  3469. fp.CanCollide = false
  3470. fp.Locked=true
  3471. fp.BrickColor = brickcolor
  3472. fp.Name = name
  3473. fp.Size = size
  3474. fp.Position = EffectPart.Position
  3475. NoOutline(fp)
  3476. fp.Material="Neon"
  3477. fp:BreakJoints()
  3478. return fp
  3479. end
  3480.  
  3481. function wweld(parent,part0,part1,c0)
  3482. local weld=it("Weld")
  3483. weld.Parent=parent
  3484. weld.Part0=part0
  3485. weld.Part1=part1
  3486. weld.C0=c0
  3487. return weld
  3488. end
  3489.  
  3490. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3491. local mesh=it(Mesh)
  3492. mesh.Parent=part
  3493. if Mesh=="SpecialMesh" then
  3494. mesh.MeshType=meshtype
  3495. mesh.MeshId=meshid
  3496. end
  3497. mesh.Offset=offset
  3498. mesh.Scale=scale
  3499. return mesh
  3500. end
  3501.  
  3502. function decal(part,face,texture,transparency,shiny,specular,name)
  3503. local d=it("Decal",part)
  3504. d.Shiny=shiny
  3505. d.Face=face
  3506. d.Specular=specular
  3507. d.Transparency=transparency
  3508. d.Texture=texture
  3509. d.Name=name
  3510. return d
  3511. end
  3512.  
  3513. function weld(parent,part0,part1,c0,c1)
  3514. local weld=it("Weld")
  3515. weld.Parent=parent
  3516. weld.Part0=part0
  3517. weld.Part1=part1
  3518. weld.C0=c0
  3519. weld.C1=c1
  3520. return weld
  3521. end
  3522.  
  3523.  
  3524. local function CFrameFromTopBack(at, top, back)
  3525. local right = top:Cross(back)
  3526. return CFrame.new(at.x, at.y, at.z,
  3527. right.x, top.x, back.x,
  3528. right.y, top.y, back.y,
  3529. right.z, top.z, back.z)
  3530. end
  3531.  
  3532. function Triangle(a, b, c)
  3533. local edg1 = (c-a):Dot((b-a).unit)
  3534. local edg2 = (a-b):Dot((c-b).unit)
  3535. local edg3 = (b-c):Dot((a-c).unit)
  3536. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3537. a, b, c = a, b, c
  3538. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3539. a, b, c = b, c, a
  3540. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3541. a, b, c = c, a, b
  3542. else
  3543. assert(false, "unreachable")
  3544. end
  3545.  
  3546. local len1 = (c-a):Dot((b-a).unit)
  3547. local len2 = (b-a).magnitude - len1
  3548. local width = (a + (b-a).unit*len1 - c).magnitude
  3549.  
  3550. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3551.  
  3552. local list = {}
  3553.  
  3554. local TrailColor = ("Really black")
  3555.  
  3556. if len1 > 0.01 then
  3557. local w1 = Instance.new('WedgePart', m)
  3558. game:GetService("Debris"):AddItem(w1,5)
  3559. w1.Material = "Neon"
  3560. w1.FormFactor = 'Custom'
  3561. w1.BrickColor = BrickColor.new(TrailColor)
  3562. w1.Transparency = 0
  3563. w1.Reflectance = 0
  3564. w1.Material = "Neon"
  3565. w1.CanCollide = false
  3566. NoOutline(w1)
  3567. local sz = Vector3.new(0.2, width, len1)
  3568. w1.Size = sz
  3569. local sp = Instance.new("SpecialMesh",w1)
  3570. sp.MeshType = "Wedge"
  3571. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3572. w1:BreakJoints()
  3573. w1.Anchored = true
  3574. w1.Parent = workspace
  3575. w1.Transparency = 0.7
  3576. table.insert(Effects,{w1,"Disappear",.01})
  3577. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3578. table.insert(list,w1)
  3579. end
  3580.  
  3581. if len2 > 0.01 then
  3582. local w2 = Instance.new('WedgePart', m)
  3583. game:GetService("Debris"):AddItem(w2,5)
  3584. w2.Material = "Neon"
  3585. w2.FormFactor = 'Custom'
  3586. w2.BrickColor = BrickColor.new(TrailColor)
  3587. w2.Transparency = 0
  3588. w2.Reflectance = 0
  3589. w2.Material = "Neon"
  3590. w2.CanCollide = false
  3591. NoOutline(w2)
  3592. local sz = Vector3.new(0.2, width, len2)
  3593. w2.Size = sz
  3594. local sp = Instance.new("SpecialMesh",w2)
  3595. sp.MeshType = "Wedge"
  3596. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3597. w2:BreakJoints()
  3598. w2.Anchored = true
  3599. w2.Parent = workspace
  3600. w2.Transparency = 0.7
  3601. table.insert(Effects,{w2,"Disappear",.01})
  3602. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3603. table.insert(list,w2)
  3604. end
  3605. return unpack(list)
  3606. end
  3607.  
  3608.  
  3609. so = function(id,par,vol,pit)
  3610. coroutine.resume(coroutine.create(function()
  3611. local sou = Instance.new("Sound",par or workspace)
  3612. sou.Volume=vol
  3613. sou.Pitch=pit or 1
  3614. sou.SoundId=id
  3615. swait()
  3616. sou:play()
  3617. game:GetService("Debris"):AddItem(sou,6)
  3618. end))
  3619. end
  3620.  
  3621. function clerp(a,b,t)
  3622. local qa = {QuaternionFromCFrame(a)}
  3623. local qb = {QuaternionFromCFrame(b)}
  3624. local ax, ay, az = a.x, a.y, a.z
  3625. local bx, by, bz = b.x, b.y, b.z
  3626. local _t = 1-t
  3627. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3628. end
  3629.  
  3630. function QuaternionFromCFrame(cf)
  3631. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3632. local trace = m00 + m11 + m22
  3633. if trace > 0 then
  3634. local s = math.sqrt(1 + trace)
  3635. local recip = 0.5/s
  3636. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3637. else
  3638. local i = 0
  3639. if m11 > m00 then
  3640. i = 1
  3641. end
  3642. if m22 > (i == 0 and m00 or m11) then
  3643. i = 2
  3644. end
  3645. if i == 0 then
  3646. local s = math.sqrt(m00-m11-m22+1)
  3647. local recip = 0.5/s
  3648. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3649. elseif i == 1 then
  3650. local s = math.sqrt(m11-m22-m00+1)
  3651. local recip = 0.5/s
  3652. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3653. elseif i == 2 then
  3654. local s = math.sqrt(m22-m00-m11+1)
  3655. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3656. end
  3657. end
  3658. end
  3659.  
  3660. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3661. local xs, ys, zs = x + x, y + y, z + z
  3662. local wx, wy, wz = w*xs, w*ys, w*zs
  3663. local xx = x*xs
  3664. local xy = x*ys
  3665. local xz = x*zs
  3666. local yy = y*ys
  3667. local yz = y*zs
  3668. local zz = z*zs
  3669. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  3670. end
  3671.  
  3672. function QuaternionSlerp(a, b, t)
  3673. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3674. local startInterp, finishInterp;
  3675. if cosTheta >= 0.0001 then
  3676. if (1 - cosTheta) > 0.0001 then
  3677. local theta = math.acos(cosTheta)
  3678. local invSinTheta = 1/math.sin(theta)
  3679. startInterp = math.sin((1-t)*theta)*invSinTheta
  3680. finishInterp = math.sin(t*theta)*invSinTheta
  3681. else
  3682. startInterp = 1-t
  3683. finishInterp = t
  3684. end
  3685. else
  3686. if (1+cosTheta) > 0.0001 then
  3687. local theta = math.acos(-cosTheta)
  3688. local invSinTheta = 1/math.sin(theta)
  3689. startInterp = math.sin((t-1)*theta)*invSinTheta
  3690. finishInterp = math.sin(t*theta)*invSinTheta
  3691. else
  3692. startInterp = t-1
  3693. finishInterp = t
  3694. end
  3695. end
  3696. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3697. end
  3698.  
  3699. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3700. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3701. end
  3702.  
  3703. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3704. if hit.Parent==nil then
  3705. return
  3706. end
  3707. local h=hit.Parent:FindFirstChild("Humanoid")
  3708. for _,v in pairs(hit.Parent:children()) do
  3709. if v:IsA("Humanoid") then
  3710. h=v
  3711. end
  3712. end
  3713. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3714. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3715. end
  3716. if hit.Parent.className=="Hat" then
  3717. hit=hit.Parent.Parent:findFirstChild("Head")
  3718. end
  3719. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3720. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3721. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3722. return
  3723. end]]
  3724. -- hs(hit,1.2)
  3725. local c=Instance.new("ObjectValue")
  3726. c.Name="creator"
  3727. c.Value=game:service("Players").LocalPlayer
  3728. c.Parent=h
  3729. game:GetService("Debris"):AddItem(c,.5)
  3730. local Damage=math.random(minim,maxim)
  3731. -- h:TakeDamage(Damage)
  3732. local blocked=false
  3733. local block=hit.Parent:findFirstChild("Block")
  3734. if block~=nil then
  3735. print(block.className)
  3736. if block.className=="NumberValue" then
  3737. if block.Value>0 then
  3738. blocked=true
  3739. if decreaseblock==nil then
  3740. block.Value=block.Value-1
  3741. end
  3742. end
  3743. end
  3744. if block.className=="IntValue" then
  3745. if block.Value>0 then
  3746. blocked=true
  3747. if decreaseblock~=nil then
  3748. block.Value=block.Value-1
  3749. end
  3750. end
  3751. end
  3752. end
  3753. if blocked==false then
  3754. -- h:TakeDamage(Damage)
  3755. h.Health=h.Health-Damage
  3756. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  3757. else
  3758. h.Health=h.Health-(Damage/2)
  3759. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  3760. end
  3761. if Type=="Knockdown" then
  3762. local hum=hit.Parent.Humanoid
  3763. hum.PlatformStand=true
  3764. coroutine.resume(coroutine.create(function(HHumanoid)
  3765. swait(1)
  3766. HHumanoid.PlatformStand=false
  3767. end),hum)
  3768. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3769. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3770. local bodvol=Instance.new("BodyVelocity")
  3771. bodvol.velocity=angle*knockback
  3772. bodvol.P=5000
  3773. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3774. bodvol.Parent=hit
  3775. local rl=Instance.new("BodyAngularVelocity")
  3776. rl.P=3000
  3777. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3778. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3779. rl.Parent=hit
  3780. game:GetService("Debris"):AddItem(bodvol,.5)
  3781. game:GetService("Debris"):AddItem(rl,.5)
  3782. elseif Type=="Normal" then
  3783. local vp=Instance.new("BodyVelocity")
  3784. vp.P=500
  3785. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3786. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3787. if KnockbackType==1 then
  3788. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  3789. elseif KnockbackType==2 then
  3790. vp.velocity=Property.CFrame.lookVector*knockback
  3791. end
  3792. if knockback>0 then
  3793. vp.Parent=hit.Parent.Torso
  3794. end
  3795. game:GetService("Debris"):AddItem(vp,.5)
  3796. elseif Type=="Up" then
  3797. local bodyVelocity=Instance.new("BodyVelocity")
  3798. bodyVelocity.velocity=vt(0,60,0)
  3799. bodyVelocity.P=5000
  3800. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3801. bodyVelocity.Parent=hit
  3802. game:GetService("Debris"):AddItem(bodyVelocity,1)
  3803. local rl=Instance.new("BodyAngularVelocity")
  3804. rl.P=3000
  3805. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3806. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  3807. rl.Parent=hit
  3808. game:GetService("Debris"):AddItem(rl,.5)
  3809. elseif Type=="Snare" then
  3810. local bp=Instance.new("BodyPosition")
  3811. bp.P=2000
  3812. bp.D=100
  3813. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3814. bp.position=hit.Parent.Torso.Position
  3815. bp.Parent=hit.Parent.Torso
  3816. game:GetService("Debris"):AddItem(bp,1)
  3817. elseif Type=="Target" then
  3818. local Targetting = false
  3819. if Targetting==false then
  3820. ZTarget=hit.Parent.Torso
  3821. coroutine.resume(coroutine.create(function(Part)
  3822. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3823. swait(5)
  3824. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  3825. end),ZTarget)
  3826. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  3827. local targetgui=Instance.new("BillboardGui")
  3828. targetgui.Parent=ZTarget
  3829. targetgui.Size=UDim2.new(10,100,10,100)
  3830. local targ=Instance.new("ImageLabel")
  3831. targ.Parent=targetgui
  3832. targ.BackgroundTransparency=1
  3833. targ.Image="rbxassetid://4834067"
  3834. targ.Size=UDim2.new(1,0,1,0)
  3835. cam.CameraType="Scriptable"
  3836. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3837. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3838. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3839. Targetting=true
  3840. RocketTarget=ZTarget
  3841. for i=1,Property do
  3842. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  3843. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  3844. swait()
  3845. end
  3846. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  3847. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  3848. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  3849. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  3850. end
  3851. Targetting=false
  3852. RocketTarget=nil
  3853. targetgui.Parent=nil
  3854. cam.CameraType="Custom"
  3855. end
  3856. end
  3857. local debounce=Instance.new("BoolValue")
  3858. debounce.Name="DebounceHit"
  3859. debounce.Parent=hit.Parent
  3860. debounce.Value=true
  3861. game:GetService("Debris"):AddItem(debounce,Delay)
  3862. c=Instance.new("ObjectValue")
  3863. c.Name="creator"
  3864. c.Value=Player
  3865. c.Parent=h
  3866. game:GetService("Debris"):AddItem(c,.5)
  3867. end
  3868. end
  3869.  
  3870.  
  3871. function ShowDamage(Pos, Text, Time, Color)
  3872. local Rate = (1 / 30)
  3873. local Pos = (Pos or Vector3.new(0, 0, 0))
  3874. local Text = (Text or "")
  3875. local Time = (Time or 2)
  3876. local Color = (Color or Color3.new(1, 0, 0))
  3877. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  3878. EffectPart.Anchored = true
  3879. local BillboardGui = Instance.new("BillboardGui")
  3880. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  3881. BillboardGui.Adornee = EffectPart
  3882. local TextLabel = Instance.new("TextLabel")
  3883. TextLabel.BackgroundTransparency = 1
  3884. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  3885. TextLabel.Text = Text
  3886. TextLabel.TextColor3 = Color
  3887. TextLabel.TextScaled = true
  3888. TextLabel.Font = Enum.Font.ArialBold
  3889. TextLabel.Parent = BillboardGui
  3890. BillboardGui.Parent = EffectPart
  3891. game.Debris:AddItem(EffectPart, (Time + 0.1))
  3892. EffectPart.Parent = game:GetService("Workspace")
  3893. Delay(0, function()
  3894. local Frames = (Time / Rate)
  3895. for Frame = 1, Frames do
  3896. wait(Rate)
  3897. local Percent = (Frame / Frames)
  3898. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3899. TextLabel.TextTransparency = Percent
  3900. end
  3901. if EffectPart and EffectPart.Parent then
  3902. EffectPart:Destroy()
  3903. end
  3904. end)
  3905. end
  3906.  
  3907. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  3908. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  3909. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  3910. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  3911. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  3912. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  3913. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  3914. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  3915. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  3916. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  3917. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  3918. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  3919. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  3920. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  3921. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  3922. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  3923. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  3924. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  3925. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  3926. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  3927. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  3928. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(1, 1.20000005, 1))
  3929. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  3930. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  3931. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  3932. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  3933. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  3934. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  3935. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  3936. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  3937. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  3938. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  3939. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  3940. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  3941. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  3942. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  3943. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  3944. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  3945. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  3946. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  3947. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  3948. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  3949. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  3950. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  3951. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3952. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  3953. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  3954. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3955. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  3956. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  3957. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3958. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  3959. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  3960. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3961. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  3962. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  3963. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3964. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  3965. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  3966. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3967. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  3968. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  3969. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  3970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  3971. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  3972. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  3973. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  3974. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  3975. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  3976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  3977. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  3978. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  3979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  3980. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  3981. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  3982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  3983. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  3984. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  3985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3986. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  3987. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  3988. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  3989. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  3990. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3991. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  3992. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  3993. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3994. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  3995.  
  3996. DarkRiftF=function(par)
  3997. while lol == true do
  3998. wait()
  3999. local PWN={}
  4000. for _,v in pairs(game.Workspace:children()) do
  4001. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  4002. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  4003. table.insert(PWN,v.Torso)
  4004. end
  4005. end
  4006. end
  4007. for _,t in pairs(PWN) do
  4008. local targ=par.Position-t.Position
  4009. local Mag=targ.magnitude
  4010. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  4011. if Mag<=30 then
  4012. t.Parent.Humanoid:TakeDamage(.5)
  4013. local rl=Instance.new("BodyAngularVelocity")
  4014. rl.P=3000
  4015. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  4016. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  4017. rl.Parent=t
  4018. game:GetService("Debris"):AddItem(rl,.1)
  4019. end
  4020. if Mag<=20 then
  4021. t.Parent.Humanoid:TakeDamage(.1)
  4022. else
  4023. local vl=Instance.new("BodyVelocity")
  4024. vl.P=3000
  4025. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  4026. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  4027. vl.Parent=t
  4028. game:GetService("Debris"):AddItem(vl,.1)
  4029. end
  4030. end
  4031. end
  4032. wait(.08)
  4033. end
  4034. end
  4035.  
  4036. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  4037. local msh1 = Instance.new("BlockMesh")
  4038. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  4039. local S=Instance.new("Part")
  4040. S.Name="Effect"
  4041. S.Material="Neon"
  4042. S.formFactor=0
  4043. S.Size=Vector3.new(x1,y1,z1)
  4044. S.BrickColor=color
  4045. S.Reflectance = 0
  4046. S.TopSurface=0
  4047. S.BottomSurface=0
  4048. S.Transparency=0
  4049. S.Anchored=false
  4050. S.CanCollide=false
  4051. S.CFrame=part.CFrame
  4052. S.Parent=game.Workspace
  4053. msh1.Parent = S
  4054. local W=Instance.new("Weld")
  4055. W.Parent=S
  4056. W.Part0=S
  4057. W.Part1=part
  4058. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4059. W.Parent=nil
  4060. S.Anchored=true
  4061. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  4062. end
  4063.  
  4064. local function BlackHole(parent,cframe)
  4065. local effectsmsh = Instance.new("SpecialMesh")
  4066. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  4067. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  4068. effectsmsh.Scale = Vector3.new(3,3,3)
  4069. local effectsg = Instance.new("Part")
  4070. effectsg.formFactor = 3
  4071. effectsg.CanCollide = false
  4072. effectsg.Name = "Effect"
  4073. effectsg.Locked = true
  4074. effectsg.Transparency = 1
  4075. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  4076. effectsg.Parent = parent
  4077. effectsg.BrickColor = BrickColor.new("Really black")
  4078. effectsg.Material="Neon"
  4079. coroutine.resume(coroutine.create(function(Part,Mesh)
  4080. local Mesh = Instance.new("SpecialMesh")
  4081. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  4082. Mesh.MeshType = "Sphere"
  4083. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  4084. Part=Instance.new("Part")
  4085. Part.Name="Effect"
  4086. Part.formFactor=0
  4087. Part.Size=Vector3.new(1,1,1)
  4088. Part.BrickColor=BrickColor.new("Really black")
  4089. Part.Material="Neon"
  4090. Part.Reflectance = 0
  4091. Part.TopSurface=0
  4092. Part.BottomSurface=0
  4093. Part.Transparency=0
  4094. Part.Anchored=true
  4095. NoOutline(Part)
  4096. Part.CanCollide=false
  4097. Part.CFrame=cframe
  4098. Part.Parent=parent
  4099. Mesh.Parent = Part
  4100. lol=true
  4101. coroutine.resume(coroutine.create(function()
  4102. DarkRiftF(Part)
  4103. end))
  4104. for i=0,200 do
  4105. wait()
  4106. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Really black"))
  4107. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  4108. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4109. end
  4110. local fff=200
  4111. for i=0,100 do
  4112. wait()
  4113. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Really black"))
  4114. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4115. end
  4116. for i=0,1,0.05 do
  4117. wait()
  4118. Part.Transparency=Part.Transparency+0.05
  4119. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  4120. end
  4121. lol=false
  4122. Part.Parent=nil
  4123. end),nil,nil)
  4124. end
  4125.  
  4126. function makeShockwave(height,color,speed,range,pulse)
  4127. local range = range or 2000
  4128. local p = Instance.new("Part")
  4129. p.Anchored = true
  4130. p.CanCollide = false
  4131. p.FormFactor = "Custom"
  4132. p.BrickColor = color
  4133. p.Parent = workspace
  4134. local m = Instance.new("SpecialMesh",p)
  4135. m.MeshId = "rbxassetid://3270017"
  4136. local estimateSurvival = math.floor(range/speed) * 0.03
  4137. game:GetService("Debris"):AddItem(p,estimateSurvival)
  4138. Spawn(function ()
  4139. for i = 1,range,speed do
  4140. p.Transparency = 1-math.min(0.5,3-(i/500))
  4141. m.Scale = Vector3.new(i,i,i*height)
  4142. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  4143. wait()
  4144. end
  4145. p:Destroy()
  4146. end)
  4147. end
  4148.  
  4149. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4150. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4151. prt.Anchored=true
  4152. prt.CFrame=cframe
  4153. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  4154. game:GetService("Debris"):AddItem(prt,2)
  4155. coroutine.resume(coroutine.create(function(Part,Mesh)
  4156. for i=0,2,delay do
  4157. wait()
  4158. Part.CFrame=Part.CFrame
  4159. Part.Transparency=i
  4160. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4161. end
  4162. Part.Parent=nil
  4163. end),prt,msh)
  4164. end
  4165.  
  4166. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4167. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4168. prt.Anchored=true
  4169. prt.CFrame=cframe
  4170. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4171. game:GetService("Debris"):AddItem(prt,5)
  4172. coroutine.resume(coroutine.create(function(Part,Mesh)
  4173. for i=0,1,delay do
  4174. wait()
  4175. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4176. Part.Transparency=i
  4177. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4178. end
  4179. Part.Parent=nil
  4180. end),prt,msh)
  4181. end
  4182.  
  4183. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  4184. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  4185. if Type~=2 then
  4186. prt.Anchored=true
  4187. end
  4188. prt.CFrame=cframe
  4189. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  4190. game:GetService("Debris"):AddItem(prt,5)
  4191. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  4192. local wld=nil
  4193. if dur==2 then
  4194. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  4195. end
  4196. for i=0,1,delay do
  4197. swait()
  4198. if dur==1 then
  4199. Part.CFrame=Part.CFrame
  4200. elseif dur==2 then
  4201. wld.C0=cframe
  4202. end
  4203. Part.Transparency=i
  4204. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4205. end
  4206. Part.Parent=nil
  4207. end),prt,msh,Type)
  4208. end
  4209.  
  4210. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4211. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4212. prt.Anchored=true
  4213. prt.CFrame=cframe
  4214. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  4215. game:GetService("Debris"):AddItem(prt,5)
  4216. coroutine.resume(coroutine.create(function(Part,Mesh)
  4217. for i=0,1,delay do
  4218. swait()
  4219. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  4220. Part.Transparency=i
  4221. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4222. end
  4223. Part.Parent=nil
  4224. end),prt,msh)
  4225. end
  4226.  
  4227. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4228. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4229. prt.Anchored=true
  4230. prt.CFrame=cframe
  4231. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4232. game:GetService("Debris"):AddItem(prt,5)
  4233. coroutine.resume(coroutine.create(function(Part,Mesh)
  4234. for i=0,1,delay do
  4235. wait()
  4236. Part.CFrame=Part.CFrame
  4237. Part.Transparency=i
  4238. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4239. end
  4240. Part.Parent=nil
  4241. end),prt,msh)
  4242. end
  4243.  
  4244. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4245. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  4246. prt.Anchored=true
  4247. prt.CFrame=cframe
  4248. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  4249. game:GetService("Debris"):AddItem(prt,5)
  4250. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  4251. end
  4252.  
  4253. function Blast(parent)
  4254. MagicBlock(BrickColor.new("Really red"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  4255. MagicWaveThing(BrickColor.new("Really red"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  4256. end
  4257.  
  4258. function ChargeBall(parent,t)
  4259. local counter=0
  4260. local size=1
  4261. for i=0,t,1 do
  4262. swait()
  4263. counter=counter+1
  4264. if counter%10==0 then
  4265. if size==3 then
  4266. MagicRing(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4267. elseif size==2 then
  4268. MagicRing(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4269. end
  4270. end
  4271. if counter%5==0 then
  4272. if size==1 then
  4273. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4274. elseif size==2 then
  4275. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4276. elseif size==3 then
  4277. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4278. end
  4279. end
  4280. end
  4281. end
  4282.  
  4283. function ChargeBall2(parent,t)
  4284. local counter=0
  4285. local size=1
  4286. for i=0,t,1 do
  4287. swait()
  4288. counter=counter+1
  4289. if counter%10==0 then
  4290. if size==3 then
  4291. MagicRing(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4292. elseif size==2 then
  4293. MagicRing(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4294. end
  4295. end
  4296. if counter%5==0 then
  4297. if size==1 then
  4298. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4299. MagicWave(BrickColor.new("Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  4300. elseif size==2 then
  4301. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4302. MagicWave(BrickColor.new("Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  4303. elseif size==3 then
  4304. MagicBlock(BrickColor.new("Really red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  4305. MagicWave(BrickColor.new("Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  4306. end
  4307. end
  4308. end
  4309. end
  4310.  
  4311. function MagniDamage(Part,dis,mind,maxd,force,knock)
  4312. for _,c in pairs(workspace:children()) do
  4313. local hum=c:findFirstChild("Humanoid")
  4314. if hum~=nil then
  4315. local head=c:findFirstChild("Torso")
  4316. if head~=nil then
  4317. local targ=head.Position-Part.Position
  4318. local mag=targ.magnitude
  4319. if mag<=dis and c.Name~=Character.Name then
  4320. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  4321. end
  4322. end
  4323. end
  4324. end
  4325. end
  4326.  
  4327. function computeDirection(vec)
  4328. local lenSquared = vec.magnitude * vec.magnitude
  4329. local invSqrt = 1 / math.sqrt(lenSquared)
  4330. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  4331. end
  4332.  
  4333. function attackone()
  4334. attack = true
  4335. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  4336. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  4337. local fx=Hitbox.Touched:connect(function(part)
  4338. local human=part.Parent:findFirstChild("Humanoid")
  4339. if human~=nil and bounce==false then
  4340. bounce=true
  4341. local rndm=math.random(1,#hitsounds)
  4342. local r=rndm
  4343. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  4344. end
  4345. end)
  4346. for i = 0,1,0.1 do
  4347. swait()
  4348. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  4349. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  4350. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  4351. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  4352. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  4353. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  4354. end
  4355. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  4356. for i = 0,1,0.1 do
  4357. swait()
  4358. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4359. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4360. local h = 5
  4361. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4362. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4363. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4364. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4365. scfr = blcf
  4366. elseif not scfr then
  4367. scfr = blcf
  4368. end
  4369. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  4370. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  4371. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  4372. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  4373. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  4374. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  4375. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  4376. end
  4377. attack = false
  4378. bounce=false
  4379. scfr=nil
  4380. fx:disconnect()
  4381. con:disconnect()
  4382. end
  4383.  
  4384. function attacktwo()
  4385. attack=true
  4386. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  4387. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  4388. local fx=Hitbox.Touched:connect(function(part)
  4389. local human=part.Parent:findFirstChild("Humanoid")
  4390. if human~=nil and bounce==false then
  4391. bounce=true
  4392. local rndm=math.random(1,#hitsounds)
  4393. local r=rndm
  4394. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  4395. end
  4396. end)
  4397. for i=0,1,.1 do
  4398. swait()
  4399. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  4400. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  4401. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  4402. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  4403. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  4404. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  4405. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  4406. end
  4407. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  4408. for i = 0,1,0.1 do
  4409. swait()
  4410. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4411. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4412. local h = 5
  4413. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4414. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4415. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4416. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4417. scfr = blcf
  4418. elseif not scfr then
  4419. scfr = blcf
  4420. end
  4421. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  4422. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  4423. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  4424. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  4425. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  4426. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  4427. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  4428. end
  4429. scfr=nil
  4430. attack=false
  4431. bounce=false
  4432. con:disconnect()
  4433. fx:disconnect()
  4434. end
  4435.  
  4436. function attackthree()
  4437. attack=true
  4438. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  4439. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  4440. local fx=Hitbox.Touched:connect(function(part)
  4441. local human=part.Parent:findFirstChild("Humanoid")
  4442. if human~=nil and bounce==false then
  4443. bounce=true
  4444. local rndm=math.random(1,#hitsounds)
  4445. local r=rndm
  4446. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  4447. end
  4448. end)
  4449. for i=0,1,.1 do
  4450. swait()
  4451. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  4452. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  4453. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  4454. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  4455. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  4456. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  4457. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  4458. end
  4459. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  4460. for i = 0,1,0.1 do
  4461. swait()
  4462. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4463. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4464. local h = 5
  4465. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4466. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4467. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4468. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4469. scfr = blcf
  4470. elseif not scfr then
  4471. scfr = blcf
  4472. end
  4473. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  4474. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4475. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  4476. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  4477. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  4478. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  4479. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  4480. end
  4481. attack=false
  4482. bounce=false
  4483. scfr=nil
  4484. con:disconnect()
  4485. fx:disconnect()
  4486. end
  4487.  
  4488. function attackfour()
  4489. attack = true
  4490. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  4491. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  4492. local fx=Hitbox.Touched:connect(function(part)
  4493. local human=part.Parent:findFirstChild("Humanoid")
  4494. if human~=nil and bounce==false then
  4495. bounce=true
  4496. local rndm=math.random(1,#hitsounds)
  4497. local r=rndm
  4498. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  4499. end
  4500. end)
  4501. for i = 0,1,0.1 do
  4502. swait()
  4503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  4504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  4505. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  4506. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  4507. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  4508. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  4509. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  4510. end
  4511. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  4512. local v=it("BodyVelocity",Torso)
  4513. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  4514. v.velocity=RootPart.CFrame.lookVector*50
  4515. for i = 0,1,0.1 do
  4516. swait()
  4517. local blcf = Hitbox.CFrame*cf(0,0,0)
  4518. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4519. local h = 5
  4520. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4521. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4522. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4523. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4524. scfr = blcf
  4525. elseif not scfr then
  4526. scfr = blcf
  4527. end
  4528. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  4529. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4530. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  4531. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  4532. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4533. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  4534. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  4535. end
  4536. v.Parent=nil
  4537. scfr=nil
  4538. attack = false
  4539. bounce=false
  4540. con:disconnect()
  4541. fx:disconnect()
  4542. end
  4543.  
  4544. function LustrisFulgo()
  4545. attack=true
  4546. Humanoid.WalkSpeed=0
  4547. for i=0,1,0.1 do
  4548. swait()
  4549. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  4550. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  4551. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  4552. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  4553. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  4554. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  4555. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  4556. end
  4557. local function boom()
  4558. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Really red"),"Effect",vt(1,1,1))
  4559. pprt.Anchored=true
  4560. pprt.CFrame=EffectPart.CFrame
  4561. game:GetService("Debris"):AddItem(pprt,2)
  4562. MagicCircle(BrickColor.new("Really red"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  4563. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  4564. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  4565. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Really red"),"Effect",vt(1,1,1))
  4566. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  4567. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  4568. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  4569. for i=0,80 do
  4570. swait()
  4571. MagicBlock(BrickColor.new("Really red"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  4572. MagicCircle(BrickColor.new("Really red"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  4573. wave.Size=vt(1+i,1+i,1+i)
  4574. wavemesh.Scale=vt(1+i,1+i,1+i)
  4575. wave.CFrame=EffectPart.CFrame
  4576. Humanoid.Health=Humanoid.Health+.15
  4577. end
  4578. wave:Destroy()
  4579. end
  4580. boom()
  4581. attack=false
  4582. Humanoid.WalkSpeed=16
  4583. end
  4584.  
  4585. function LeviterGlomus()
  4586. attack=true
  4587. for i=0,1,.1 do
  4588. swait()
  4589. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4590. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4591. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  4592. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  4593. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  4594. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  4595. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  4596. end
  4597. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  4598. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Really red","BallEffect",Vector3.new(2, 2, 2))
  4599. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  4600. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  4601. ChargeBall(EffectPart2,35)
  4602. for i=0,1,.1 do
  4603. swait()
  4604. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4605. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4606. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  4607. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  4608. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  4609. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  4610. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  4611. end
  4612. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  4613. efprt:BreakJoints()
  4614. local Target=mouse.Hit.p
  4615. local direction = Target - handle.Position
  4616. direction = computeDirection(direction)
  4617. local pos = handle.Position + (direction * 10.0)
  4618. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  4619. local floatForce = Instance.new("BodyForce")
  4620. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  4621. floatForce.Parent = efprt
  4622. efprt.Velocity = direction * 160
  4623. efprt.Touched:connect(function(hit)
  4624. if not hit:IsDescendantOf(Character) then
  4625. if hit.Name~="Effect" then
  4626. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  4627. floatForce.Parent=nil
  4628. efprt.Anchored=true
  4629. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  4630. Blast(efprt)
  4631. efprt:Destroy()
  4632. end
  4633. end
  4634. end)
  4635. game:GetService("Debris"):AddItem(efprt,6)
  4636. attack=false
  4637. end
  4638.  
  4639. function PortalStorm()
  4640. Humanoid.WalkSpeed=0
  4641. attack=true
  4642. for i=0,1,.1 do
  4643. swait()
  4644. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4645. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4646. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  4647. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  4648. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4649. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4650. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  4651. end
  4652. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  4653. ChargeBall2(handle,100)
  4654. makeShockwave(0.5,BrickColor.new("Really black"),30,1000,0)
  4655. MagicWave(BrickColor.new("Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  4656. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  4657. wait(2)
  4658. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  4659. delay(0.5,function ()
  4660. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  4661. end)
  4662. Humanoid.Health=Humanoid.Health-0
  4663. makeShockwave(4,BrickColor.new("Really red"),10,2000,1)
  4664. attack=false
  4665. Humanoid.WalkSpeed=9
  4666. wait(4)
  4667. Humanoid.WalkSpeed=16
  4668. end
  4669.  
  4670. function SolSiderea()
  4671. Humanoid.WalkSpeed=0
  4672. attack=true
  4673. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  4674. for i=0,1,.1 do
  4675. swait()
  4676. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4677. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4678. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  4679. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  4680. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4681. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4682. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  4683. end
  4684. for i=0,1,.1 do
  4685. swait()
  4686. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4687. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  4688. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  4689. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  4690. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4691. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4692. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  4693. end
  4694. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  4695. local n=2
  4696. local orb=ppart(3,Character,0,1,BrickColor.new("Really black"),"Orb",vt())
  4697. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  4698. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  4699. for i=1,0.3,-0.01 do
  4700. wait()
  4701. orb.Transparency=i
  4702. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  4703. MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  4704. local ef=ppart(3,workspace,0,0,BrickColor.new("Really black"),"Effect",vt())
  4705. ef.Anchored=true
  4706. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  4707. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  4708. ef.CFrame=orb.CFrame*ceef
  4709. game:GetService("Debris"):AddItem(ef,2)
  4710. coroutine.resume(coroutine.create(function(Part,Mesh)
  4711. for i=0,1,0.1 do
  4712. wait()
  4713. Part.Transparency=i
  4714. Part.CFrame=Part.CFrame*cf(0,-1,0)
  4715. end
  4716. Part.Parent=nil
  4717. end),ef,emsh)
  4718. end
  4719. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  4720. wait(.5)
  4721. orb.Parent=nil
  4722. wait(1)
  4723. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  4724. local mag=(orb.Position-pos).magnitude
  4725. BlackHole(game.Workspace,cf(pos))
  4726. coroutine.resume(coroutine.create(function()
  4727. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Really red"),"Effect",vt(1,1,1))
  4728. wweld(game.Workspace,wave,orb,Torso.CFrame)
  4729. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  4730. for i=1,100 do
  4731. swait()
  4732. wave.Size=vt(1+i,1+i,1+i)
  4733. wavemesh.Scale=vt(1+i,1+i,1+i)
  4734. wave.CFrame=cf(pos)
  4735. end
  4736. end))
  4737. coroutine.resume(coroutine.create(function()
  4738. for i=0,20 do
  4739. swait(15)
  4740. local range = 1500
  4741. local p = Instance.new("Part")
  4742. p.Anchored = true
  4743. p.CanCollide = false
  4744. p.FormFactor = "Custom"
  4745. p.BrickColor = BrickColor.new("Really black")
  4746. p.Parent = workspace
  4747. p.Name="Effect"
  4748. p.CFrame=cf(pos)
  4749. local m = Instance.new("SpecialMesh",p)
  4750. m.MeshId = "rbxassetid://3270017"
  4751. local estimateSurvival = math.floor(range/30) * 0.03
  4752. game:GetService("Debris"):AddItem(p,estimateSurvival)
  4753. Spawn(function ()
  4754. for i = 1,range,30 do
  4755. p.Transparency = 1-math.min(0.5,3-(i/500))
  4756. m.Scale = Vector3.new(i,i,i*0.5)
  4757. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  4758. wait()
  4759. end
  4760. p:Destroy()
  4761. end)
  4762. end
  4763. end))
  4764. MagicCylinder(BrickColor.new("Really black"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  4765. for i=1,2 do
  4766. end
  4767. for i=1,5 do
  4768. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  4769. end
  4770. for i=0,5 do
  4771. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  4772. end
  4773. local ref=ppart(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt())
  4774. ref.CFrame=cf(pos)
  4775. coroutine.resume(coroutine.create(function(Part)
  4776. wait(1)
  4777. Part.Parent=nil
  4778. end),ref)
  4779. MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  4780. if hit~=nil then
  4781. Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  4782. end
  4783. local n=2
  4784. MagicWave(BrickColor.new("Really black"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  4785. swait(75)
  4786. Humanoid.WalkSpeed=16
  4787. attack=false
  4788. end
  4789.  
  4790. attacktype=1
  4791. mouse.Button1Down:connect(function()
  4792. if attacktype==1 and attack==false then
  4793. attacktype=2
  4794. attackone()
  4795. elseif attacktype==2 and attack==false then
  4796. attacktype=3
  4797. attacktwo()
  4798. elseif attacktype==3 and attack==false then
  4799. attacktype=4
  4800. attackthree()
  4801. elseif attacktype==4 and attack==false then
  4802. attacktype=1
  4803. attackfour()
  4804. end
  4805. end)
  4806.  
  4807. mouse.KeyDown:connect(function(k)
  4808. k=k:lower()
  4809. if attack == false and k == 'e' then
  4810. LeviterGlomus()
  4811. ChargeBall(efprt,100)
  4812. end
  4813. if attack == false and k == 'q' then
  4814. LustrisFulgo()
  4815. end
  4816. if attack == false and k == 'f' and deeznuts==false then
  4817. deeznuts=true
  4818. SolSiderea()
  4819. deeznuts=false
  4820. end
  4821. if attack == false and k == 'r' and cooldown==false then
  4822. cooldown=true
  4823. PortalStorm()
  4824. cooldown=false
  4825. end
  4826. end)
  4827.  
  4828.  
  4829. local sine = 0
  4830. local change = 1
  4831. local val = 0
  4832.  
  4833. while true do
  4834. swait()
  4835. sine = sine + change
  4836. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  4837. local velderp=RootPart.Velocity.y
  4838. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  4839. if equipped==true or equipped==false then
  4840. if attack==false then
  4841. idle=idle+1
  4842. else
  4843. idle=0
  4844. end
  4845. if idle>=500 then
  4846. if attack==false then
  4847. end
  4848. end
  4849. if RootPart.Velocity.y > 1 and hitfloor==nil then
  4850. Anim="Jump"
  4851. if attack==false then
  4852. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4853. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4854. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  4855. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  4856. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4857. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4858. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4859. end
  4860. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  4861. Anim="Fall"
  4862. if attack==false then
  4863. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4864. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  4865. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  4866. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4867. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4868. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4869. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  4870. end
  4871. elseif torvel<1 and hitfloor~=nil then
  4872. Anim="Idle"
  4873. if attack==false then
  4874. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  4875. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  4876. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  4877. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  4878. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  4879. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  4880. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  4881. end
  4882. elseif torvel>2 and hitfloor~=nil then
  4883. Anim="Walk"
  4884. if attack==false then
  4885. change=3
  4886. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  4887. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  4888. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  4889. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  4890. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  4891. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  4892. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4893. end
  4894. end
  4895. end
  4896. if #Effects>0 then
  4897. for e=1,#Effects do
  4898. if Effects[e]~=nil then
  4899. local Thing=Effects[e]
  4900. if Thing~=nil then
  4901. local Part=Thing[1]
  4902. local Mode=Thing[2]
  4903. local Delay=Thing[3]
  4904. local IncX=Thing[4]
  4905. local IncY=Thing[5]
  4906. local IncZ=Thing[6]
  4907. if Thing[1].Transparency<=1 then
  4908. if Thing[2]=="Block1" then
  4909. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4910. Mesh=Thing[1].Mesh
  4911. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4912. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4913. elseif Thing[2]=="Cylinder" then
  4914. Mesh=Thing[1].Mesh
  4915. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4916. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4917. elseif Thing[2]=="Blood" then
  4918. Mesh=Thing[7]
  4919. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  4920. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  4921. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4922. elseif Thing[2]=="Elec" then
  4923. Mesh=Thing[1].Mesh
  4924. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  4925. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4926. elseif Thing[2]=="Disappear" then
  4927. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  4928. end
  4929. else
  4930. Part.Parent=nil
  4931. table.remove(Effects,e)
  4932. end
  4933. end
  4934. end
  4935. end
  4936. end
  4937. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement