Advertisement
Guest User

Goku with sword test

a guest
Mar 17th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 227.39 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. Player = game:GetService("Players").buttmyhead
  1074. Character = Player.Character
  1075. PlayerGui = Player.PlayerGui
  1076. Backpack = Player.Backpack
  1077. Torso = Character.Torso
  1078. Head = Character.Head
  1079. LeftArm = Character["Left Arm"]
  1080. LeftLeg = Character["Left Leg"]
  1081. RightArm = Character["Right Arm"]
  1082. RightLeg = Character["Right Leg"]
  1083. LS = Torso["Left Shoulder"]
  1084. LH = Torso["Left Hip"]
  1085. RS = Torso["Right Shoulder"]
  1086. RH = Torso["Right Hip"]
  1087. ModelName = "Weapon"
  1088. ToolName = "Yamato"
  1089. attack = false
  1090. attacktype = 1
  1091. mindamage = 153333333333333333333333333333666666663333333333
  1092. maxdamage = 253333333333333333333333336666666666666
  1093. crtmaxdamage = 45333333333333333333333333333333
  1094. omindamage = 15333333333333333333333333366666666666666666
  1095. omaxdamage = 2533333333333333333366666666666666666666666
  1096. ocrtmaxdamage = 4533333333333333333333333333333366666666
  1097. crtrate = 1266666666666666666666666666666666666
  1098. fireboost = 3333333333333333333333333333333333333333333332
  1099. iceboost = 66666666666666666666666666666666666666666666666
  1100. darkboost = 666666666666666666666666666666666666666666666666666
  1101. Mode = "None"
  1102. ssh = false
  1103. atktypez = 1
  1104. Hitdeb = 0
  1105. ammo = 1
  1106. MMouse = nil
  1107. point = false
  1108. offset = 0
  1109. radv = 90
  1110. ----------------------------
  1111. --Customize
  1112. DarkFire = true
  1113. MaxFT = 40
  1114.  
  1115.  
  1116.  
  1117. ---------------------------------------------------------------------------------------------------------------------------------------
  1118. if Character:findFirstChild("EquippedVal",true) ~= nil then
  1119. Character:findFirstChild("EquippedVal",true).Parent = nil
  1120. end
  1121. ev = Instance.new("BoolValue")
  1122. ev.Parent = Character
  1123. ev.Name = "EquippedVal"
  1124. ev.Value = false
  1125. --player
  1126. player = nil
  1127. --welds
  1128. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  1129. --what anim
  1130. anim = "none"
  1131. --other var
  1132. player = Player
  1133. ch = Character
  1134. --save shoulders
  1135. AoETrue = {}
  1136. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  1137.  
  1138. function RWFunc()
  1139. RW.Part1 = ch["Right Arm"]
  1140. RSH.Part1 = nil
  1141. end
  1142. function LWFunc()
  1143. LW.Part1 = ch["Left Arm"]
  1144. LSH.Part1 = nil
  1145. end
  1146. function RWLFunc()
  1147. RWL.Part1 = ch["Right Leg"]
  1148. RHL.Part1 = nil
  1149. ch["Right Leg"].Name = "RightLeg"
  1150. RightLeg.CanCollide = false
  1151. end
  1152. function LWLFunc()
  1153. LWL.Part1 = ch["Left Leg"]
  1154. LHL.Part1 = nil
  1155. ch["Left Leg"].Name = "LeftLeg"
  1156. LeftLeg.CanCollide = true
  1157. end
  1158. function RWLRem()
  1159. RightLeg.Name = "Right Leg"
  1160. RWL.Part1 = nil
  1161. RHL.Part1 = ch["Right Leg"]
  1162. RightLeg.CanCollide = false
  1163. end
  1164. function LWLRem()
  1165. LeftLeg.Name = "Left Leg"
  1166. LWL.Part1 = nil
  1167. LHL.Part1 = ch["Left Leg"]
  1168. LeftLeg.CanCollide = false
  1169. end
  1170. function RWRem()
  1171. RW.Part1 = nil
  1172. RSH.Part1 = ch["Right Arm"]
  1173. end
  1174. function LWRem()
  1175. LW.Part1 = nil
  1176. LSH.Part1 = ch["Left Arm"]
  1177. end
  1178.  
  1179.  
  1180. if Character:findFirstChild(ModelName,true) ~= nil then
  1181. Character:findFirstChild(ModelName,true).Parent = nil
  1182. RHL.Part1 = ch["Right Leg"]
  1183. LHL.Part1 = ch["Left Leg"]
  1184. RSH.Part1 = ch["Right Arm"]
  1185. LSH.Part1 = ch["Left Arm"]
  1186. end
  1187.  
  1188.  
  1189.  
  1190. local swordholder = Instance.new("Model")
  1191. swordholder.Name = ModelName
  1192. swordholder.Parent = Character
  1193. --derp
  1194. RW.Part0 = ch.Torso
  1195. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1196. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1197. RW.Parent = swordholder
  1198. --
  1199. LW.Part0 = ch.Torso
  1200. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1201. LW.C1 = CFrame.new(0, 0.5, 0)
  1202. LW.Parent = swordholder
  1203. --
  1204. RWL.Part0 = ch.Torso
  1205. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1206. RWL.C1 = CFrame.new(0.5, 1, 0)
  1207. RWL.Parent = swordholder
  1208. --
  1209. LWL.Part0 = ch.Torso
  1210. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1211. LWL.C1 = CFrame.new(-0.5, 1, 0)
  1212. LWL.Parent = swordholder
  1213. handlecolor = BrickColor.new("Really black")
  1214. scndryclr = BrickColor.new("Bright violet")
  1215. firepri = BrickColor.new("Bright red")
  1216. icepri = BrickColor.new("Bright blue")
  1217. local msh1 = Instance.new("CylinderMesh")
  1218. msh1.Scale = Vector3.new(1,1,1)
  1219. local msh2 = Instance.new("BlockMesh")
  1220. msh2.Scale = Vector3.new(1,1,1)
  1221. --
  1222. local msh3 = Instance.new("BlockMesh")
  1223. msh3.Scale = Vector3.new(1,1,1)
  1224. local msh3a = Instance.new("SpecialMesh")
  1225. msh3a.Scale = Vector3.new(1,1,1)
  1226. msh3a.MeshType = "Wedge"
  1227. local msh4 = Instance.new("BlockMesh")
  1228. msh4.Scale = Vector3.new(1,1,1)
  1229. local msh4a = Instance.new("SpecialMesh")
  1230. msh4a.Scale = Vector3.new(1,1,1)
  1231. msh4a.MeshType = "Wedge"
  1232. --
  1233. local msh5 = Instance.new("SpecialMesh")
  1234. msh5.Scale = Vector3.new(1,1,2)
  1235. msh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1236. local msh6 = Instance.new("BlockMesh")
  1237. msh6.Scale = Vector3.new(1,1,0.5)
  1238. local msh7 = Instance.new("BlockMesh")
  1239. msh7.Scale = Vector3.new(1,1,1)
  1240. local msh8 = Instance.new("BlockMesh")
  1241. msh8.Scale = Vector3.new(0.5,1,1)
  1242. local prt1 = Instance.new("Part")
  1243. prt1.formFactor = 3
  1244. prt1.CanCollide = false
  1245. prt1.Name = "Handle"
  1246. prt1.Locked = true
  1247. prt1.Size = Vector3.new(0.2,1.5,0.2)
  1248. prt1.Parent = swordholder
  1249. msh1.Parent = prt1
  1250. prt1.BrickColor = handlecolor
  1251. local prt2 = Instance.new("Part")
  1252. prt2.formFactor = 3
  1253. prt2.CanCollide = false
  1254. prt2.Name = "HandleTop"
  1255. prt2.Locked = true
  1256. prt2.Size = Vector3.new(1.6,0.2,0.5)
  1257. prt2.Parent = swordholder
  1258. msh2.Parent = prt2
  1259. prt2.BrickColor = scndryclr
  1260. ---
  1261. local prt3 = Instance.new("Part")
  1262. prt3.formFactor = 3
  1263. prt3.CanCollide = false
  1264. prt3.Name = "FlameBlade"
  1265. prt3.Locked = true
  1266. prt3.Size = Vector3.new(0.4,3,0.2)
  1267. prt3.Parent = swordholder
  1268. msh3.Parent = prt3
  1269. prt3.BrickColor = firepri
  1270. prt3.Reflectance = 0
  1271. local prt3a = Instance.new("Part")
  1272. prt3a.formFactor = 3
  1273. prt3a.CanCollide = false
  1274. prt3a.Name = "FlameBladeP1"
  1275. prt3a.Locked = true
  1276. prt3a.Size = Vector3.new(0.2,1,0.4)
  1277. prt3a.Parent = swordholder
  1278. msh3a.Parent = prt3a
  1279. prt3a.BrickColor = firepri
  1280. prt3a.Reflectance = 0
  1281. --
  1282. local prt4 = Instance.new("Part")
  1283. prt4.formFactor = 3
  1284. prt4.CanCollide = false
  1285. prt4.Name = "FrostBlade"
  1286. prt4.Locked = true
  1287. prt4.Size = Vector3.new(0.4,3,0.2)
  1288. prt4.Parent = swordholder
  1289. msh4.Parent = prt4
  1290. prt4.BrickColor = icepri
  1291. prt4.Reflectance = 0.5
  1292. local prt4a = Instance.new("Part")
  1293. prt4a.formFactor = 3
  1294. prt4a.CanCollide = false
  1295. prt4a.Name = "FrostBladeP1"
  1296. prt4a.Locked = true
  1297. prt4a.Size = Vector3.new(0.2,1,0.4)
  1298. prt4a.Parent = swordholder
  1299. msh4a.Parent = prt4a
  1300. prt4a.BrickColor = icepri
  1301. prt4a.Reflectance = 0.5
  1302. --
  1303. local prt5 = Instance.new("Part")
  1304. prt5.formFactor = 3
  1305. prt5.CanCollide = false
  1306. prt5.Name = "HandleRing"
  1307. prt5.Locked = true
  1308. prt5.Size = Vector3.new(1,1,0.2)
  1309. prt5.Parent = swordholder
  1310. msh5.Parent = prt5
  1311. prt5.BrickColor = scndryclr
  1312. prt5.Reflectance = 0
  1313. local DFlame = Instance.new("Fire")
  1314. DFlame.Parent = prt5
  1315. DFlame.Color = Color3.new(0.5,0,0.5)
  1316. DFlame.SecondaryColor = Color3.new(0.5,0,0.5)
  1317. DFlame.Heat = 25
  1318. DFlame.Size = 1
  1319. DFlame.Enabled = DarkFire
  1320. local prt6 = Instance.new("Part")
  1321. prt6.formFactor = 3
  1322. prt6.CanCollide = false
  1323. prt6.Name = "HandleP1"
  1324. prt6.Locked = true
  1325. prt6.Size = Vector3.new(0.2,1.5,0.2)
  1326. prt6.Parent = swordholder
  1327. msh6.Parent = prt6
  1328. prt6.BrickColor = scndryclr
  1329. prt6.Reflectance = 0
  1330. local prt7 = Instance.new("Part")
  1331. prt7.formFactor = 3
  1332. prt7.CanCollide = false
  1333. prt7.Name = "HandleP2"
  1334. prt7.Locked = true
  1335. prt7.Size = Vector3.new(0.7,0.2,0.2)
  1336. prt7.Parent = swordholder
  1337. msh7.Parent = prt7
  1338. prt7.BrickColor = scndryclr
  1339. prt7.Reflectance = 0
  1340. local prt8 = Instance.new("Part")
  1341. prt8.formFactor = 3
  1342. prt8.CanCollide = false
  1343. prt8.Name = "DarkBlade"
  1344. prt8.Locked = true
  1345. prt8.Size = Vector3.new(0.2,4,0.2)
  1346. prt8.Parent = swordholder
  1347. msh8.Parent = prt8
  1348. prt8.BrickColor = handlecolor
  1349. prt8.Transparency = 1
  1350. local hitbox = Instance.new("Part")
  1351. hitbox.formFactor = 3
  1352. hitbox.CanCollide = false
  1353. hitbox.Name = "Hitbox"
  1354. hitbox.Locked = true
  1355. hitbox.Size = Vector3.new(1,4,0.2)
  1356. hitbox.Parent = swordholder
  1357. hitbox.Transparency = 1
  1358. local hbw = Instance.new("Weld")
  1359. hbw.Parent = hitbox
  1360. hbw.Part0 = hitbox
  1361. hbw.Part1 = prt1
  1362. hbw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1363. hbw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  1364.  
  1365. local w1 = Instance.new("Weld")
  1366. w1.Parent = prt1
  1367. w1.Part0 = prt1
  1368. local w2 = Instance.new("Weld")
  1369. w2.Parent = prt2
  1370. w2.Part0 = prt2
  1371. w2.Part1 = prt1
  1372. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1373. w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -0.85, 0)
  1374. --
  1375. local w3 = Instance.new("Weld")
  1376. w3.Parent = prt3
  1377. w3.Part0 = prt3
  1378. w3.Part1 = prt1
  1379. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1380. w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0.25, -2.45, 0)
  1381. local w3a = Instance.new("Weld")
  1382. w3a.Parent = prt3a
  1383. w3a.Part0 = prt3a
  1384. w3a.Part1 = prt1
  1385. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1386. w3a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90),0) * CFrame.new(0.25, -4.45, 0)
  1387. local w4 = Instance.new("Weld")
  1388. w4.Parent = prt4
  1389. w4.Part0 = prt4
  1390. w4.Part1 = prt1
  1391. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1392. w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, -2.45, 0)
  1393. local w4a = Instance.new("Weld")
  1394. w4a.Parent = prt4a
  1395. w4a.Part0 = prt4a
  1396. w4a.Part1 = prt1
  1397. w4a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1398. w4a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90),0) * CFrame.new(-0.25, -4.45, 0)
  1399. --
  1400. local w5 = Instance.new("Weld")
  1401. w5.Parent = prt5
  1402. w5.Part0 = prt5
  1403. w5.Part1 = prt1
  1404. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1405. w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0, -0.85, 0)
  1406. local w6 = Instance.new("Weld")
  1407. w6.Parent = prt6
  1408. w6.Part0 = prt6
  1409. w6.Part1 = prt1
  1410. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1411. w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.5, -0, 0)
  1412. local w7 = Instance.new("Weld")
  1413. w7.Parent = prt7
  1414. w7.Part0 = prt7
  1415. w7.Part1 = prt1
  1416. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1417. w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, 0.75, 0)
  1418. local w8 = Instance.new("Weld")
  1419. w8.Parent = prt8
  1420. w8.Part0 = prt8
  1421. w8.Part1 = prt1
  1422. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  1423. w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  1424. for ringi = 0 , math.rad(350) , math.rad(50) do
  1425. local ringm = Instance.new("BlockMesh")
  1426. ringm.Scale = Vector3.new(1,1.5,1)
  1427. local ringp = Instance.new("Part")
  1428. ringp.formFactor = 3
  1429. ringp.CanCollide = false
  1430. ringp.Name = "HandleRingP"..ringi
  1431. ringp.Locked = true
  1432. ringp.Size = Vector3.new(0.2,0.2,0.2)
  1433. ringp.Parent = swordholder
  1434. ringm.Parent = ringp
  1435. ringp.BrickColor = scndryclr
  1436. ringp.Reflectance = 0.1
  1437. local ringw = Instance.new("Weld")
  1438. ringw.Parent = ringp
  1439. ringw.Part0 = ringp
  1440. ringw.Part1 = prt5
  1441. ringw.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90), -ringi, 0) * CFrame.new(0, 0 , 0)
  1442. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(-msh5.Scale.x/1.625, 0, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.z/3.25
  1443. end
  1444.  
  1445. local Objects = {}
  1446. function getAllObjects(obj)
  1447. for a,v in pairs(obj:GetChildren()) do
  1448. if v:IsA("BasePart") then
  1449. table.insert(Objects,v)
  1450. end
  1451. if #v:GetChildren() > 0 then
  1452. getAllObjects(v)
  1453. end
  1454. end
  1455. end
  1456. getAllObjects(Workspace)
  1457. function Raycast(Start,End,Range)
  1458. --
  1459. for ii = 0 , #Objects do
  1460. table.remove(Objects,ii)
  1461. end
  1462. getAllObjects(Workspace)
  1463. local MA = math.abs
  1464. local CF = CFrame.new(Start,End)
  1465. local CP = Start
  1466. for i = 1, Range do--(Start - End).magnitude do
  1467. for b,v in pairs(Objects) do
  1468. if v.Parent ~= nil then
  1469. local pos = Start + (CF.lookVector*i)
  1470. local dist = v.CFrame:pointToObjectSpace(pos)
  1471. if MA(dist.x) < v.Size.x/2 and MA(dist.y) < v.Size.y/2 and MA(dist.z) < v.Size.z/2 then
  1472. if v.Parent ~= Character or v.Parent ~= swordholder or v.Parent.Parent ~= Character then
  1473. return v,Start,pos
  1474. end
  1475. end
  1476. end
  1477. end
  1478. end
  1479. return nil,Start,End
  1480. end
  1481. local RAP = Instance.new("Part")
  1482. RAP.formFactor = 0
  1483. RAP.CanCollide = false
  1484. RAP.Name = "RAPart"
  1485. RAP.Locked = true
  1486. RAP.Size = Vector3.new(1,1,1)
  1487. RAP.Parent = swordholder
  1488. RAP.Transparency = 1
  1489. local w = Instance.new("Weld")
  1490. w.Parent = RAP
  1491. w.Part0 = RAP
  1492. w.Part1 = RightArm
  1493. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  1494. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  1495.  
  1496. function unequipweld()
  1497. w1.Part1 = Torso
  1498. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  1499. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180), math.rad(-150)) * CFrame.new(-1, -1.5, -0.6)
  1500. end
  1501. unequipweld()
  1502.  
  1503. function equipweld()
  1504. w1.Part1 = RAP
  1505. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  1506. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1507. end
  1508.  
  1509. function ss(parent,p) --Slash
  1510. local SlashSound = Instance.new("Sound")
  1511. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1512. SlashSound.Parent = parent
  1513. SlashSound.Volume = .7
  1514. SlashSound.Pitch = p
  1515. SlashSound.PlayOnRemove = true
  1516. coroutine.resume(coroutine.create(function()
  1517. wait()
  1518. SlashSound.Parent = nil
  1519. end))
  1520. end
  1521. function uss(parent,p) --unsheath
  1522. local SlashSound = Instance.new("Sound")
  1523. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1524. SlashSound.Parent = parent
  1525. SlashSound.Volume = .7
  1526. SlashSound.Pitch = p
  1527. SlashSound.PlayOnRemove = true
  1528. coroutine.resume(coroutine.create(function()
  1529. wait()
  1530. SlashSound.Parent = nil
  1531. end))
  1532. end
  1533. function cs(parent,p) --Magic Charge
  1534. local SlashSound = Instance.new("Sound")
  1535. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  1536. SlashSound.Parent = parent
  1537. SlashSound.Volume = .7
  1538. SlashSound.Pitch = p
  1539. SlashSound.PlayOnRemove = true
  1540. coroutine.resume(coroutine.create(function()
  1541. wait()
  1542. SlashSound.Parent = nil
  1543. end))
  1544. end
  1545. function ls(parent,p) --Lazer Sound
  1546. local SlashSound = Instance.new("Sound")
  1547. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  1548. SlashSound.Parent = parent
  1549. SlashSound.Volume = .7
  1550. SlashSound.Pitch = p
  1551. SlashSound.PlayOnRemove = true
  1552. coroutine.resume(coroutine.create(function()
  1553. wait()
  1554. SlashSound.Parent = nil
  1555. end))
  1556. end
  1557. function is(parent,p) --Ice Sound
  1558. local SlashSound = Instance.new("Sound")
  1559. local rndm = math.random(1,3)
  1560. if rndm == 1 then
  1561. SlashSound.SoundId = "rbxasset://sounds\\ice.ogg"
  1562. elseif rndm == 2 then
  1563. SlashSound.SoundId = "rbxasset://sounds\\ice2.ogg"
  1564. elseif rndm == 3 then
  1565. SlashSound.SoundId = "rbxasset://sounds\\ice3.ogg"
  1566. end
  1567. SlashSound.Parent = parent
  1568. SlashSound.Volume = .7
  1569. SlashSound.Pitch = p
  1570. SlashSound.PlayOnRemove = true
  1571. coroutine.resume(coroutine.create(function()
  1572. wait()
  1573. SlashSound.Parent = nil
  1574. end))
  1575. end
  1576. function fs(parent,p) --Fire Sound
  1577. local SlashSound = Instance.new("Sound")
  1578. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  1579. SlashSound.Parent = parent
  1580. SlashSound.Volume = .7
  1581. SlashSound.Pitch = p
  1582. SlashSound.PlayOnRemove = true
  1583. coroutine.resume(coroutine.create(function()
  1584. wait()
  1585. SlashSound.Parent = nil
  1586. end))
  1587. end
  1588. function bs(parent,p) --Boom Sound
  1589. local SlashSound = Instance.new("Sound")
  1590. SlashSound.SoundId = "rbxasset://sounds/Rocket shot.wav"
  1591. SlashSound.Parent = parent
  1592. SlashSound.Volume = .7
  1593. SlashSound.Pitch = p
  1594. SlashSound.PlayOnRemove = true
  1595. coroutine.resume(coroutine.create(function()
  1596. wait()
  1597. SlashSound.Parent = nil
  1598. end))
  1599. end
  1600. --
  1601.  
  1602.  
  1603. function hideanim()
  1604. attack = true
  1605. for i = 0 , 1 , 0.2 do
  1606. wait()
  1607. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
  1608. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45-45*i))
  1609. end
  1610. LWRem()
  1611. for i = 0 , 1 , 0.15 do
  1612. wait()
  1613. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
  1614. end
  1615. unequipweld()
  1616. wait(0.1)
  1617. for i = 0 , 1 , 0.1 do
  1618. wait()
  1619. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
  1620. end
  1621. RWRem()
  1622. attack = false
  1623. end
  1624.  
  1625. function equipanim()
  1626. attack = true
  1627. RWFunc()
  1628. for i = 0 , 1 , 0.1 do
  1629. wait()
  1630. RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
  1631. end
  1632. equipweld()
  1633. uss(Head,1)
  1634. for i = 0 , 1 , 0.2 do
  1635. wait()
  1636. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
  1637. end
  1638. for i = 0 , 1 , 0.15 do
  1639. wait()
  1640. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
  1641. end
  1642. LWFunc()
  1643. for i = 0 , 1 , 0.1 do
  1644. wait()
  1645. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(45-90*i))
  1646. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45*i))
  1647. end
  1648. attack = false
  1649. end
  1650.  
  1651. if (script.Parent.className ~= "HopperBin") then
  1652. Tool = Instance.new("HopperBin")
  1653. Tool.Parent = Backpack
  1654. Tool.Name = ToolName
  1655. script.Parent = Tool
  1656. end
  1657. Bin = script.Parent
  1658.  
  1659. function damagesplat(dmg,hit,critornot,healornot)
  1660. local OffsetX = -2.5
  1661. local OffsetY = 5
  1662. local OffsetZ = 0
  1663. local bill = Instance.new("BillboardGui")
  1664. bill.Size = UDim2.new(1,0,1,0)
  1665. bill.Adornee = hit
  1666. bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
  1667. bill.Parent = hit.Parent
  1668. bill.Name = "DamageSplat"
  1669. local tex = Instance.new("TextLabel")
  1670. tex.Size = UDim2.new(5,0,2.5,0)
  1671. tex.Parent = bill
  1672. tex.Text = dmg
  1673. tex.BackgroundTransparency = 1
  1674. tex.ZIndex = 4
  1675. tex.FontSize = "Size24"
  1676. local tex2 = Instance.new("ImageLabel")
  1677. tex2.Size = UDim2.new(1,0,1,0)
  1678. tex2.Parent = tex
  1679. tex2.BackgroundTransparency = 1
  1680. tex2.Image = "http://www.roblox.com/asset/?id=42611276"
  1681. if critornot == true then
  1682. tex.TextColor3 = Color3.new(1,0.2,0.2)
  1683. elseif critornot == false then
  1684. tex.TextColor3 = Color3.new(0,0,0)
  1685. end
  1686. if healornot == true then
  1687. tex.TextColor3 = Color3.new(0.2,0.5,0.5)
  1688. end
  1689. coroutine.resume(coroutine.create(function()
  1690. wait(0.25)
  1691. for i = 0 , 1 , 0.075 do
  1692. wait()
  1693. bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
  1694. tex.TextTransparency = 1*i
  1695. end
  1696. bill.Parent = nil
  1697. end))
  1698. end
  1699. function FireEff(Part,Time,Color1,Color2,Color3)
  1700. local Firee = Part
  1701. local Spawn = Part
  1702. local colors = {}
  1703. if Color1 ~= nil then
  1704. table.insert(colors,BrickColor.new(Color1))
  1705. end
  1706. if Color2 ~= nil then
  1707. table.insert(colors,BrickColor.new(Color2))
  1708. end
  1709. if Color3 ~= nil then
  1710. table.insert(colors,BrickColor.new(Color3))
  1711. end
  1712. if Color4 ~= nil then
  1713. table.insert(colors,BrickColor.new(Color4))
  1714. end
  1715. local Embers = {}
  1716. local modelz = Instance.new("Model",Firee)
  1717. modelz.Name = "FireHolder"
  1718. for X = 1, 3 do
  1719. local f = Instance.new("Part")
  1720. f.Parent = nil
  1721. f.BrickColor = colors[math.random(1, # colors)]
  1722. f.Size = Vector3.new(1,1,1)
  1723. f.formFactor = 1
  1724. f.Anchored = true
  1725. f.Locked = true
  1726. f.CanCollide = false
  1727. f.Transparency = 0.5
  1728. f.Name = "Fire"
  1729. f.TopSurface = 0
  1730. f.BottomSurface = 0
  1731. table.insert(Embers, f)
  1732. end
  1733. local R = 0
  1734. coroutine.resume(coroutine.create(function ()
  1735. repeat
  1736. wait()
  1737. R = R + 1
  1738. for X = 1, # Embers do
  1739. Embers[X].Parent = modelz
  1740. local FM = math.fmod(R + X, # Embers)
  1741. if FM == 1 then
  1742. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  1743. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  1744. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, Spawn.Position + RandPos + RandDir)
  1745. else
  1746. Embers[X].CFrame = CFrame.new(Embers[X].Position + Vector3.new(0,0.5,0), Embers[X].Position + Vector3.new(0,0.5,0) + Embers[X].CFrame.lookVector)
  1747. end
  1748. end
  1749. until R == Time
  1750. for i = 0 ,1 , 0.1 do
  1751. wait(0.2)
  1752. for X = 1, # Embers do
  1753. Embers[X].Transparency = 0.5+0.5*i
  1754. end
  1755. end
  1756. for X = 1, # Embers do
  1757. Embers[X].Parent = nil
  1758. end
  1759. end))
  1760. end
  1761.  
  1762. function OT(hit) --Normal Damage
  1763. if Hitdeb == 1 then return end
  1764. if hit.Parent == nil then return end
  1765. local hum = hit.Parent:findFirstChild("Humanoid")
  1766. if hum ~= nil and hum ~= Character.Humanoid then
  1767. local critrandomizer = math.random(1,crtrate)
  1768. if critrandomizer ~= 1 then
  1769. local rndmdamage = math.random(mindamage,maxdamage)
  1770. damagesplat(rndmdamage,hit,false)
  1771. hum:TakeDamage(rndmdamage)
  1772. elseif critrandomizer == 1 then
  1773. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1774. damagesplat(rndmdamage,hit,true)
  1775. hum:TakeDamage(rndmdamage)
  1776. end
  1777. Hitdeb = 1
  1778. end
  1779. end
  1780.  
  1781. function OTND(part) --No Debounce Damage
  1782. coroutine.resume(coroutine.create(function()
  1783. local dd = false
  1784. while part.Parent ~= nil and not dd do
  1785. wait()
  1786. local c = game.Workspace:GetChildren();
  1787. for i = 1, #c do
  1788. local hum = c[i]:findFirstChild("Humanoid")
  1789. if hum ~= nil and hum.Health ~= 0 then
  1790. local head = c[i]:findFirstChild("Torso");
  1791. if head ~= nil then
  1792. local targ = head.Position - part.Position; ------------------------------------------------Local
  1793. local mag = targ.magnitude;
  1794. if mag <= 5 and c[i].Name ~= Player.Name then
  1795. dd = true
  1796. local rndmdamage = math.random(1,7+5*math.random()) + fireboost
  1797. damagesplat(rndmdamage,head,false)
  1798. hum:TakeDamage(rndmdamage)
  1799. FireEff(head,150,"Bright red","Bright orange","Cool yellow")
  1800. part.Parent = nil
  1801.  
  1802. end
  1803. end
  1804. end
  1805. end
  1806. end
  1807. end))
  1808. end
  1809.  
  1810. function AoE(p,magnitude,damage,critornot)
  1811. local c = game.Workspace:GetChildren();
  1812. for i = 1, #c do
  1813. local hum = c[i]:findFirstChild("Humanoid")
  1814. if hum ~= nil and hum.Health ~= 0 then
  1815. local head = c[i]:findFirstChild("Head");
  1816. if head ~= nil then
  1817. local targ = head.Position - p;
  1818. local mag = targ.magnitude;
  1819. if mag <= magnitude and c[i].Name ~= Character.Name then
  1820. local foundd = false
  1821. for ii = 1 , #AoETrue do
  1822. if AoETrue[ii] == c[i].Name then
  1823. --delay(1,function() table.remove(AoETrue,ii) end)
  1824. --blast(2.5,0.5,"Bright red",prt2,false)
  1825. foundd = true
  1826. end
  1827. end
  1828. if foundd then
  1829. end
  1830. --
  1831. if not foundd then
  1832. hum:TakeDamage(damage)
  1833. damagesplat(damage,head,critornot)
  1834. table.insert(AoETrue,c[i].Name)
  1835. --blast(2.5,0.5,"Bright red",prt2)
  1836. end
  1837. end
  1838. end
  1839. end
  1840. end
  1841. end
  1842. function AoEP(p,magnitude,damage,critornot)
  1843. local c = game.Workspace:GetChildren();
  1844. for i = 1, #c do
  1845. local hum = c[i]:findFirstChild("Humanoid")
  1846. if hum ~= nil and hum.Health ~= 0 then
  1847. local head = c[i]:findFirstChild("Head");
  1848. if head ~= nil then
  1849. local targ = head.Position - p;
  1850. local mag = targ.magnitude;
  1851. if mag <= magnitude and c[i].Name ~= Character.Name then
  1852. local foundd = false
  1853. for ii = 1 , #AoETrue do
  1854. if AoETrue[ii] == c[i].Name then
  1855. --delay(1,function() table.remove(AoETrue,ii) end)
  1856. --blast(2.5,0.5,"Bright red",prt2,false)
  1857. foundd = true
  1858. end
  1859. end
  1860. if foundd then
  1861. end
  1862. --
  1863. if not foundd then
  1864. hum:TakeDamage(damage)
  1865. damagesplat(damage,head,critornot)
  1866. c[i].Humanoid.Sit = true
  1867. coroutine.resume(coroutine.create(function()
  1868. local bp = Instance.new("BodyVelocity",c[i].Torso)
  1869. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1870. bp.P = bp.P*2
  1871. bp.velocity = CFrame.new(c[i].Torso.Position , p).lookVector * 150 + Vector3.new(0,25,0)
  1872. coroutine.resume(coroutine.create(function()
  1873. for i=1,
  1874. bp.velocity.y/3 do
  1875. bp.velocity = bp.velocity+Vector3.new(0,-4.25,0)
  1876. wait()
  1877. end
  1878. bp.Parent = nil
  1879. end))
  1880. c[i].Torso.RotVelocity = CFrame.new(c[i].Torso.Position , p).lookVector * 25
  1881. wait(0.4) c[i].Humanoid.Sit = false end))
  1882. table.insert(AoETrue,c[i].Name)
  1883. end
  1884. end
  1885. end
  1886. end
  1887. end
  1888. end
  1889. --
  1890.  
  1891. local LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1892. function effect(Color,Ref,LP,P1,returnn)
  1893. local effectsmsh = Instance.new("BlockMesh")
  1894. effectsmsh.Scale = Vector3.new(0.5,1,0.5)
  1895. effectsmsh.Name = "Mesh"
  1896. local effectsg = Instance.new("Part")
  1897. effectsg.formFactor = 3
  1898. effectsg.CanCollide = false
  1899. effectsg.Name = "Eff"
  1900. effectsg.Locked = true
  1901. effectsg.Anchored = true
  1902. effectsg.Size = Vector3.new(0.2,1,0.2)
  1903. effectsg.Parent = swordholder
  1904. effectsmsh.Parent = effectsg
  1905. effectsg.BrickColor = BrickColor.new(Color)
  1906. effectsg.Reflectance = Ref
  1907. local point1 = P1
  1908. local mg = (LP.p - point1.p).magnitude
  1909. effectsg.Size = Vector3.new(0.2,mg,0.2)
  1910. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1911. if returnn then return effectsg end
  1912. coroutine.resume(coroutine.create(function()
  1913. if not returnn then
  1914. for i = 0 , 1 , 0.1 do
  1915. wait()
  1916. effectsg.Transparency = 1*i
  1917. end
  1918. wait()
  1919. effectsg.Parent = nil
  1920. end
  1921. end))
  1922. end
  1923.  
  1924. con = nil
  1925. function dmgcnnct(p)
  1926. con = p.Touched:connect(OT)
  1927. end
  1928. function dmgdc()
  1929. if con ~= nil then
  1930. con:disconnect()
  1931. Hitdeb = 0
  1932. end
  1933. end
  1934. function atktype(s,e)
  1935. coroutine.resume(coroutine.create(function ()
  1936. attacktype = e
  1937. wait(0.5)
  1938. repeat wait() until attack
  1939. attacktype = s
  1940. end))
  1941. end
  1942.  
  1943. hold = false
  1944. function Combo1a()
  1945. attack=true
  1946. for i = 0 , 1 , 0.1 do
  1947. wait()
  1948. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
  1949. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  1950. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45+45*i),math.rad(45-20*i))
  1951. end
  1952. dmgcnnct(hitbox)
  1953. ss(Head,1.5)
  1954. for i = 0 , 1 , 0.2 do
  1955. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1956. wait()
  1957. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1958. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  1959. LW.C0 = CFrame.new(-1+1*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(25+65*i))
  1960. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1961. end
  1962. dmgdc()
  1963. for i = 0 , 1 , 0.2 do
  1964. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1965. wait()
  1966. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1967. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  1968. LW.C0 = CFrame.new(-0.25*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90+10*i))
  1969. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1970. end
  1971. attacktype = 2
  1972. coroutine.resume(coroutine.create(function ()
  1973. wait(0.25)
  1974. attacktype = 1
  1975. end))
  1976. attack=false
  1977. wait(0.15)
  1978. wait()
  1979. for i = 0 , 1 , 0.1 do
  1980. if not attack then
  1981. wait()
  1982. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  1983. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  1984. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(100-55*i))
  1985. end
  1986. end
  1987.  
  1988. end
  1989. function Combo1b()
  1990. attack=true
  1991. for i = 0 , 1 , 0.1 do
  1992. wait()
  1993. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1994. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-155*i), math.rad(50-40*i), math.rad(0))
  1995. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(100-50*i))
  1996. end
  1997.  
  1998. cs(Head,1.5)
  1999. local tempmod = Instance.new("Model",swordholder)
  2000. for l = 1 , 20 do
  2001. local meshz = Instance.new("SpecialMesh")
  2002. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  2003. meshz.MeshType = "Sphere"
  2004. local shellz = Instance.new("Part")
  2005. meshz.Parent = shellz
  2006. shellz.Anchored = false
  2007. shellz.formFactor = 0
  2008. shellz.Size = Vector3.new(1,1,1)
  2009. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2010. shellz.Parent = tempmod
  2011. shellz.Transparency = 0.5
  2012. shellz.BrickColor = BrickColor.new("Bright violet")
  2013. shellz.CanCollide = false
  2014. shellz.Reflectance = 0.25
  2015. local bv = Instance.new("BodyPosition")
  2016. bv.Parent = shellz
  2017. bv.maxForce = Vector3.new(200000,200000,200000)
  2018. bv.position = shellz.Position
  2019. coroutine.resume(coroutine.create(function()
  2020. for i = 0 , 1 , 0.025 do
  2021. wait()
  2022. shellz.Transparency = 1-1*i
  2023. end
  2024. shellz.Transparency = 0
  2025. end))
  2026. coroutine.resume(coroutine.create(function()
  2027. wait(0.05)
  2028. bv.position = hitbox.Position
  2029. for i = 1 , 20 do
  2030. wait(0.1)
  2031. bv.position = shell.Position
  2032. end
  2033. shellz.Parent = nil
  2034. end))
  2035. wait(0.01)
  2036. end
  2037. coroutine.resume(coroutine.create(function ()
  2038. wait(0.25)
  2039. tempmod.Parent = nil
  2040. end))
  2041. for i = 0 , 1 , 0.2 do
  2042. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2043. wait()
  2044. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  2045. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10), math.rad(0))
  2046. LW.C0 = CFrame.new(-1+1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(50+40*i))
  2047. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2048. end
  2049. local gyro = Instance.new("BodyGyro")
  2050. gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2051. gyro.P = gyro.P + 10000
  2052. local CF = Torso.CFrame
  2053. gyro.cframe = CF
  2054. gyro.Parent = Torso
  2055. dmgcnnct(hitbox)
  2056. ss(Head,1)
  2057. for i = 0 , 1 , 0.1 do
  2058. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2059. wait()
  2060. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  2061. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2062. end
  2063. ss(Head,1)
  2064. Hitdeb = 0
  2065. for i = 0 , 1 , 0.1 do
  2066. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2067. wait()
  2068. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  2069. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2070. end
  2071. dmgdc()
  2072. attacktype = 3
  2073. coroutine.resume(coroutine.create(function ()
  2074. wait(0.5)
  2075. attacktype = 1
  2076. end))
  2077. wait(0.15)
  2078. wait()
  2079. gyro.Parent = nil
  2080. attack=false
  2081. for i = 0 , 1 , 0.1 do
  2082. if not attack then
  2083. wait()
  2084. RW.C0 = CFrame.new(0.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  2085. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  2086. LW.C0 = CFrame.new(0.5-1.5*i,0.5,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(50-5*i))
  2087. end
  2088. end
  2089. end
  2090.  
  2091. function Combo1c()
  2092. attack=true
  2093. local bp = Instance.new("BodyPosition")
  2094. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2095. bp.P = bp.P + 10000
  2096. local CF = Torso.CFrame
  2097. bp.position = CF.p
  2098. bp.Parent = Torso
  2099. RWLFunc()
  2100. LWLFunc()
  2101. for zz = 1 , 2 do
  2102. local mesh = Instance.new("SpecialMesh")
  2103. mesh.MeshType = "FileMesh"
  2104. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2105. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  2106. local shell = Instance.new("Part")
  2107. mesh.Parent = shell
  2108. shell.Anchored = true
  2109. shell.formFactor = 1
  2110. shell.Size = Vector3.new(1,1,1)
  2111. shell.CFrame = Torso.CFrame * CFrame.Angles(0,0.5*zz,0) + Vector3.new(0,-2.5,0) -- + shellspawn.CFrame.lookVector * 2
  2112. shell.Parent = swordholder
  2113. shell.Transparency = 0
  2114. shell.BrickColor = BrickColor.new("White")
  2115. shell.CanCollide = false
  2116. coroutine.resume(coroutine.create(function()
  2117. for i = 0 , 1 , 0.05 do
  2118. wait()
  2119. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  2120. shell.Transparency = 1*i
  2121. end
  2122. shell.Transparency = 1
  2123. shell.Parent = nil
  2124. end))
  2125. end
  2126. for i = 0 , 1 , 0.1 do
  2127. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2128. wait()
  2129. RW.C0 = CFrame.new(0.5+0.5*i,0.5+1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i), math.rad(90-90*i), math.rad(-45*i))
  2130. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  2131. LW.C0 = CFrame.new(0.5-1.5*i,0.5+1*i,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i),math.rad(0),math.rad(50-5*i))
  2132. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2133. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  2134. bp.position = CF.p + Vector3.new(0,10,0)
  2135. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  2136. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  2137. prt8.Transparency = 1-1*i
  2138. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2139. end
  2140. cs(Head,1.5)
  2141. coroutine.resume(coroutine.create(function ()
  2142. local tempmod = Instance.new("Model",swordholder)
  2143. for l = 1 , 20 do
  2144. local meshz = Instance.new("SpecialMesh")
  2145. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  2146. meshz.MeshType = "Sphere"
  2147. local shellz = Instance.new("Part")
  2148. meshz.Parent = shellz
  2149. shellz.Anchored = false
  2150. shellz.formFactor = 0
  2151. shellz.Size = Vector3.new(1,1,1)
  2152. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  2153. shellz.Parent = tempmod
  2154. shellz.Transparency = 0.5
  2155. shellz.BrickColor = BrickColor.new("Really black")
  2156. shellz.CanCollide = false
  2157. shellz.Reflectance = 0
  2158. local bv = Instance.new("BodyPosition")
  2159. bv.Parent = shellz
  2160. bv.maxForce = Vector3.new(200000,200000,200000)
  2161. bv.position = shellz.Position
  2162. local hx = false
  2163. coroutine.resume(coroutine.create(function()
  2164. for i = 0 , 1 , 0.05 do
  2165. wait()
  2166. shellz.Transparency = 1-1*i
  2167. end
  2168. shellz.Transparency = 0
  2169. end))
  2170. coroutine.resume(coroutine.create(function()
  2171. wait(0.05)
  2172. bv.position = hitbox.Position
  2173. for i = 1 , 20 do
  2174. wait(0.1)
  2175. bv.position = shell.Position
  2176. end
  2177. shellz.Parent = nil
  2178. end))
  2179. wait(0.01)
  2180. end
  2181. coroutine.resume(coroutine.create(function ()
  2182. repeat wait() until hx
  2183. tempmod.Parent = nil
  2184. end))
  2185. end))
  2186. for i = 0 , 1 , 0.1 do
  2187. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2188. wait()
  2189. RW.C0 = CFrame.new(1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i), math.rad(0), math.rad(-45))
  2190. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2191. LW.C0 = CFrame.new(-1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i),math.rad(0),math.rad(45))
  2192. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2193. end
  2194. for i = 0 , 1 , 0.1 do
  2195. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2196. wait()
  2197. RW.C0 = CFrame.new(1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i), math.rad(0), math.rad(-45))
  2198. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2199. LW.C0 = CFrame.new(-1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i),math.rad(0),math.rad(45))
  2200. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2201. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  2202. bp.position = CF.p + CF.lookVector * 2.5 + Vector3.new(0,-1,0)
  2203. RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  2204. LWL.C0 = CFrame.new(-1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  2205. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  2206. end
  2207. hx = true
  2208. wait(0.1)
  2209. local Hit,A, B = Raycast(hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 1 ,hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 101 ,100)
  2210. local effectsmsh = Instance.new("CylinderMesh")
  2211. effectsmsh.Scale = Vector3.new(1,1,1)
  2212. local effectsg = Instance.new("Part")
  2213. effectsg.formFactor = 3
  2214. effectsg.CanCollide = false
  2215. effectsg.Name = "LAZOR"
  2216. effectsg.Locked = true
  2217. effectsg.Anchored = true
  2218. effectsg.Parent = swordholder
  2219. effectsmsh.Parent = effectsg
  2220. effectsg.BrickColor = BrickColor.new("Black")
  2221. effectsg.Reflectance = 0.5
  2222. local point1 = B
  2223. local point0 = A
  2224. for zz = 1 , 5 do
  2225. local mesh = Instance.new("SpecialMesh")
  2226. mesh.MeshType = "FileMesh"
  2227. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2228. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  2229. local shell = Instance.new("Part")
  2230. mesh.Parent = shell
  2231. shell.Anchored = true
  2232. shell.formFactor = 1
  2233. shell.Size = Vector3.new(1,1,1)
  2234. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 2
  2235. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0.5*zz,0)
  2236. shell.Parent = swordholder
  2237. shell.Transparency = 0
  2238. if math.fmod(zz,2) == 0 then
  2239. shell.BrickColor = BrickColor.new("Really black")
  2240. else
  2241. shell.BrickColor = BrickColor.new("Bright violet")
  2242. end
  2243. shell.CanCollide = false
  2244. coroutine.resume(coroutine.create(function()
  2245. for i = 0 , 1 , 0.01 do
  2246. wait()
  2247. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  2248. shell.Transparency = 1*i
  2249. end
  2250. shell.Transparency = 1
  2251. shell.Parent = nil
  2252. end))
  2253. end
  2254. for zz = 1 , 1 do
  2255. local mesh = Instance.new("SpecialMesh")
  2256. mesh.MeshType = "Sphere"
  2257. mesh.Scale = Vector3.new(20,15,10) * Vector3.new(0.01,0.01,0.01)
  2258. local shell = Instance.new("Part")
  2259. mesh.Parent = shell
  2260. shell.Anchored = true
  2261. shell.formFactor = 1
  2262. shell.Size = Vector3.new(1,1,1)
  2263. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 10
  2264. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  2265. shell.Parent = swordholder
  2266. shell.Transparency = 0
  2267. shell.BrickColor = BrickColor.new("Bright violet")
  2268. shell.CanCollide = false
  2269. coroutine.resume(coroutine.create(function()
  2270. for i = 0 , 1 , 0.02 do
  2271. wait()
  2272. mesh.Scale = Vector3.new(10,15,15) * Vector3.new(i,1,i)
  2273. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  2274. shell.Transparency = 1-1*i
  2275. end
  2276. for i = 0 , 1 , 0.05 do
  2277. wait()
  2278. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  2279. shell.Transparency = 1*i
  2280. end
  2281. shell.Transparency = 1
  2282. shell.Parent = nil
  2283. end))
  2284. end
  2285. for zz = 1 , 1 do
  2286. local mesh = Instance.new("CylinderMesh")
  2287. mesh.Scale = Vector3.new(20,0.5,10) * Vector3.new(0.01,0.01,0.01)
  2288. local shell = Instance.new("Part")
  2289. mesh.Parent = shell
  2290. shell.Anchored = true
  2291. shell.formFactor = 1
  2292. shell.Size = Vector3.new(1,1,1)
  2293. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * -0.5
  2294. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  2295. shell.Parent = swordholder
  2296. shell.Transparency = 0
  2297. shell.BrickColor = BrickColor.new("Bright violet")
  2298. shell.CanCollide = false
  2299. coroutine.resume(coroutine.create(function()
  2300. for i = 0 , 1 , 0.02 do
  2301. wait()
  2302. mesh.Scale = Vector3.new(20,0.5,20) * Vector3.new(i,1,i)
  2303. shell.Transparency = 1-1*i
  2304. end
  2305. for i = 0 , 1 , 0.02 do
  2306. wait()
  2307. shell.Transparency = 1*i
  2308. end
  2309. shell.Transparency = 1
  2310. shell.Parent = nil
  2311. end))
  2312. end
  2313. for zz = 1 , 10 do
  2314. local mesh = Instance.new("SpecialMesh")
  2315. mesh.MeshType = "FileMesh"
  2316. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2317. mesh.Scale = Vector3.new(5,5,5) * Vector3.new(0.01,0.01,0.01)
  2318. local shell = Instance.new("Part")
  2319. mesh.Parent = shell
  2320. shell.Anchored = true
  2321. shell.formFactor = 1
  2322. shell.Size = Vector3.new(1,1,1)
  2323. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)
  2324. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90)+2*math.random(),2*math.random(),2*math.random())
  2325. shell.Parent = swordholder
  2326. shell.Transparency = 0
  2327. if math.fmod(zz,2) == 0 then
  2328. shell.BrickColor = BrickColor.new("Really black")
  2329. else
  2330. shell.BrickColor = BrickColor.new("Bright violet")
  2331. end
  2332. shell.CanCollide = false
  2333. coroutine.resume(coroutine.create(function()
  2334. for i = 0 , 1 , 0.01 do
  2335. wait()
  2336. mesh.Scale = Vector3.new(25,25,25) * Vector3.new(i,i,i)
  2337. shell.Transparency = 1*i
  2338. end
  2339. shell.Transparency = 1
  2340. shell.Parent = nil
  2341. end))
  2342. end
  2343. coroutine.resume(coroutine.create(function()
  2344. effectsg.Transparency = 1
  2345. for i = 0 , 1 , 0.1 do
  2346. wait()
  2347. effectsg.Transparency = 1-1*i
  2348. end
  2349. wait(2)
  2350. for i = 0 , 1 , 0.1 do
  2351. wait()
  2352. effectsg.Transparency = 1*i
  2353. end
  2354. effectsg.Parent = nil
  2355. end))
  2356. local mg = 100
  2357. if Hit ~= nil then
  2358. mg = (point0-point1).magnitude
  2359. elseif Hit == nil then
  2360. mg = 100
  2361. end
  2362. ls(Head,0.5)
  2363. ls(Head,0.75)
  2364. cs(Head,0.25)
  2365. ls(Head,1)
  2366. ls(Head,3)
  2367. cs(Head,0.15)
  2368. for mgg = 0 , 1,0.1 do
  2369. wait()
  2370. effectsg.Size = Vector3.new(5,(mg*mgg)+0.2,5)
  2371. local durr = CFrame.new((point0+(point1))/2,(point1))
  2372. effectsg.CFrame = CFrame.new((point0+(point1-durr.lookVector * (mg*(1-mgg))))/2,(point1)) * CFrame.Angles(math.rad(90),0,0)
  2373. end
  2374. local critrandomizer = math.random(1,crtrate)
  2375. if critrandomizer ~= 1 then
  2376. local rndmdamage = math.random(mindamage+30,maxdamage+30)
  2377. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,false)
  2378. elseif critrandomizer == 1 then
  2379. local rndmdamage = math.random(maxdamage+30,crtmaxdamage+30)
  2380. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,true)
  2381. end
  2382. bp.Parent = nil
  2383. for i = 0 , 1 , 0.1 do
  2384. wait()
  2385. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90-45*i), math.rad(-45))
  2386. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2387. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45*i),math.rad(45))
  2388. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2389. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  2390. RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2391. LWL.C0 = CFrame.new(-1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2392. prt8.Transparency = 1*i
  2393. end
  2394. for ii = 1 , #AoETrue do
  2395. table.remove(AoETrue,#AoETrue)
  2396. end
  2397. RWLRem()
  2398. LWLRem()
  2399. attack = false
  2400. attacktype = 1
  2401. end
  2402. function BlizzardSword()
  2403. attack=true
  2404. for i = 0 , 1 , 0.2 do
  2405. wait()
  2406. RW.C0 = CFrame.new(1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45))
  2407. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2408. LW.C0 = CFrame.new(-1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i),math.rad(-45+45*i),math.rad(45))
  2409. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2410. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  2411. end
  2412. local wssave = Character.Humanoid.WalkSpeed
  2413. Character.Humanoid.WalkSpeed = 0
  2414. ss(Head,1.5)
  2415. local efftab = {}
  2416. for i = 0 , 1 , 0.2 do
  2417. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2418. wait()
  2419. RW.C0 = CFrame.new(1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i), math.rad(0), math.rad(-45))
  2420. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2421. LW.C0 = CFrame.new(-1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i),math.rad(0),math.rad(45))
  2422. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2423. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45)) * CFrame.new(0, 0, 0.2)
  2424. local eff = effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  2425. table.insert(efftab,eff)
  2426. end
  2427. local trspos = Torso.Position
  2428. Character.Humanoid.WalkSpeed = wssave
  2429. for _,efff in pairs(efftab) do
  2430. wait()
  2431. coroutine.resume(coroutine.create(function()
  2432. for i = 0 , 1 , 0.15 do
  2433. wait()
  2434. efff.Transparency = 1*i
  2435. end
  2436. wait()
  2437. efff.Transparency = 1
  2438. end))
  2439. end
  2440. for io,eff in pairs(efftab) do
  2441. wait()
  2442. for zz = 1 , 1 do
  2443. local mesh = Instance.new("CylinderMesh")
  2444. mesh.Scale = Vector3.new(0.1,0.5,0.1)
  2445. local shell = Instance.new("Part")
  2446. mesh.Parent = shell
  2447. shell.Anchored = true
  2448. shell.formFactor = 1
  2449. shell.Size = Vector3.new(1,1,1)
  2450. local dur = CFrame.new(trspos,eff.Position)
  2451. local CF1 = dur * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,-6,0)
  2452. shell.CFrame = CF1
  2453. shell.Parent = eff
  2454. shell.Transparency = 1
  2455. shell.Reflectance = 0.25
  2456. shell.BrickColor = BrickColor.new("Bright blue")
  2457. shell.CanCollide = false
  2458. is(shell,0.5)
  2459. coroutine.resume(coroutine.create(function()
  2460. for i = 0 , 1 , 0.1 do
  2461. wait()
  2462. shell.Transparency = 1-1*i
  2463. mesh.Scale = Vector3.new(0.1+4.9*i,0.5,0.1+4.9*i)
  2464. end
  2465. wait(0.25)
  2466. for i = 0 , 1 , 0.1 do
  2467. wait()
  2468. shell.Transparency = 1*i
  2469. mesh.Scale = Vector3.new(5-5*i,0.5-0.5*i,5-5*i)
  2470. end
  2471. shell.Parent = nil
  2472. end))
  2473. end
  2474. end
  2475. for io,eff in pairs(efftab) do
  2476. wait()
  2477. for zz = 1 , 1 do
  2478. local mesh = Instance.new("SpecialMesh")
  2479. mesh.MeshType = "FileMesh"
  2480. mesh.Scale = Vector3.new(5,2,1)
  2481. mesh.MeshId = "rbxasset://fonts/sword.mesh"
  2482. local shell = Instance.new("Part")
  2483. mesh.Parent = shell
  2484. shell.Anchored = true
  2485. shell.formFactor = 1
  2486. shell.Size = Vector3.new(2,2,5)
  2487. local dur = CFrame.new(trspos,eff.Position)
  2488. local CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5)* CFrame.Angles(0,0,math.rad(90))
  2489. shell.CFrame = CF1
  2490. shell.Parent = eff
  2491. shell.Transparency = 1
  2492. shell.Reflectance = 0.25
  2493. shell.BrickColor = BrickColor.new("Bright blue")
  2494. shell.CanCollide = false
  2495. local hitd = 0
  2496. coroutine.resume(coroutine.create(function()
  2497. local dd = false
  2498. while shell.Parent ~= nil and not dd do
  2499. wait()
  2500. local c = game.Workspace:GetChildren();
  2501. for i = 1, #c do
  2502. local hum = c[i]:findFirstChild("Humanoid")
  2503. if hum ~= nil and hum.Health ~= 0 then
  2504. local head = c[i]:findFirstChild("Torso");
  2505. if head ~= nil then
  2506. local targ = head.Position - shell.Position;
  2507. local mag = targ.magnitude;
  2508. if mag <= 3 and c[i].Name ~= Player.Name then
  2509. dd = true
  2510. local critrandomizer = math.random(1,crtrate)
  2511. if critrandomizer ~= 1 then
  2512. local rndmdamage = math.random(mindamage+iceboost,maxdamage+iceboost)
  2513. damagesplat(rndmdamage,head,false)
  2514. hum:TakeDamage(rndmdamage)
  2515. elseif critrandomizer == 1 then
  2516. local rndmdamage = math.random(maxdamage+iceboost,crtmaxdamage+iceboost)
  2517. damagesplat(rndmdamage,head,true)
  2518. hum:TakeDamage(rndmdamage)
  2519. end
  2520. end
  2521. end
  2522. end
  2523. end
  2524. end
  2525. end))
  2526. coroutine.resume(coroutine.create(function()
  2527. uss(eff,1)
  2528.  
  2529. for i = 0 , 1 , 0.1 do
  2530. wait()
  2531. shell.Transparency = 1-1*i
  2532. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5+2*i)* CFrame.Angles(0,0,math.rad(90))
  2533. shell.CFrame = CF1
  2534. mesh.Scale = Vector3.new(5,2,1+0.5*i)
  2535. end
  2536. wait(0.25)
  2537. ss(eff,2)
  2538. for i = 0 , 1 , 0.1 do
  2539. wait()
  2540. shell.Transparency = 1*i
  2541. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,8.5+25*i)* CFrame.Angles(0,0,math.rad(90))
  2542. shell.CFrame = CF1
  2543. mesh.Scale = Vector3.new(5-5*i,2-2*i,1.5-1.5*i*i)
  2544. end
  2545. shell.Parent = nil
  2546. end))
  2547. end
  2548. end
  2549. coroutine.resume(coroutine.create(function()
  2550. wait(1.5)
  2551. for _,eff in pairs(efftab) do
  2552. wait()
  2553. eff.Parent = nil
  2554. end end))
  2555. for i = 0 , 1 , 0.1 do
  2556. wait()
  2557. RW.C0 = CFrame.new(1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(45*i), math.rad(-45))
  2558. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2559. LW.C0 = CFrame.new(-1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45))
  2560. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2561. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  2562. end
  2563. attack=false
  2564. end
  2565. local FTCount = 0
  2566. function FlameTrail()
  2567. attack=true
  2568. for i = 0 , 1 , 0.15 do
  2569. wait()
  2570. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+55*i))
  2571. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(0), math.rad(0))
  2572. LW.C0 = CFrame.new(-1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45+20*i))
  2573. end
  2574. wait(0.1)
  2575. ss(Head,1.5)
  2576. fs(Head,0.5+1.5*math.random())
  2577. local efftab = {}
  2578. RW.C0 = CFrame.new(0.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  2579. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
  2580. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(65))
  2581. dmgcnnct(hitbox)
  2582. for i = 0 , 1 , 0.15 do
  2583. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2584. wait()
  2585. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  2586. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i*i), math.rad(0), math.rad(0))
  2587. LW.C0 = CFrame.new(-0.5-1*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+20*i),math.rad(-45),math.rad(65-155*i))
  2588. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2589. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2590. if FTCount <= MaxFT then
  2591. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  2592. eff.Transparency = 1
  2593. table.insert(efftab,eff)
  2594. FTCount = FTCount + 1
  2595. OTND(eff)
  2596. coroutine.resume(coroutine.create(function()
  2597. for i = 0 , 1 , 0.15 do
  2598. wait()
  2599. eff.Transparency = 1-0.5*i
  2600. end
  2601. wait()
  2602. eff.Transparency = 0.5
  2603. end))
  2604. end
  2605. end
  2606. local rndmneg = math.random(1,2)
  2607. if rndmneg == 1 then
  2608. rndmdec1 = 13 * math.random()
  2609. else
  2610. rndmdec1 = -13 * math.random()
  2611. end
  2612. for i = 0 , 1 , 0.1 do
  2613. wait()
  2614. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1*i), math.rad(90), math.rad(10-(rndmdec1*2)*i))
  2615. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(0), math.rad(0))
  2616. LW.C0 = CFrame.new(-1.5,0.5,-0) * CFrame.fromEulerAnglesXYZ(math.rad(100),math.rad(-45),math.rad(-90))
  2617. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2618. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2619. end
  2620. ss(Head,1.5)
  2621. fs(Head,0.5+1.5*math.random())
  2622. Hitdeb = 0
  2623. for i = 0 , 1 , 0.15 do
  2624. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2625. wait()
  2626. RW.C0 = CFrame.new(1.5-1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1), math.rad(90), math.rad(10-(rndmdec1*2)))
  2627. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-200*i), math.rad(0), math.rad(0))
  2628. LW.C0 = CFrame.new(-1.5+1*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(100-80*i),math.rad(-45),math.rad(-90+135*i))
  2629. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2630. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2631. if FTCount <= MaxFT then
  2632. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  2633. eff.Transparency = 1
  2634. table.insert(efftab,eff)
  2635. FTCount = FTCount + 1
  2636. OTND(eff)
  2637. coroutine.resume(coroutine.create(function()
  2638. for i = 0 , 1 , 0.15 do
  2639. wait()
  2640. eff.Transparency = 1-0.5*i
  2641. end
  2642. wait()
  2643. eff.Transparency = 0.5
  2644. end))
  2645. end
  2646. end
  2647. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2648. for i = 0 , 1 , 0.2 do
  2649. wait()
  2650. local rndmd = rndmdec1-rndmdec1*i
  2651. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad((90-rndmd)), math.rad(90), math.rad((10-(rndmd*2))-20*i))
  2652. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90-10*i), math.rad(0), math.rad(0))
  2653. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  2654. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2655. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2656. end
  2657. for i = 0 , 1 , 0.1 do
  2658. wait()
  2659. RW.C0 = CFrame.new(1*i,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90-20*i), math.rad(90-90*i), math.rad(-10-35*i))
  2660. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-100+100*i), math.rad(0), math.rad(0))
  2661. LW.C0 = CFrame.new(-0.5-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-10*i),math.rad(-45+45*i),math.rad(45))
  2662. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2663. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  2664. end
  2665. ss(Head,1.5)
  2666. fs(Head,0.5+1.5*math.random())
  2667. wait(0.1)
  2668. Hitdeb = 0
  2669. for i = 0 , 1 , 0.2 do
  2670. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2671. wait()
  2672. RW.C0 = CFrame.new(1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i), math.rad(0), math.rad(-45))
  2673. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2674. LW.C0 = CFrame.new(-1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i),math.rad(0),math.rad(45))
  2675. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2676. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  2677. if FTCount <= MaxFT then
  2678. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  2679. eff.Transparency = 1
  2680. table.insert(efftab,eff)
  2681. FTCount = FTCount + 1
  2682. OTND(eff)
  2683. coroutine.resume(coroutine.create(function()
  2684. for i = 0 , 1 , 0.15 do
  2685. wait()
  2686. eff.Transparency = 1-0.5*i
  2687. end
  2688. wait()
  2689. eff.Transparency = 0.5
  2690. end))
  2691. end
  2692. end
  2693. coroutine.resume(coroutine.create(function()
  2694. wait(5)
  2695. for _,eff in pairs(efftab) do
  2696. wait()
  2697. eff.Parent = nil
  2698. FTCount = FTCount - 1
  2699. end end))
  2700. for i = 0 , 1 , 0.1 do
  2701. wait()
  2702. RW.C0 = CFrame.new(1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i), math.rad(45*i), math.rad(-45))
  2703. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2704. LW.C0 = CFrame.new(-1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i),math.rad(-45*i),math.rad(45))
  2705. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  2706. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  2707. end
  2708. dmgdc()
  2709. attack=false
  2710. end
  2711.  
  2712.  
  2713. function LifeDrain()
  2714. attack=true
  2715. for i = 0 , 1 , 0.1 do
  2716. wait()
  2717. RW.C0 = CFrame.new(1,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45), math.rad(-45+90*i))
  2718. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  2719. LW.C0 = CFrame.new(-1+1.25*i,0.5+0.25*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+25*i),math.rad(-45+90*i),math.rad(45+25*i))
  2720. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  2721. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2722. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2723. end
  2724. ------
  2725. local nrmag = 50
  2726. local nrprsn = nil
  2727. wait()
  2728. --
  2729. local c = game.Workspace:GetChildren();
  2730. for i = 1, #c do
  2731. local hum = c[i]:findFirstChild("Humanoid")
  2732. if hum ~= nil and hum.Health ~= 0 then
  2733. local head = c[i]:findFirstChild("Torso");
  2734. if head ~= nil then
  2735. local targ = head.Position - Torso.Position;
  2736. local mag = targ.magnitude;
  2737. if mag <= 50 and c[i].Name ~= Player.Name then
  2738. if mag < nrmag then
  2739. nrmag = mag
  2740. nrprsn = c[i]
  2741. end
  2742. end end end end
  2743. --
  2744. if nrprsn == nil then
  2745. attack = false
  2746. return end
  2747. local C = 0
  2748. local bp = Instance.new("BodyPosition")
  2749. local bg = Instance.new("BodyGyro")
  2750. bp.Parent = Torso
  2751. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2752. bp.P = bp.P + 10000
  2753. local CF = nrprsn.Torso.CFrame
  2754. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * -3
  2755. bg.Parent = Torso
  2756. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2757. bg.P = bg.P + 100000
  2758. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(0),0,0)
  2759. ss(Head,2)
  2760. wait(0.1)
  2761. local FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2762. local LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2763. for i = 0 , 1 , 0.2 do
  2764. wait()
  2765. C = C + 1
  2766. RW.C0 = CFrame.new(1-1*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-90*i), math.rad(45), math.rad(45-135*i))
  2767. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  2768. LW.C0 = CFrame.new(0.25-1.75*i,0.75-0.25*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),math.rad(45),math.rad(70-125*i))
  2769. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  2770. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  2771. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2772. if C == 3 then
  2773. bp.P = bp.P + 10000
  2774. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * 6
  2775. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(-45),0,0)
  2776. end
  2777. if C == 2 then
  2778. FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2779. elseif C == 5 then
  2780. LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  2781. end
  2782. end
  2783. local effectsmsh = Instance.new("SpecialMesh")
  2784. effectsmsh.Scale = Vector3.new(5,1,5)
  2785. effectsmsh.MeshType = "Sphere"
  2786. local effectsg = Instance.new("Part")
  2787. effectsg.formFactor = 3
  2788. effectsg.CanCollide = false
  2789. effectsg.Name = "Eff"
  2790. effectsg.Locked = true
  2791. effectsg.Anchored = true
  2792. effectsg.Size = Vector3.new(0.2,1,0.2)
  2793. effectsg.Parent = swordholder
  2794. effectsmsh.Parent = effectsg
  2795. effectsg.BrickColor = BrickColor.new("White")
  2796. effectsg.Reflectance = Ref
  2797. local point1 = FirstP
  2798. local LP = LastP
  2799. local mg = (LP.p - point1.p).magnitude
  2800. effectsg.Size = Vector3.new(0.2,mg,0.2)
  2801. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  2802. if returnn then return effectsg end
  2803. coroutine.resume(coroutine.create(function()
  2804. if not returnn then
  2805. for i = 0 , 1 , 0.1 do
  2806. wait()
  2807. effectsg.Transparency = 1*i
  2808. end
  2809. wait()
  2810. effectsg.Parent = nil
  2811. end
  2812. end))
  2813. local critrandomizer = math.random(1,crtrate)
  2814. local rndmdamage = 0
  2815. if critrandomizer ~= 1 then
  2816. rndmdamage = math.random(mindamage,maxdamage)
  2817. damagesplat(rndmdamage,nrprsn.Head,false)
  2818. nrprsn.Humanoid:TakeDamage(rndmdamage)
  2819. elseif critrandomizer == 1 then
  2820. rndmdamage = math.random(maxdamage,crtmaxdamage)
  2821. damagesplat(rndmdamage,nrprsn.Head,true)
  2822. nrprsn.Humanoid:TakeDamage(rndmdamage)
  2823. end
  2824. local tempmod = Instance.new("Model",Workspace)
  2825. for l = 1 , rndmdamage/5 do
  2826. local meshz = Instance.new("SpecialMesh")
  2827. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  2828. meshz.MeshType = "Sphere"
  2829. local shellz = Instance.new("Part")
  2830. meshz.Parent = shellz
  2831. shellz.Anchored = false
  2832. shellz.formFactor = 0
  2833. shellz.Size = Vector3.new(1,1,1)
  2834. shellz.CFrame = hitbox.CFrame
  2835. shellz.Parent = tempmod
  2836. shellz.Transparency = 0.5
  2837. shellz.BrickColor = BrickColor.new("White")
  2838. shellz.CanCollide = false
  2839. shellz.Reflectance = 0
  2840. local bv = Instance.new("BodyPosition")
  2841. bv.Parent = shellz
  2842. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2843. bv.P = bv.P + 10000
  2844. bv.position = shellz.Position + Vector3.new(math.random(-25,25),math.random(-2.5,7.5),math.random(-25,25))
  2845. coroutine.resume(coroutine.create(function()
  2846. wait(3)
  2847. bv.maxForce = Vector3.new(0,math.huge,0)
  2848. coroutine.resume(coroutine.create(function()
  2849. local dd = false
  2850. while shellz.Transparency ~= 1 and not dd do
  2851. wait(0.1)
  2852. local cc = game.Workspace:GetChildren();
  2853. for i = 1, #c do
  2854. local hum = cc[i]:findFirstChild("Humanoid")
  2855. if hum ~= nil and hum.Health ~= 0 then
  2856. local head = cc[i]:findFirstChild("Head");
  2857. if head ~= nil then
  2858. local targ = head.Position - shellz.Position;
  2859. local mag = targ.magnitude;
  2860. if mag <= 5 then
  2861. dd = true
  2862. damagesplat(5+darkboost,head,false)
  2863. hum.Health = hum.Health + 5 + darkboost
  2864. for i = 0 , 1 , 0.05 do
  2865. wait()
  2866. shellz.Transparency = 1*i
  2867. end
  2868. shellz.Parent = nil
  2869. end
  2870. end
  2871. end
  2872. end
  2873. end
  2874. end))
  2875.  
  2876. end))
  2877. local hx = false
  2878. coroutine.resume(coroutine.create(function()
  2879. for i = 0 , 1 , 0.05 do
  2880. wait()
  2881. shellz.Transparency = 1-1*i
  2882. end
  2883. shellz.Transparency = 0
  2884. end))
  2885. coroutine.resume(coroutine.create(function()
  2886. wait(60)
  2887. for ii,shellz in pairs(tempmod:GetChildren()) do
  2888. for i = 0 , 1 , 0.1 do
  2889. wait()
  2890. shellz.Transparency = 1*i
  2891. end
  2892. shellz.Parent = nil
  2893. end
  2894. tempmod.Parent = nil
  2895. end))
  2896. end
  2897. wait(0.5)
  2898. ----
  2899. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  2900. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2901. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  2902. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2903. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2904. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2905. attack=false
  2906. bp.Parent = nil bg.Parent = nil
  2907. end
  2908.  
  2909.  
  2910. --TEST
  2911.  
  2912. hammer = Torso
  2913.  
  2914. function doDamage(hit)
  2915. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2916. local hum = Player.Character:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2917. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  2918. local foundd = false
  2919. for ii = 1 , #AoETrue do
  2920. if AoETrue[ii] == hit.Parent.Name then
  2921. foundd = true
  2922. end
  2923. end
  2924. if foundd then
  2925. end
  2926. --
  2927. if not foundd then
  2928. humanoid:TakeDamage(5)
  2929. if Mode == "Fire" then
  2930. end
  2931. damagesplat(5,humanoid.Parent.Torso,false)
  2932. table.insert(AoETrue,hit.Parent)
  2933. end
  2934.  
  2935. if humanoid.Health <= 0 then
  2936. local c = hit.CFrame
  2937. hit.CFrame = CFrame.new(hit.Position)
  2938. hit.CFrame = c
  2939. end
  2940. delay(1, function() end)
  2941. else
  2942. local c = hit.CFrame hit.CFrame = CFrame.new(hit.Position) hit.CFrame = c
  2943. end
  2944. end
  2945. function bewm(obj, pos, notme)
  2946. if (obj ~= notme) then
  2947. if (obj.className == "Part") or (obj.className == "Seat") then
  2948. if (not obj.Anchored) and (((pos - obj.Position) * Vector3.new(1, 0, 1)).magnitude < 24) and (pos.y <= obj.Position.y + 2) and (pos.y >= obj.Position.y - 2) then
  2949. delay((pos - obj.Position).magnitude / 24, function() obj.Velocity = ((obj.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 96 + obj.Velocity obj.RotVelocity = obj.RotVelocity + Vector3.new(obj.Position.z - pos.z, 0, pos.x - obj.Position.x).unit * 40 doDamage(obj) end)
  2950. end
  2951. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  2952. local list = obj:GetChildren()
  2953. for x = 1, #list do
  2954. bewm(list[x], pos, notme)
  2955. end
  2956. end
  2957. end
  2958. end
  2959.  
  2960. function attackr()
  2961. local shockRing = Instance.new("Part")
  2962. shockRing.formFactor = 2
  2963. shockRing.Size = Vector3.new(1, 0.4, 1)
  2964. shockRing.Anchored = true
  2965. shockRing.Locked = true
  2966. shockRing.CanCollide = false
  2967. shockRing.archivable = false
  2968. shockRing.TopSurface = 0
  2969. shockRing.BottomSurface = 0
  2970. shockRing.Transparency = 0
  2971. if Mode == "Fire" then
  2972. shockRing.BrickColor = BrickColor.new("Really red")
  2973. elseif Mode == "Dark" then
  2974. shockRing.BrickColor = BrickColor.new("Bright violet")
  2975. elseif Mode == "Ice" then
  2976. shockRing.BrickColor = BrickColor.new("Bright blue")
  2977. shockRing.Reflectance = 0.2
  2978. end
  2979. local decal = Instance.new("CylinderMesh")
  2980. decal.Parent = shockRing
  2981. decal.Scale = Vector3.new(1,0.1,1)
  2982. wait(0.2)
  2983. local pos = hammer.CFrame * (Vector3.new(0, -2.5, 0))
  2984. bewm(game.Workspace, pos, Player.Character)
  2985. shockRing.CFrame = CFrame.new(pos)
  2986. for x = 0, 1 , 0.0625 do
  2987. delay((x*16) / 30, function() shockRing.Parent = nil shockRing.Size = Vector3.new(0, 0.4, 0) + Vector3.new(3.2, 0, 3.2) * (x*16) shockRing.Transparency = 1*x shockRing.Parent = Player.Character end)
  2988. end
  2989. delay(1, function()
  2990. shockRing.Parent = nil
  2991. for ii = 1 , #AoETrue do
  2992. table.remove(AoETrue,#AoETrue)
  2993. end end)
  2994. end
  2995. local modemodel = Instance.new("Model",swordholder)
  2996. local mrdychng = false
  2997. function FireMode()
  2998. attack=true
  2999. Mode = "Fire"
  3000. fireboost = 5
  3001. mrdychng = true
  3002. for i = 0 , 1 , 0.1 do
  3003. wait()
  3004. RW.C0 = CFrame.new(1+0.5*i,0.5+1*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45+45*i))
  3005. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3006. LW.C0 = CFrame.new(-1+1*i,0.5+1*i,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45+65*i))
  3007. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3008. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3009. end
  3010. cs(Head,1.5)
  3011. local tempmod = Instance.new("Model",swordholder)
  3012. for l = 1 , 20 do
  3013. local meshz = Instance.new("SpecialMesh")
  3014. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  3015. meshz.MeshType = "Sphere"
  3016. local shellz = Instance.new("Part")
  3017. meshz.Parent = shellz
  3018. shellz.Anchored = false
  3019. shellz.formFactor = 0
  3020. shellz.Size = Vector3.new(1,1,1)
  3021. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3022. shellz.Parent = tempmod
  3023. shellz.Transparency = 0.5
  3024. shellz.BrickColor = BrickColor.new("Really red")
  3025. shellz.CanCollide = false
  3026. shellz.Reflectance = 0
  3027. local bv = Instance.new("BodyPosition")
  3028. bv.Parent = shellz
  3029. bv.maxForce = Vector3.new(200000,200000,200000)
  3030. bv.position = shellz.Position
  3031. coroutine.resume(coroutine.create(function()
  3032. for i = 0 , 1 , 0.025 do
  3033. wait()
  3034. shellz.Transparency = 1-1*i
  3035. end
  3036. shellz.Transparency = 0
  3037. end))
  3038. coroutine.resume(coroutine.create(function()
  3039. wait(0.05)
  3040. bv.position = hitbox.Position
  3041. for i = 1 , 20 do
  3042. wait(0.1)
  3043. bv.position = shell.Position
  3044. end
  3045. shellz.Parent = nil
  3046. end))
  3047. wait(0.01)
  3048. end
  3049. coroutine.resume(coroutine.create(function ()
  3050. wait(0.25)
  3051. tempmod.Parent = nil
  3052. end))
  3053. for i = 0 , 1 , 0.2 do
  3054. wait()
  3055. RW.C0 = CFrame.new(1.5,1.5-1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(135-45*i), math.rad(0), math.rad(0))
  3056. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3057. LW.C0 = CFrame.new(0,1.5-1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(110-45*i))
  3058. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3059. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3060. end
  3061. bs(Head,0.75)
  3062. attackr()
  3063. for zz = 1 , 1 do
  3064. local mesh = Instance.new("SpecialMesh")
  3065. mesh.MeshType = "FileMesh"
  3066. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3067. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  3068. local shell = Instance.new("Part")
  3069. mesh.Parent = shell
  3070. shell.Anchored = true
  3071. shell.formFactor = 1
  3072. shell.Size = Vector3.new(1,1,1)
  3073. shell.CFrame = Torso.CFrame * CFrame.new(0,-1.5,0)
  3074. shell.Parent = swordholder
  3075. shell.Transparency = 0
  3076. shell.BrickColor = BrickColor.new("Really red")
  3077. shell.CanCollide = false
  3078. coroutine.resume(coroutine.create(function()
  3079. for i = 0 , 1 , 0.075 do
  3080. wait()
  3081. mesh.Scale = Vector3.new(20,5,20) * Vector3.new(i,1,i)
  3082. shell.Transparency = 1*i
  3083. end
  3084. shell.Transparency = 1
  3085. shell.Parent = nil
  3086. end))
  3087. end
  3088. for zz = 1 , 1 do
  3089. local mesh = Instance.new("SpecialMesh")
  3090. mesh.MeshType = "FileMesh"
  3091. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3092. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(0.01,0.01,0.01)
  3093. local shell = Instance.new("Part")
  3094. mesh.Parent = shell
  3095. shell.Anchored = true
  3096. shell.formFactor = 1
  3097. shell.Size = Vector3.new(1,1,1)
  3098. shell.CFrame = Torso.CFrame * CFrame.new(0,1,0)
  3099. shell.Parent = swordholder
  3100. shell.Transparency = 0
  3101. shell.BrickColor = BrickColor.new("Really red")
  3102. shell.CanCollide = false
  3103. coroutine.resume(coroutine.create(function()
  3104. for i = 0 , 1 , 0.05 do
  3105. wait()
  3106. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(i,1,i)
  3107. shell.Transparency = 1*i
  3108. end
  3109. shell.Transparency = 1
  3110. shell.Parent = nil
  3111. end))
  3112. end
  3113. for zz = 1 , 3 do
  3114. local mesh = Instance.new("SpecialMesh")
  3115. mesh.MeshType = "Sphere"
  3116. mesh.Scale = Vector3.new(5*zz,5*zz,5*zz) * Vector3.new(0.01,0.01,0.01)
  3117. local shell = Instance.new("Part")
  3118. mesh.Parent = shell
  3119. shell.Anchored = true
  3120. shell.formFactor = 3
  3121. shell.Size = Vector3.new(1,1,1)
  3122. shell.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
  3123. shell.Parent = swordholder
  3124. shell.Transparency = 0
  3125. if math.fmod(zz,2) == 1 then
  3126. shell.BrickColor = BrickColor.new("Bright orange")
  3127. elseif math.fmod(zz,2) == 0.5 then
  3128. shell.BrickColor = BrickColor.new("Bright red")
  3129. else
  3130. shell.BrickColor = BrickColor.new("Bright yellow")
  3131. end
  3132. shell.CanCollide = false
  3133. coroutine.resume(coroutine.create(function()
  3134. for i = 0 , 1 , 0.025 do
  3135. wait()
  3136. mesh.Scale = Vector3.new(10*zz,10*zz,10*zz) * Vector3.new(i,i,i)
  3137. shell.Transparency = 1*i
  3138. end
  3139. shell.Transparency = 1
  3140. shell.Parent = nil
  3141. end))
  3142. end
  3143.  
  3144.  
  3145. for ii,z in pairs(modemodel:GetChildren()) do
  3146. z.Parent = nil
  3147. end
  3148.  
  3149. local wing1m = Instance.new("BlockMesh")
  3150. wing1m.Scale = Vector3.new(1,1,1)
  3151. local wing1p = Instance.new("Part")
  3152. wing1p.formFactor = 3
  3153. wing1p.CanCollide = false
  3154. wing1p.Name = "FlameWingP1"
  3155. wing1p.Locked = true
  3156. wing1p.Size = Vector3.new(0.2,0.2,0.2)
  3157. wing1p.Parent = modemodel
  3158. wing1m.Parent = wing1p
  3159. wing1p.BrickColor = BrickColor.new("Bright red")
  3160. wing1p.Transparency = 1
  3161. local wing1w = Instance.new("Weld")
  3162. wing1w.Parent = wing1p
  3163. wing1w.Part0 = wing1p
  3164. wing1w.Part1 = Torso
  3165. wing1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  3166. wing1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(-1, 0, 0)
  3167. local wing2m = Instance.new("BlockMesh")
  3168. wing2m.Scale = Vector3.new(1,1,1)
  3169. local wing2p = Instance.new("Part")
  3170. wing2p.formFactor = 3
  3171. wing2p.CanCollide = false
  3172. wing2p.Name = "FlameWingP2"
  3173. wing2p.Locked = true
  3174. wing2p.Size = Vector3.new(0.2,0.2,0.2)
  3175. wing2p.Parent = modemodel
  3176. wing2m.Parent = wing2p
  3177. wing2p.BrickColor = BrickColor.new("Bright red")
  3178. wing2p.Transparency = 1
  3179. local wing2w = Instance.new("Weld")
  3180. wing2w.Parent = wing2p
  3181. wing2w.Part0 = wing2p
  3182. wing2w.Part1 = Torso
  3183. wing2w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  3184. wing2w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(1, 0, 0)
  3185. coroutine.resume(coroutine.create(function()
  3186. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  3187. wait(0.1)
  3188. local ringm = Instance.new("BlockMesh")
  3189. ringm.Scale = Vector3.new(1,1,1)
  3190. local ringp = Instance.new("Part")
  3191. ringp.formFactor = 3
  3192. ringp.CanCollide = false
  3193. ringp.Name = "FlameWing"..ringi
  3194. ringp.Locked = true
  3195. ringp.Size = Vector3.new(0.2,2,0.8)
  3196. ringp.Parent = modemodel
  3197. ringm.Parent = ringp
  3198. ringp.BrickColor = BrickColor.new("Bright red")
  3199. ringp.Reflectance = 0.1
  3200. ringp.Transparency = 1
  3201. local ringw = Instance.new("Weld")
  3202. ringw.Parent = ringp
  3203. ringw.Part0 = ringp
  3204. ringw.Part1 = wing1p
  3205. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi, 0, 0) * CFrame.new(0, ringp.Size.y/4 , 0)
  3206. ringw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(45)) * CFrame.new(0, -1, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.x/1.625
  3207. coroutine.resume(coroutine.create(function()
  3208. for i = 0 , 1 , 0.025 do
  3209. wait()
  3210. ringp.Transparency = 1-1*i
  3211. end
  3212. ringp.Transparency = 0
  3213. end))
  3214. end end))
  3215. coroutine.resume(coroutine.create(function()
  3216. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  3217. wait(0.1)
  3218. local ringm = Instance.new("BlockMesh")
  3219. ringm.Scale = Vector3.new(1,1,1)
  3220. local ringp = Instance.new("Part")
  3221. ringp.formFactor = 3
  3222. ringp.CanCollide = false
  3223. ringp.Name = "FlameWing2_"..ringi
  3224. ringp.Locked = true
  3225. ringp.Size = Vector3.new(0.2,2,0.8)
  3226. ringp.Parent = modemodel
  3227. ringm.Parent = ringp
  3228. ringp.BrickColor = BrickColor.new("Bright red")
  3229. ringp.Reflectance = 0.1
  3230. ringp.Transparency = 1
  3231. local ringw = Instance.new("Weld")
  3232. ringw.Parent = ringp
  3233. ringw.Part0 = ringp
  3234. ringw.Part1 = wing2p
  3235. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi+math.rad(0), 0, 0) * CFrame.new(-0, ringp.Size.y/4 , 0)
  3236. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(-45)) * CFrame.new(-0, -1, 0)
  3237. coroutine.resume(coroutine.create(function()
  3238. for i = 0 , 1 , 0.025 do
  3239. wait()
  3240. ringp.Transparency = 1-1*i
  3241. end
  3242. ringp.Transparency = 0
  3243. end))
  3244. end end))
  3245. local wingp1m = Instance.new("SpecialMesh")
  3246. wingp1m.Scale = Vector3.new(1,1,1)
  3247. wingp1m.MeshType = "Sphere"
  3248. local wingp1p = Instance.new("Part")
  3249. wingp1p.formFactor = 3
  3250. wingp1p.CanCollide = false
  3251. wingp1p.Name = "FlameOrb"
  3252. wingp1p.Locked = true
  3253. wingp1p.Size = Vector3.new(1,1,1)
  3254. wingp1p.Parent = modemodel
  3255. wingp1m.Parent = wingp1p
  3256. wingp1p.Reflectance = 0.2
  3257. wingp1p.BrickColor = BrickColor.new("Bright red")
  3258. local wingp1w = Instance.new("Weld")
  3259. wingp1w.Parent = wingp1p
  3260. wingp1w.Part0 = wingp1p
  3261. wingp1w.Part1 = Torso
  3262. wingp1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  3263. wingp1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, -0.5, 0.5)
  3264. coroutine.resume(coroutine.create(function()
  3265. for i = 0 , 1 , 0.025 do
  3266. wait()
  3267. wingp1p.Transparency = 1-1*i
  3268. end
  3269. wingp1p.Transparency = 0
  3270. end))
  3271. local Firee = modemodel
  3272. local Spawn = wingp1p
  3273. local colors = {BrickColor.new("Bright red"),BrickColor.new("Bright yellow"),BrickColor.new("Bright orange")}
  3274. local Embers = {}
  3275. local modelz = Instance.new("Model",Firee)
  3276. modelz.Name = "FireHolder"
  3277. for X = 1, 15 do
  3278. local f = Instance.new("Part")
  3279. f.Parent = nil
  3280. f.BrickColor = colors[math.random(1, # colors)]
  3281. f.Size = Vector3.new(1,1,1)
  3282. f.formFactor = 3
  3283. f.Anchored = true
  3284. f.Locked = true
  3285. f.CanCollide = false
  3286. f.Transparency = 0.5
  3287. f.Name = "Fire"
  3288. f.TopSurface = 0
  3289. f.BottomSurface = 0
  3290. Instance.new("BlockMesh",f)
  3291. table.insert(Embers, f)
  3292. end
  3293. local R = 0
  3294. coroutine.resume(coroutine.create(function ()
  3295. repeat
  3296. wait()
  3297. R = R + 1
  3298. for X = 1, # Embers do
  3299. Embers[X].Parent = modelz
  3300. local FM = math.fmod(R + X, # Embers)
  3301. if FM == 1 then
  3302. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  3303. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  3304. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, (Spawn.Position * rndm) + RandPos + RandDir)
  3305. Embers[X].Mesh.Scale = Vector3.new(1,1,1)
  3306. else
  3307. Embers[X].CFrame = Embers[X].CFrame + Embers[X].CFrame.lookVector*0.5
  3308. Embers[X].Mesh.Scale = Embers[X].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  3309. end
  3310. end
  3311. until wingp1p.Parent == nil
  3312. for i = 0 ,1 , 0.1 do
  3313. wait(0.2)
  3314. for X = 1, # Embers do
  3315. Embers[X].Transparency = 0.5+0.5*i
  3316. end
  3317. end
  3318. for X = 1, # Embers do
  3319. Embers[X].Parent = nil
  3320. end
  3321. end))
  3322. for ii = 1 , #AoETrue do
  3323. table.remove(AoETrue,#AoETrue)
  3324. end
  3325. wait(0.25)
  3326. for i = 0 , 1 , 0.1 do
  3327. wait()
  3328. RW.C0 = CFrame.new(1.5,0.5+0.5*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+25*i), math.rad(0), math.rad(0))
  3329. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3330. LW.C0 = CFrame.new(0,0.5+0.5*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(65+25*i))
  3331. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3332. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3333. end
  3334. for i = 0 , 1 , 0.1 do
  3335. wait()
  3336. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(115-35*i), math.rad(45*i), math.rad(-45*i))
  3337. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3338. LW.C0 = CFrame.new(-1*i,1-0.5*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(0),math.rad(90-45*i))
  3339. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3340. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3341. end
  3342. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  3343. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3344. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  3345. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3346. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3347. attack=false
  3348. wait(1.5)
  3349. mrdychng = false
  3350. end
  3351. function NeutralMode()
  3352. attack=true
  3353. Mode = "None"
  3354. fireboost = 0
  3355. iceboost = 0
  3356. darkboost = 0
  3357. ss(Head,1)
  3358. cs(Head,2)
  3359. mrdychng = true
  3360. for i = 0 , 1 , 0.2 do
  3361. wait()
  3362. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45), math.rad(-45+45*i))
  3363. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  3364. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45),math.rad(45-45*i))
  3365. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  3366. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3367. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3368. end
  3369. coroutine.resume(coroutine.create(function()
  3370. for ii,z in pairs(modemodel:GetChildren()) do
  3371. if string.sub(z.Name,0,string.len(z.Name)-1) ~= "FlameWingP" then
  3372. wait()
  3373. coroutine.resume(coroutine.create(function()
  3374. for i = 0 , 1 , 0.1 do
  3375. wait()
  3376. z.Transparency = (1-z.Transparency)*i
  3377. end
  3378. z.Parent = nil
  3379. end))
  3380. end
  3381. end
  3382. wait(0.5)
  3383. for ii,z in pairs(modemodel:GetChildren()) do
  3384. wait()
  3385. z.Parent = nil
  3386. end
  3387. end))
  3388. for i = 0 , 1 , 0.1 do
  3389. wait()
  3390. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(45), math.rad(0))
  3391. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  3392. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0))
  3393. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  3394. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3395. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70+20*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3396. end
  3397.  
  3398. wait(0.25)
  3399. for i = 0 , 1 , 0.1 do
  3400. wait()
  3401. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(45), math.rad(-45*i))
  3402. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  3403. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45),math.rad(45*i))
  3404. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  3405. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3406. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90-90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3407. end
  3408. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  3409. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3410. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  3411. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  3412. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  3413. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  3414. attack=false
  3415. wait(0.5)
  3416. mrdychng = false
  3417. end
  3418.  
  3419. function ob1d(mouse)
  3420. hold = true
  3421. if attack == true then return end
  3422. end
  3423. function ob1u(mouse)
  3424. end
  3425. buttonhold = false
  3426. function key(key)
  3427. if attack == true then return end
  3428. if key == "q" then
  3429. if attacktype == 1 then
  3430. Combo1a()
  3431. elseif attacktype == 2 then
  3432. Combo1b()
  3433. elseif attacktype == 3 then
  3434. Combo1c()
  3435. end
  3436. end
  3437. if key == "e" then
  3438. if attacktype == 1 then
  3439. BlizzardSword()
  3440. end
  3441. end
  3442. if key == "r" then
  3443. FlameTrail()
  3444. end
  3445. if key == "t" then
  3446. LifeDrain()
  3447. end
  3448. if Mode == "None" and not mrdychng then
  3449. if key == "z" then
  3450. FireMode()
  3451. end
  3452. elseif not mrdychng then
  3453. if key == "z" or key == "x" or key == "c" then
  3454. NeutralMode()
  3455. end
  3456. end
  3457. end
  3458.  
  3459. function key2(key)
  3460. end
  3461. function s(mouse)
  3462. repeat wait() until not attack
  3463. while ev.Value ~= false do
  3464. wait(0.1)
  3465. end
  3466. MMouse = mouse
  3467. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3468. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3469. mouse.KeyDown:connect(key)
  3470. mouse.KeyUp:connect(key2)
  3471. equipanim()
  3472. ev.Value = true
  3473. --[[
  3474. script.Parent = Bin.Parent
  3475. Bin:remove()]]
  3476. end
  3477. function ds(mouse)
  3478. repeat wait() until not attack
  3479. while ev.Value == false do
  3480. wait(0.1)
  3481. end
  3482.  
  3483. hideanim()
  3484. wait(0.1)
  3485. ev.Value = false
  3486. end
  3487. Bin.Selected:connect(s)
  3488. Bin.Deselected:connect(ds)
  3489.  
  3490.  
  3491. --lego- - - - - - - - - - - - — — - - - - - - - - -
  3492. mouse.KeyDown:connect(function(key)
  3493. if key == "q" then
  3494. if Debounces.CanAttack == true then
  3495. Debounces.CanAttack = false
  3496. Debounces.NoIdl = true
  3497. Debounces.on = true
  3498. function FindNearestTorso(Position,Distance,SinglePlayer)
  3499. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3500. local List = {}
  3501. for i,v in pairs(workspace:GetChildren())do
  3502. if v:IsA("Model")then
  3503. if v:findFirstChild("Torso")then
  3504. if v ~= char then
  3505. if(v.Torso.Position -Position).magnitude <= Distance then
  3506. table.insert(List,v)
  3507. end
  3508. end
  3509. end
  3510. end
  3511. end
  3512. return List
  3513. end
  3514. z = Instance.new("Sound",hed)
  3515. z.SoundId = "rbxassetid://232213955"
  3516. z.Pitch = 1
  3517. z.Volume = 1
  3518. wait(0.2)
  3519. z:Play()
  3520. sp = Instance.new("Part",rarm)
  3521. sp.Anchored = true
  3522. sp.CanCollide = false
  3523. sp.Locked = true
  3524. sp.Transparency = 0
  3525. sp.Material = "Neon"
  3526. sp.Size = Vector3.new(1,1,1)
  3527. sp.TopSurface = "SmoothNoOutlines"
  3528. sp.BottomSurface = "SmoothNoOutlines"
  3529. sp.BrickColor = BrickColor.new("New Yeller")
  3530. spm = Instance.new("SpecialMesh",sp)
  3531. spm.MeshType = "Sphere"
  3532. spm.Scale = Vector3.new(21,21,21)
  3533. sp2 = Instance.new("Part", rarm)
  3534. sp2.Name = "Energy"
  3535. sp2.BrickColor = BrickColor.new("New Yeller")
  3536. sp2.Size = Vector3.new(1, 1, 1)
  3537. sp2.Shape = "Ball"
  3538. sp2.CanCollide = false
  3539. sp2.Anchored = true
  3540. sp2.Locked = true
  3541. sp2.TopSurface = 0
  3542. sp2.BottomSurface = 0
  3543. sp2.Transparency = 1
  3544. spm2 = Instance.new("SpecialMesh",sp2)
  3545. spm2.MeshId = "rbxassetid://9982590"
  3546. spm2.Scale = Vector3.new(2,2,2)
  3547. for i = 1, 20 do
  3548. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  3549. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  3550. 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)
  3551. 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)
  3552. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3553. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3554. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3555. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3556. if Debounces.on == false then break end
  3557. rs:wait()
  3558. end
  3559. for i = 1, 100, 20 do rs:wait()
  3560. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  3561. end
  3562. for i = 1, 20 do
  3563. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  3564. 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)
  3565. 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)
  3566. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  3567. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  3568. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3569. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3570. if Debounces.on == false then break end
  3571. rs:wait()
  3572. end
  3573. sp.Transparency = 1
  3574. for i = 1, 20 do
  3575. 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)
  3576. 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)
  3577. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  3578. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  3579. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3580. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3581. if Debounces.on == false then break end
  3582. rs:wait()
  3583. end
  3584. wait(1)
  3585. sp.Transparency = 0
  3586. sp2.Transparency = 0.84
  3587. for i = 1, 20 do
  3588. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  3589. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  3590. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  3591. 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)
  3592. 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)
  3593. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  3594. 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)
  3595. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  3596. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  3597. if Debounces.on == false then break end
  3598. rs:wait()
  3599. end
  3600. for i = 1, 2880, 50 do
  3601. rs:wait()
  3602. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  3603. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  3604. rs:wait()
  3605. end
  3606. sp:Destroy()
  3607. sp2:Destroy()
  3608. local X = Instance.new("Part",char)
  3609. local O = Instance.new("ObjectValue",X)
  3610. O.Name = "creator"
  3611. X.Locked = true
  3612. X.Name = "Shell"
  3613. X.Anchored = false
  3614. X.CanCollide = false
  3615. X.Transparency = 0
  3616. X.Reflectance = 0
  3617. X.BottomSurface = 0
  3618. X.TopSurface = 0
  3619. X.Shape = 0
  3620. local V = Instance.new("ObjectValue",X)
  3621. V.Value = char
  3622. V.Name = "creator"
  3623. X.BrickColor = BrickColor.new("New Yeller")
  3624. X.Size = Vector3.new(2,2,2)
  3625. X.Material = "Neon"
  3626. local Z = Instance.new("SpecialMesh",X)
  3627. Z.MeshType = "Sphere"
  3628. Z.Scale = Vector3.new(0.5,0.5,1)
  3629. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  3630. local bv = Instance.new("BodyVelocity",X)
  3631. bv.maxForce = Vector3.new(99999,99999,99999)
  3632. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  3633. bv.velocity = X.CFrame.lookVector*65
  3634.  
  3635. Explode = X.Touched:connect(function(hit)
  3636. if hit ~= char and hit.Name ~= "Shell" then
  3637. local cf = X.CFrame
  3638. bv:Destroy()
  3639. X.Anchored = true
  3640. Z:Remove()
  3641. Explode:disconnect()
  3642. X.Size = Vector3.new(3,3,3)
  3643. X.Touched:connect(function(hit) end)
  3644. X.CanCollide = false
  3645. local part3 = Instance.new("Part", rarm)
  3646. part3.Anchored=true
  3647. part3.CanCollide=false
  3648. part3.Locked = true
  3649. part3.TopSurface = "SmoothNoOutlines"
  3650. part3.BottomSurface = "SmoothNoOutlines"
  3651. part3.FormFactor='Custom'
  3652. part3.Size=Vector3.new(1,1, 1)
  3653. part3.CFrame=X.CFrame
  3654. part3.Transparency=0
  3655. part3.BrickColor=BrickColor.new("New Yeller")
  3656. local mesh3 = Instance.new("SpecialMesh",part3)
  3657. mesh3.MeshType = "Sphere"
  3658. mesh3.Scale = Vector3.new(1,1,1)
  3659. --debris:AddItem(X,8)
  3660. local part4 = Instance.new("Part", rarm)
  3661. part4.Material = "Neon"
  3662. part4.Anchored=true
  3663. part4.CanCollide=false
  3664. part4.Locked = true
  3665. part4.TopSurface = "SmoothNoOutlines"
  3666. part4.BottomSurface = "SmoothNoOutlines"
  3667. part4.FormFactor='Custom'
  3668. part4.Size=Vector3.new(1,1, 1)
  3669. part4.CFrame=X.CFrame
  3670. part4.Transparency=0
  3671. part4.BrickColor=BrickColor.new("Hot pink")
  3672. local mesh4 = Instance.new("SpecialMesh",part4)
  3673. mesh4.MeshType = "Sphere"
  3674. mesh4.Scale = Vector3.new(.5,.5,.5)
  3675. local part7 = Instance.new("Part", rarm)
  3676. part7.Material = "Neon"
  3677. part7.Anchored=true
  3678. part7.CanCollide=false
  3679. part7.Locked = true
  3680. part7.TopSurface = "SmoothNoOutlines"
  3681. part7.BottomSurface = "SmoothNoOutlines"
  3682. part7.FormFactor='Custom'
  3683. part7.Size=Vector3.new(1,1, 1)
  3684. part7.CFrame=X.CFrame
  3685. part7.Transparency=0
  3686. part7.BrickColor=BrickColor.new("New Yeller")
  3687. local mesh7 = Instance.new("SpecialMesh",part7)
  3688. mesh7.MeshType = "Sphere"
  3689. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  3690. --[[X.Touched:connect(function(ht)
  3691. hit = ht.Parent
  3692. if ht and hit:IsA("Model") then
  3693. if hit:FindFirstChild("Humanoid") then
  3694. if hit.Name ~= p.Name then
  3695. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  3696. wait(.3)
  3697. end
  3698. end
  3699. elseif ht and hit:IsA("Hat") then
  3700. if hit.Parent.Name ~= p.Name then
  3701. if hit.Parent:FindFirstChild("Humanoid") then
  3702. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  3703. wait(.3)
  3704. end
  3705. end
  3706. end
  3707. end)
  3708. part3.Touched:connect(function(ht)
  3709. hit = ht.Parent
  3710. if ht and hit:IsA("Model") then
  3711. if hit:FindFirstChild("Humanoid") then
  3712. if hit.Name ~= p.Name then
  3713. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  3714. wait(.3)
  3715. end
  3716. end
  3717. elseif ht and hit:IsA("Hat") then
  3718. if hit.Parent.Name ~= p.Name then
  3719. if hit.Parent:FindFirstChild("Humanoid") then
  3720. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  3721. wait(.3)
  3722. end
  3723. end
  3724. end
  3725. end)]]--
  3726. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  3727. if v:FindFirstChild('Humanoid') then
  3728. v.Humanoid:TakeDamage(math.random(60,90))
  3729. v.Humanoid.PlatformStand = true
  3730. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  3731. end
  3732. end
  3733.  
  3734. local acos = math.acos
  3735. local sqrt = math.sqrt
  3736. local Vec3 = Vector3.new
  3737. local fromAxisAngle = CFrame.fromAxisAngle
  3738.  
  3739. local function toAxisAngle(CFr)
  3740. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  3741. local Angle = math.acos((R00+R11+R22-1)/2)
  3742. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  3743. A = A == 0 and 0.00001 or A
  3744. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  3745. B = B == 0 and 0.00001 or B
  3746. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  3747. C = C == 0 and 0.00001 or C
  3748. local x = (R21-R12)/sqrt(A)
  3749. local y = (R02-R20)/sqrt(B)
  3750. local z = (R10-R01)/sqrt(C)
  3751. return Vec3(x,y,z),Angle
  3752. end
  3753.  
  3754. function ApplyTrig(Num,Func)
  3755. local Min,Max = Func(0),Func(1)
  3756. local i = Func(Num)
  3757. return (i-Min)/(Max-Min)
  3758. end
  3759.  
  3760. function LerpCFrame(CFrame1,CFrame2,Num)
  3761. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  3762. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  3763. end
  3764.  
  3765. function Crater(Torso,Radius)
  3766. Spawn(function()
  3767. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  3768. local Ignore = {}
  3769. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3770. if v.Character ~= nil then
  3771. Ignore[#Ignore+1] = v.Character
  3772. end
  3773. end
  3774. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  3775. if Hit == nil then return end
  3776. local Parts = {}
  3777. for i = 1,360,10 do
  3778. local P = Instance.new("Part",Torso.Parent)
  3779. P.Anchored = true
  3780. P.FormFactor = "Custom"
  3781. P.BrickColor = Hit.BrickColor
  3782. P.Material = Hit.Material
  3783. P.TopSurface = "Smooth"
  3784. P.BottomSurface = "Smooth"
  3785. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  3786. 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)))
  3787. 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}
  3788. if math.random(0,5) == 0 then -- rubble
  3789. local P = Instance.new("Part",Torso.Parent)
  3790. P.Anchored = true
  3791. P.FormFactor = "Custom"
  3792. P.BrickColor = Hit.BrickColor
  3793. P.Material = Hit.Material
  3794. P.TopSurface = "Smooth"
  3795. P.BottomSurface = "Smooth"
  3796. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  3797. 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)))
  3798. 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}
  3799. end
  3800. end
  3801. for i = 0,1,0.05 do
  3802. for i2,v in pairs(Parts) do
  3803. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  3804. end
  3805. wait(0.02)
  3806. end
  3807. for i,v in pairs(Parts) do
  3808. if v[1].Size.X > 2.1 then
  3809. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  3810. end
  3811. v[1].Anchored = false
  3812. end
  3813. for i = 0,1,0.05 do
  3814. for i2,v in pairs(Parts) do
  3815. v[1].Transparency = i
  3816. if i == 1 then
  3817. v[1]:Destroy()
  3818. elseif i >= 0.25 then
  3819. v[1].CanCollide = false
  3820. end
  3821. end
  3822. wait(0.02)
  3823. end
  3824. Parts = nil
  3825. end)
  3826. end
  3827.  
  3828. ROW = function(out, trans, s, wt, t, ang, plus)
  3829. for i = 1, 360, 360/t do
  3830. local c = Instance.new("Part", game.Workspace)
  3831. c.FormFactor = 3
  3832. c.TopSurface = 0
  3833. c.BottomSurface = 0
  3834. c.Size = s
  3835. c.Anchored = true
  3836. c.CanCollide = wt
  3837. c.Material=workspace.Base.Material
  3838. c.Transparency = trans
  3839. c.BrickColor = workspace.Base.BrickColor
  3840. 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
  3841. c.Locked=true
  3842. game.Debris:AddItem(c,15)
  3843. end
  3844. end
  3845.  
  3846. Part = function(x,y,z,color,tr,cc,an,parent)
  3847. local p = Instance.new('Part',parent or Weapon)
  3848. p.formFactor = 'Custom'
  3849. p.Size = Vector3.new(x,y,z)
  3850. p.BrickColor = BrickColor.new(color)
  3851. p.CanCollide = cc
  3852. p.Transparency = tr
  3853. p.Anchored = an
  3854. p.TopSurface,p.BottomSurface = 0,0
  3855. p.Locked=true
  3856. p:BreakJoints()
  3857. return p end
  3858.  
  3859. Mesh = function(par,num,x,y,z)
  3860. local msh = _
  3861. if num == 1 then msh = Instance.new("CylinderMesh",par)
  3862. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  3863. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  3864. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  3865. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  3866. end msh.Scale = Vector3.new(x,y,z)
  3867. return msh end
  3868.  
  3869. function explosion(col1,col2,cfr,sz,rng,dmg)
  3870. local a= Part(1,1,1,col1,.5,false,true,workspace)
  3871. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  3872. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  3873. v1,v2,v3=sz.x,sz.y,sz.z
  3874. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  3875. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  3876. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  3877. a.CFrame=cfr
  3878. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  3879. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  3880.  
  3881. Spawn(function()
  3882. while wait() do
  3883. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  3884. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  3885. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  3886. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  3887. a.Transparency=a.Transparency+0.05
  3888. a2.Transparency=a2.Transparency+0.05
  3889. a3.Transparency=a3.Transparency+0.05
  3890. end
  3891. end)
  3892. end
  3893.  
  3894. Crater(X,20)
  3895. 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)
  3896. z = Instance.new("Sound",X)
  3897. z.SoundId = "rbxassetid://231917744"
  3898. z.Pitch = .5
  3899. z.Volume = 10
  3900. z1 = Instance.new("Sound",X)
  3901. z1.SoundId = "rbxassetid://231917744"
  3902. z1.Pitch = .5
  3903. z1.Volume = 10
  3904. z2 = Instance.new("Sound",X)
  3905. z2.SoundId = "rbxassetid://231917744"
  3906. z2.Pitch = .5
  3907. z2.Volume = 10
  3908. z3 = Instance.new("Sound",X)
  3909. z3.SoundId = "rbxassetid://245537790"
  3910. z3.Pitch = .7
  3911. z3.Volume = 1
  3912. z4 = Instance.new("Sound",X)
  3913. z4.SoundId = "rbxassetid://245537790"
  3914. z4.Pitch = .7
  3915. z4.Volume = 1
  3916. wait(0.1)
  3917. z:Play()
  3918. z1:Play()
  3919. z2:Play()
  3920. z3:Play()
  3921. z4:Play()
  3922.  
  3923. local part=Instance.new('Part',rarm)
  3924. part.Anchored=true
  3925. part.CanCollide=false
  3926. part.Locked = true
  3927. part.FormFactor='Custom'
  3928. part.Size=Vector3.new(1,1,1)
  3929. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  3930. part.Transparency=0
  3931. part.BrickColor=BrickColor.new('New Yeller')
  3932. local mesh=Instance.new('SpecialMesh',part)
  3933. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  3934. mesh.Scale=Vector3.new(2,2,2)
  3935. local part2=part:clone()
  3936. part2.Parent = rarm
  3937. part2.BrickColor=BrickColor.new("New Yeller")
  3938. local part5=part:clone()
  3939. part5.Parent = rarm
  3940. part5.BrickColor=BrickColor.new("Magenta")
  3941. local part6=part:clone()
  3942. part6.Parent = rarm
  3943. part6.BrickColor=BrickColor.new("Black")
  3944. local mesh2=mesh:clone()
  3945. mesh2.Parent=part2
  3946. mesh2.Scale=Vector3.new(3, 3, 3)
  3947. local mesh5=mesh:clone()
  3948. mesh5.Parent=part5
  3949. mesh5.Scale=Vector3.new(3, 3, 3)
  3950. local mesh6=mesh:clone()
  3951. mesh6.Parent=part6
  3952. mesh6.Scale=Vector3.new(3, 3, 3)
  3953. local blast = Instance.new("Part", rarm)
  3954. blast.BrickColor = BrickColor.new("New Yeller")
  3955. blast.Anchored = true
  3956. blast.CanCollide = false
  3957. blast.Locked = true
  3958. blast.Size = Vector3.new(1, 1, 1)
  3959. blast.TopSurface = "Smooth"
  3960. blast.BottomSurface = "Smooth"
  3961. blast.Transparency = 0
  3962. blast.CFrame = HandCF
  3963. local bm = Instance.new("SpecialMesh", blast)
  3964. bm.Scale = Vector3.new(5,1,5)
  3965. bm.MeshId = "rbxassetid://3270017"
  3966. local blast2 = Instance.new("Part", rarm)
  3967. blast2.BrickColor = BrickColor.new("New Yeller")
  3968. blast2.Anchored = true
  3969. blast2.CanCollide = false
  3970. blast2.Locked = true
  3971. blast2.Size = Vector3.new(1, 1, 1)
  3972. blast2.TopSurface = "Smooth"
  3973. blast2.BottomSurface = "Smooth"
  3974. blast2.Transparency = 0
  3975. blast2.CFrame = HandCF
  3976. local bm2 = Instance.new("SpecialMesh", blast2)
  3977. bm2.Scale = Vector3.new(3,1,3)
  3978. bm2.MeshId = "rbxassetid://3270017"
  3979. local blast3 = Instance.new("Part", rarm)
  3980. blast3.BrickColor = BrickColor.new("New Yeller")
  3981. blast3.Anchored = true
  3982. blast3.CanCollide = false
  3983. blast3.Locked = true
  3984. blast3.Size = Vector3.new(1, 1, 1)
  3985. blast3.TopSurface = "Smooth"
  3986. blast3.BottomSurface = "Smooth"
  3987. blast3.Transparency = 0
  3988. blast3.CFrame = HandCF
  3989. local bm3 = Instance.new("SpecialMesh", blast3)
  3990. bm3.Scale = Vector3.new(3,1,3)
  3991. bm3.MeshId = "rbxassetid://3270017"
  3992. for i = 1,120 do rs:wait()
  3993. X.Transparency = X.Transparency + (1/120)
  3994. part.Transparency = part.Transparency + (1/120)
  3995. part2.Transparency = part2.Transparency + (1/120)
  3996. part3.Transparency = part3.Transparency + (1/120)
  3997. part4.Transparency = part4.Transparency + (1/120)
  3998. part5.Transparency = part5.Transparency + (1/120)
  3999. part6.Transparency = part6.Transparency + (1/120)
  4000. part7.Transparency = part7.Transparency + (1/120)
  4001. blast.Transparency = blast.Transparency + (1/120)
  4002. blast2.Transparency = blast2.Transparency + (1/120)
  4003. blast3.Transparency = blast3.Transparency + (1/120)
  4004. X.Size = X.Size + Vector3.new(.8,.8,.8)
  4005. --part3.Size = part3.Size + Vector3.new(3,3,3)
  4006. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  4007. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  4008. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  4009. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  4010. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  4011. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  4012. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  4013. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  4014. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  4015. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  4016. X.CFrame = cf
  4017. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  4018. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  4019. part3.CFrame=X.CFrame
  4020. part4.CFrame=X.CFrame
  4021. part7.CFrame=X.CFrame
  4022. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  4023. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  4024. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  4025. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  4026. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  4027. rs:wait()
  4028. end
  4029. X:Destroy()
  4030. part:Destroy()
  4031. part2:Destroy()
  4032. part3:Destroy()
  4033. part4:Destroy()
  4034. part5:Destroy()
  4035. part6:Destroy()
  4036. blast:Destroy()
  4037. blast2:Destroy()
  4038. blast3:Destroy()
  4039. z:Destroy()
  4040. z1:Destroy()
  4041. z2:Destroy()
  4042. z3:Destroy()
  4043. z4:Destroy()
  4044. end
  4045. end)
  4046. for i = 1, 20 do
  4047. 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)
  4048. 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)
  4049. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  4050. 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)
  4051. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  4052. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  4053. if Debounces.on == false then break end
  4054. rs:wait()
  4055. end
  4056. if Debounces.CanAttack == false then
  4057. Debounces.CanAttack = true
  4058. Debounces.NoIdl = false
  4059. Debounces.on = false
  4060. end
  4061. end
  4062. end
  4063. end)
  4064. ----------------------------------------------------
  4065. mouse.KeyDown:connect(function(key)
  4066. if key == "e" then
  4067. if Debounces.CanAttack == true then
  4068. Debounces.CanAttack = false
  4069. Debounces.on = true
  4070. Debounces.NoIdl = true
  4071. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  4072. z = Instance.new("Sound", rarm)
  4073. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  4074. z.Volume = .6
  4075. z.Pitch = pt[math.random(1,#pt)]
  4076. z.Looped = false
  4077. z:Play()
  4078. Debounces.RPunch = true
  4079. Debounces.LPunch = true
  4080. Debounces.ks = true
  4081. Debounces.ks2 = true
  4082. for i = 1, 3 do
  4083. 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)
  4084. 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)
  4085. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4086. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4087. 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)
  4088. 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)
  4089. if Debounces.on == false then break end
  4090. wait()
  4091. end
  4092. z2 = Instance.new("Sound", larm)
  4093. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4094. z2.Volume = .6
  4095. z2.Pitch = pt[math.random(1,#pt)]
  4096. z2.Looped = false
  4097. z2:Play()
  4098. for i = 1, 3 do
  4099. 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)
  4100. 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)
  4101. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4102. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4103. 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)
  4104. 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)
  4105. if Debounces.on == false then break end
  4106. wait()
  4107. end
  4108. z3 = Instance.new("Sound", rarm)
  4109. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4110. z3.Volume = 0.6
  4111. z3.Pitch = pt[math.random(1,#pt)]
  4112. z3.Looped = false
  4113. z3:Play()
  4114. for i = 1, 3 do
  4115. 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)
  4116. 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)
  4117. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4118. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4119. 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)
  4120. 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)
  4121. if Debounces.on == false then break end
  4122. wait()
  4123. end
  4124. z4 = Instance.new("Sound", larm)
  4125. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4126. z4.Volume = .6
  4127. z4.Pitch = pt[math.random(1,#pt)]
  4128. z4.Looped = false
  4129. z4:Play()
  4130. for i = 1, 3 do
  4131. 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)
  4132. 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)
  4133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4135. 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)
  4136. 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)
  4137. if Debounces.on == false then break end
  4138. wait()
  4139. end
  4140. z5 = Instance.new("Sound", rarm)
  4141. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4142. z5.Volume = .6
  4143. z5.Pitch = pt[math.random(1,#pt)]
  4144. z5.Looped = false
  4145. z5:Play()
  4146. for i = 1, 3 do
  4147. 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)
  4148. 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)
  4149. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  4150. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  4151. 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)
  4152. 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)
  4153. if Debounces.on == false then break end
  4154. wait()
  4155. end
  4156. z6 = Instance.new("Sound", larm)
  4157. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4158. z6.Volume = .6
  4159. z6.Pitch = pt[math.random(1,#pt)]
  4160. z6.Looped = false
  4161. z6:Play()
  4162. for i = 1, 3 do
  4163. 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)
  4164. 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)
  4165. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4166. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4167. 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)
  4168. 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)
  4169. if Debounces.on == false then break end
  4170. wait()
  4171. end
  4172. z7 = Instance.new("Sound", rarm)
  4173. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  4174. z7.Volume = .6
  4175. z7.Pitch = pt[math.random(1,#pt)]
  4176. z7.Looped = false
  4177. z7:Play()
  4178. for i = 1, 3 do
  4179. 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)
  4180. 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)
  4181. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4182. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4183. 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)
  4184. 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)
  4185. if Debounces.on == false then break end
  4186. wait()
  4187. end
  4188. z8 = Instance.new("Sound", larm)
  4189. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4190. z8.Volume = .6
  4191. z8.Pitch = pt[math.random(1,#pt)]
  4192. z8.Looped = false
  4193. z8:Play()
  4194. for i = 1, 3 do
  4195. 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)
  4196. 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)
  4197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4199. 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)
  4200. 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)
  4201. if Debounces.on == false then break end
  4202. wait()
  4203. end
  4204. z9 = Instance.new("Sound", rarm)
  4205. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4206. z9.Volume = 0.6
  4207. z9.Pitch = pt[math.random(1,#pt)]
  4208. z9.Looped = false
  4209. z9:Play()
  4210. for i = 1, 3 do
  4211. 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)
  4212. 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)
  4213. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4214. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4215. 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)
  4216. 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)
  4217. if Debounces.on == false then break end
  4218. wait()
  4219. end
  4220. z10 = Instance.new("Sound", larm)
  4221. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4222. z10.Volume = .6
  4223. z10.Pitch = pt[math.random(1,#pt)]
  4224. z10.Looped = false
  4225. z10:Play()
  4226. for i = 1, 3 do
  4227. 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)
  4228. 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)
  4229. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4230. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4231. 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)
  4232. 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)
  4233. if Debounces.on == false then break end
  4234. wait()
  4235. end
  4236. z11 = Instance.new("Sound", rarm)
  4237. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4238. z11.Volume = .6
  4239. z11.Pitch = pt[math.random(1,#pt)]
  4240. z11.Looped = false
  4241. z11:Play()
  4242. for i = 1, 3 do
  4243. 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)
  4244. 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)
  4245. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  4246. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  4247. 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)
  4248. 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)
  4249. if Debounces.on == false then break end
  4250. wait()
  4251. end
  4252. z12 = Instance.new("Sound", larm)
  4253. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4254. z12.Volume = .6
  4255. z12.Pitch = pt[math.random(1,#pt)]
  4256. z12.Looped = false
  4257. z12:Play()
  4258. for i = 1, 3 do
  4259. 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)
  4260. 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)
  4261. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4262. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4263. 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)
  4264. 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)
  4265. if Debounces.on == false then break end
  4266. wait()
  4267. end
  4268. z13 = Instance.new("Sound", rarm)
  4269. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4270. z13.Volume = 0.6
  4271. z13.Pitch = pt[math.random(1,#pt)]
  4272. z13.Looped = false
  4273. z13:Play()
  4274. for i = 1, 3 do
  4275. 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)
  4276. 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)
  4277. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4278. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4279. 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)
  4280. 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)
  4281. if Debounces.on == false then break end
  4282. wait()
  4283. end
  4284. z14 = Instance.new("Sound", larm)
  4285. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4286. z14.Volume = .6
  4287. z14.Pitch = pt[math.random(1,#pt)]
  4288. z14.Looped = false
  4289. z14:Play()
  4290. for i = 1, 3 do
  4291. 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)
  4292. 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)
  4293. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4294. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4295. 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)
  4296. 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)
  4297. if Debounces.on == false then break end
  4298. wait()
  4299. end
  4300. z15 = Instance.new("Sound", rarm)
  4301. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4302. z15.Volume = .6
  4303. z15.Pitch = pt[math.random(1,#pt)]
  4304. z15.Looped = false
  4305. z15:Play()
  4306. for i = 1, 3 do
  4307. 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)
  4308. 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)
  4309. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  4310. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  4311. 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)
  4312. 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)
  4313. if Debounces.on == false then break end
  4314. wait()
  4315. end
  4316. z16 = Instance.new("Sound", larm)
  4317. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4318. z16.Volume = .6
  4319. z16.Pitch = pt[math.random(1,#pt)]
  4320. z16.Looped = false
  4321. z16:Play()
  4322. for i = 1, 3 do
  4323. 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)
  4324. 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)
  4325. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4326. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4327. 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)
  4328. 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)
  4329. if Debounces.on == false then break end
  4330. wait()
  4331. end
  4332. z17 = Instance.new("Sound", rarm)
  4333. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  4334. z17.Volume = .6
  4335. z17.Pitch = pt[math.random(1,#pt)]
  4336. z17.Looped = false
  4337. z17:Play()
  4338. for i = 1, 3 do
  4339. 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)
  4340. 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)
  4341. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4342. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4343. 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)
  4344. 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)
  4345. if Debounces.on == false then break end
  4346. wait()
  4347. end
  4348. z18 = Instance.new("Sound", larm)
  4349. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4350. z18.Volume = .6
  4351. z18.Pitch = pt[math.random(1,#pt)]
  4352. z18.Looped = false
  4353. z18:Play()
  4354. for i = 1, 3 do
  4355. 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)
  4356. 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)
  4357. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4358. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4359. 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)
  4360. 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)
  4361. if Debounces.on == false then break end
  4362. wait()
  4363. end
  4364. z19 = Instance.new("Sound", rarm)
  4365. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4366. z19.Volume = 0.6
  4367. z19.Pitch = pt[math.random(1,#pt)]
  4368. z19.Looped = false
  4369. z19:Play()
  4370. for i = 1, 3 do
  4371. 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)
  4372. 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)
  4373. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4374. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4375. 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)
  4376. 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)
  4377. if Debounces.on == false then break end
  4378. wait()
  4379. end
  4380. z20 = Instance.new("Sound", larm)
  4381. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  4382. z20.Volume = .6
  4383. z20.Pitch = pt[math.random(1,#pt)]
  4384. z20.Looped = false
  4385. z20:Play()
  4386. for i = 1, 3 do
  4387. 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)
  4388. 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)
  4389. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4390. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4391. 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)
  4392. 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)
  4393. if Debounces.on == false then break end
  4394. wait()
  4395. end
  4396. z:Destroy()
  4397. z2:Destroy()
  4398. z3:Destroy()
  4399. z4:Destroy()
  4400. z5:Destroy()
  4401. z6:Destroy()
  4402. z7:Destroy()
  4403. z8:Destroy()
  4404. z9:Destroy()
  4405. z10:Destroy()
  4406. z11:Destroy()
  4407. z12:Destroy()
  4408. z13:Destroy()
  4409. z14:Destroy()
  4410. z15:Destroy()
  4411. z16:Destroy()
  4412. z17:Destroy()
  4413. z18:Destroy()
  4414. z19:Destroy()
  4415. z20:Destroy()
  4416. Debounces.LPunch = false
  4417. Debounces.RPunch = false
  4418. Debounces.ks = false
  4419. Debounces.ks2 = false
  4420. if Debounces.CanAttack == false then
  4421. Debounces.CanAttack = true
  4422. Debounces.on = false
  4423. Debounces.NoIdl = false
  4424. end
  4425. end
  4426. end
  4427. end)
  4428. -------------------------------
  4429. mouse.KeyDown:connect(function(key)
  4430. if key == "t" then
  4431. if Debounces.CanAttack == true then
  4432. Debounces.CanAttack = false
  4433. Debounces.NoIdl = true
  4434. Debounces.on = true
  4435. Debounces.ks = true
  4436. kik = rleg.Touched:connect(function(ht)
  4437. hit = ht.Parent
  4438. if ht and hit:IsA("Model") then
  4439. if hit:FindFirstChild("Humanoid") then
  4440. if hit.Name ~= p.Name then
  4441. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  4442. Debounces.Slashed = true]]--
  4443. if Debounces.ks==true then
  4444. z = Instance.new("Sound",hed)
  4445. z.SoundId = "rbxassetid://169380525"
  4446. z.Volume = 1
  4447. z:Play()
  4448. Debounces.ks=false
  4449. end
  4450. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  4451. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  4452. --Debounces.Slashed = false
  4453. --end
  4454. end
  4455. end
  4456. elseif ht and hit:IsA("Hat") then
  4457. if hit.Parent.Name ~= p.Name then
  4458. if hit.Parent:FindFirstChild("Humanoid") then
  4459. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  4460. Debounces.Slashed = true]]--
  4461. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  4462. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  4463. --Debounces.Slashed = false
  4464. --end
  4465. end
  4466. end
  4467. end
  4468. end)
  4469. for i = 1,20 do
  4470. 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)
  4471. 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)
  4472. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4473. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  4474. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  4475. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  4476. if Debounces.on == false then break end
  4477. rs:wait()
  4478. end
  4479. kik:disconnect()
  4480. if Debounces.CanAttack == false then
  4481. Debounces.CanAttack = true
  4482. Debounces.NoIdl = false
  4483. Debounces.on = false
  4484. end
  4485. end
  4486. end
  4487. end)
  4488. ----------------------------------------------------
  4489. mouse.KeyDown:connect(function(key)
  4490. if key == "y" then
  4491. if Debounces.CanAttack == true then
  4492. Debounces.CanAttack = false
  4493. Debounces.on = true
  4494. Debounces.NoIdl = true
  4495. for i = 1, 15 do
  4496. 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)
  4497. 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)
  4498. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  4499. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  4500. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  4501. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  4502. if Debounces.on == false then break end
  4503. rs:wait(2.7)
  4504. end
  4505. x = Instance.new("Sound",char)
  4506. x.SoundId = "rbxassetid://228343271"
  4507. x.Pitch = 1
  4508. x.Volume = .8
  4509. wait(.1)
  4510. x:Play()
  4511. Debounces.on = false
  4512. Debounces.Here = false
  4513. shot = shot + 1
  4514. local rng = Instance.new("Part", larm)
  4515. rng.Anchored = true
  4516. rng.BrickColor = BrickColor.new("New Yeller")
  4517. rng.CanCollide = false
  4518. rng.FormFactor = 3
  4519. rng.Name = "Ring"
  4520. rng.Size = Vector3.new(1, 1, 1)
  4521. rng.Transparency = 0.35
  4522. rng.TopSurface = 0
  4523. rng.BottomSurface = 0
  4524. rng2 = rng:clone()
  4525. rng3 = rng2:clone()
  4526. rng4 = rng2:clone()
  4527. local rngm = Instance.new("SpecialMesh", rng)
  4528. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4529. rngm.Scale = Vector3.new(10, 10, 1)
  4530. rngm2 = rngm:clone()
  4531. rngm2.Scale = Vector3.new(5, 5, 3)
  4532. rngm3=rngm2:clone()
  4533. rngm3.Parent = rng3
  4534. rngm3.Scale = Vector3.new(8, 8, 1)
  4535. rngm4 = rngm2:clone()
  4536. rngm4.Parent = rng4
  4537. rngm4.Scale = Vector3.new(6, 6, 1)
  4538. local bem = Instance.new("Part", larm)
  4539. bem.Anchored = true
  4540. bem.BrickColor = BrickColor.new("New Yeller")
  4541. bem.CanCollide = false
  4542. bem.FormFactor = 3
  4543. bem.Name = "Beam" .. shot
  4544. bem.Size = Vector3.new(1, 1, 1)
  4545. bem.Transparency = 0.35
  4546. bem.TopSurface = 0
  4547. bem.BottomSurface = 0
  4548. local bemm = Instance.new("SpecialMesh", bem)
  4549. bemm.MeshType = 4
  4550. bemm.Scale = Vector3.new(1, 4, 4)
  4551. local out = Instance.new("Part", larm)
  4552. out.Anchored = true
  4553. out.BrickColor = BrickColor.new("New Yeller")
  4554. out.CanCollide = false
  4555. out.FormFactor = 3
  4556. out.Name = "Out"
  4557. out.Size = Vector3.new(4, 4, 4)
  4558. out.Transparency = 0.35
  4559. out.TopSurface = 0
  4560. out.BottomSurface = 0
  4561. local outm = Instance.new("SpecialMesh", out)
  4562. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  4563. outm.Scale = Vector3.new(6, 4, 6)
  4564. local bnd = Instance.new("Part", larm)
  4565. bnd.Anchored = true
  4566. bnd.BrickColor = BrickColor.new("New Yeller")
  4567. bnd.CanCollide = false
  4568. bnd.FormFactor = 3
  4569. bnd.Name = "Bend"
  4570. bnd.Size = Vector3.new(1, 1, 1)
  4571. bnd.Transparency = 1
  4572. bnd.TopSurface = 0
  4573. bnd.BottomSurface = 0
  4574. local bndm = Instance.new("SpecialMesh", bnd)
  4575. bndm.MeshType = 3
  4576. bndm.Scale = Vector3.new(8, 8, 8)
  4577. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  4578. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  4579. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  4580. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  4581. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  4582. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  4583. Debounces.Shewt = true
  4584. coroutine.wrap(function()
  4585. for i = 1, 20, 0.2 do
  4586. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  4587. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  4588. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  4589. rng.Transparency = i/20
  4590. rng3.Transparency = 1/24
  4591. rng4.Transparency = i/26
  4592. wait()
  4593. end
  4594. wait()
  4595. rng:Destroy()
  4596. end)()
  4597. if Debounces.Shewt == true then
  4598. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  4599. hit = ht.Parent
  4600. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  4601. if HasntTouched(hit.Name) == true and deb == false then
  4602. deb = true
  4603. coroutine.wrap(function()
  4604. hit:FindFirstChild("Humanoid").PlatformStand = true
  4605. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  4606. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  4607. end)()
  4608. table.insert(Touche, hit.Name)
  4609. deb = false
  4610. end
  4611. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  4612. if HasntTouched(hit.Parent.Name) == true and deb == false then
  4613. deb = true
  4614. coroutine.wrap(function()
  4615. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  4616. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  4617. wait(1)
  4618. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  4619. end)()
  4620. table.insert(Touche, hit.Parent.Name)
  4621. deb = false
  4622. for i, v in pairs(Touche) do
  4623. print(v)
  4624. end
  4625. end
  4626. end
  4627. end)
  4628. end
  4629. for i = 0, 260, 8 do
  4630. bem.Size = Vector3.new(i, 3, 3)
  4631. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  4632. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  4633. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  4634. bnd.Size = Vector3.new(1,1,1)
  4635. bndm.Scale = Vector3.new(8,8,8)
  4636. if i % 10 == 0 then
  4637. local newRng = rng2:Clone()
  4638. newRng.Parent = larm
  4639. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  4640. local newRngm = rngm2:clone()
  4641. newRngm.Parent=newRng
  4642. coroutine.wrap(function()
  4643. for i = 1, 10, 0.2 do
  4644. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  4645. newRng.Transparency = i/10
  4646. wait()
  4647. end
  4648. wait()
  4649. newRng:Destroy()
  4650. end)()
  4651. end
  4652. wait()
  4653. end
  4654. wait()
  4655. Debounces.Shewt = false
  4656. bem:Destroy()
  4657. out:Destroy()
  4658. bnd:Destroy()
  4659. Debounces.Ready = false
  4660. for i, v in pairs(Touche) do
  4661. table.remove(Touche, i)
  4662. end
  4663. wait()
  4664. table.insert(Touche, char.Name)
  4665. Debounces.NoIdl = false
  4666. if Debounces.CanAttack == false then
  4667. Debounces.CanAttack = true
  4668. end
  4669. end
  4670. end
  4671. end)
  4672. ----------------------------------------------------
  4673. --[[mouse.KeyDown:connect(function(key)
  4674. if key == "y" then
  4675. if Debounces.CanAttack == true then
  4676. Debounces.CanAttack = false
  4677. Debounces.NoIdl = true
  4678. Debounces.on = true
  4679. local shell = Instance.new("Part",torso)
  4680. shell.BrickColor = BrickColor.new("New Yeller")
  4681. shell.Anchored = false
  4682. shell.CanCollide = false
  4683. shell.Locked = true
  4684. shell.TopSurface = "SmoothNoOutlines"
  4685. shell.BottomSurface = "SmoothNoOutlines"
  4686. shell.Size = Vector3.new(1.2,1.2,1.2)
  4687. shell.FormFactor = 3
  4688. local shellm = Instance.new("SpecialMesh",shell)
  4689. shellm.MeshType = "Sphere"
  4690. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  4691. Omega = function()
  4692. local X = Instance.new("Part",char)
  4693. local O = Instance.new("ObjectValue",X)
  4694. O.Name = "creator"
  4695. X.Locked = true
  4696. X.Name = "Shell"
  4697. X.Anchored = false
  4698. X.CanCollide = false
  4699. X.Transparency = 0.5
  4700. X.Reflectance = 0
  4701. X.BottomSurface = 0
  4702. X.TopSurface = 0
  4703. X.Shape = 0
  4704. local V = Instance.new("ObjectValue",X)
  4705. V.Value = char
  4706. V.Name = "creator"
  4707. X.BrickColor = BrickColor.new("New Yeller")
  4708. X.Size = Vector3.new(40,40,40)
  4709. --X.Material = "Neon"
  4710. local Z = Instance.new("SpecialMesh",X)
  4711. Z.MeshType = "Sphere"
  4712. Z.Scale = Vector3.new(0.2,0.2,0.2)
  4713. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  4714. local bv = Instance.new("BodyVelocity",X)
  4715. bv.maxForce = Vector3.new(99999,99999,99999)
  4716. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  4717. bv.velocity = root.CFrame.lookVector*10
  4718. Explode = X.Touched:connect(function(hit)
  4719. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  4720. local cf = X.CFrame
  4721. bv:Destroy()
  4722. X.Anchored = true
  4723. Z:Remove()
  4724. Explode:disconnect()
  4725. X.Size = Vector3.new(3,3,3)
  4726. X.Touched:connect(function(hit) end)
  4727. X.CanCollide = false
  4728. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  4729. if v:FindFirstChild('Humanoid') then
  4730. v.Humanoid:TakeDamage(math.random(80,120))
  4731. end
  4732. end
  4733. for i = 1, (40) do rs:wait()
  4734. X.Transparency = X.Transparency + (1/40)
  4735. X.Size = X.Size + Vector3.new(1,1,1)
  4736. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  4737. end
  4738. X:Destroy()
  4739. end
  4740. end)
  4741. end
  4742. for i = 1,200 do
  4743. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  4744. 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)
  4745. 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)
  4746. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4747. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4748. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4749. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4750. if Debounces.on == false then break end
  4751. rs:wait()
  4752. end
  4753. for i = 1,30 do
  4754. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  4755. 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)
  4756. 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)
  4757. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4758. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4759. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4760. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4761. if Debounces.on == false then break end
  4762. rs:wait()
  4763. end
  4764. for i = 1,40 do
  4765. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  4766. shell.Size = shell.Size + Vector3.new(1,1,1)
  4767. 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)
  4768. 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)
  4769. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4770. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4771. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4772. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4773. if Debounces.on == false then break end
  4774. rs:wait()
  4775. end
  4776. for i = 1,40 do
  4777. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  4778. 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)
  4779. 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)
  4780. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4781. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4782. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4783. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4784. if Debounces.on == false then break end
  4785. rs:wait()
  4786. end
  4787. for i = 1,60 do
  4788. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  4789. 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)
  4790. 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)
  4791. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4792. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4793. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4794. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4795. if Debounces.on == false then break end
  4796. rs:wait()
  4797. end
  4798. for i = 1,60 do
  4799. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  4800. shell.Size = shell.Size + Vector3.new(1,1,1)
  4801. 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)
  4802. 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)
  4803. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  4804. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  4805. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4806. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  4807. if Debounces.on == false then break end
  4808. rs:wait()
  4809. end
  4810. if Debounces.CanAttack == false then
  4811. Debounces.CanAttack = true
  4812. Debounces.NoIdl = false
  4813. Debounces.on = false
  4814. end
  4815. end
  4816. end
  4817. end)]]--
  4818. ----------------------------------------------------
  4819. Charging = false
  4820. mouse.KeyDown:connect(function(key)
  4821. if key == "r" then
  4822. if Charging == false then
  4823. Charging = true
  4824. if Debounces.CanAttack == true then
  4825. Debounces.CanAttack = false
  4826. Debounces.NoIdl = true
  4827. Debounces.on = true
  4828. for i = 1,20 do
  4829. 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)
  4830. 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)
  4831. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  4832. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  4833. 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)
  4834. 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)
  4835. if Debounces.on == false then break end
  4836. rs:wait()
  4837. end
  4838. --[[for i = 1,20 do
  4839. 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)
  4840. 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)
  4841. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  4842. 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)
  4843. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  4844. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  4845. if Debounces.on == false then break end
  4846. rs:wait()
  4847. end]]--
  4848. pt=Instance.new('Part',torso)
  4849. pt.Anchored=true
  4850. pt.CanCollide=false
  4851. pt.Locked = true
  4852. pt.FormFactor='Custom'
  4853. pt.Size=Vector3.new(1,1,1)
  4854. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  4855. pt.Transparency=.6
  4856. pt.BrickColor=BrickColor.new('New Yeller')
  4857. msh=Instance.new('SpecialMesh',pt)
  4858. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  4859. msh.Scale=Vector3.new(8,4,8)
  4860. pt2=pt:clone()
  4861. pt2.Parent = torso
  4862. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  4863. pt2.BrickColor=BrickColor.new("New Yeller")
  4864. msh2=msh:clone()
  4865. msh2.Parent=pt2
  4866. msh2.Scale=Vector3.new(10,5,10)
  4867.  
  4868. 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}
  4869.  
  4870. bl = Instance.new("Part", char)
  4871. bl.Locked = true
  4872. bl.Name = "Shell"
  4873. bl.BrickColor = BrickColor.new("New Yeller")
  4874. bl.Anchored = true
  4875. bl.CanCollide = false
  4876. bl.Transparency = 0
  4877. bl.Reflectance = 0
  4878. bl.BottomSurface = 0
  4879. bl.TopSurface = 0
  4880. bl.Shape = 0
  4881. blm = Instance.new("SpecialMesh",bl)
  4882. blm.MeshType = "Sphere"
  4883. blm.Scale = Vector3.new(1,1,1)
  4884. blm.MeshId = "rbxassetid://9982590"
  4885.  
  4886. coroutine.resume(coroutine.create(function()
  4887. for i=1, math.huge, 4 do
  4888. if Charging == true then
  4889. rs:wait()
  4890. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  4891. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  4892. bl.Transparency = bl.Transparency + 0.005
  4893. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  4894. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  4895. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  4896. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  4897. elseif Charging == false then break
  4898. end
  4899. end
  4900. end))
  4901.  
  4902. repeat
  4903. local p = Instance.new('Part',torso)
  4904. p.formFactor = 'Custom'
  4905. p.Size = Vector3.new(1,1,1)
  4906. p.BrickColor = workspace.Base.BrickColor
  4907. p.CanCollide = false
  4908. p.Transparency = 0
  4909. p.Anchored = true
  4910. p.Locked=true
  4911. p.Material = workspace.Base.Material
  4912. s = math.random(1,40)/10
  4913. local m = Instance.new("BlockMesh",p)
  4914. m.Scale = Vector3.new(s,s,s)
  4915. 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())
  4916. --[[coroutine.wrap(function()
  4917. wait(2)
  4918. while Charging == true do
  4919. wait(2)
  4920. GroundWave1()
  4921. wait(2)
  4922. end
  4923. end)()]]--
  4924. Spawn(function()
  4925. while rs:wait() do
  4926. if Charging == true then
  4927. 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)))
  4928. 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)))
  4929. 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))
  4930. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  4931. 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)))
  4932. 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)))
  4933. elseif Charging == false then break
  4934. end
  4935. end
  4936. end)
  4937. Spawn(function()
  4938. while rs:wait() do
  4939. if p.Transparency >= 1 then p:Destroy() break end
  4940. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  4941. p.Transparency = p.Transparency+0.01
  4942. end
  4943. end)
  4944. wait(.3)
  4945. until Charging == false
  4946. end
  4947. end
  4948. end
  4949. end)
  4950. ----------------------------------------------------
  4951. mouse.KeyUp:connect(function(key)
  4952. if key == "r" then
  4953. if Charging == true then
  4954. Charging = false
  4955. pt:Destroy()
  4956. pt2:Destroy()
  4957. bl:Destroy()
  4958. if Debounces.CanAttack == false then
  4959. Debounces.CanAttack = true
  4960. Debounces.NoIdl = false
  4961. Debounces.on = false
  4962. end
  4963. end
  4964. end
  4965. end)
  4966. ----------------------------------------------------
  4967. mouse.KeyDown:connect(function(key)
  4968. if key == "g" then
  4969. if Debounces.CanAttack == true then
  4970. Debounces.CanAttack = false
  4971. Debounces.NoIdl = true
  4972. Debounces.on = true
  4973. local shell = Instance.new("Part",torso)
  4974. shell.BrickColor = BrickColor.new("New Yeller")
  4975. shell.Anchored = true
  4976. shell.CanCollide = false
  4977. shell.Locked = true
  4978. shell.TopSurface = "SmoothNoOutlines"
  4979. shell.BottomSurface = "SmoothNoOutlines"
  4980. shell.Size = Vector3.new(1,1,1)
  4981. shellm = Instance.new("SpecialMesh",shell)
  4982. shellm.MeshType = "Sphere"
  4983. shellm.Scale = Vector3.new(1,1,1)
  4984. local shell2 = Instance.new("Part",torso)
  4985. shell2.BrickColor = BrickColor.new("New Yeller")
  4986. shell2.Anchored = true
  4987. shell2.CanCollide = false
  4988. shell2.Locked = true
  4989. shell2.TopSurface = "SmoothNoOutlines"
  4990. shell2.BottomSurface = "SmoothNoOutlines"
  4991. shell2.Size = Vector3.new(1,1,1)
  4992. shellm2 = Instance.new("SpecialMesh",shell2)
  4993. shellm2.MeshType = "Sphere"
  4994. shellm2.Scale = Vector3.new(1,1,1)
  4995.  
  4996. function FindNearestTorso(Position,Distance,SinglePlayer)
  4997. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  4998. local List = {}
  4999. for i,v in pairs(workspace:GetChildren())do
  5000. if v:IsA("Model")then
  5001. if v:findFirstChild("Torso")then
  5002. if v ~= char then
  5003. if(v.Torso.Position -Position).magnitude <= Distance then
  5004. table.insert(List,v)
  5005. end
  5006. end
  5007. end
  5008. end
  5009. end
  5010. return List
  5011. end
  5012.  
  5013. Shell = function()
  5014. local X = Instance.new("Part",char)
  5015. local O = Instance.new("ObjectValue",X)
  5016. O.Name = "creator"
  5017. X.Locked = true
  5018. X.Name = "Shell"
  5019. X.Anchored = false
  5020. X.CanCollide = false
  5021. X.Transparency = 0
  5022. X.Reflectance = 0
  5023. X.BottomSurface = 0
  5024. X.TopSurface = 0
  5025. X.Shape = 0
  5026. local V = Instance.new("ObjectValue",X)
  5027. V.Value = char
  5028. V.Name = "creator"
  5029. X.BrickColor = BrickColor.new("New Yeller")
  5030. X.Size = Vector3.new(1,1,1)
  5031. --X.Material = "Neon"
  5032. local Z = Instance.new("SpecialMesh",X)
  5033. Z.MeshType = "Sphere"
  5034. Z.Scale = Vector3.new(1,1,1)
  5035. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  5036. local bv = Instance.new("BodyVelocity",X)
  5037. bv.maxForce = Vector3.new(99999,99999,99999)
  5038. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  5039. bv.velocity = root.CFrame.lookVector*65
  5040. Explode = X.Touched:connect(function(hit)
  5041. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  5042. local cf = X.CFrame
  5043. bv:Destroy()
  5044. X.Anchored = true
  5045. Z:Remove()
  5046. Explode:disconnect()
  5047. X.Size = Vector3.new(3,3,3)
  5048. X.Touched:connect(function(hit) end)
  5049. X.CanCollide = false
  5050. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  5051. if v:FindFirstChild('Humanoid') then
  5052. v.Humanoid:TakeDamage(math.random(6,12))
  5053. end
  5054. end
  5055. for i = 1, (40) do rs:wait()
  5056. X.Transparency = X.Transparency + (1/40)
  5057. X.Size = X.Size + Vector3.new(1,1,1)
  5058. X.CFrame = cf
  5059. end
  5060. X:Destroy()
  5061. end
  5062. end)
  5063. end
  5064. Shell()
  5065. for i = 1, 10 do
  5066. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5067. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5068. 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)
  5069. 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)
  5070. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  5071. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  5072. 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)
  5073. 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)
  5074. if Debounces.on == false then break end
  5075. rs:wait()
  5076. end
  5077. Shell()
  5078. shell.Transparency = 1
  5079. for i = 1, 10 do
  5080. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5081. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5082. 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)
  5083. 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)
  5084. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5085. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5086. 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)
  5087. 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)
  5088. if Debounces.on == false then break end
  5089. rs:wait()
  5090. end
  5091. Shell()
  5092. shell.Transparency = 0
  5093. shell2.Transparency = 1
  5094. for i = 1, 10 do
  5095. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5096. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5097. 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)
  5098. 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)
  5099. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  5100. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5101. 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)
  5102. 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)
  5103. if Debounces.on == false then break end
  5104. rs:wait()
  5105. end
  5106. Shell()
  5107. shell2.Transparency = 0
  5108. shell.Transparency = 1
  5109. for i = 1, 10 do
  5110. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5111. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5112. 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)
  5113. 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)
  5114. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5115. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5116. 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)
  5117. 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)
  5118. if Debounces.on == false then break end
  5119. rs:wait()
  5120. end
  5121. Shell()
  5122. shell.Transparency = 0
  5123. shell2.Transparency = 1
  5124. for i = 1, 10 do
  5125. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5126. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5127. 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)
  5128. 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)
  5129. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  5130. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5131. 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)
  5132. 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)
  5133. if Debounces.on == false then break end
  5134. rs:wait()
  5135. end
  5136. Shell()
  5137. shell2.Transparency = 0
  5138. shell.Transparency = 1
  5139. for i = 1, 10 do
  5140. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5141. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5142. 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)
  5143. 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)
  5144. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5145. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5146. 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)
  5147. 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)
  5148. if Debounces.on == false then break end
  5149. rs:wait()
  5150. end
  5151. Shell()
  5152. shell.Transparency = 0
  5153. shell2.Transparency = 1
  5154. for i = 1, 10 do
  5155. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5156. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5157. 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)
  5158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  5159. 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)
  5160. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5161. 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)
  5162. 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)
  5163. if Debounces.on == false then break end
  5164. rs:wait()
  5165. end
  5166. Shell()
  5167. shell2.Transparency = 0
  5168. shell.Transparency = 1
  5169. for i = 1, 10 do
  5170. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5171. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5172. 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)
  5173. 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)
  5174. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5175. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5176. 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)
  5177. 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)
  5178. if Debounces.on == false then break end
  5179. rs:wait()
  5180. end
  5181. Shell()
  5182. shell.Transparency = 0
  5183. shell2.Transparency = 1
  5184. for i = 1, 10 do
  5185. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5186. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5187. 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)
  5188. 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)
  5189. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  5190. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5191. 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)
  5192. 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)
  5193. if Debounces.on == false then break end
  5194. rs:wait()
  5195. end
  5196. Shell()
  5197. shell2.Transparency = 0
  5198. shell.Transparency = 1
  5199. for i = 1, 10 do
  5200. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5201. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5202. 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)
  5203. 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)
  5204. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5205. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5206. 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)
  5207. 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)
  5208. if Debounces.on == false then break end
  5209. rs:wait()
  5210. end
  5211. Shell()
  5212. shell.Transparency = 0
  5213. shell2.Transparency = 1
  5214. for i = 1, 10 do
  5215. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5216. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5217. 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)
  5218. 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)
  5219. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  5220. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5221. 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)
  5222. 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)
  5223. if Debounces.on == false then break end
  5224. rs:wait()
  5225. end
  5226. Shell()
  5227. shell2.Transparency = 0
  5228. shell.Transparency = 1
  5229. for i = 1, 10 do
  5230. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5231. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5232. 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)
  5233. 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)
  5234. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  5235. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  5236. 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)
  5237. 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)
  5238. if Debounces.on == false then break end
  5239. rs:wait()
  5240. end
  5241. Shell()
  5242. shell.Transparency = 0
  5243. shell2.Transparency = 1
  5244. for i = 1, 10 do
  5245. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  5246. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  5247. 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)
  5248. 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)
  5249. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  5250. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  5251. 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)
  5252. 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)
  5253. if Debounces.on == false then break end
  5254. rs:wait()
  5255. end
  5256. shell.Transparency = 1
  5257. if Debounces.CanAttack == false then
  5258. Debounces.CanAttack = true
  5259. Debounces.NoIdl = false
  5260. Debounces.on = false
  5261. end
  5262. end
  5263. end
  5264. end)
  5265. ----------------------------------------------------
  5266. Search = false
  5267. mouse.KeyDown:connect(function(key)
  5268. if key == "n" then
  5269. if Search == false then
  5270. Search = true
  5271. for i,v in pairs(game.Players:getPlayers()) do
  5272. if v.Name~=char.Name then
  5273. for j,k in pairs(v.Character:GetChildren()) do
  5274. if k:IsA("BasePart") and k.Transparency >= 1 then
  5275. bawx=Instance.new("SelectionBox",cam)
  5276. bawx.Color = BrickColor.new("Bright red")
  5277. bawx.Transparency = .5
  5278. bawx.Adornee = k
  5279. end
  5280. end
  5281. end
  5282. end
  5283. elseif Search == true then
  5284. Search = false
  5285. for i, v in pairs(cam:GetChildren()) do
  5286. if v:IsA("SelectionBox") then
  5287. v:Destroy()
  5288. end
  5289. end
  5290. end
  5291. end
  5292. end)
  5293. ----------------------------------------------------
  5294. Grab = false
  5295. mouse.KeyDown:connect(function(key)
  5296. if key == "z" then
  5297. Debounces.on = true
  5298. Debounces.NoIdl = true
  5299. Debounces.ks = true
  5300. if Grab == false then
  5301. gp = nil
  5302. for i = 1, 20 do
  5303. 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)
  5304. 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)
  5305. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  5306. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  5307. 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)
  5308. 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)
  5309. if Debounces.on == false then break end
  5310. rs:wait()
  5311. end
  5312. con1=larm.Touched:connect(function(hit) -- this is grab
  5313. ht = hit.Parent
  5314. hum1=ht:FindFirstChild('Humanoid')
  5315. if hum1 ~= nil then
  5316. if Debounces.ks==true then
  5317. z = Instance.new("Sound",hed)
  5318. z.SoundId = "rbxassetid://169380525"
  5319. z.Volume = 1
  5320. z:Play()
  5321. Debounces.ks=false
  5322. end
  5323. hum1.PlatformStand=true
  5324. gp = ht
  5325. Grab = true
  5326. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  5327. asd.Parent = larm
  5328. asd.Name = "asd"
  5329. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  5330. --[[elseif hum1 == nil then
  5331. con1:disconnect()
  5332. wait() return]]--
  5333. end
  5334. end)
  5335. for i = 1, 20 do
  5336. 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)
  5337. 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)
  5338. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  5339. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  5340. 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)
  5341. 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)
  5342. if Debounces.on == false then break end
  5343. rs:wait()
  5344. end
  5345. if hum1 == nil then
  5346. Debounces.on = false
  5347. Debounces.NoIdl = false
  5348. end
  5349. con1:disconnect()
  5350. elseif Grab == true then
  5351. Grab = false
  5352. Punch()
  5353. z = Instance.new("Sound",hed)
  5354. z.SoundId = "rbxassetid://169380525"
  5355. z.Pitch = ptz[math.random(1,#ptz)]
  5356. z.Volume = 1
  5357. z:Play()
  5358. for i = 1, 10 do
  5359. 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)
  5360. 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)
  5361. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5362. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5363. 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)
  5364. 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)
  5365. if Debounces.on == false then break end
  5366. rs:wait()
  5367. end
  5368. Punch()
  5369. z = Instance.new("Sound",hed)
  5370. z.SoundId = "rbxassetid://169380525"
  5371. z.Pitch = ptz[math.random(1,#ptz)]
  5372. z.Volume = 1
  5373. z:Play()
  5374. for i = 1, 10 do
  5375. 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)
  5376. 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)
  5377. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5378. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5379. 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)
  5380. 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)
  5381. if Debounces.on == false then break end
  5382. rs:wait()
  5383. end
  5384. Punch()
  5385. z = Instance.new("Sound",hed)
  5386. z.SoundId = "rbxassetid://169380525"
  5387. z.Pitch = ptz[math.random(1,#ptz)]
  5388. z.Volume = 1
  5389. z:Play()
  5390. for i = 1, 10 do
  5391. 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)
  5392. 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)
  5393. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5394. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5395. 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)
  5396. 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)
  5397. if Debounces.on == false then break end
  5398. rs:wait()
  5399. end
  5400. Punch()
  5401. z = Instance.new("Sound",hed)
  5402. z.SoundId = "rbxassetid://169380525"
  5403. z.Pitch = ptz[math.random(1,#ptz)]
  5404. z.Volume = 1
  5405. z:Play()
  5406. for i = 1, 10 do
  5407. 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)
  5408. 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)
  5409. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5410. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5411. 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)
  5412. 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)
  5413. if Debounces.on == false then break end
  5414. rs:wait()
  5415. end
  5416. Punch()
  5417. z = Instance.new("Sound",hed)
  5418. z.SoundId = "rbxassetid://169380525"
  5419. z.Pitch = ptz[math.random(1,#ptz)]
  5420. z.Volume = 1
  5421. z:Play()
  5422. for i = 1, 10 do
  5423. 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)
  5424. 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)
  5425. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5426. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5427. 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)
  5428. 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)
  5429. if Debounces.on == false then break end
  5430. rs:wait()
  5431. end
  5432. Punch()
  5433. z = Instance.new("Sound",hed)
  5434. z.SoundId = "rbxassetid://169380525"
  5435. z.Pitch = ptz[math.random(1,#ptz)]
  5436. z.Volume = 1
  5437. z:Play()
  5438. for i = 1, 10 do
  5439. 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)
  5440. 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)
  5441. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5442. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5443. 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)
  5444. 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)
  5445. if Debounces.on == false then break end
  5446. rs:wait()
  5447. end
  5448. Punch()
  5449. z = Instance.new("Sound",hed)
  5450. z.SoundId = "rbxassetid://169380525"
  5451. z.Pitch = ptz[math.random(1,#ptz)]
  5452. z.Volume = 1
  5453. z:Play()
  5454. for i = 1, 10 do
  5455. 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)
  5456. 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)
  5457. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5458. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5459. 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)
  5460. 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)
  5461. if Debounces.on == false then break end
  5462. rs:wait()
  5463. end
  5464. Punch()
  5465. z = Instance.new("Sound",hed)
  5466. z.SoundId = "rbxassetid://169380525"
  5467. z.Pitch = ptz[math.random(1,#ptz)]
  5468. z.Volume = 1
  5469. z:Play()
  5470. for i = 1, 10 do
  5471. 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)
  5472. 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)
  5473. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5474. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5475. 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)
  5476. 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)
  5477. if Debounces.on == false then break end
  5478. rs:wait()
  5479. end
  5480. Punch()
  5481. z = Instance.new("Sound",hed)
  5482. z.SoundId = "rbxassetid://169380525"
  5483. z.Pitch = ptz[math.random(1,#ptz)]
  5484. z.Volume = 1
  5485. z:Play()
  5486. for i = 1, 10 do
  5487. 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)
  5488. 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)
  5489. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5490. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5491. 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)
  5492. 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)
  5493. if Debounces.on == false then break end
  5494. rs:wait()
  5495. end
  5496. Punch()
  5497. z = Instance.new("Sound",hed)
  5498. z.SoundId = "rbxassetid://169380525"
  5499. z.Pitch = ptz[math.random(1,#ptz)]
  5500. z.Volume = 1
  5501. z:Play()
  5502. for i = 1, 10 do
  5503. 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)
  5504. 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)
  5505. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5506. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5507. 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)
  5508. 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)
  5509. if Debounces.on == false then break end
  5510. rs:wait()
  5511. end
  5512. Punch()
  5513. z = Instance.new("Sound",hed)
  5514. z.SoundId = "rbxassetid://169380525"
  5515. z.Pitch = ptz[math.random(1,#ptz)]
  5516. z.Volume = 1
  5517. z:Play()
  5518. for i = 1, 10 do
  5519. 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)
  5520. 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)
  5521. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  5522. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  5523. 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)
  5524. 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)
  5525. if Debounces.on == false then break end
  5526. rs:wait()
  5527. end
  5528. Punch()
  5529. z = Instance.new("Sound",hed)
  5530. z.SoundId = "rbxassetid://169380525"
  5531. z.Pitch = ptz[math.random(1,#ptz)]
  5532. z.Volume = 1
  5533. z:Play()
  5534. for i = 1, 10 do
  5535. 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)
  5536. 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)
  5537. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  5538. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  5539. 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)
  5540. 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)
  5541. if Debounces.on == false then break end
  5542. rs:wait()
  5543. end
  5544. con1:disconnect()
  5545. Debounces.on = false
  5546. Debounces.NoIdl = false
  5547. if gp ~= nil then
  5548. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  5549. for i,v in pairs(larm:GetChildren()) do
  5550. if v.Name == "asd" and v:IsA("Weld") then
  5551. v:Remove()
  5552. end
  5553. end
  5554. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  5555. bv.maxForce = Vector3.new(400000, 400000, 400000)
  5556. bv.P = 125000
  5557. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  5558. hum1=nil
  5559. ht=nil
  5560. Debounces.on = false
  5561. Debounces.NoIdl = false
  5562. elseif ht == nil then wait()
  5563. Grab = false
  5564. Debounces.on = false
  5565. Debounces.NoIdl = false
  5566. end
  5567. end
  5568. end
  5569. end)
  5570. ----------------------------------------------------
  5571. mouse.KeyDown:connect(function(key)
  5572. if string.byte(key) == 52 then
  5573. char.Humanoid.WalkSpeed = 60
  5574. end
  5575. end)
  5576. mouse.KeyUp:connect(function(key)
  5577. if string.byte(key) == 52 then
  5578. char.Humanoid.WalkSpeed = 8
  5579. end
  5580. end)
  5581. -------------------------------
  5582. local animpose = "Idle"
  5583. local lastanimpose = "Idle"
  5584. local sine = 0
  5585. local change = 1
  5586. local val = 0
  5587. local ffing = false
  5588. -------------------------------
  5589. game:GetService("RunService").RenderStepped:connect(function()
  5590. --[[if char.Humanoid.Jump == true then
  5591. jump = true
  5592. else
  5593. jump = false
  5594. end]]
  5595. char.Humanoid.FreeFalling:connect(function(f)
  5596. if f then
  5597. ffing = true
  5598. else
  5599. ffing = false
  5600. end
  5601. end)
  5602. sine = sine + change
  5603. if jumpn == true then
  5604. animpose = "Jumping"
  5605. elseif ffing == true then
  5606. animpose = "Freefalling"
  5607. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  5608. animpose = "Idle"
  5609. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  5610. animpose = "Walking"
  5611. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  5612. animpose = "Running"
  5613. end
  5614. if animpose ~= lastanimpose then
  5615. sine = 0
  5616. if Debounces.NoIdl == false then
  5617. if animpose == "Idle" then
  5618. for i = 1, 2 do
  5619. 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)
  5620. 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)
  5621. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  5622. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  5623. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  5624. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  5625. end
  5626. elseif animpose == "Walking" then
  5627. for i = 1, 2 do
  5628. 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)
  5629. 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)
  5630. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  5631. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  5632. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  5633. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  5634. end
  5635. elseif animpose == "Running" then
  5636. for i = 1, 2 do
  5637. 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)
  5638. 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)
  5639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  5640. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  5641. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  5642. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  5643. wait()
  5644. end
  5645. end
  5646. else
  5647. end
  5648. end
  5649. lastanimpose = animpose
  5650. if Debounces.NoIdl == false then
  5651. if animpose == "Idle" then
  5652. change = 0.5
  5653. 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)
  5654. 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)
  5655. 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)
  5656. 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)
  5657. 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)
  5658. 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)
  5659. elseif animpose == "Walking" then
  5660. change = 1
  5661. 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)
  5662. 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)
  5663. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  5664. 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)
  5665. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  5666. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  5667. elseif animpose == "Running" then
  5668. change = 1
  5669. 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)
  5670. 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)
  5671. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  5672. 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)
  5673. 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)
  5674. 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)
  5675. end
  5676. end
  5677. end)
  5678.  
  5679. hum.MaxHealth = 9001
  5680. wait(3)
  5681. hum.Health = 9001
  5682.  
  5683. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  5684. --[[Part0 = Vector3 (Start pos)
  5685. Part1 = Vector3 (End pos)
  5686. Times = number (Amount of lightning parts)
  5687. Offset = number (Offset)
  5688. Color = color (brickcolor value)
  5689. Thickness = number (thickness)
  5690. Trans = number (transparency)
  5691. ]]--
  5692. local magz = (Part0 - Part1).magnitude
  5693. local curpos = Part0
  5694. local trz = {-Offset,Offset}
  5695. for i=1,Times do
  5696. local li = Instance.new("Part", torso)
  5697. li.Name = "Lightning"
  5698. li.TopSurface =0
  5699. li.Material = "Neon"
  5700. li.BottomSurface = 0
  5701. li.Anchored = true
  5702. li.Locked = true
  5703. li.Transparency = Trans or 0.4
  5704. li.BrickColor = BrickColor.new(Color)
  5705. li.formFactor = "Custom"
  5706. li.CanCollide = false
  5707. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  5708. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  5709. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  5710. if Times == i then
  5711. local magz2 = (curpos - Part1).magnitude
  5712. li.Size = Vector3.new(Thickness,Thickness,magz2)
  5713. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  5714. else
  5715. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  5716. end
  5717. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  5718. game.Debris:AddItem(li,.1)
  5719. end
  5720. end
  5721.  
  5722. BodyParts = {} -- Parts to emit lightning effects from
  5723. for _, v in pairs(char:GetChildren()) do
  5724. if v:IsA("Part") then
  5725. table.insert(BodyParts, v)
  5726. end
  5727. end
  5728.  
  5729. Bounding = {} -- Calculate the bounding boxes
  5730. for _, v in pairs(BodyParts) do
  5731. local temp = {X=nil, Y=nil, Z=nil}
  5732. temp.X = v.Size.X/2 * 10
  5733. temp.Y = v.Size.Y/2 * 10
  5734. temp.Z = v.Size.Z/2 * 10
  5735. Bounding[v.Name] = temp
  5736. --table.insert(Bounding, v.Name, temp)
  5737. end
  5738.  
  5739. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  5740. local Body1 = BodyParts[math.random(#BodyParts)]
  5741. local Body2 = BodyParts[math.random(#BodyParts)]
  5742. local Pos1 = Vector3.new(
  5743. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  5744. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  5745. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  5746. )
  5747. local Pos2 = Vector3.new(
  5748. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  5749. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  5750. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  5751. )
  5752. local SPos1 = Body1.Position + Pos1
  5753. local SPos2 = Body2.Position + Pos2
  5754. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  5755. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement