AndrewTheMaster

Galaxy Titan

Feb 11th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.19 KB | None | 0 0
  1. --[[PointCoded's Edit Of The Titan Script]]--
  2. --[[Old]]--
  3.  
  4. local p = game.Players.LocalPlayer
  5. local char = p.Character
  6. local mouse = p:GetMouse()
  7. local larm = char["Left Arm"]
  8. local rarm = char["Right Arm"]
  9. local TitanBet = ";"
  10. local lleg = char["Left Leg"]
  11. local rleg = char["Right Leg"]
  12. local hed = char.Head
  13. local torso = char.Torso
  14. local hum = char.Humanoid
  15. local cam = game.Workspace.CurrentCamera
  16. local root = char.HumanoidRootPart
  17. local deb = false
  18. local shot = 0
  19. local l = game:GetService("Lighting")
  20. local rs = game:GetService("RunService").RenderStepped
  21. local stanceToggle = "Normal"
  22. local Mana = Instance.new("IntValue", char)
  23. Mana.Value = 5000
  24. Mana.Name = "Mana"
  25. math.randomseed(os.time())
  26. hum.WalkSpeed = 50
  27. char.Health:Destroy()
  28. hum.MaxHealth = math.huge
  29. wait(0.1)
  30. hum.Health = math.huge
  31. ----------------------------------------------------
  32. local G = Instance.new("ScreenGui")
  33. G.Parent = p.PlayerGui
  34. G.Name = "Mana"
  35. local T = Instance.new("TextLabel")
  36. T.Name = "Mana"
  37. T.Parent = G
  38. T.Text = "Mana: "..char.Mana.Value
  39. T.FontSize = "Size24"
  40. T.BackgroundTransparency = 1
  41. T.TextColor3 = Color3.new(255,255,255)
  42. T.TextStrokeTransparency = 0
  43. T.Position = UDim2.new(0,250,0,400)
  44. T.BorderSizePixel = 0
  45. --//
  46. for i = 1,30 do
  47. Instance.new('Fire',larm); Instance.new('Fire',rarm)
  48. end
  49. --//
  50. Debounces = {
  51. on = false;
  52. ks = false;
  53. CanAttack = true;
  54. CanJoke = true;
  55. NoIdl = false;
  56. Slashing = false;
  57. Slashed = false;
  58. Grabbing = false;
  59. Grabbed = false;
  60. }
  61. local Touche = {char.Name, }
  62. ----------------------------------------------------
  63. function lerp(a, b, t) -- Linear interpolation
  64. return a + (b - a)*t
  65. end
  66.  
  67. function slerp(a, b, t) --Spherical interpolation
  68. dot = a:Dot(b)
  69. if dot > 0.99999 or dot < -0.99999 then
  70. return t <= 0.5 and a or b
  71. else
  72. r = math.acos(dot)
  73. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  74. end
  75. end
  76.  
  77. function matrixInterpolate(a, b, t)
  78. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  79. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  80. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  81. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  82. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  83. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  84. local t = v1:Dot(v2)
  85. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  86. return CFrame.new()
  87. end
  88. return CFrame.new(
  89. v0.x, v0.y, v0.z,
  90. v1.x, v1.y, v1.z,
  91. v2.x, v2.y, v2.z,
  92. v3.x, v3.y, v3.z)
  93. end
  94. ----------------------------------------------------//Mesh setting
  95. local cmeshes = {}
  96. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  97. ll.BodyPart = 'LeftLeg'
  98. rl.BodyPart = 'RightLeg'
  99. la.BodyPart = 'LeftArm'
  100. ra.BodyPart = 'RightArm'
  101. t.BodyPart = 'Torso'
  102. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  103. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
  104. t.MeshId,t.OverlayTextureId=68241695,18051314
  105.  
  106. ----------------------------------------------------
  107. function genWeld(a,b)
  108. local w = Instance.new("Weld",a)
  109. w.Part0 = a
  110. w.Part1 = b
  111. return w
  112. end
  113. function weld(a, b)
  114. local weld = Instance.new("Weld")
  115. weld.Name = "W"
  116. weld.Part0 = a
  117. weld.Part1 = b
  118. weld.C0 = a.CFrame:inverse() * b.CFrame
  119. weld.Parent = a
  120. return weld;
  121. end
  122. ----------------------------------------------------
  123. function Lerp(c1,c2,al)
  124. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  125. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  126. for i,v in pairs(com1) do
  127. com1[i] = v+(com2[i]-v)*al
  128. end
  129. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  130. end
  131. ----------------------------------------------------
  132. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  133. local wld = Instance.new("Weld", wp1)
  134. wld.Part0 = wp0
  135. wld.Part1 = wp1
  136. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  137. end
  138. ----------------------------------------------------
  139. for i,v in pairs(char:children()) do
  140. if v:IsA("Hat") then
  141. v:Destroy()
  142. end
  143. end
  144. for i,v in pairs(hed:children()) do
  145. if v:IsA("Sound") then
  146. v:Destroy()
  147. end
  148. end
  149. ----------------------------------------------------
  150. function HasntTouched(plrname)
  151. local ret = true
  152. for _, v in pairs(Touche) do
  153. if v == plrname then
  154. ret = false
  155. end
  156. end
  157. return ret
  158. end
  159. ----------------------------------------------------
  160. larm.Size = larm.Size * 2
  161. rarm.Size = rarm.Size * 2
  162. lleg.Size = lleg.Size * 2
  163. rleg.Size = rleg.Size * 2
  164. torso.Size = torso.Size * 2
  165. hed.Size = hed.Size * 2
  166. root.Size = root.Size * 2
  167. ----------------------------------------------------
  168. newWeld(torso, larm, -1.5, 1, 0)
  169. larm.Weld.C1 = CFrame.new(0, 1, 0)
  170. newWeld(torso, rarm, 1.5, 1, 0)
  171. rarm.Weld.C1 = CFrame.new(0, 1, 0)
  172. newWeld(torso, hed, 0, 3, 0)
  173. newWeld(torso, lleg, -1, -2, 0)
  174. lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  175. newWeld(torso, rleg, 1, -2, 0)
  176. rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  177. newWeld(root, torso, 0, -2, 0)
  178. torso.Weld.C1 = CFrame.new(0, -2, 0)
  179. ----------------------------------------------------
  180.  
  181. hed.face:Remove''
  182. hed.Transparency = 0
  183. local meshx9 = Instance.new('SpecialMesh',hed)
  184. meshx9.MeshType = 'FileMesh'
  185. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  186. meshx9.Scale = Vector3.new(2,2,2)
  187.  
  188.  
  189.  
  190. lite = Instance.new("PointLight", torso)
  191. lite.Brightness = 14
  192. lite.Range = 10
  193. lite.Color = Color3.new(1, 0, 0)
  194. local hed2 = hed:Clone()
  195. hed2.CanCollide = false
  196. hed2.Parent = char
  197. hed2:ClearAllChildren()
  198. hed2.Transparency = 1
  199. hed2.Name = "DARP"
  200. local w = Instance.new("Weld",hed2)
  201. w.Part0 = hed
  202. w.Part1 = hed2
  203. w.C0 = CFrame.new(0,0,-0.175)
  204. z=Instance.new("SurfaceGui",hed2)
  205. z.Enabled = true
  206. z.Face = "Front"
  207. z.Adornee = hed2
  208. z.CanvasSize = Vector2.new(100,100)
  209. local face = Instance.new("ImageLabel",z)
  210. face.Size = UDim2.new(1,-30,1,0)
  211. face.Position = UDim2.new(0,15,0,0)
  212. face.BackgroundTransparency = 1
  213. face.Image='rbxassetid://46282671'
  214. ----------------------------------------------------
  215. local m = Instance.new("Model")
  216. m.Name = "Absolution"
  217. p1 = Instance.new("Part", m)
  218. p1.BrickColor = BrickColor.new("Red")
  219. p1.FormFactor = Enum.FormFactor.Custom
  220. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  221. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  222. p1.CanCollide = false
  223. p1.Locked = true
  224. p1.Elasticity = 0
  225. p1.BottomSurface = Enum.SurfaceType.Smooth
  226. p1.TopSurface = Enum.SurfaceType.Smooth
  227. b1 = Instance.new("SpecialMesh", p1)
  228. b1.MeshType = Enum.MeshType.Wedge
  229. b1.Name = "Mesh"
  230. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  231. p2 = Instance.new("Part", m)
  232. p2.BrickColor = BrickColor.new("Red")
  233. p2.FormFactor = Enum.FormFactor.Custom
  234. p2.Size = Vector3.new(1, 2.9000001, 1)
  235. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  236. p2.CanCollide = false
  237. p2.Locked = true
  238. p2.Elasticity = 0
  239. p2.BottomSurface = Enum.SurfaceType.Smooth
  240. p2.TopSurface = Enum.SurfaceType.Smooth
  241. b2 = Instance.new("BlockMesh", p2)
  242. b2.Name = "Mesh"
  243. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  244. p3 = Instance.new("Part", m)
  245. p3.BrickColor = BrickColor.new("Red")
  246. p3.FormFactor = Enum.FormFactor.Custom
  247. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  248. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  249. p3.CanCollide = false
  250. p3.Locked = true
  251. p3.Elasticity = 0
  252. p3.BottomSurface = Enum.SurfaceType.Smooth
  253. p3.TopSurface = Enum.SurfaceType.Smooth
  254. b3 = Instance.new("SpecialMesh", p3)
  255. b3.MeshType = Enum.MeshType.Wedge
  256. b3.Name = "Mesh"
  257. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  258. p4 = Instance.new("Part", m)
  259. p4.BrickColor = BrickColor.new("Red")
  260. p4.FormFactor = Enum.FormFactor.Custom
  261. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  262. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  263. p4.CanCollide = false
  264. p4.Locked = true
  265. p4.Elasticity = 0
  266. p4.BottomSurface = Enum.SurfaceType.Smooth
  267. p4.TopSurface = Enum.SurfaceType.Smooth
  268. b4 = Instance.new("SpecialMesh", p4)
  269. b4.MeshType = Enum.MeshType.Wedge
  270. b4.Name = "Mesh"
  271. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  272. p5 = Instance.new("Part", m)
  273. p5.BrickColor = BrickColor.new("Red")
  274. p5.FormFactor = Enum.FormFactor.Custom
  275. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  276. p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
  277. p5.CanCollide = false
  278. p5.Locked = true
  279. p5.Elasticity = 0
  280. p5.BottomSurface = Enum.SurfaceType.Smooth
  281. p5.TopSurface = Enum.SurfaceType.Smooth
  282. b5 = Instance.new("SpecialMesh", p5)
  283. b5.MeshType = Enum.MeshType.Wedge
  284. b5.Name = "Mesh"
  285. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  286. p6 = Instance.new("Part", m)
  287. p6.Name = "Handle"
  288. p6.BrickColor = BrickColor.new(192)
  289. p6.FormFactor = Enum.FormFactor.Custom
  290. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  291. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  292. p6.CanCollide = false
  293. p6.Locked = true
  294. p6.Elasticity = 0
  295. p6.BottomSurface = Enum.SurfaceType.Smooth
  296. p6.TopSurface = Enum.SurfaceType.Smooth
  297. b6 = Instance.new("BlockMesh", p6)
  298. b6.Name = "Mesh"
  299. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  300. p7 = Instance.new("Part", m)
  301. p7.BrickColor = BrickColor.new("Red")
  302. p7.FormFactor = Enum.FormFactor.Custom
  303. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  304. p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
  305. p7.CanCollide = false
  306. p7.Locked = true
  307. p7.Elasticity = 0
  308. p7.BottomSurface = Enum.SurfaceType.Smooth
  309. p7.TopSurface = Enum.SurfaceType.Smooth
  310. b7 = Instance.new("SpecialMesh", p7)
  311. b7.MeshType = Enum.MeshType.Wedge
  312. b7.Name = "Mesh"
  313. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  314. p8 = Instance.new("Part", m)
  315. p8.BrickColor = BrickColor.new("Red")
  316. p8.FormFactor = Enum.FormFactor.Custom
  317. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  318. p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
  319. p8.CanCollide = false
  320. p8.Locked = true
  321. p8.Elasticity = 0
  322. p8.BottomSurface = Enum.SurfaceType.Smooth
  323. p8.TopSurface = Enum.SurfaceType.Smooth
  324. b8 = Instance.new("SpecialMesh", p8)
  325. b8.MeshType = Enum.MeshType.Wedge
  326. b8.Name = "Mesh"
  327. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  328. p9 = Instance.new("Part", m)
  329. p9.BrickColor = BrickColor.new("Red")
  330. p9.FormFactor = Enum.FormFactor.Custom
  331. p9.Size = Vector3.new(1, 1.07999957, 1)
  332. p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
  333. p9.CanCollide = false
  334. p9.Locked = true
  335. p9.Elasticity = 0
  336. p9.BottomSurface = Enum.SurfaceType.Smooth
  337. p9.TopSurface = Enum.SurfaceType.Smooth
  338. b9 = Instance.new("BlockMesh", p9)
  339. b9.Name = "Mesh"
  340. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  341. p10 = Instance.new("Part", m)
  342. p10.BrickColor = BrickColor.new("Blue")
  343. p10.FormFactor = Enum.FormFactor.Custom
  344. p10.Size = Vector3.new(1, 1.41999948, 1)
  345. p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
  346. p10.CanCollide = false
  347. p10.Locked = true
  348. p10.Elasticity = 0
  349. p10.BottomSurface = Enum.SurfaceType.Smooth
  350. p10.TopSurface = Enum.SurfaceType.Smooth
  351. b10 = Instance.new("BlockMesh", p10)
  352. b10.Name = "Mesh"
  353. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  354. p11 = Instance.new("Part", m)
  355. p11.BrickColor = BrickColor.new("Blue")
  356. p11.FormFactor = Enum.FormFactor.Custom
  357. p11.Size = Vector3.new(1, 1.50999951, 1)
  358. p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
  359. p11.CanCollide = false
  360. p11.Locked = true
  361. p11.Elasticity = 0
  362. p11.BottomSurface = Enum.SurfaceType.Smooth
  363. p11.TopSurface = Enum.SurfaceType.Smooth
  364. b11 = Instance.new("BlockMesh", p11)
  365. b11.Name = "Mesh"
  366. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  367. p12 = Instance.new("Part", m)
  368. p12.Name = "BladeCenter"
  369. p12.BrickColor = BrickColor.new("")
  370. p12.Material = Enum.Material.Concrete
  371. p12.FormFactor = Enum.FormFactor.Symmetric
  372. p12.Size = Vector3.new(1, 2, 2)
  373. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  374. p12.CanCollide = false
  375. p12.Locked = true
  376. p12.BottomSurface = Enum.SurfaceType.Smooth
  377. p12.TopSurface = Enum.SurfaceType.Smooth
  378. b12 = Instance.new("SpecialMesh", p12)
  379. b12.MeshType = Enum.MeshType.Brick
  380. b12.Name = "Mesh"
  381. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  382. p13 = Instance.new("Part", m)
  383. p13.BrickColor = BrickColor.new("Blue")
  384. p13.FormFactor = Enum.FormFactor.Custom
  385. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  386. p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
  387. p13.CanCollide = false
  388. p13.Locked = true
  389. p13.Elasticity = 0
  390. p13.BottomSurface = Enum.SurfaceType.Smooth
  391. p13.TopSurface = Enum.SurfaceType.Smooth
  392. b13 = Instance.new("BlockMesh", p13)
  393. b13.Name = "Mesh"
  394. b13.Scale = Vector3.new(1, 1, 0.400000006)
  395. p14 = Instance.new("Part", m)
  396. p14.BrickColor = BrickColor.new("Blue")
  397. p14.FormFactor = Enum.FormFactor.Custom
  398. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  399. p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
  400. p14.CanCollide = false
  401. p14.Locked = true
  402. p14.Elasticity = 0
  403. p14.BottomSurface = Enum.SurfaceType.Smooth
  404. p14.TopSurface = Enum.SurfaceType.Smooth
  405. b14 = Instance.new("BlockMesh", p14)
  406. b14.Name = "Mesh"
  407. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  408. p15 = Instance.new("Part", m)
  409. p15.BrickColor = BrickColor.new("Blue")
  410. p15.FormFactor = Enum.FormFactor.Custom
  411. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  412. p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
  413. p15.CanCollide = false
  414. p15.Locked = true
  415. p15.Material = "Neon"
  416. p15.Elasticity = 0
  417. p15.BottomSurface = Enum.SurfaceType.Smooth
  418. p15.TopSurface = Enum.SurfaceType.Smooth
  419. b15 = Instance.new("BlockMesh", p15)
  420. b15.Name = "Mesh"
  421. b15.Scale = Vector3.new(1, 1, 0.400000006)
  422. p16 = Instance.new("Part", m)
  423. p16.BrickColor = BrickColor.new("Really black")
  424. p16.FormFactor = Enum.FormFactor.Custom
  425. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  426. p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
  427. p16.CanCollide = false
  428. p16.Locked = true
  429. p16.Material = "Neon"
  430. p16.Elasticity = 0
  431. p16.BottomSurface = Enum.SurfaceType.Smooth
  432. p16.TopSurface = Enum.SurfaceType.Smooth
  433. b16 = Instance.new("BlockMesh", p16)
  434. b16.Name = "Mesh"
  435. b16.Scale = Vector3.new(1, 1, 0.400000006)
  436. p17 = Instance.new("Part", m)
  437. p17.BrickColor = BrickColor.new("Really black")
  438. p17.FormFactor = Enum.FormFactor.Custom
  439. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  440. p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
  441. p17.CanCollide = false
  442. p17.Material = "Neon"
  443. p17.Locked = true
  444. p17.Elasticity = 0
  445. p17.BottomSurface = Enum.SurfaceType.Smooth
  446. p17.TopSurface = Enum.SurfaceType.Smooth
  447. b17 = Instance.new("BlockMesh", p17)
  448. b17.Name = "Mesh"
  449. b17.Scale = Vector3.new(1, 1, 0.400000006)
  450. p18 = Instance.new("WedgePart", m)
  451. p18.BrickColor = BrickColor.new("Black")
  452. p18.Material = "Neon"
  453. p18.Name = "BladePart1"
  454. p18.Material = Enum.Material.Concrete
  455. p18.Name = "Wedge"
  456. p18.FormFactor = Enum.FormFactor.Symmetric
  457. p18.Size = Vector3.new(1, 4, 2)
  458. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  459. p18.CanCollide = false
  460. p18.Locked = true
  461. p18.BottomSurface = Enum.SurfaceType.Smooth
  462. p18.TopSurface = Enum.SurfaceType.Smooth
  463. b18 = Instance.new("SpecialMesh", p18)
  464. b18.MeshType = Enum.MeshType.Wedge
  465. b18.Name = "Mesh"
  466. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  467. p19 = Instance.new("WedgePart", m)
  468. p19.BrickColor = BrickColor.new("Institutional white")
  469. p19.Name = "BladePart2"
  470. p19.Material = "Neon"
  471. p19.Material = Enum.Material.Concrete
  472. p19.Name = "Wedge"
  473. p19.FormFactor = Enum.FormFactor.Symmetric
  474. p19.Size = Vector3.new(1, 4, 2)
  475. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  476. p19.CanCollide = false
  477. p19.Locked = true
  478. p19.BottomSurface = Enum.SurfaceType.Smooth
  479. p19.TopSurface = Enum.SurfaceType.Smooth
  480. b19 = Instance.new("SpecialMesh", p19)
  481. b19.MeshType = Enum.MeshType.Wedge
  482. b19.Name = "Mesh"
  483. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  484. p20 = Instance.new("Part", m)
  485. p20.BrickColor = BrickColor.new("Really black")
  486. p20.FormFactor = Enum.FormFactor.Custom
  487. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  488. p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
  489. p20.CanCollide = false
  490. p20.Material = "Neon"
  491. p20.Locked = true
  492. p20.Elasticity = 0
  493. p20.BottomSurface = Enum.SurfaceType.Smooth
  494. p20.TopSurface = Enum.SurfaceType.Smooth
  495. b20 = Instance.new("BlockMesh", p20)
  496. b20.Name = "Mesh"
  497. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  498. p21 = Instance.new("Part", m)
  499. p21.BrickColor = BrickColor.new("Really black")
  500. p21.FormFactor = Enum.FormFactor.Custom
  501. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  502. p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
  503. p21.CanCollide = false
  504. p21.Locked = true
  505. p21.Elasticity = 0
  506. p21.BottomSurface = Enum.SurfaceType.Smooth
  507. p21.TopSurface = Enum.SurfaceType.Smooth
  508. b21 = Instance.new("SpecialMesh", p21)
  509. b21.MeshType = Enum.MeshType.Wedge
  510. b21.Name = "Mesh"
  511. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  512. w1 = Instance.new("Weld", p1)
  513. w1.Name = "Part_Weld"
  514. w1.Part0 = p1
  515. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  516. w1.Part1 = p2
  517. w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  518. w2 = Instance.new("Weld", p2)
  519. w2.Name = "Part_Weld"
  520. w2.Part0 = p2
  521. w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  522. w2.Part1 = p3
  523. w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  524. w3 = Instance.new("Weld", p3)
  525. w3.Name = "Part_Weld"
  526. w3.Part0 = p3
  527. w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  528. w3.Part1 = p4
  529. w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  530. w4 = Instance.new("Weld", p4)
  531. w4.Name = "Part_Weld"
  532. w4.Part0 = p4
  533. w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  534. w4.Part1 = p5
  535. w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  536. w5 = Instance.new("Weld", p5)
  537. w5.Name = "Part_Weld"
  538. w5.Part0 = p5
  539. w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  540. w5.Part1 = p6
  541. w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  542. w6 = Instance.new("Weld", p6)
  543. w6.Name = "Part_Weld"
  544. w6.Part0 = p6
  545. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  546. w6.Part1 = p7
  547. w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  548. w7 = Instance.new("Weld", p7)
  549. w7.Name = "Part_Weld"
  550. w7.Part0 = p7
  551. w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  552. w7.Part1 = p8
  553. w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  554. w8 = Instance.new("Weld", p8)
  555. w8.Name = "Part_Weld"
  556. w8.Part0 = p8
  557. w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  558. w8.Part1 = p9
  559. w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  560. w9 = Instance.new("Weld", p9)
  561. w9.Name = "Part_Weld"
  562. w9.Part0 = p9
  563. w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  564. w9.Part1 = p10
  565. w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  566. w10 = Instance.new("Weld", p10)
  567. w10.Name = "Part_Weld"
  568. w10.Part0 = p10
  569. w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  570. w10.Part1 = p11
  571. w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  572. w11 = Instance.new("Weld", p11)
  573. w11.Name = "Part_Weld"
  574. w11.Part0 = p11
  575. w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  576. w11.Part1 = p12
  577. w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  578. w12 = Instance.new("Weld", p12)
  579. w12.Name = "Part_Weld"
  580. w12.Part0 = p12
  581. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  582. w12.Part1 = p13
  583. w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  584. w13 = Instance.new("Weld", p13)
  585. w13.Name = "Part_Weld"
  586. w13.Part0 = p13
  587. w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  588. w13.Part1 = p14
  589. w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  590. w14 = Instance.new("Weld", p14)
  591. w14.Name = "Part_Weld"
  592. w14.Part0 = p14
  593. w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  594. w14.Part1 = p15
  595. w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  596. w15 = Instance.new("Weld", p15)
  597. w15.Name = "Part_Weld"
  598. w15.Part0 = p15
  599. w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  600. w15.Part1 = p16
  601. w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  602. w16 = Instance.new("Weld", p16)
  603. w16.Name = "Part_Weld"
  604. w16.Part0 = p16
  605. w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  606. w16.Part1 = p17
  607. w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  608. w17 = Instance.new("Weld", p17)
  609. w17.Name = "Wedge_Weld"
  610. w17.Part0 = p17
  611. w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  612. w17.Part1 = p18
  613. w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  614. w18 = Instance.new("Weld", p18)
  615. w18.Name = "Wedge_Weld"
  616. w18.Part0 = p18
  617. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  618. w18.Part1 = p19
  619. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  620. w19 = Instance.new("Weld", p19)
  621. w19.Name = "Part_Weld"
  622. w19.Part0 = p19
  623. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  624. w19.Part1 = p20
  625. w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  626. w20 = Instance.new("Weld", p20)
  627. w20.Name = "Part_Weld"
  628. w20.Part0 = p20
  629. w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  630. w20.Part1 = p21
  631. w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  632. m.Parent = char
  633. m:MakeJoints()
  634. ----------------------------------------------------
  635. local cor = Instance.new("Part", char.Absolution)
  636. cor.Name = "Thingy"
  637. cor.Locked = true
  638. cor.BottomSurface = 0
  639. cor.CanCollide = false
  640. cor.Size = Vector3.new(1, 13, 1)
  641. cor.Transparency = 1
  642. cor.TopSurface = 0
  643. corw = Instance.new("Weld", cor)
  644. corw.Part0 = rarm
  645. corw.Part1 = cor
  646. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  647. corw.C1 = CFrame.new(0, 0, 0)
  648. weld1 = Instance.new("Weld", char.Absolution)
  649. weld1.Part0 = cor
  650. weld1.Part1 = p6
  651. weld1.C0 = CFrame.new(0, 0, 0)
  652. ----------------------------------------------------
  653. hitb = Instance.new("Part", char.Absolution)
  654. hitb.Name = "Thingy2"
  655. hitb.Locked = true
  656. hitb.BottomSurface = 0
  657. hitb.CanCollide = false
  658. hitb.Size = Vector3.new(0, 8, 6)
  659. hitb.Transparency = 1
  660. hitb.TopSurface = 0
  661. weld2 = Instance.new("Weld", char.Absolution)
  662. weld2.Part0 = hitb
  663. weld2.Part1 = p12
  664. weld2.C0 = CFrame.new(0, .6, 1)
  665.  
  666.  
  667. ----------------------------------------------------
  668. function weld5(part0, part1, c0, c1)
  669. weeld=Instance.new("Weld", part0)
  670. weeld.Part0=part0
  671. weeld.Part1=part1
  672. weeld.C0=c0
  673. weeld.C1=c1
  674. return weeld
  675. end
  676. ----------------------------------------------------
  677. function newRay(start,face,range,wat)
  678. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  679. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  680. return rey,hit,pos
  681. end
  682. ----------------------------------------------------
  683. mod5 = Instance.new("Model",char)
  684.  
  685. function FindNearestTorso(Position,Distance,SinglePlayer)
  686. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  687. local List = {}
  688. for i,v in pairs(workspace:GetChildren())do
  689. if v:IsA("Model")then
  690. if v:findFirstChild("Torso")then
  691. if v ~= char then
  692. if(v.Torso.Position -Position).magnitude <= Distance then
  693. table.insert(List,v)
  694. end
  695. end
  696. end
  697. end
  698. end
  699. return List
  700. end
  701.  
  702. function Landing()
  703. part=Instance.new('Part',mod5)
  704. part.Anchored=true
  705. part.CanCollide=false
  706. part.FormFactor='Custom'
  707. part.Size=Vector3.new(.2,.2,.2)
  708. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  709. part.Transparency=.7
  710. part.BrickColor=BrickColor.new('Really black')
  711. mesh=Instance.new('SpecialMesh',part)
  712. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  713. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  714. mesh.Scale=Vector3.new(10,5,10)
  715.  
  716. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  717. if v:FindFirstChild('Humanoid') then
  718. v.Humanoid:TakeDamage(math.random(20,30))
  719. v.Humanoid.PlatformStand = true
  720. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  721. end
  722. end
  723.  
  724. coroutine.resume(coroutine.create(function()
  725. for i=0,3.8,0.05 do
  726. wait()
  727. part.CFrame=part.CFrame
  728. part.Transparency=i
  729. mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
  730. end
  731. part.Parent = nil
  732. end))
  733. end
  734. ----------------------------------------------------
  735. mod4 = Instance.new("Model",char)
  736.  
  737. ptez = {0.7, 0.8, 0.9, 1}
  738.  
  739. function FindNearestTorso(Position,Distance,SinglePlayer)
  740. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  741. local List = {}
  742. for i,v in pairs(workspace:GetChildren())do
  743. if v:IsA("Model")then
  744. if v:findFirstChild("Torso")then
  745. if v ~= char then
  746. if(v.Torso.Position -Position).magnitude <= Distance then
  747. table.insert(List,v)
  748. end
  749. end
  750. end
  751. end
  752. end
  753. return List
  754. end
  755.  
  756. function GroundPound()
  757. part=Instance.new('Part',mod4)
  758. part.Anchored=true
  759. part.CanCollide=false
  760. part.FormFactor='Custom'
  761. part.Size=Vector3.new(.2,.2,.2)
  762. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  763. part.Transparency=.7
  764. part.BrickColor=BrickColor.new('Institutional white')
  765. mesh=Instance.new('SpecialMesh',part)
  766. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  767. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  768. mesh.Scale=Vector3.new(3,3,3)
  769. part2=Instance.new('Part',mod4)
  770. part2.Anchored=true
  771. part2.CanCollide=false
  772. part2.FormFactor='Custom'
  773. part2.Size=Vector3.new(.2,.2,.2)
  774. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  775. part2.Transparency=.7
  776. part2.BrickColor=BrickColor.new('Institutional white')
  777. mesh2=Instance.new('SpecialMesh',part2)
  778. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  779. mesh2.Scale=Vector3.new(3,1.5,3)
  780. x = Instance.new("Sound",char)
  781. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  782. x.Pitch = ptez[math.random(1,#ptez)]
  783. x.Volume = 1
  784. wait(.1)
  785. x:Play()
  786. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  787. if v:FindFirstChild('Humanoid') then
  788. v.Humanoid:TakeDamage(math.random(8,15))
  789. end
  790. end
  791. coroutine.resume(coroutine.create(function()
  792. for i=0,0.62,0.13 do
  793. wait()
  794. part.CFrame=part.CFrame
  795. part.Transparency=i
  796. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  797. part2.CFrame=part2.CFrame
  798. part2.Transparency=i
  799. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  800. end
  801. part.Parent=nil
  802. part2.Parent=nil
  803. x:Destroy()
  804. end))
  805. end
  806. ----------------------------------------------------
  807. mod=Instance.new('Model',char)
  808.  
  809. function charge()
  810. hed.Velocity=hed.CFrame.lookVector*200
  811. part=Instance.new('Part',mod)
  812. part.Anchored=true
  813. part.CanCollide=false
  814. part.FormFactor='Custom'
  815. part.Size=Vector3.new(.2,.2,.2)
  816. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  817. part.Transparency=.7
  818. part.Name = "Wow"
  819. part.BrickColor=BrickColor.new('Black')
  820. mesh=Instance.new('SpecialMesh',part)
  821. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  822. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  823. mesh.Scale=Vector3.new(10,5,10)
  824. part2=part:clone()
  825. part2.Parent=mod
  826. part2.BrickColor=BrickColor.new('Institutional white')
  827. mesh2=mesh:clone()
  828. mesh2.Parent=part2
  829. mesh2.Scale=Vector3.new(20,10,20)
  830. part3=part2:clone()
  831. part3.Parent = mod
  832. part3.BrickColor=BrickColor.new('Cyan')
  833. mesh3=mesh2:clone()
  834. mesh2.Parent=part3
  835. mesh3.Scale=Vector3.new(30,15,30)
  836. coroutine.resume(coroutine.create(function()
  837. for i=0,1,0.1 do
  838. wait()
  839. part.CFrame=part.CFrame
  840. part.Transparency=i
  841. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  842. part2.CFrame=part2.CFrame
  843. part2.Transparency=i
  844. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  845. part3.CFrame=part3.CFrame
  846. part3.Transparency=i
  847. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  848. end
  849. part.Parent=nil
  850. part2.Parent=nil
  851. part3.Parent = nil
  852. part1:remove()
  853. part:remove()
  854. part2:remove()
  855. part3:remove()
  856. end))
  857. end
  858. ----------------------------------------------------
  859. function FindNearestTorso(Position,Distance,SinglePlayer)
  860. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  861. local List = {}
  862. for i,v in pairs(workspace:GetChildren())do
  863. if v:IsA("Model")then
  864. if v:findFirstChild("Torso")then
  865. if v ~= char then
  866. if(v.Torso.Position -Position).magnitude <= Distance then
  867. table.insert(List,v)
  868. end
  869. end
  870. end
  871. end
  872. end
  873. return List
  874. end
  875.  
  876. mod3 = Instance.new("Model",rleg)
  877.  
  878. function Stomp()
  879. part=Instance.new('Part',mod3)
  880. part.Anchored=true
  881. part.CanCollide=false
  882. part.FormFactor='Custom'
  883. part.Size=Vector3.new(.2,.2,.2)
  884. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  885. part.Transparency=0.7
  886. part.BrickColor=BrickColor.new('')
  887. mesh=Instance.new('SpecialMesh',part)
  888. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  889. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  890. mesh.Scale=Vector3.new(25,25,25)
  891. part2=part:clone()
  892. part2.Parent=mod3
  893. part2.BrickColor=BrickColor.new('Deep orange')
  894. mesh2=mesh:clone()
  895. mesh2.Parent=part2
  896. mesh2.Scale=Vector3.new(15,15,15)
  897. part3=part:clone()
  898. part3.Parent=mod3
  899. part3.TopSurface=0
  900. part3.BottomSurface=0
  901. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  902. mesh3=Instance.new('SpecialMesh',part3)
  903. mesh3.MeshType = 3
  904. mesh3.Scale=Vector3.new(12,12,12)
  905. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  906. if v:FindFirstChild('Humanoid') then
  907. v.Humanoid:TakeDamage(math.random(20,60))
  908. v.Humanoid.PlatformStand = true
  909. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  910. end
  911. end
  912. coroutine.resume(coroutine.create(function()
  913. for i=0,3.8,0.05 do
  914. wait()
  915. part.CFrame=part.CFrame
  916. part.Transparency=i
  917. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  918. part2.CFrame=part2.CFrame
  919. part2.Transparency=i
  920. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  921. part3.CFrame=part3.CFrame
  922. part3.Transparency=i
  923. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  924. end
  925. end))
  926. end
  927. ----------------------------------------------------
  928.  
  929. local acos = math.acos
  930. local sqrt = math.sqrt
  931. local Vec3 = Vector3.new
  932. local fromAxisAngle = CFrame.fromAxisAngle
  933.  
  934. local function toAxisAngle(CFr)
  935. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  936. local Angle = math.acos((R00+R11+R22-1)/2)
  937. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  938. A = A == 0 and 0.00001 or A
  939. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  940. B = B == 0 and 0.00001 or B
  941. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  942. C = C == 0 and 0.00001 or C
  943. local x = (R21-R12)/sqrt(A)
  944. local y = (R02-R20)/sqrt(B)
  945. local z = (R10-R01)/sqrt(C)
  946. return Vec3(x,y,z),Angle
  947. end
  948.  
  949. function ApplyTrig(Num,Func)
  950. local Min,Max = Func(0),Func(1)
  951. local i = Func(Num)
  952. return (i-Min)/(Max-Min)
  953. end
  954.  
  955. function LerpCFrame(CFrame1,CFrame2,Num)
  956. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  957. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  958. end
  959.  
  960. function Crater(Torso,Radius)
  961. Spawn(function()
  962. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  963. local Ignore = {}
  964. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  965. if v.Character ~= nil then
  966. Ignore[#Ignore+1] = v.Character
  967. end
  968. end
  969. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  970. if Hit == nil then return end
  971. local Parts = {}
  972. for i = 1,360,10 do
  973. local P = Instance.new("Part",Torso.Parent)
  974. P.Anchored = true
  975. P.FormFactor = "Custom"
  976. P.BrickColor = Hit.BrickColor
  977. P.Material = Hit.Material
  978. P.TopSurface = "Smooth"
  979. P.BottomSurface = "Smooth"
  980. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  981. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  982. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  983. if math.random(0,5) == 0 then -- rubble
  984. local P = Instance.new("Part",Torso.Parent)
  985. P.Anchored = true
  986. P.FormFactor = "Custom"
  987. P.BrickColor = Hit.BrickColor
  988. P.Material = Hit.Material
  989. P.TopSurface = "Smooth"
  990. P.BottomSurface = "Smooth"
  991. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  992. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  993. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  994. end
  995. end
  996. for i = 0,1,0.05 do
  997. for i2,v in pairs(Parts) do
  998. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  999. end
  1000. wait(0.02)
  1001. end
  1002. for i,v in pairs(Parts) do
  1003. if v[1].Size.X > 2.1 then
  1004. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1005. end
  1006. v[1].Anchored = false
  1007. end
  1008. for i = 0,1,0.05 do
  1009. for i2,v in pairs(Parts) do
  1010. v[1].Transparency = i
  1011. if i == 1 then
  1012. v[1]:Destroy()
  1013. elseif i >= 0.25 then
  1014. v[1].CanCollide = false
  1015. end
  1016. end
  1017. wait(0.02)
  1018. end
  1019. Parts = nil
  1020. end)
  1021. end
  1022.  
  1023. ----------------------------------------------------
  1024. mouse.KeyDown:connect(function(key)
  1025. if key == "r" and char.Mana.Value>=50 then
  1026. char.Mana.Value = char.Mana.Value - 50
  1027. larm.BrickColor = BrickColor.new("Bright red")
  1028. rarm.BrickColor = BrickColor.new("Bright red")
  1029. if Debounces.CanAttack == true then
  1030. Debounces.CanAttack = false
  1031. Debounces.on = true
  1032. Debounces.NoIdl = true
  1033. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1034. hit = ht.Parent
  1035. if ht and hit:IsA("Model") then
  1036. if hit:FindFirstChild("Humanoid") then
  1037. if hit.Name ~= p.Name then
  1038. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1039. wait(1)
  1040. end
  1041. end
  1042. elseif ht and hit:IsA("Hat") then
  1043. if hit.Parent.Name ~= p.Name then
  1044. if hit.Parent:FindFirstChild("Humanoid") then
  1045.  
  1046. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1047. wait(1)
  1048. --Debounces.Slashed = false
  1049. end
  1050. end
  1051. end
  1052. end)
  1053. q = Instance.new("Sound",hed)
  1054. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1055. q.Pitch = 0.85
  1056. q.Looped = false
  1057. q1 = Instance.new("Sound",hed)
  1058. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1059. q1.Pitch = 0.85
  1060. q1.Looped = false
  1061. q:Play()
  1062. q1:Play()
  1063. for i = 1,20 do
  1064. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1065. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1066. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1067. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1068. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1069. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1070. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  1071. if Debounces.on == false then break end
  1072. wait()
  1073. end
  1074. n = Instance.new("Sound",hed)
  1075. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1076. n.Pitch = 0.94
  1077. n.Looped = false
  1078. n1 = Instance.new("Sound",hed)
  1079. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1080. n1.Pitch = 0.94
  1081. n1.Looped = false
  1082. n:Play()
  1083. n1:Play()
  1084. b = Instance.new("Sound",hed)
  1085. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1086. b.Pitch = 0.94
  1087. b.Looped = false
  1088. b1 = Instance.new("Sound",hed)
  1089. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1090. b1.Pitch = 0.94
  1091. b1.Looped = false
  1092. b:Play()
  1093. b1:Play()
  1094. for i = 1,26 do
  1095. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  1096. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  1097. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  1098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  1099. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  1100. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  1101. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  1102. if Debounces.on == false then break end
  1103. wait()
  1104. end
  1105. wait(.5)
  1106. to:disconnect()
  1107. q:Destroy()
  1108. q1:Destroy()
  1109. n:Destroy()
  1110. n1:Destroy()
  1111. larm.BrickColor = BrickColor.new("Really black")
  1112. rarm.BrickColor = BrickColor.new("Really black")
  1113. if Debounces.CanAttack == false then
  1114. Debounces.CanAttack = true
  1115. Debounces.on = false
  1116. Debounces.NoIdl = false
  1117. end
  1118. end
  1119. end
  1120. end)
  1121. ----------------------------------------------------
  1122. mouse.KeyDown:connect(function(key)
  1123. if key == "q" and char.Mana.Value>=50 then
  1124. char.Mana.Value = char.Mana.Value - 50
  1125. larm.BrickColor = BrickColor.new("Bright red")
  1126. rarm.BrickColor = BrickColor.new("Bright red")
  1127. if Debounces.CanAttack == true then
  1128. Debounces.CanAttack = false
  1129. Debounces.on = true
  1130. Debounces.NoIdl = true
  1131. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1132. hit = ht.Parent
  1133. if ht and hit:IsA("Model") then
  1134. if hit:FindFirstChild("Humanoid") then
  1135. if hit.Name ~= p.Name then
  1136. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1137. wait(1)
  1138. --Debounces.Slashed = false
  1139. --end
  1140. end
  1141. end
  1142. elseif ht and hit:IsA("Hat") then
  1143. if hit.Parent.Name ~= p.Name then
  1144. if hit.Parent:FindFirstChild("Humanoid") then
  1145. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1146. wait(1)
  1147. --Debounces.Slashed = false
  1148. end
  1149. end
  1150. end
  1151. end)
  1152. for i = 1, 20 do
  1153. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
  1154. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
  1155. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  1156. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  1157. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1158. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1159. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1160. if Debounces.on == false then break end
  1161. wait()
  1162. end
  1163. z = Instance.new("Sound",hed)
  1164. z.SoundId = "rbxassetid://160069154"
  1165. z.Looped = false
  1166. z.Pitch = .9
  1167. z1 = Instance.new("Sound",hed)
  1168. z1.SoundId = "rbxassetid://160069154"
  1169. z1.Looped = false
  1170. z1.Pitch = .9
  1171. wait(0.01)
  1172. z:Play()
  1173. z1:Play()
  1174. for i = 1, 12 do
  1175. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
  1176. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  1177. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  1178. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  1179. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  1180. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  1181. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1182. if Debounces.on == false then break end
  1183. wait()
  1184. end
  1185. for i = 1, 12 do
  1186. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
  1187. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
  1188. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  1189. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  1190. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1191. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1192. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1193. if Debounces.on == false then break end
  1194. wait()
  1195. end
  1196. z = Instance.new("Sound",hed)
  1197. z.SoundId = "rbxassetid://168586621"
  1198. z.Looped = false
  1199. z.Pitch = 1
  1200. z1 = Instance.new("Sound",hed)
  1201. z1.SoundId = "rbxassetid://168586621"
  1202. z1.Looped = false
  1203. z1.Pitch = 1
  1204. wait(0.01)
  1205. z:Play()
  1206. z1:Play()
  1207. for i = 1, 12 do
  1208. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
  1209. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
  1210. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  1211. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  1212. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  1213. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  1214. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
  1215. if Debounces.on == false then break end
  1216. wait()
  1217. end
  1218. to:disconnect()
  1219. larm.BrickColor = BrickColor.new("Really black")
  1220. rarm.BrickColor = BrickColor.new("Really black")
  1221. if Debounces.CanAttack == false then
  1222. Debounces.CanAttack = true
  1223. Debounces.on = false
  1224. Debounces.NoIdl = false
  1225. end
  1226. end
  1227. end
  1228. end)
  1229. ----------------------------------------------------
  1230. Sit = false
  1231. mouse.KeyDown:connect(function(key)
  1232. if key == "v" then
  1233. if Sit == false then
  1234. Sit = true
  1235. hum.WalkSpeed = 20
  1236. stanceToggle = "Sitting"
  1237. elseif Sit == true then
  1238. Sit = false
  1239. hum.WalkSpeed = 50
  1240. stanceToggle = "Normal"
  1241. end
  1242. end
  1243. end)
  1244. ----------------------------------------------------
  1245. mouse.KeyDown:connect(function(key)
  1246. if key == "t" and char.Mana.Value>=50 then
  1247. char.Mana.Value = char.Mana.Value - 50
  1248. if Debounces.CanAttack == true then
  1249. Debounces.CanAttack = false
  1250. Debounces.on = true
  1251. Debounces.NoIdl = true
  1252. for i = 1, 25 do
  1253. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1254. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1255. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1256. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1257. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  1258. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1259. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1260. if Debounces.on == false then break end
  1261. wait()
  1262. end
  1263. Spawn(function()
  1264. local Parts = {}
  1265. for Y = -5,5 do
  1266. local P = Instance.new("Part",char)
  1267. P.Anchored = true
  1268. P.FormFactor = "Custom"
  1269. P.CanCollide = false
  1270. P.Size = Vector3.new(1,1,1)
  1271. P.TopSurface = "SmoothNoOutlines"
  1272. P.BottomSurface = "SmoothNoOutlines"
  1273. P.BrickColor = BrickColor.new("Really black")
  1274. P.Material = "Neon"
  1275. P.Name = tostring(Y)
  1276. local i = (Y+5)/(10)
  1277. i = 1-math.cos(math.pi*i-(math.pi/2))
  1278. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
  1279. P.Touched:connect(function(ht)
  1280. local hit = ht.Parent
  1281. if hit:FindFirstChild("Humanoid") then
  1282. hit.Humanoid:TakeDamage(math.random(100,math.huge))
  1283. end
  1284. end)
  1285. s = Instance.new("Sound",P)
  1286. s.SoundId = "rbxassetid://228343271"
  1287. s.Volume = .7
  1288. s.Pitch = 0.9
  1289. s:Play()
  1290. P.Touched:connect(function(ht)
  1291. hit = ht.Parent
  1292. if ht and hit:IsA("Model") then
  1293. if hit:FindFirstChild("Humanoid") then
  1294. if hit.Name ~= p.Name then
  1295.  
  1296. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1297. hit:FindFirstChild("Humanoid").PlatformStand = true
  1298. wait(1)
  1299. --Debounces.Slashed = false
  1300. --end
  1301. end
  1302. end
  1303. elseif ht and hit:IsA("Hat") then
  1304. if hit.Parent.Name ~= p.Name then
  1305. if hit.Parent:FindFirstChild("Humanoid") then
  1306.  
  1307. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  1308. hit:FindFirstChild("Humanoid").PlatformStand = true
  1309. wait(1)
  1310. --Debounces.Slashed = false
  1311. --end
  1312. end
  1313. end
  1314. end
  1315. end)
  1316. Parts[#Parts+1] = P
  1317. end
  1318. local BREAKIT = false
  1319. local CParts = {}
  1320. local Rocks = {}
  1321. local LastPos = nil
  1322. for i = 1,70 do
  1323. for i2,v in pairs(Parts) do
  1324. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1325. local cf = v.CFrame
  1326. v.Size = v.Size+Vector3.new(1,1,1)
  1327. v.CFrame = cf
  1328. v.Transparency = v.Transparency+0.02
  1329. if v.Transparency >= 0.975 then BREAKIT = true end
  1330. if v.Name == "0" then
  1331. local Ignore = {}
  1332. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1333. if v.Character ~= nil then
  1334. Ignore[#Ignore+1] = v.Character
  1335. end
  1336. end
  1337. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1338. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1339. if Hit ~= nil then
  1340. if #Rocks == 0 then
  1341. for i = 1,5 do
  1342. local P = Instance.new("Part",char)
  1343. Rocks[#Rocks+1] = P
  1344. P.Anchored = true
  1345. P.FormFactor = "Custom"
  1346. P.BrickColor = Hit.BrickColor
  1347. P.Material = Hit.Material
  1348. P.TopSurface = "Smooth"
  1349. P.BottomSurface = "Smooth"
  1350. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  1351. end
  1352. end
  1353. for i,P in pairs(Rocks) do
  1354. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1355. end
  1356. local P = Instance.new("Part",char)
  1357. CParts[#CParts+1] = {P,tick()}
  1358. P.Anchored = true
  1359. P.FormFactor = "Custom"
  1360. P.BrickColor = Hit.BrickColor
  1361. P.Material = Hit.Material
  1362. P.TopSurface = "Smooth"
  1363. P.BottomSurface = "Smooth"
  1364. P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
  1365. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1366. Pos = Pos.p
  1367. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1368. local P = P:Clone()
  1369. CParts[#CParts+1] = {P,tick()}
  1370. P.Parent = char
  1371. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1372. Pos = Pos.p
  1373. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1374. if LastPos ~= nil then
  1375. local P = P:Clone()
  1376. CParts[#CParts+1] = {P,tick()}
  1377. P.Parent = char
  1378. P.BrickColor = BrickColor.new("Really black")
  1379. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1380. Pos = Pos.p
  1381. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1382. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
  1383. --P.Velocity = Vector3.new(0,-1000,0)
  1384. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1385. end
  1386. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1387. end
  1388. end
  1389. end
  1390. if BREAKIT then break end
  1391. wait(0.002)
  1392. end
  1393. for i,v in pairs(Rocks) do
  1394. CParts[#CParts+1] = {v,tick()}
  1395. end
  1396. for i,v in pairs(Parts) do
  1397. v:Destroy()
  1398. end
  1399. Parts = nil
  1400. while true do
  1401. local t = tick()
  1402. local p = nil
  1403. for i,v in pairs(CParts) do
  1404. if t-v[2] > 4 then
  1405. v[1].Transparency = v[1].Transparency+0.05
  1406. if v[1].Transparency >= 1 then
  1407. v[1]:Destroy()
  1408. CParts[i] = nil
  1409. end
  1410. end
  1411. p = v
  1412. end
  1413. if p == nil then break end
  1414. wait(0.002)
  1415. end
  1416. for i,v in pairs(CParts) do
  1417. v:Destroy()
  1418. end
  1419. CParts = {}
  1420. end)
  1421. for i = 1, 20 do
  1422. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
  1423. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
  1424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
  1425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  1426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  1427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  1428. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1429. if Debounces.on == false then break end
  1430. wait()
  1431. end
  1432. if Debounces.CanAttack == false then
  1433. Debounces.CanAttack = true
  1434. Debounces.on = false
  1435. Debounces.NoIdl = false
  1436. end
  1437. end
  1438. end
  1439. end)
  1440. ----------------------------------------------------
  1441. mouse.KeyDown:connect(function(key)
  1442. if key == "e" and char.Mana.Value>=50 then
  1443. char.Mana.Value = char.Mana.Value - 50
  1444. larm.BrickColor = BrickColor.new("Bright red")
  1445. rarm.BrickColor = BrickColor.new("Bright red")
  1446. if Debounces.CanAttack == true then
  1447. Debounces.CanAttack = false
  1448. Debounces.on = true
  1449. Debounces.NoIdl = true
  1450. for i = 1, 18 do
  1451. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
  1452. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1453. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1454. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1455. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1456. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1457. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1458. if Debounces.on == false then break end
  1459. wait()
  1460. end
  1461. local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1462. local rng = Instance.new("Part", char.Absolution.Handle)
  1463. rng.Anchored = true
  1464. rng.BrickColor = BrickColor.new("Really black")
  1465. rng.CanCollide = true
  1466. rng.FormFactor = 3
  1467. rng.Name = "Ring"
  1468. rng.Size = Vector3.new(1, 1, 1)
  1469. rng.CanCollide = false
  1470. rng.Transparency = 0.35
  1471. rng.TopSurface = 0
  1472. rng.BottomSurface = 0
  1473. rng.CFrame = HandCF
  1474. local rngm = Instance.new("SpecialMesh", rng)
  1475. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1476. rngm.Scale = Vector3.new(1, 1, 2)
  1477. x = Instance.new("Sound", hed)
  1478. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1479. x.Looped = false
  1480. x.Pitch = .7
  1481. x.Volume = 1
  1482. x1 = Instance.new("Sound", hed)
  1483. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1484. x1.Looped = false
  1485. x1.Pitch = .7
  1486. x1.Volume = 1
  1487. x:Play()
  1488. x1:Play()
  1489. rngto = rng.Touched:connect(function(ht)
  1490. hit = ht.Parent
  1491. if ht and hit:IsA("Model") then
  1492. if hit:FindFirstChild("Humanoid") then
  1493. if hit.Name ~= p.Name then
  1494.  
  1495. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1496. hit:FindFirstChild("Humanoid").PlatformStand = true
  1497. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1498. --Debounces.Slashed = false
  1499. --end
  1500. end
  1501. end
  1502. elseif ht and hit:IsA("Hat") then
  1503. if hit.Parent.Name ~= p.Name then
  1504. if hit.Parent:FindFirstChild("Humanoid") then
  1505.  
  1506. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1507. hit:FindFirstChild("Humanoid").PlatformStand = true
  1508. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1509. --Debounces.Slashed = false
  1510. end
  1511. end
  1512. end
  1513. end)
  1514. coroutine.wrap(function()
  1515. for i = 1, 60, 2 do
  1516. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
  1517. rng.Size = rngm.Scale
  1518. rng.CFrame = HandCF
  1519. rng.Transparency = i/60
  1520. wait()
  1521. end
  1522. wait()
  1523. rng:Destroy()
  1524. end)()
  1525. for i = 1, 18 do
  1526. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
  1527. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1528. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1529. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1530. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1531. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1532. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1533. if Debounces.on == false then break end
  1534. wait()
  1535. end
  1536. larm.BrickColor = BrickColor.new("Really black")
  1537. rarm.BrickColor = BrickColor.new("Really black")
  1538. x:Destroy()
  1539. x1:Destroy()
  1540. if Debounces.CanAttack == false then
  1541. Debounces.CanAttack = true
  1542. Debounces.on = false
  1543. Debounces.NoIdl = false
  1544. end
  1545. end
  1546. end
  1547. end)
  1548. ----------------------------------------------------
  1549. mouse.KeyDown:connect(function(key)
  1550. if key == "y" then
  1551. if Debounces.CanAttack == true then
  1552. Debounces.CanAttack = false
  1553. Debounces.on = true
  1554. Debounces.NoIdl = true
  1555. for i = 1, 15 do
  1556. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  1557. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
  1558. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1559. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  1560. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1561. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1562. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1563. if Debounces.on == false then break end
  1564. wait()
  1565. end
  1566. x = Instance.new("Sound",char)
  1567. x.SoundId = "rbxassetid://228343271"
  1568. x.Pitch = 1
  1569. x.Volume = .8
  1570. wait(.1)
  1571. x:Play()
  1572. Debounces.on = false
  1573. Debounces.Here = false
  1574. shot = shot + 1
  1575. local rng = Instance.new("Part", char)
  1576. rng.Anchored = true
  1577. rng.BrickColor = BrickColor.new("Really black")
  1578. rng.CanCollide = false
  1579. rng.FormFactor = 3
  1580. rng.Name = "Ring"
  1581. rng.Size = Vector3.new(1, 1, 1)
  1582. rng.Transparency = 0.35
  1583. rng.TopSurface = 0
  1584. rng.BottomSurface = 0
  1585. rng2 = rng:clone()
  1586. rng3 = rng2:clone()
  1587. rng4 = rng2:clone()
  1588. local rngm = Instance.new("SpecialMesh", rng)
  1589. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1590. rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1591. rngm.Scale = Vector3.new(10, 10, 1)
  1592. rngm2 = rngm:clone()
  1593. rngm2.Scale = Vector3.new(5, 5, 1)
  1594. rngm3=rngm2:clone()
  1595. rngm3.Parent = rng3
  1596. rngm3.Scale = Vector3.new(8, 8, 1)
  1597. rngm4 = rngm2:clone()
  1598. rngm4.Parent = rng4
  1599. rngm4.Scale = Vector3.new(6, 6, 1)
  1600. local bem = Instance.new("Part", char)
  1601. bem.Anchored = true
  1602. bem.BrickColor = BrickColor.new("Really black")
  1603. bem.CanCollide = false
  1604. bem.FormFactor = 3
  1605. bem.Name = "Beam" .. shot
  1606. bem.Size = Vector3.new(1, 1, 1)
  1607. bem.Transparency = 0.35
  1608. bem.TopSurface = 0
  1609. bem.BottomSurface = 0
  1610. local bemm = Instance.new("SpecialMesh", bem)
  1611. bemm.MeshType = 4
  1612. bemm.Scale = Vector3.new(1, 4, 4)
  1613. local out = Instance.new("Part", char)
  1614. out.Anchored = true
  1615. out.BrickColor = BrickColor.new("Really black")
  1616. out.CanCollide = false
  1617. out.FormFactor = 3
  1618. out.Name = "Out"
  1619. out.Size = Vector3.new(4, 4, 4)
  1620. out.Transparency = 0.35
  1621. out.TopSurface = 0
  1622. out.BottomSurface = 0
  1623. local outm = Instance.new("SpecialMesh", out)
  1624. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1625. outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1626. outm.Scale = Vector3.new(4, 4, 4)
  1627. local bnd = Instance.new("Part", char)
  1628. bnd.Anchored = true
  1629. bnd.BrickColor = BrickColor.new("Really black")
  1630. bnd.CanCollide = false
  1631. bnd.FormFactor = 3
  1632. bnd.Material = "Neon"
  1633. bnd.Name = "Bend"
  1634. bnd.Size = Vector3.new(1, 1, 1)
  1635. bnd.Transparency = 1
  1636. bnd.TopSurface = 0
  1637. bnd.BottomSurface = 0
  1638. local bndm = Instance.new("SpecialMesh", bnd)
  1639. bndm.MeshType = 3
  1640. bndm.Scale = Vector3.new(8, 8, 8)
  1641. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1642. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1643. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1644. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1645. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1646. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  1647. Debounces.Shewt = true
  1648. coroutine.wrap(function()
  1649. for i = 1, 50, 0.2 do
  1650. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1651. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  1652. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  1653. rng.Transparency = i/20
  1654. rng3.Transparency = 1/16
  1655. rng4.Transparency = i/12
  1656. wait()
  1657. end
  1658. wait()
  1659. rng:Destroy()
  1660. end)()
  1661. if Debounces.Shewt == true then
  1662. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1663. hit = ht.Parent
  1664. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1665. if HasntTouched(hit.Name) == true and deb == false then
  1666. deb = true
  1667. coroutine.wrap(function()
  1668. hit:FindFirstChild("Humanoid").PlatformStand = true
  1669. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1670. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1671. end)()
  1672. table.insert(Touche, hit.Name)
  1673. deb = false
  1674. end
  1675. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1676. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1677. deb = true
  1678. coroutine.wrap(function()
  1679. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1680. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1681. wait(1)
  1682. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1683. end)()
  1684. table.insert(Touche, hit.Parent.Name)
  1685. deb = false
  1686. for i, v in pairs(Touche) do
  1687. print(v)
  1688. end
  1689. end
  1690. end
  1691. end)
  1692. end
  1693. for i = 0, 260, 8 do
  1694. bem.Size = Vector3.new(i, 2, 2)
  1695. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1696. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1697. bnd.Size = Vector3.new(1,1,1)
  1698. bndm.Scale = Vector3.new(8,8,8)
  1699. if i % 10 == 0 then
  1700. local newRng = rng2:Clone()
  1701. newRng.Parent = char
  1702. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1703. local newRngm = rngm2:clone()
  1704. newRngm.Parent=newRng
  1705. coroutine.wrap(function()
  1706. for i = 1, 10, 0.2 do
  1707. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  1708. newRng.Transparency = i/10
  1709. wait()
  1710. end
  1711. wait()
  1712. newRng:Destroy()
  1713. end)()
  1714. end
  1715. wait()
  1716. end
  1717. wait()
  1718. Debounces.Shewt = false
  1719. bem:Destroy()
  1720. out:Destroy()
  1721. bnd:Destroy()
  1722. Debounces.Ready = false
  1723. for i, v in pairs(Touche) do
  1724. table.remove(Touche, i)
  1725. end
  1726. wait()
  1727. table.insert(Touche, char.Name)
  1728. Debounces.NoIdl = false
  1729. if Debounces.CanAttack == false then
  1730. Debounces.CanAttack = true
  1731. end
  1732. end
  1733. end
  1734. end)
  1735. ----------------------------------------------------
  1736. sidz = {"231917888", "231917845", "231917806"}
  1737. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  1738. mouse.KeyDown:connect(function(key)
  1739. if key == "f" and char.Mana.Value>=50 then
  1740. char.Mana.Value = char.Mana.Value - 50
  1741. larm.BrickColor = BrickColor.new("Really black")
  1742. rarm.BrickColor = BrickColor.new("Camo")
  1743. if Debounces.CanAttack == true then
  1744. Debounces.CanAttack = false
  1745. Debounces.on = true
  1746. Debounces.NoIdl = true
  1747. for i = 1, 10 do
  1748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
  1749. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
  1750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  1751. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  1752. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1753. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1754. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1755. if Debounces.on == false then break end
  1756. wait()
  1757. end
  1758. z = Instance.new("Sound",char)
  1759. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  1760. z.Pitch = ptz[math.random(1,#ptz)]
  1761. z.Volume = 1
  1762. z1 = Instance.new("Sound",char)
  1763. z1.SoundId = z.SoundId
  1764. z1.Pitch = z.Pitch
  1765. z1.Volume = 1
  1766. wait(1)
  1767. z:Play()
  1768. z1:Play()
  1769. Stomp()
  1770. for i = 1, 20 do
  1771. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
  1772. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
  1773. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  1774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  1775. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  1776. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  1777. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1778. if Debounces.on == false then break end
  1779. wait()
  1780. end
  1781. if Debounces.CanAttack == false then
  1782. Debounces.CanAttack = true
  1783. Debounces.on = false
  1784. Debounces.NoIdl = false
  1785. larm.BrickColor = BrickColor.new("Really black")
  1786. rarm.BrickColor = BrickColor.new("Really black")
  1787. end
  1788. end
  1789. end
  1790. end)
  1791. ----------------------------------------------------
  1792. mouse.KeyDown:connect(function(key)
  1793. if key == "g" and char.Mana.Value>5 then
  1794. char.Mana.Value = char.Mana.Value - 5
  1795. larm.BrickColor = BrickColor.new("Camo")
  1796. rarm.BrickColor = BrickColor.new("Really black")
  1797. if Debounces.CanAttack == true then
  1798. Debounces.CanAttack = false
  1799. Debounces.on = true
  1800. Debounces.NoIdl = true
  1801. chrg = lleg.Touched:connect(function(ht)
  1802. hit = ht.Parent
  1803. if ht and hit:IsA("Model") then
  1804. if hit:FindFirstChild("Humanoid") then
  1805. if hit.Name ~= p.Name then
  1806.  
  1807. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  1808. hit:FindFirstChild("Humanoid").PlatformStand = true
  1809. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1810. --Debounces.Slashed = false
  1811. --end
  1812. end
  1813. end
  1814. elseif ht and hit:IsA("Hat") then
  1815. if hit.Parent.Name ~= p.Name then
  1816. if hit.Parent:FindFirstChild("Humanoid") then
  1817.  
  1818. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  1819. hit:FindFirstChild("Humanoid").PlatformStand = true
  1820. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1821. --Debounces.Slashed = false
  1822. end
  1823. end
  1824. end
  1825. end)
  1826. for i = 1, 14 do
  1827. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
  1828. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
  1829. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
  1830. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  1831. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  1832. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  1833. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  1834. if Debounces.on == false then break end
  1835. wait()
  1836. end
  1837. charge()
  1838. z = Instance.new("Sound",char)
  1839. z.SoundId = "rbxassetid://200632875"
  1840. z.Volume = 1
  1841. z.Pitch = .8
  1842. z1 = Instance.new("Sound",char)
  1843. z1.SoundId = "rbxassetid://200632875"
  1844. z1.Volume = 1
  1845. z1.Pitch = .9
  1846. z:Play()
  1847. z1:Play()
  1848. wait(1)
  1849. z:Destroy()
  1850. z1:Destroy()
  1851. chrg:disconnect()
  1852. if Debounces.CanAttack == false then
  1853. Debounces.CanAttack = true
  1854. Debounces.on = false
  1855. Debounces.NoIdl = false
  1856. larm.BrickColor = BrickColor.new("Really black")
  1857. rarm.BrickColor = BrickColor.new("Really black")
  1858. end
  1859. end
  1860. end
  1861. end)
  1862. ----------------------------------------------------
  1863. pt = {0.7, 0.8, 0.9}
  1864. mouse.KeyDown:connect(function(key)
  1865. if key == "h" and char.Mana.Value>50 then
  1866. char.Mana.Value = char.Mana.Value - 50
  1867. if Debounces.CanJoke == true then
  1868. Debounces.CanJoke = false
  1869. u = Instance.new("Sound")
  1870. u.SoundId = "http://www.roblox.com/asset/?id=138199573"
  1871. u.Parent = char
  1872. u.Looped = false
  1873. u.Pitch = pt[math.random(1,#pt)]
  1874. u.Volume = 1
  1875. u2 = Instance.new("Sound")
  1876. u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
  1877. u2.Parent = char
  1878. u2.Looped = false
  1879. u2.Pitch = u.Pitch
  1880. u2.Volume = 1
  1881. wait(.01)
  1882. u:Play()
  1883. u2:Play()
  1884. wait(6)
  1885. u:Destroy()
  1886. u2:Destroy()
  1887. if Debounces.CanJoke == false then
  1888. Debounces.CanJoke = true
  1889. end
  1890. end
  1891. end
  1892. end)
  1893. ----------------------------------------------------
  1894. mouse.KeyDown:connect(function(key)
  1895. if key == "j" and char.Mana.Value> 30 then
  1896. char.Mana.Value = char.Mana.Value-30
  1897. if Debounces.CanJoke == true then
  1898. Debounces.CanJoke = false
  1899. z = Instance.new("Sound",char)
  1900. z.SoundId = "rbxassetid://135017755"
  1901. z.Pitch = .76
  1902. z.Volume = 1
  1903. wait()
  1904. z:Play()
  1905. wait(6)
  1906. z:Destroy()
  1907. if Debounces.CanJoke == false then
  1908. Debounces.CanJoke = true
  1909. end
  1910. end
  1911. end
  1912. end)
  1913. ----------------------------------------------------
  1914. mouse.KeyDown:connect(function(key)
  1915. if key == "k" and char.Mana.Value> 10 then
  1916. char.Mana.Value = char.Mana.Value -10
  1917. if Debounces.CanJoke == true then
  1918. Debounces.CanJoke = false
  1919. z = Instance.new("Sound",char)
  1920. z.SoundId = "rbxassetid://135017578"
  1921. z.Pitch = .76
  1922. z.Volume = 1
  1923. wait()
  1924. z:Play()
  1925. wait(4)
  1926. z:Destroy()
  1927. if Debounces.CanJoke == false then
  1928. Debounces.CanJoke = true
  1929. end
  1930. end
  1931. end
  1932. end)
  1933. ----------------------------------------------------
  1934. mouse.KeyDown:connect(function(key)
  1935. if key == "u" and char.Mana.Value>200 then
  1936. wait(1)
  1937. char.Mana.Value = char.Mana.Value-200
  1938. charge()
  1939. wait(0.6)
  1940. charge()
  1941. wait(0.6)
  1942. charge()
  1943. wait(2)
  1944. end
  1945. end)
  1946. ----------------------------------------------------
  1947. mouse.KeyDown:connect(function(key)
  1948. if key == "x" and char.Mana.Value>50 then
  1949. char.Mana.Value = char.Mana.Value-50
  1950. if Debounces.CanAttack == true then
  1951. Debounces.CanAttack = false
  1952. Debounces.NoIdl = true
  1953. Debounces.on = true
  1954. Debounces.ks = true
  1955. for i = 1, 10 do
  1956. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  1957. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
  1958. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  1959. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  1960. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
  1961. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
  1962. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1963. if Debounces.on == false then break end
  1964. wait()
  1965. end
  1966. z = Instance.new("Sound",hed)
  1967. z.SoundId = "rbxassetid://169445092"
  1968. z.Volume = 1
  1969. wait(0.1)
  1970. z:Play()
  1971. kik = rleg.Touched:connect(function(ht)
  1972. hit = ht.Parent
  1973. if ht and hit:IsA("Model") then
  1974. if hit:FindFirstChild("Humanoid") then
  1975. if hit.Name ~= p.Name then
  1976.  
  1977. if Debounces.ks==true then
  1978. z = Instance.new("Sound",hed)
  1979. z.SoundId = "rbxassetid://169380525"
  1980. z.Volume = 1
  1981. z:Play()
  1982. Debounces.ks=false
  1983. end
  1984. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  1985. hit:FindFirstChild("Humanoid").PlatformStand = true
  1986. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1987. --Debounces.Slashed = false
  1988. --end
  1989. end
  1990. end
  1991. elseif ht and hit:IsA("Hat") then
  1992. if hit.Parent.Name ~= p.Name then
  1993. if hit.Parent:FindFirstChild("Humanoid") then
  1994.  
  1995. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  1996. hit:FindFirstChild("Humanoid").PlatformStand = true
  1997. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1998. --Debounces.Slashed = false
  1999. --end
  2000. end
  2001. end
  2002. end
  2003. end)
  2004. for i = 1, 8 do
  2005. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2006. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
  2007. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  2008. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  2009. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2010. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
  2011. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2012. if Debounces.on == false then break end
  2013. wait()
  2014. end
  2015. kik:disconnect()
  2016. if Debounces.CanAttack == false then
  2017. Debounces.CanAttack = true
  2018. Debounces.on = false
  2019. Debounces.NoIdl = false
  2020. end
  2021. end
  2022. end
  2023. end)
  2024. ----------------------------------------------------
  2025. mouse.KeyDown:connect(function(key)
  2026. if key == "c" and char.Mana.Value>80 then
  2027. char.Mana.Value = char.Mana.Value -80
  2028. if Debounces.CanAttack == true then
  2029. Debounces.CanAttack = false
  2030. Debounces.NoIdl = true
  2031. Debounces.on = true
  2032. SIDZ = {"231917744", "231917742"}
  2033. PTZ = {0.7, 0.8, 0.9, 1}
  2034. for i = 1, 20 do
  2035. wait()
  2036. for i,v in pairs(char.Absolution:children()) do
  2037. if v:IsA("Part") or v:IsA("WedgePart") then
  2038. v.Transparency = v.Transparency + 0.05
  2039. end
  2040. end
  2041. end
  2042. function FindNearestTorso(Position,Distance,SinglePlayer)
  2043. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2044. local List = {}
  2045. for i,v in pairs(workspace:GetChildren())do
  2046. if v:IsA("Model")then
  2047. if v:findFirstChild("Torso")then
  2048. if v ~= char then
  2049. if(v.Torso.Position -Position).magnitude <= Distance then
  2050. table.insert(List,v)
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. return List
  2057. end
  2058. GroundPound()
  2059. for i = 1, 5 do
  2060. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2061. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2062. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2063. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2064. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2065. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2066. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2067. if Debounces.on == false then break end
  2068. wait()
  2069. end
  2070. GroundPound()
  2071. for i = 1, 5 do
  2072. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2073. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2074. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2075. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2076. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2077. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2078. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2079. if Debounces.on == false then break end
  2080. wait()
  2081. end
  2082. GroundPound()
  2083. for i = 1, 5 do
  2084. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2085. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2086. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2087. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2088. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2089. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2090. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2091. if Debounces.on == false then break end
  2092. wait()
  2093. end
  2094. GroundPound()
  2095. for i = 1, 5 do
  2096. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2097. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2098. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2099. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2100. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2101. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2102. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2103. if Debounces.on == false then break end
  2104. wait()
  2105. end
  2106. GroundPound()
  2107. for i = 1, 5 do
  2108. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2109. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2110. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2111. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2112. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2113. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2114. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2115. if Debounces.on == false then break end
  2116. wait()
  2117. end
  2118. GroundPound()
  2119. for i = 1, 5 do
  2120. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2121. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2122. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2123. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2124. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2125. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2126. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2127. if Debounces.on == false then break end
  2128. wait()
  2129. end
  2130. for i = 1, 18 do
  2131. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  2132. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  2133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2137. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2138. if Debounces.on == false then break end
  2139. wait()
  2140. end
  2141. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  2142. if v:FindFirstChild('Humanoid') then
  2143. v.Humanoid:TakeDamage(math.random(20,60))
  2144. v.Humanoid.PlatformStand = true
  2145. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2146. end
  2147. end
  2148. x = Instance.new("Sound",char)
  2149. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  2150. x.Pitch = PTZ[math.random(1,#PTZ)]
  2151. x.Volume = 1
  2152. wait(0.1)
  2153. x:Play()
  2154. Crater(hed,20)
  2155. for i = 1, 14 do
  2156. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  2157. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  2158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  2159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  2160. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2161. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2162. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2163. if Debounces.on == false then break end
  2164. wait()
  2165. end
  2166. if Debounces.CanAttack == false then
  2167. Debounces.CanAttack = true
  2168. Debounces.on = false
  2169. Debounces.NoIdl = false
  2170. for i = 1, 20 do
  2171. wait()
  2172. for i,v in pairs(char.Absolution:children()) do
  2173. if v:IsA("Part") or v:IsA("WedgePart") then
  2174. v.Transparency = v.Transparency - 0.05
  2175. end
  2176. end
  2177. end
  2178. end
  2179. end
  2180. end
  2181. end)
  2182. ----------------------------------------------------176349813
  2183. mouse.KeyDown:connect(function(key)
  2184. if key == "b" and char.Mana.Value>80 then
  2185. char.Mana.Value = char.Mana.Value -80
  2186. hum.WalkSpeed = 20
  2187. if Debounces.CanAttack == true then
  2188. Debounces.CanAttack = false
  2189. Debounces.NoIdl = true
  2190. Debounces.on = true
  2191. for i = 1,20 do
  2192. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  2193. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  2194. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  2195. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  2196. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  2197. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  2198. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2199. if Debounces.on == false then break end
  2200. wait()
  2201. end
  2202. wait(1)
  2203. v = Instance.new("Sound")
  2204. v.SoundId = "rbxassetid://181384451"
  2205. v.Parent = char
  2206. v.Looped = false
  2207. v.Pitch = 1.04
  2208. v.Volume = 1.5
  2209. wait(.01)
  2210. v:Play()
  2211.  
  2212. v = Instance.new("Sound")
  2213. v.SoundId = "rbxassetid://138252341"
  2214. v.Parent = char
  2215. v.Looped = false
  2216. v.Pitch = 1.04
  2217. v.Volume = 1.2
  2218. wait(.01)
  2219. v:Play()
  2220. if Daytime == true then
  2221. Daytime = false
  2222. l.TimeOfDay = 24
  2223. else
  2224. Daytime = true
  2225. l.TimeOfDay = 12
  2226. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  2227. end
  2228.  
  2229. local Shockwave = function()
  2230. local rng1 = Instance.new("Part", char)
  2231. rng1.Anchored = true
  2232. rng1.BrickColor = BrickColor.new("Institutional white")
  2233. rng1.CanCollide = false
  2234. rng1.FormFactor = 3
  2235. rng1.Name = "Ring"
  2236. rng1.Material = "Neon"
  2237. rng1.Size = Vector3.new(1, 1, 1)
  2238. rng1.Transparency = 0.35
  2239. rng1.TopSurface = 0
  2240. rng1.BottomSurface = 0
  2241. local rngm1 = Instance.new("SpecialMesh", rng)
  2242. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2243. rngm1.Scale = Vector3.new(10, 10, 1)
  2244. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  2245. local Wave = Instance.new("Part", game.Workspace)
  2246. Wave.Name = "Shockwave"
  2247. Wave.BrickColor = BrickColor.new("Really black")
  2248. Wave.Size = Vector3.new(1, 1, 1)
  2249. Wave.Shape = "Ball"
  2250. Wave.Name = "Wave"
  2251. Wave.Material = "Neon"
  2252. Wave.CanCollide = false
  2253. Wave.Anchored = true
  2254. Wave.TopSurface = 0
  2255. Wave.BottomSurface = 0
  2256. Wave.Touched:connect(function(hit)
  2257. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  2258. local Occlude = true
  2259. local NotOccludes = {
  2260. char.Name;
  2261. "Wings";
  2262. "Scythe";
  2263. "Thingy";
  2264. "Thingy2"; -- put all of the names in a table pls
  2265. }
  2266. for i,v in pairs(NotOccludes) do
  2267. if hit.Parent.Name == v then
  2268. Occlude = false
  2269. end
  2270. end
  2271. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  2272. if Occlude then
  2273. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
  2274. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2275. end
  2276. end
  2277. end)
  2278.  
  2279. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2280.  
  2281. coroutine.wrap(function()
  2282. for i = 1, 20, 0.2 do
  2283. rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
  2284. rng1.Transparency = i/20
  2285. local Wav2 = game.Workspace.Wave:Clone()
  2286. Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
  2287. wait()
  2288. end
  2289. wait()
  2290. rng1:Destroy()
  2291. end)()
  2292.  
  2293. Delay(0, function()
  2294.  
  2295. if Daytime == false then
  2296. for i = 1, 50, 1 do
  2297. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  2298. Wave.CFrame = char.Torso.CFrame
  2299. local t = i / 50
  2300. Wave.Transparency = t
  2301. wait()
  2302. end
  2303. else
  2304. for i = 1, 50, 1 do
  2305. Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
  2306. Wave.CFrame = char.Torso.CFrame
  2307. local t = i / 50
  2308. Wave.Transparency = t
  2309. wait()
  2310. end
  2311. end
  2312. Wave:Destroy()
  2313. end)
  2314. Delay(0, function()
  2315. while wait() do
  2316. if Wave ~= nil then
  2317. Wave.CFrame = char.Torso.CFrame
  2318. else
  2319. break
  2320. end
  2321. end
  2322. end)
  2323. end
  2324. Shockwave()
  2325. for i = 1, 15 do
  2326. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2327. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2328. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2329. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2330. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2331. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2332. if Debounces.on == false then break end
  2333. wait()
  2334. end
  2335. for i = 1, 15 do
  2336. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2337. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2338. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2339. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2340. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2341. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2342. if Debounces.on == false then break end
  2343. wait()
  2344. end
  2345. for i = 1, 15 do
  2346. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2347. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2348. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2349. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2350. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2351. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2352. if Debounces.on == false then break end
  2353. wait()
  2354. end
  2355. for i = 1, 15 do
  2356. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2357. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2358. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2359. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2360. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2361. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2362. if Debounces.on == false then break end
  2363. wait()
  2364. end
  2365. for i = 1, 15 do
  2366. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2367. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2368. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2369. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2370. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2371. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2372. if Debounces.on == false then break end
  2373. wait()
  2374. end
  2375. for i = 1, 15 do
  2376. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2377. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2378. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2379. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2380. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2381. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2382. if Debounces.on == false then break end
  2383. wait()
  2384. end
  2385. wait(1.4)
  2386. Debounces.NoIdl = false
  2387. hum.WalkSpeed = 50
  2388. Debounces.on = false
  2389. wait()
  2390. if Debounces.CanAttack == false then
  2391. Debounces.CanAttack = true
  2392. v:Destroy()
  2393. end
  2394. char.Mana.Value = char.Mana.Value + 1000
  2395. wait(4)
  2396. end
  2397. end
  2398. end)
  2399. ----------------------------------------------------
  2400. mouse.KeyDown:connect(function(key)
  2401. if key == "m" and char.Mana.Value> 60 then
  2402. char.Mana.Value = char.Mana.Value-60
  2403. hum.WalkSpeed = 0
  2404. if Debounces.CanAttack == true then
  2405. Debounces.CanAttack = false
  2406. Debounces.on = true
  2407. Debounces.NoIdl = true
  2408. x = Instance.new("Sound",char)
  2409. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  2410. x.Looped = false
  2411. x.Pitch = 1.1
  2412. x.Volume = 1
  2413. x:Play()
  2414. x2 = Instance.new("Sound",char)
  2415. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  2416. x2.Looped = false
  2417. x2.Pitch = .7
  2418. x2.Volume = 1
  2419. wait(.1)
  2420. x:Play()
  2421. x2:Play()
  2422. for i = 1, 20 do
  2423. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2424. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2425. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  2426. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2427. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2428. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  2429. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  2430. if Debounces.on == false then break end
  2431. wait()
  2432. x:Destroy()
  2433. x2:Destroy()
  2434. end
  2435. wait(1)
  2436. local rng = Instance.new("Part", char)
  2437. rng.Anchored = true
  2438. rng.BrickColor = BrickColor.new("Really black")
  2439. rng.CanCollide = false
  2440. rng.FormFactor = 3
  2441. rng.Name = "Ring"
  2442. rng.Size = Vector3.new(1, 1, 1)
  2443. rng.Transparency = 0.35
  2444. rng.TopSurface = 0
  2445. rng.BottomSurface = 0
  2446. rng.Position = torso.Position - Vector3.new(0,2,0)
  2447. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2448. local rngm = Instance.new("SpecialMesh", rng)
  2449. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2450. rngm.Scale = Vector3.new(1, 1, 2)
  2451. x = Instance.new("Sound",char)
  2452. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2453. x.Looped = false
  2454. x.Pitch = .7
  2455. x.Volume = 1
  2456. x:Play()
  2457. coroutine.wrap(function()
  2458. for i = 1, 60, 2 do
  2459. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2460. rng.Transparency = i/60
  2461. wait()
  2462. end
  2463. wait()
  2464. rng:Destroy()
  2465. end)()
  2466. hum.WalkSpeed = 50
  2467. BV = Instance.new("BodyVelocity", torso)
  2468. BV.maxForce = Vector3.new(0,200000,0)
  2469. BV.P = 100000
  2470. BV.velocity = Vector3.new(0,800,0)
  2471. for i = 1, 20 do
  2472. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2473. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2474. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2475. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2476. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2477. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2478. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2479. if Debounces.on == false then break end
  2480. wait()
  2481. end
  2482. x:Destroy()
  2483. BV:Destroy()
  2484. for i = 1, 30 do
  2485. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2486. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2487. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2488. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2489. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2490. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2491. if Debounces.on == false then break end
  2492. wait()
  2493. end
  2494. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2495. for i = 1, 30 do
  2496. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2497. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2498. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2499. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2500. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2501. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2502. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2503. if Debounces.on == false then break end
  2504. wait()
  2505. end
  2506. end
  2507. Debounces.on = false
  2508. Debounces.NoIdl = false
  2509. local ry,ht,ps=nil,nil,nil
  2510. while ht==nil do
  2511. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2512. wait()
  2513. end
  2514. z = Instance.new("Sound",char)
  2515. z.SoundId = "rbxassetid://142070127"
  2516. z.Volume = 1
  2517. wait(.1)
  2518. z:Play()
  2519. Landing()
  2520. hum.WalkSpeed = 50
  2521. if Debounces.CanAttack == false then
  2522. Debounces.CanAttack = true
  2523. end
  2524. end
  2525. end
  2526. end)
  2527. ----------------------------------------------------
  2528. Grab = false
  2529. mouse.KeyDown:connect(function(key)
  2530. if key == "z" then
  2531. larm.BrickColor = BrickColor.new("Bright red")
  2532. rarm.BrickColor = BrickColor.new("Bright red")
  2533. Debounces.on = true
  2534. Debounces.NoIdl = true
  2535. if Grab == false then
  2536. gp = nil
  2537. con1=larm.Touched:connect(function(hit) -- this is grab
  2538. ht = hit.Parent
  2539. hum1=ht:FindFirstChild('Humanoid')
  2540. if hum1 ~= nil then
  2541. hum1.PlatformStand=true
  2542. gp = ht
  2543. Grab = true
  2544. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  2545. asd.Parent = larm
  2546. asd.Name = "asd"
  2547. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2548. elseif hum1 == nil then
  2549. con1:disconnect()
  2550. wait() return
  2551. end
  2552. end)
  2553. for i = 1, 18 do
  2554. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  2555. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2556. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2557. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  2558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  2559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  2560. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  2561. if Debounces.on == false then break end
  2562. wait()
  2563. end
  2564. con1:disconnect()
  2565. Debounces.on = false
  2566. Debounces.NoIdl = false
  2567. elseif Grab == true then
  2568. Grab = false
  2569. for i = 1, 20 do
  2570. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  2571. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  2572. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2573. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2574. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2575. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2576. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2577. if Debounces.on == false then end
  2578. wait()
  2579. end
  2580. if gp ~= nil then
  2581. for i,v in pairs(larm:GetChildren()) do
  2582. if v.Name == "asd" and v:IsA("Weld") then
  2583. v:Remove()
  2584. end
  2585. end
  2586. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2587. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2588. bv.P = 125000
  2589. bv.velocity = char.Head.CFrame.lookVector * 200
  2590. for i = 1, 12 do
  2591. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  2592. if Debounces.on == false then end
  2593. wait()
  2594. end
  2595. ht=nil
  2596. Spawn(function()
  2597. wait(0.5)
  2598. bv:Destroy()
  2599. end)
  2600. Debounces.on = false
  2601. Debounces.NoIdl = false
  2602. elseif ht == nil then wait()
  2603. Grab = false
  2604. Debounces.on = false
  2605. Debounces.NoIdl = false
  2606. end
  2607. end
  2608. end
  2609. end)
  2610. ----------------------------------------------------
  2611. mouse.KeyDown:connect(function(key)
  2612. if string.byte(key) == 52 then
  2613. char.Humanoid.WalkSpeed = 21
  2614. end
  2615. end)
  2616. mouse.KeyUp:connect(function(key)
  2617. if string.byte(key) == 52 then
  2618. char.Humanoid.WalkSpeed = 50
  2619. end
  2620. end)
  2621. ----------------------------------------------------
  2622. local animpose = "Idle"
  2623. local lastanimpose = "Idle"
  2624. local sine = 0
  2625. local change = 1
  2626. local val = 0
  2627. local ffing = false
  2628. ----------------------------------------------------
  2629. x = Instance.new("Sound", char)
  2630. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  2631. x.Looped = true
  2632. x.Volume = 1
  2633. x.Pitch = 1
  2634. local footsteps = false
  2635. -------------------------------
  2636. game:GetService("RunService").RenderStepped:connect(function()
  2637. if char.Humanoid.Jump == true then
  2638. jump = true
  2639. else
  2640. jump = false
  2641. end
  2642. char.Humanoid.FreeFalling:connect(function(f)
  2643. if f then
  2644. ffing = true
  2645. else
  2646. ffing = false
  2647. end
  2648. end)
  2649. sine = sine + change
  2650. if jumpn == true then
  2651. animpose = "Jumping"
  2652. elseif ffing == true then
  2653. animpose = "Freefalling"
  2654. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2655. animpose = "Idle"
  2656. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2657. animpose = "Walking"
  2658. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2659. animpose = "Running"
  2660. end
  2661. if animpose ~= lastanimpose then
  2662. sine = 0
  2663. if Debounces.NoIdl == false then
  2664. if animpose == "Idle" then
  2665. for i = 1, 2 do
  2666. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  2667. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  2668. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2669. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2670. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2671. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2672. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2673. end
  2674. elseif animpose == "Walking" then
  2675. for i = 1, 2 do
  2676. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  2677. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  2678. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  2679. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  2680. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2681. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2682. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2683. end
  2684. elseif animpose == "Running" then
  2685. for i = 1, 2 do
  2686. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  2687. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  2688. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2689. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2690. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2691. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2692. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2693. end
  2694. wait()
  2695. end
  2696. else
  2697. end
  2698. end
  2699. lastanimpose = animpose
  2700. if Debounces.NoIdl == false then
  2701. if animpose == "Idle" then
  2702. if stanceToggle == "Normal" then
  2703. change = 0.5
  2704. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  2705. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  2706. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  2707. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  2708. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  2709. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  2710. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2711. elseif stanceToggle == "Sitting" then
  2712. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  2713. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  2714. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  2715. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  2716. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  2717. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  2718. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2719. end
  2720. elseif animpose == "Walking" then
  2721. if stanceToggle == "Normal" then
  2722. change = 1
  2723. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.04)
  2724. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.04)
  2725. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.03)
  2726. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.04)
  2727. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), 0.04)
  2728. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .04)
  2729. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04)
  2730. end
  2731. elseif animpose == "Running" then
  2732. change = 1
  2733. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  2734. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  2735. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2736. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2737. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2738. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2739. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2740. end
  2741. end
  2742. if animpose == "Walking" then
  2743. if footsteps == false then
  2744. x:Play()
  2745. footsteps = true
  2746. end
  2747. x.Pitch = 1.1
  2748. elseif animpose == "Idle" then
  2749. x:Stop()
  2750. footsteps = false
  2751. elseif animpose == "Running" then
  2752. x.Pitch = 1.2
  2753. if footsteps == false then
  2754. x:Play()
  2755. footsteps = true
  2756. end
  2757. end
  2758. end)
  2759. p.Chatted:connect(function(msg)
  2760. if msg == TitanBet.."loadsong" then
  2761. z = Instance.new("Sound", char)
  2762. z.SoundId = "rbxassetid://306826153"--242463565
  2763. z.Name = "Music"
  2764. z.Looped = true
  2765. z.Volume = 1
  2766. z.Pitch = 1
  2767. wait()
  2768. if p.Name == "PointCoded" or "nguyenjimbo" then
  2769. z:Play()
  2770. else
  2771. print("Not Point Coded = no music")
  2772. end
  2773. end
  2774.  
  2775. end)
  2776.  
  2777. p.Chatted:connect(function(msg)
  2778. if msg == TitanBet.."stopsong" then
  2779. char.Music:remove()
  2780. end
  2781.  
  2782. end)
  2783.  
  2784. while true do
  2785. local pe = char:GetChildren()
  2786. pe.Locked = true
  2787. p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
  2788. if char.Mana.Value>4999 then
  2789. char.Mana.Value = 4999
  2790. end
  2791. char.Mana.Value = char.Mana.Value + 1
  2792. local pe = char:GetChildren()
  2793. hum.MaxHealth = 50000
  2794. hum.Health = 50000
  2795. pe.Locked = true
  2796. wait(0.000000000000000000000000001)
  2797. end
Add Comment
Please, Sign In to add comment