SuperDragonFost

Untitled

Jul 26th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.01 KB | None | 0 0
  1. --leaked by LeakingProScripts
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local mouse = p:GetMouse()
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local hum = char.Humanoid
  12. local cam = game.Workspace.CurrentCamera
  13. local root = char.HumanoidRootPart
  14. local deb = false
  15. local shot = 0
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. local stanceToggle = "Normal"
  19. math.randomseed(os.time())
  20. hum.WalkSpeed = 7
  21. char.Health:Destroy()
  22. hum.MaxHealth = 50000
  23. wait(0.1)
  24. hum.Health = 50000
  25. ----------------------------------------------------
  26. pcall(function()char.Shirt:Destroy()
  27. char.Pants:Destroy()
  28. end)
  29. shirt = Instance.new("Shirt", char)
  30. shirt.Name = "Shirt"
  31. pants = Instance.new("Pants", char)
  32. pants.Name = "Pants"
  33. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268303759"
  34. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268303786"
  35. ----------------------------------------------------
  36. Debounces = {
  37. on = false;
  38. ks = false;
  39. CanAttack = true;
  40. CanJoke = true;
  41. NoIdl = false;
  42. Slashing = false;
  43. Slashed = false;
  44. Grabbing = false;
  45. Grabbed = false;
  46. }
  47. local Touche = {char.Name, }
  48. ----------------------------------------------------
  49. function lerp(a, b, t) -- Linear interpolation
  50. return a + (b - a)*t
  51. end
  52.  
  53. function slerp(a, b, t) --Spherical interpolation
  54. dot = a:Dot(b)
  55. if dot > 0.99999 or dot < -0.99999 then
  56. return t <= 0.5 and a or b
  57. else
  58. r = math.acos(dot)
  59. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  60. end
  61. end
  62.  
  63. function matrixInterpolate(a, b, t)
  64. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  65. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  66. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  67. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  68. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  69. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  70. local t = v1:Dot(v2)
  71. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  72. return CFrame.new()
  73. end
  74. return CFrame.new(
  75. v0.x, v0.y, v0.z,
  76. v1.x, v1.y, v1.z,
  77. v2.x, v2.y, v2.z,
  78. v3.x, v3.y, v3.z)
  79. end
  80. ----------------------------------------------------
  81. function genWeld(a,b)
  82. local w = Instance.new("Weld",a)
  83. w.Part0 = a
  84. w.Part1 = b
  85. return w
  86. end
  87. function weld(a, b)
  88. local weld = Instance.new("Weld")
  89. weld.Name = "W"
  90. weld.Part0 = a
  91. weld.Part1 = b
  92. weld.C0 = a.CFrame:inverse() * b.CFrame
  93. weld.Parent = a
  94. return weld;
  95. end
  96. ----------------------------------------------------
  97. function Lerp(c1,c2,al)
  98. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  99. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  100. for i,v in pairs(com1) do
  101. com1[i] = v+(com2[i]-v)*al
  102. end
  103. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  104. end
  105. ----------------------------------------------------
  106. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  107. local wld = Instance.new("Weld", wp1)
  108. wld.Part0 = wp0
  109. wld.Part1 = wp1
  110. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  111. end
  112. ----------------------------------------------------
  113. for i,v in pairs(char:children()) do
  114. if v:IsA("Hat") then
  115. v:Destroy()
  116. end
  117. end
  118. for i,v in pairs(hed:children()) do
  119. if v:IsA("Sound") then
  120. v:Destroy()
  121. end
  122. end
  123. ----------------------------------------------------
  124. function HasntTouched(plrname)
  125. local ret = true
  126. for _, v in pairs(Touche) do
  127. if v == plrname then
  128. ret = false
  129. end
  130. end
  131. return ret
  132. end
  133. ----------------------------------------------------
  134. larm.Size = larm.Size * 2
  135. rarm.Size = rarm.Size * 2
  136. lleg.Size = lleg.Size * 2
  137. rleg.Size = rleg.Size * 2
  138. torso.Size = torso.Size * 2
  139. hed.Size = hed.Size * 2
  140. root.Size = root.Size * 2
  141. ----------------------------------------------------
  142. newWeld(torso, larm, -1.5, 0.5, 0)
  143. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  144. newWeld(torso, rarm, 1.5, 0.5, 0)
  145. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  146. newWeld(torso, hed, 0, 1.5, 0)
  147. newWeld(torso, lleg, -0.5, -1, 0)
  148. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  149. newWeld(torso, rleg, 0.5, -1, 0)
  150. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  151. newWeld(root, torso, 0, -1, 0)
  152. torso.Weld.C1 = CFrame.new(0, -1, 0)
  153. ----------------------------------------------------
  154. hed.face.Texture = "rbxassetid://127498555"
  155. z=Instance.new('Decal',hed)
  156. z.Face = 'Front'
  157. z.Texture='rbxassetid://36527091'
  158. hed.BrickColor = BrickColor.new("Institutional white")
  159. lite = Instance.new("PointLight", torso)
  160. lite.Brightness = 14
  161. lite.Range = 10
  162. lite.Color = Color3.new(1, 0, 0)
  163. --[[local hed2 = hed:Clone()
  164. hed2.CanCollide = false
  165. hed2.Parent = char
  166. hed2:ClearAllChildren()
  167. hed2.Transparency = 1
  168. hed2.Name = "DARP"
  169. local w = Instance.new("Weld",hed2)
  170. w.Part0 = hed
  171. w.Part1 = hed2
  172. w.C0 = CFrame.new(0,0,-0.175)
  173. z=Instance.new("SurfaceGui",hed2)
  174. z.Enabled = true
  175. z.Face = "Front"
  176. z.Adornee = hed2
  177. z.CanvasSize = Vector2.new(100,100)
  178. local face = Instance.new("ImageLabel",z)
  179. face.Size = UDim2.new(1,-30,1,0)
  180. face.Position = UDim2.new(0,15,0,0)
  181. face.BackgroundTransparency = 1
  182. face.Image='rbxassetid://46282671']]--
  183. ----------------------------------------------------
  184.  
  185. z = Instance.new("Sound", char)
  186. z.SoundId = "rbxassetid://338700363" --190470714, 242463565
  187. z.Looped = true
  188. z.Pitch = 1
  189. z.Volume = 1
  190. wait(.01)
  191. z:Play()
  192. ----------------------------------------------------
  193. local m = Instance.new("Model")
  194. m.Name = "Absolution"
  195. p1 = Instance.new("Part", m)
  196. p1.BrickColor = BrickColor.new("New Yeller")
  197. p1.FormFactor = Enum.FormFactor.Custom
  198. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  199. 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)
  200. p1.CanCollide = false
  201. p1.Locked = true
  202. p1.Elasticity = 0
  203. p1.Transparency=1
  204. p1.BottomSurface = Enum.SurfaceType.Smooth
  205. p1.TopSurface = Enum.SurfaceType.Smooth
  206. b1 = Instance.new("SpecialMesh", p1)
  207. b1.MeshType = Enum.MeshType.Wedge
  208. b1.Name = "Mesh"
  209. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  210. p2 = Instance.new("Part", m)
  211. p2.BrickColor = BrickColor.new("Institutional white")
  212. p2.FormFactor = Enum.FormFactor.Custom
  213. p2.Size = Vector3.new(1, 2.9000001, 1)
  214. 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)
  215. p2.CanCollide = false
  216. p2.Locked = true
  217. p2.Elasticity = 0
  218. p2.Transparency=1
  219. p2.BottomSurface = Enum.SurfaceType.Smooth
  220. p2.TopSurface = Enum.SurfaceType.Smooth
  221. b2 = Instance.new("BlockMesh", p2)
  222. b2.Name = "Mesh"
  223. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  224. p3 = Instance.new("Part", m)
  225. p3.BrickColor = BrickColor.new("New Yeller")
  226. p3.FormFactor = Enum.FormFactor.Custom
  227. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  228. 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)
  229. p3.CanCollide = false
  230. p3.Locked = true
  231. p3.Transparency=1
  232. p3.Elasticity = 0
  233. p3.BottomSurface = Enum.SurfaceType.Smooth
  234. p3.TopSurface = Enum.SurfaceType.Smooth
  235. b3 = Instance.new("SpecialMesh", p3)
  236. b3.MeshType = Enum.MeshType.Wedge
  237. b3.Name = "Mesh"
  238. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  239. p4 = Instance.new("Part", m)
  240. p4.BrickColor = BrickColor.new("New Yeller")
  241. p4.FormFactor = Enum.FormFactor.Custom
  242. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  243. 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)
  244. p4.CanCollide = false
  245. p4.Locked = true
  246. p4.Elasticity = 0
  247. p4.Transparency=1
  248. p4.BottomSurface = Enum.SurfaceType.Smooth
  249. p4.TopSurface = Enum.SurfaceType.Smooth
  250. b4 = Instance.new("SpecialMesh", p4)
  251. b4.MeshType = Enum.MeshType.Wedge
  252. b4.Name = "Mesh"
  253. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  254. p5 = Instance.new("Part", m)
  255. p5.Transparency=1
  256. p5.BrickColor = BrickColor.new("New Yeller")
  257. p5.FormFactor = Enum.FormFactor.Custom
  258. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  259. 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)
  260. p5.CanCollide = false
  261. p5.Locked = true
  262. p5.Elasticity = 0
  263. p5.BottomSurface = Enum.SurfaceType.Smooth
  264. p5.TopSurface = Enum.SurfaceType.Smooth
  265. b5 = Instance.new("SpecialMesh", p5)
  266. b5.MeshType = Enum.MeshType.Wedge
  267. b5.Name = "Mesh"
  268. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  269. p6 = Instance.new("Part", m)
  270. p6.Name = "Handle"
  271. p6.Transparency=1
  272. p6.BrickColor = BrickColor.new("Institutional white")
  273. p6.FormFactor = Enum.FormFactor.Custom
  274. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  275. 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)
  276. p6.CanCollide = false
  277. p6.Locked = true
  278. p6.Elasticity = 0
  279. p6.BottomSurface = Enum.SurfaceType.Smooth
  280. p6.TopSurface = Enum.SurfaceType.Smooth
  281. b6 = Instance.new("BlockMesh", p6)
  282. b6.Name = "Mesh"
  283. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  284. p7 = Instance.new("Part", m)
  285. p7.BrickColor = BrickColor.new("New Yeller")
  286. p7.Transparency=1
  287. p7.FormFactor = Enum.FormFactor.Custom
  288. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  289. 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)
  290. p7.CanCollide = false
  291. p7.Locked = true
  292. p7.Elasticity = 0
  293. p7.BottomSurface = Enum.SurfaceType.Smooth
  294. p7.TopSurface = Enum.SurfaceType.Smooth
  295. b7 = Instance.new("SpecialMesh", p7)
  296. b7.MeshType = Enum.MeshType.Wedge
  297. b7.Name = "Mesh"
  298. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  299. p8 = Instance.new("Part", m)
  300. p8.BrickColor = BrickColor.new("New Yeller")
  301. p8.FormFactor = Enum.FormFactor.Custom
  302. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  303. 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)
  304. p8.CanCollide = false
  305. p8.Locked = true
  306. p8.Elasticity = 0
  307. p8.BottomSurface = Enum.SurfaceType.Smooth
  308. p8.TopSurface = Enum.SurfaceType.Smooth
  309. b8 = Instance.new("SpecialMesh", p8)
  310. b8.MeshType = Enum.MeshType.Wedge
  311. b8.Name = "Mesh"
  312. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  313. p9 = Instance.new("Part", m)
  314. p9.BrickColor = BrickColor.new("Institutional white")
  315. p9.FormFactor = Enum.FormFactor.Custom
  316. p9.Size = Vector3.new(1, 1.07999957, 1)
  317. 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)
  318. p9.CanCollide = false
  319. p9.Locked = true
  320. p9.Elasticity = 0
  321. p9.BottomSurface = Enum.SurfaceType.Smooth
  322. p9.TopSurface = Enum.SurfaceType.Smooth
  323. b9 = Instance.new("BlockMesh", p9)
  324. b9.Name = "Mesh"
  325. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  326. p10 = Instance.new("Part", m)
  327. p10.BrickColor = BrickColor.new("Institutional white")
  328. p10.FormFactor = Enum.FormFactor.Custom
  329. p10.Size = Vector3.new(1, 1.41999948, 1)
  330. 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)
  331. p10.CanCollide = false
  332. p10.Locked = true
  333. p10.Elasticity = 0
  334. p10.BottomSurface = Enum.SurfaceType.Smooth
  335. p10.TopSurface = Enum.SurfaceType.Smooth
  336. b10 = Instance.new("BlockMesh", p10)
  337. b10.Name = "Mesh"
  338. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  339. p11 = Instance.new("Part", m)
  340. p11.BrickColor = BrickColor.new("Institutional white")
  341. p11.FormFactor = Enum.FormFactor.Custom
  342. p11.Size = Vector3.new(1, 1.50999951, 1)
  343. 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)
  344. p11.CanCollide = false
  345. p11.Locked = true
  346. p11.Elasticity = 0
  347. p11.BottomSurface = Enum.SurfaceType.Smooth
  348. p11.TopSurface = Enum.SurfaceType.Smooth
  349. b11 = Instance.new("BlockMesh", p11)
  350. b11.Name = "Mesh"
  351. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  352. p12 = Instance.new("Part", m)
  353. p12.Name = "BladeCenter"
  354. p12.BrickColor = BrickColor.new("Dark stone grey")
  355. p12.Material = Enum.Material.Concrete
  356. p12.FormFactor = Enum.FormFactor.Symmetric
  357. p12.Size = Vector3.new(1, 2, 2)
  358. 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)
  359. p12.CanCollide = false
  360. p12.Locked = true
  361. p12.BottomSurface = Enum.SurfaceType.Smooth
  362. p12.TopSurface = Enum.SurfaceType.Smooth
  363. b12 = Instance.new("SpecialMesh", p12)
  364. b12.MeshType = Enum.MeshType.Brick
  365. b12.Name = "Mesh"
  366. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  367. p13 = Instance.new("Part", m)
  368. p13.BrickColor = BrickColor.new("Institutional white")
  369. p13.FormFactor = Enum.FormFactor.Custom
  370. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  371. 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)
  372. p13.CanCollide = false
  373. p13.Locked = true
  374. p13.Elasticity = 0
  375. p13.BottomSurface = Enum.SurfaceType.Smooth
  376. p13.TopSurface = Enum.SurfaceType.Smooth
  377. b13 = Instance.new("BlockMesh", p13)
  378. b13.Name = "Mesh"
  379. b13.Scale = Vector3.new(1, 1, 0.400000006)
  380. p14 = Instance.new("Part", m)
  381. p14.BrickColor = BrickColor.new("Institutional white")
  382. p14.FormFactor = Enum.FormFactor.Custom
  383. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  384. 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)
  385. p14.CanCollide = false
  386. p14.Locked = true
  387. p14.Elasticity = 0
  388. p14.BottomSurface = Enum.SurfaceType.Smooth
  389. p14.TopSurface = Enum.SurfaceType.Smooth
  390. b14 = Instance.new("BlockMesh", p14)
  391. b14.Name = "Mesh"
  392. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  393. p15 = Instance.new("Part", m)
  394. p15.BrickColor = BrickColor.new("Institutional white")
  395. p15.FormFactor = Enum.FormFactor.Custom
  396. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  397. 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)
  398. p15.CanCollide = false
  399. p15.Locked = true
  400. p15.Elasticity = 0
  401. p15.BottomSurface = Enum.SurfaceType.Smooth
  402. p15.TopSurface = Enum.SurfaceType.Smooth
  403. b15 = Instance.new("BlockMesh", p15)
  404. b15.Name = "Mesh"
  405. b15.Scale = Vector3.new(1, 1, 0.400000006)
  406. p16 = Instance.new("Part", m)
  407. p16.BrickColor = BrickColor.new("Institutional white")
  408. p16.FormFactor = Enum.FormFactor.Custom
  409. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  410. 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)
  411. p16.CanCollide = false
  412. p16.Locked = true
  413. p16.Elasticity = 0
  414. p16.BottomSurface = Enum.SurfaceType.Smooth
  415. p16.TopSurface = Enum.SurfaceType.Smooth
  416. b16 = Instance.new("BlockMesh", p16)
  417. b16.Name = "Mesh"
  418. b16.Scale = Vector3.new(1, 1, 0.400000006)
  419. p17 = Instance.new("Part", m)
  420. p17.BrickColor = BrickColor.new("Institutional white")
  421. p17.FormFactor = Enum.FormFactor.Custom
  422. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  423. 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)
  424. p17.CanCollide = false
  425. p17.Locked = true
  426. p17.Elasticity = 0
  427. p17.BottomSurface = Enum.SurfaceType.Smooth
  428. p17.TopSurface = Enum.SurfaceType.Smooth
  429. b17 = Instance.new("BlockMesh", p17)
  430. b17.Name = "Mesh"
  431. b17.Scale = Vector3.new(1, 1, 0.400000006)
  432. p18 = Instance.new("WedgePart", m)
  433. p18.BrickColor = BrickColor.new("Dark stone grey")
  434. p18.Name = "BladePart1"
  435. p18.Material = Enum.Material.Concrete
  436. p18.Name = "Wedge"
  437. p18.FormFactor = Enum.FormFactor.Symmetric
  438. p18.Size = Vector3.new(1, 4, 2)
  439. 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)
  440. p18.CanCollide = false
  441. p18.Locked = true
  442. p18.BottomSurface = Enum.SurfaceType.Smooth
  443. p18.TopSurface = Enum.SurfaceType.Smooth
  444. b18 = Instance.new("SpecialMesh", p18)
  445. b18.MeshType = Enum.MeshType.Wedge
  446. b18.Name = "Mesh"
  447. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  448. p19 = Instance.new("WedgePart", m)
  449. p19.BrickColor = BrickColor.new("Dark stone grey")
  450. p19.Name = "BladePart2"
  451. p19.Material = Enum.Material.Concrete
  452. p19.Name = "Wedge"
  453. p19.FormFactor = Enum.FormFactor.Symmetric
  454. p19.Size = Vector3.new(1, 4, 2)
  455. 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)
  456. p19.CanCollide = false
  457. p19.Locked = true
  458. p19.BottomSurface = Enum.SurfaceType.Smooth
  459. p19.TopSurface = Enum.SurfaceType.Smooth
  460. b19 = Instance.new("SpecialMesh", p19)
  461. b19.MeshType = Enum.MeshType.Wedge
  462. b19.Name = "Mesh"
  463. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  464. p20 = Instance.new("Part", m)
  465. p20.BrickColor = BrickColor.new("Institutional white")
  466. p20.FormFactor = Enum.FormFactor.Custom
  467. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  468. 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)
  469. p20.CanCollide = false
  470. p20.Locked = true
  471. p20.Elasticity = 0
  472. p20.BottomSurface = Enum.SurfaceType.Smooth
  473. p20.TopSurface = Enum.SurfaceType.Smooth
  474. b20 = Instance.new("BlockMesh", p20)
  475. b20.Name = "Mesh"
  476. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  477. p21 = Instance.new("Part", m)
  478. p21.BrickColor = BrickColor.new("New Yeller")
  479. p21.FormFactor = Enum.FormFactor.Custom
  480. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  481. 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)
  482. p21.CanCollide = false
  483. p21.Locked = true
  484. p21.Elasticity = 0
  485. p21.BottomSurface = Enum.SurfaceType.Smooth
  486. p21.TopSurface = Enum.SurfaceType.Smooth
  487. b21 = Instance.new("SpecialMesh", p21)
  488. b21.MeshType = Enum.MeshType.Wedge
  489. b21.Name = "Mesh"
  490. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  491. w1 = Instance.new("Weld", p1)
  492. w1.Name = "Part_Weld"
  493. w1.Part0 = p1
  494. 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)
  495. w1.Part1 = p2
  496. 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)
  497. w2 = Instance.new("Weld", p2)
  498. w2.Name = "Part_Weld"
  499. w2.Part0 = p2
  500. 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)
  501. w2.Part1 = p3
  502. 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)
  503. w3 = Instance.new("Weld", p3)
  504. w3.Name = "Part_Weld"
  505. w3.Part0 = p3
  506. 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)
  507. w3.Part1 = p4
  508. 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)
  509. w4 = Instance.new("Weld", p4)
  510. w4.Name = "Part_Weld"
  511. w4.Part0 = p4
  512. 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)
  513. w4.Part1 = p5
  514. 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)
  515. w5 = Instance.new("Weld", p5)
  516. w5.Name = "Part_Weld"
  517. w5.Part0 = p5
  518. 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)
  519. w5.Part1 = p6
  520. 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)
  521. w6 = Instance.new("Weld", p6)
  522. w6.Name = "Part_Weld"
  523. w6.Part0 = p6
  524. 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)
  525. w6.Part1 = p7
  526. 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)
  527. w7 = Instance.new("Weld", p7)
  528. w7.Name = "Part_Weld"
  529. w7.Part0 = p7
  530. 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)
  531. w7.Part1 = p8
  532. 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)
  533. w8 = Instance.new("Weld", p8)
  534. w8.Name = "Part_Weld"
  535. w8.Part0 = p8
  536. 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)
  537. w8.Part1 = p9
  538. 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)
  539. w9 = Instance.new("Weld", p9)
  540. w9.Name = "Part_Weld"
  541. w9.Part0 = p9
  542. 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)
  543. w9.Part1 = p10
  544. 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)
  545. w10 = Instance.new("Weld", p10)
  546. w10.Name = "Part_Weld"
  547. w10.Part0 = p10
  548. 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)
  549. w10.Part1 = p11
  550. 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)
  551. w11 = Instance.new("Weld", p11)
  552. w11.Name = "Part_Weld"
  553. w11.Part0 = p11
  554. 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)
  555. w11.Part1 = p12
  556. 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)
  557. w12 = Instance.new("Weld", p12)
  558. w12.Name = "Part_Weld"
  559. w12.Part0 = p12
  560. 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)
  561. w12.Part1 = p13
  562. 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)
  563. w13 = Instance.new("Weld", p13)
  564. w13.Name = "Part_Weld"
  565. w13.Part0 = p13
  566. 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)
  567. w13.Part1 = p14
  568. 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)
  569. w14 = Instance.new("Weld", p14)
  570. w14.Name = "Part_Weld"
  571. w14.Part0 = p14
  572. 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)
  573. w14.Part1 = p15
  574. 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)
  575. w15 = Instance.new("Weld", p15)
  576. w15.Name = "Part_Weld"
  577. w15.Part0 = p15
  578. 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)
  579. w15.Part1 = p16
  580. 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)
  581. w16 = Instance.new("Weld", p16)
  582. w16.Name = "Part_Weld"
  583. w16.Part0 = p16
  584. 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)
  585. w16.Part1 = p17
  586. 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)
  587. w17 = Instance.new("Weld", p17)
  588. w17.Name = "Wedge_Weld"
  589. w17.Part0 = p17
  590. 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)
  591. w17.Part1 = p18
  592. 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)
  593. w18 = Instance.new("Weld", p18)
  594. w18.Name = "Wedge_Weld"
  595. w18.Part0 = p18
  596. 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)
  597. w18.Part1 = p19
  598. 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)
  599. w19 = Instance.new("Weld", p19)
  600. w19.Name = "Part_Weld"
  601. w19.Part0 = p19
  602. 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)
  603. w19.Part1 = p20
  604. 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)
  605. w20 = Instance.new("Weld", p20)
  606. w20.Name = "Part_Weld"
  607. w20.Part0 = p20
  608. 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)
  609. w20.Part1 = p21
  610. 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)
  611. m.Parent = char
  612. m:MakeJoints()
  613. ----------------------------------------------------
  614. local cor = Instance.new("Part", char.Absolution)
  615. cor.Name = "Thingy"
  616. cor.Locked = true
  617. cor.BottomSurface = 0
  618. cor.CanCollide = false
  619. cor.Size = Vector3.new(1, 13, 1)
  620. cor.Transparency = 1
  621. cor.TopSurface = 0
  622. corw = Instance.new("Weld", cor)
  623. corw.Part0 = rarm
  624. corw.Part1 = cor
  625. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  626. corw.C1 = CFrame.new(0, 0, 0)
  627. weld1 = Instance.new("Weld", char.Absolution)
  628. weld1.Part0 = cor
  629. weld1.Part1 = p6
  630. weld1.C0 = CFrame.new(0, 0, 0)
  631.  
  632. p1.Transparency=1
  633. p2.Transparency=1
  634. p3.Transparency=1
  635. p4.Transparency=1
  636. p5.Transparency=1
  637. p6.Transparency=1
  638. p7.Transparency=1
  639. p8.Transparency=1
  640. p9.Transparency=1
  641. p10.Transparency=1
  642. p11.Transparency=1
  643. p12.Transparency=1
  644. p13.Transparency=1
  645. p14.Transparency=1
  646. p15.Transparency=1
  647. p16.Transparency=1
  648. p17.Transparency=1
  649. p18.Transparency=1
  650. p19.Transparency=1
  651. p20.Transparency=1
  652. p21.Transparency=1
  653. ----------------------------------------------------
  654. hitb = Instance.new("Part", char.Absolution)
  655. hitb.Name = "Thingy2"
  656. hitb.Locked = true
  657. hitb.BottomSurface = 0
  658. hitb.CanCollide = false
  659. hitb.Size = Vector3.new(0, 8, 6)
  660. hitb.Transparency = 1
  661. hitb.TopSurface = 0
  662. weld2 = Instance.new("Weld", char.Absolution)
  663. weld2.Part0 = hitb
  664. weld2.Part1 = p12
  665. weld2.C0 = CFrame.new(0, .6, 1)
  666. ----------------------------------------------------
  667. local m = Instance.new("Model")
  668. m.Name = "Claw"
  669. p1 = Instance.new("Part", m)
  670. p1.BrickColor = BrickColor.new("Institutional white")
  671. p1.FormFactor = Enum.FormFactor.Custom
  672. p1.Size = Vector3.new(1.5, 0.5, 0.5)
  673. p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691)
  674. p1.CanCollide = false
  675. p1.Locked = true
  676. p1.Transparency=0
  677. p1.BottomSurface = Enum.SurfaceType.Smooth
  678. p1.TopSurface = Enum.SurfaceType.Smooth
  679. b1 = Instance.new("BlockMesh", p1)
  680. b1.Name = "Mesh"
  681. p2 = Instance.new("WedgePart", m)
  682. p2.BrickColor = BrickColor.new("Institutional white")
  683. p2.Name = "Wedge"
  684. p2.FormFactor = Enum.FormFactor.Custom
  685. p2.Size = Vector3.new(3, 1, 0.5)
  686. p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0)
  687. p2.CanCollide = false
  688. p2.Locked = true
  689. p2.BottomSurface = Enum.SurfaceType.Smooth
  690. p2.TopSurface = Enum.SurfaceType.Smooth
  691. p3 = Instance.new("Part", m)
  692. p3.BrickColor = BrickColor.new("Institutional white")
  693. p3.FormFactor = Enum.FormFactor.Custom
  694. p3.Size = Vector3.new(1.5, 0.5, 0.5)
  695. p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008)
  696. p3.CanCollide = false
  697. p3.Locked = true
  698. p3.BottomSurface = Enum.SurfaceType.Smooth
  699. p3.TopSurface = Enum.SurfaceType.Smooth
  700. b2 = Instance.new("BlockMesh", p3)
  701. b2.Name = "Mesh"
  702. p4 = Instance.new("WedgePart", m)
  703. p4.BrickColor = BrickColor.new("Institutional white")
  704. p4.Name = "Wedge"
  705. p4.FormFactor = Enum.FormFactor.Custom
  706. p4.Size = Vector3.new(3, 1, 0.5)
  707. p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008)
  708. p4.CanCollide = false
  709. p4.Locked = true
  710. p4.BottomSurface = Enum.SurfaceType.Smooth
  711. p4.TopSurface = Enum.SurfaceType.Smooth
  712. p5 = Instance.new("Part", m)
  713. p5.BrickColor = BrickColor.new("Institutional white")
  714. p5.FormFactor = Enum.FormFactor.Custom
  715. p5.Size = Vector3.new(1.5, 0.5, 0.5)
  716. p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008)
  717. p5.CanCollide = false
  718. p5.Locked = true
  719. p5.BottomSurface = Enum.SurfaceType.Smooth
  720. p5.TopSurface = Enum.SurfaceType.Smooth
  721. b3 = Instance.new("BlockMesh", p5)
  722. b3.Name = "Mesh"
  723. p6 = Instance.new("Part", m)
  724. p6.BrickColor = BrickColor.new("Institutional white")
  725. p6.FormFactor = Enum.FormFactor.Custom
  726. p6.Size = Vector3.new(1.5, 0.5, 0.5)
  727. p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051)
  728. p6.CanCollide = false
  729. p6.Locked = true
  730. p6.BottomSurface = Enum.SurfaceType.Smooth
  731. p6.TopSurface = Enum.SurfaceType.Smooth
  732. b4 = Instance.new("BlockMesh", p6)
  733. b4.Name = "Mesh"
  734. p7 = Instance.new("Part", m)
  735. p7.BrickColor = BrickColor.new("Institutional white")
  736. p7.FormFactor = Enum.FormFactor.Custom
  737. p7.Size = Vector3.new(3, 1, 1.20000005)
  738. p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008)
  739. p7.CanCollide = false
  740. p7.Locked = true
  741. p7.BottomSurface = Enum.SurfaceType.Smooth
  742. p7.TopSurface = Enum.SurfaceType.Smooth
  743. b5 = Instance.new("BlockMesh", p7)
  744. b5.Name = "Mesh"
  745. p8 = Instance.new("Part", m)
  746. p8.BrickColor = BrickColor.new("New Yeller")
  747. p8.FormFactor = Enum.FormFactor.Symmetric
  748. p8.Size = Vector3.new(1, 1, 1)
  749. p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159)
  750. p8.CanCollide = false
  751. p8.Locked = true
  752. b6 = Instance.new("SpecialMesh", p8)
  753. b6.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  754. b6.TextureId = ""
  755. b6.MeshType = Enum.MeshType.FileMesh
  756. b6.Name = "Mesh"
  757. b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  758. p9 = Instance.new("Part", m)
  759. p9.BrickColor = BrickColor.new("Institutional white")
  760. p9.FormFactor = Enum.FormFactor.Custom
  761. p9.Size = Vector3.new(1.5, 0.5, 0.5)
  762. p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264)
  763. p9.CanCollide = false
  764. p9.Locked = true
  765. p9.BottomSurface = Enum.SurfaceType.Smooth
  766. p9.TopSurface = Enum.SurfaceType.Smooth
  767. b7 = Instance.new("BlockMesh", p9)
  768. b7.Name = "Mesh"
  769. p10 = Instance.new("Part", m)
  770. p10.BrickColor = BrickColor.new("New Yeller")
  771. p10.FormFactor = Enum.FormFactor.Symmetric
  772. p10.Size = Vector3.new(1, 1, 1)
  773. p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702)
  774. p10.CanCollide = false
  775. p10.Locked = true
  776. b8 = Instance.new("SpecialMesh", p10)
  777. b8.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  778. b8.TextureId = ""
  779. b8.MeshType = Enum.MeshType.FileMesh
  780. b8.Name = "Mesh"
  781. b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  782. p11 = Instance.new("Part", m)
  783. p11.BrickColor = BrickColor.new("Institutional white")
  784. p11.FormFactor = Enum.FormFactor.Custom
  785. p11.Size = Vector3.new(1.5, 0.5, 0.5)
  786. p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868)
  787. p11.CanCollide = false
  788. p11.Locked = true
  789. p11.BottomSurface = Enum.SurfaceType.Smooth
  790. p11.TopSurface = Enum.SurfaceType.Smooth
  791. b9 = Instance.new("BlockMesh", p11)
  792. b9.Name = "Mesh"
  793. p12 = Instance.new("Part", m)
  794. p12.BrickColor = BrickColor.new("Institutional white")
  795. p12.FormFactor = Enum.FormFactor.Custom
  796. p12.Size = Vector3.new(1.5, 0.5, 0.5)
  797. p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008)
  798. p12.CanCollide = false
  799. p12.Locked = true
  800. p12.BottomSurface = Enum.SurfaceType.Smooth
  801. p12.TopSurface = Enum.SurfaceType.Smooth
  802. b10 = Instance.new("BlockMesh", p12)
  803. b10.Name = "Mesh"
  804. p13 = Instance.new("Part", m)
  805. p13.BrickColor = BrickColor.new("Institutional white")
  806. p13.FormFactor = Enum.FormFactor.Custom
  807. p13.Size = Vector3.new(1.5, 0.5, 0.5)
  808. p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008)
  809. p13.CanCollide = false
  810. p13.Locked = true
  811. p13.BottomSurface = Enum.SurfaceType.Smooth
  812. p13.TopSurface = Enum.SurfaceType.Smooth
  813. b11 = Instance.new("BlockMesh", p13)
  814. b11.Name = "Mesh"
  815. p14 = Instance.new("Part", m)
  816. p14.BrickColor = BrickColor.new("New Yeller")
  817. p14.FormFactor = Enum.FormFactor.Symmetric
  818. p14.Size = Vector3.new(1, 1, 1)
  819. p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777)
  820. p14.CanCollide = false
  821. p14.Locked = true
  822. b12 = Instance.new("SpecialMesh", p14)
  823. b12.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  824. b12.TextureId = ""
  825. b12.MeshType = Enum.MeshType.FileMesh
  826. b12.Name = "Mesh"
  827. b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  828. p15 = Instance.new("Part", m)
  829. p15.BrickColor = BrickColor.new("Medium stone grey")
  830. p15.Transparency = 1
  831. p15.Name = "ArmPart"
  832. p15.FormFactor = Enum.FormFactor.Custom
  833. p15.Size = Vector3.new(2, 1, 1)
  834. p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008)
  835. p15.CanCollide = false
  836. p15.Locked = true
  837. p15.BottomSurface = Enum.SurfaceType.Smooth
  838. p15.TopSurface = Enum.SurfaceType.Smooth
  839. b13 = Instance.new("BlockMesh", p15)
  840. b13.Name = "Mesh"
  841. p16 = Instance.new("Part", m)
  842. p16.BrickColor = BrickColor.new("Institutional white")
  843. p16.FormFactor = Enum.FormFactor.Custom
  844. p16.Size = Vector3.new(3, 1, 2.4000001)
  845. p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008)
  846. p16.CanCollide = false
  847. p16.Locked = true
  848. p16.Transparency=1
  849. p16.BottomSurface = Enum.SurfaceType.Smooth
  850. p16.TopSurface = Enum.SurfaceType.Smooth
  851. b14 = Instance.new("BlockMesh", p16)
  852. b14.Name = "Mesh"
  853. p17 = Instance.new("Part", m)
  854. p17.BrickColor = BrickColor.new("Institutional white")
  855. p17.FormFactor = Enum.FormFactor.Custom
  856. p17.Size = Vector3.new(1.5, 0.5, 0.5)
  857. p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783)
  858. p17.CanCollide = false
  859. p17.Locked = true
  860. p17.BottomSurface = Enum.SurfaceType.Smooth
  861. p17.TopSurface = Enum.SurfaceType.Smooth
  862. b15 = Instance.new("BlockMesh", p17)
  863. b15.Name = "Mesh"
  864. p18 = Instance.new("Part", m)
  865. p18.BrickColor = BrickColor.new("New Yeller")
  866. p18.FormFactor = Enum.FormFactor.Symmetric
  867. p18.Size = Vector3.new(1, 1, 1)
  868. p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101)
  869. p18.CanCollide = false
  870. p18.Locked = true
  871. b16 = Instance.new("SpecialMesh", p18)
  872. b16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  873. b16.TextureId = ""
  874. b16.MeshType = Enum.MeshType.FileMesh
  875. b16.Name = "Mesh"
  876. b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  877. p19 = Instance.new("Part", m)
  878. p19.BrickColor = BrickColor.new("New Yeller")
  879. p19.FormFactor = Enum.FormFactor.Symmetric
  880. p19.Size = Vector3.new(1, 1, 1)
  881. p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855)
  882. p19.CanCollide = false
  883. p19.Locked = true
  884. b17 = Instance.new("SpecialMesh", p19)
  885. b17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  886. b17.TextureId = ""
  887. b17.MeshType = Enum.MeshType.FileMesh
  888. b17.Name = "Mesh"
  889. b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  890. p20 = Instance.new("Part", m)
  891. p20.BrickColor = BrickColor.new("Institutional white")
  892. p20.FormFactor = Enum.FormFactor.Custom
  893. p20.Size = Vector3.new(3, 1, 2.4000001)
  894. p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008)
  895. p20.CanCollide = false
  896. p20.Locked = true
  897. p20.BottomSurface = Enum.SurfaceType.Smooth
  898. p20.TopSurface = Enum.SurfaceType.Smooth
  899. b18 = Instance.new("BlockMesh", p20)
  900. b18.Name = "Mesh"
  901. p21 = Instance.new("Part", m)
  902. p21.BrickColor = BrickColor.new("Institutional white")
  903. p21.FormFactor = Enum.FormFactor.Custom
  904. p21.Size = Vector3.new(3, 1, 1.19999993)
  905. p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008)
  906. p21.CanCollide = false
  907. p21.Locked = true
  908. p21.BottomSurface = Enum.SurfaceType.Smooth
  909. p21.TopSurface = Enum.SurfaceType.Smooth
  910. b19 = Instance.new("BlockMesh", p21)
  911. b19.Name = "Mesh"
  912. p22 = Instance.new("WedgePart", m)
  913. p22.BrickColor = BrickColor.new("Institutional white")
  914. p22.Name = "Wedge"
  915. p22.FormFactor = Enum.FormFactor.Custom
  916. p22.Size = Vector3.new(3, 1, 0.5)
  917. p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008)
  918. p22.CanCollide = false
  919. p22.Locked = true
  920. p22.BottomSurface = Enum.SurfaceType.Smooth
  921. p22.TopSurface = Enum.SurfaceType.Smooth
  922. p23 = Instance.new("Part", m)
  923. p23.BrickColor = BrickColor.new("Institutional white")
  924. p23.FormFactor = Enum.FormFactor.Custom
  925. p23.Size = Vector3.new(1.5, 0.5, 0.5)
  926. p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682)
  927. p23.CanCollide = false
  928. p23.Locked = true
  929. p23.BottomSurface = Enum.SurfaceType.Smooth
  930. p23.TopSurface = Enum.SurfaceType.Smooth
  931. b20 = Instance.new("BlockMesh", p23)
  932. b20.Name = "Mesh"
  933. p24 = Instance.new("WedgePart", m)
  934. p24.BrickColor = BrickColor.new("Institutional white")
  935. p24.Name = "Wedge"
  936. p24.FormFactor = Enum.FormFactor.Custom
  937. p24.Size = Vector3.new(3, 1, 0.5)
  938. p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215)
  939. p24.CanCollide = false
  940. p24.Locked = true
  941. p24.BottomSurface = Enum.SurfaceType.Smooth
  942. p24.TopSurface = Enum.SurfaceType.Smooth
  943. p25 = Instance.new("Part", m)
  944. p25.BrickColor = BrickColor.new("New Yeller")
  945. p25.FormFactor = Enum.FormFactor.Symmetric
  946. p25.Size = Vector3.new(1, 1, 1)
  947. p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466)
  948. p25.CanCollide = false
  949. p25.Locked = true
  950. p25.BottomSurface = Enum.SurfaceType.Smooth
  951. p25.TopSurface = Enum.SurfaceType.Smooth
  952. b21 = Instance.new("SpecialMesh", p25)
  953. b21.MeshId = "http://www.roblox.com/asset/?id=3270017"
  954. b21.TextureId = ""
  955. b21.MeshType = Enum.MeshType.FileMesh
  956. b21.Name = "Mesh"
  957. b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024)
  958. p26 = Instance.new("Part", m)
  959. p26.BrickColor = BrickColor.new("Institutional white")
  960. p26.FormFactor = Enum.FormFactor.Symmetric
  961. p26.Size = Vector3.new(1, 1, 1)
  962. p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902)
  963. p26.CanCollide = false
  964. p26.Locked = true
  965. p26.BottomSurface = Enum.SurfaceType.Smooth
  966. p26.TopSurface = Enum.SurfaceType.Smooth
  967. b22 = Instance.new("SpecialMesh", p26)
  968. b22.MeshType = Enum.MeshType.Brick
  969. b22.Name = "Mesh"
  970. w1 = Instance.new("Weld", p1)
  971. w1.Name = "Wedge_Weld"
  972. w1.Part0 = p1
  973. w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691)
  974. w1.Part1 = p2
  975. w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008)
  976. w2 = Instance.new("Weld", p2)
  977. w2.Name = "Part_Weld"
  978. w2.Part0 = p2
  979. w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0)
  980. w2.Part1 = p3
  981. w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008)
  982. w3 = Instance.new("Weld", p3)
  983. w3.Name = "Wedge_Weld"
  984. w3.Part0 = p3
  985. w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008)
  986. w3.Part1 = p4
  987. w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008)
  988. w4 = Instance.new("Weld", p4)
  989. w4.Name = "Part_Weld"
  990. w4.Part0 = p4
  991. w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008)
  992. w4.Part1 = p5
  993. w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008)
  994. w5 = Instance.new("Weld", p5)
  995. w5.Name = "Part_Weld"
  996. w5.Part0 = p5
  997. w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008)
  998. w5.Part1 = p6
  999. w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252)
  1000. w6 = Instance.new("Weld", p6)
  1001. w6.Name = "Part_Weld"
  1002. w6.Part0 = p6
  1003. w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051)
  1004. w6.Part1 = p7
  1005. w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008)
  1006. w7 = Instance.new("Weld", p7)
  1007. w7.Name = "Part_Weld"
  1008. w7.Part0 = p7
  1009. w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008)
  1010. w7.Part1 = p8
  1011. w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292)
  1012. w8 = Instance.new("Weld", p8)
  1013. w8.Name = "Part_Weld"
  1014. w8.Part0 = p8
  1015. w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159)
  1016. w8.Part1 = p9
  1017. w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342)
  1018. w9 = Instance.new("Weld", p9)
  1019. w9.Name = "Part_Weld"
  1020. w9.Part0 = p9
  1021. w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264)
  1022. w9.Part1 = p10
  1023. w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036)
  1024. w10 = Instance.new("Weld", p10)
  1025. w10.Name = "Part_Weld"
  1026. w10.Part0 = p10
  1027. w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702)
  1028. w10.Part1 = p11
  1029. w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292)
  1030. w11 = Instance.new("Weld", p11)
  1031. w11.Name = "Part_Weld"
  1032. w11.Part0 = p11
  1033. w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46200418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868)
  1034. w11.Part1 = p12
  1035. w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008)
  1036. w12 = Instance.new("Weld", p12)
  1037. w12.Name = "Part_Weld"
  1038. w12.Part0 = p12
  1039. w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008)
  1040. w12.Part1 = p13
  1041. w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008)
  1042. w13 = Instance.new("Weld", p13)
  1043. w13.Name = "Part_Weld"
  1044. w13.Part0 = p13
  1045. w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008)
  1046. w13.Part1 = p14
  1047. w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817)
  1048. w14 = Instance.new("Weld", p14)
  1049. w14.Name = "ArmPart_Weld"
  1050. w14.Part0 = p14
  1051. w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777)
  1052. w14.Part1 = p15
  1053. w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
  1054. w15 = Instance.new("Weld", p15)
  1055. w15.Name = "Part_Weld"
  1056. w15.Part0 = p15
  1057. w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008)
  1058. w15.Part1 = p16
  1059. w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
  1060. w16 = Instance.new("Weld", p16)
  1061. w16.Name = "Part_Weld"
  1062. w16.Part0 = p16
  1063. w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008)
  1064. w16.Part1 = p17
  1065. w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025)
  1066. w17 = Instance.new("Weld", p17)
  1067. w17.Name = "Part_Weld"
  1068. w17.Part0 = p17
  1069. w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783)
  1070. w17.Part1 = p18
  1071. w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435)
  1072. w18 = Instance.new("Weld", p18)
  1073. w18.Name = "Part_Weld"
  1074. w18.Part0 = p18
  1075. w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101)
  1076. w18.Part1 = p19
  1077. w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918)
  1078. w19 = Instance.new("Weld", p19)
  1079. w19.Name = "Part_Weld"
  1080. w19.Part0 = p19
  1081. w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855)
  1082. w19.Part1 = p20
  1083. w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
  1084. w20 = Instance.new("Weld", p20)
  1085. w20.Name = "Part_Weld"
  1086. w20.Part0 = p20
  1087. w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008)
  1088. w20.Part1 = p21
  1089. w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
  1090. w21 = Instance.new("Weld", p21)
  1091. w21.Name = "Wedge_Weld"
  1092. w21.Part0 = p21
  1093. w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008)
  1094. w21.Part1 = p22
  1095. w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008)
  1096. w22 = Instance.new("Weld", p22)
  1097. w22.Name = "Part_Weld"
  1098. w22.Part0 = p22
  1099. w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008)
  1100. w22.Part1 = p23
  1101. w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808)
  1102. w23 = Instance.new("Weld", p23)
  1103. w23.Name = "Wedge_Weld"
  1104. w23.Part0 = p23
  1105. w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682)
  1106. w23.Part1 = p24
  1107. w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801)
  1108. w24 = Instance.new("Weld", p24)
  1109. w24.Name = "Part_Weld"
  1110. w24.Part0 = p24
  1111. w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215)
  1112. w24.Part1 = p25
  1113. w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881)
  1114. w25 = Instance.new("Weld", p25)
  1115. w25.Name = "Part_Weld"
  1116. w25.Part0 = p25
  1117. w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466)
  1118. w25.Part1 = p26
  1119. w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501)
  1120. m.Parent = char
  1121. m:MakeJoints()
  1122.  
  1123. p1.Transparency=0
  1124. p2.Transparency=1
  1125. p3.Transparency=0
  1126. p4.Transparency=1
  1127. p5.Transparency=0
  1128. p6.Transparency=0
  1129. p7.Transparency=1
  1130. p8.Transparency=0
  1131. p9.Transparency=0
  1132. p10.Transparency=0
  1133. p11.Transparency=0
  1134. p12.Transparency=0
  1135. p13.Transparency=0
  1136. p14.Transparency=0
  1137. p15.Transparency=1
  1138. p16.Transparency=1
  1139. p17.Transparency=0
  1140. p18.Transparency=0
  1141. p19.Transparency=0
  1142. p20.Transparency=1
  1143. p21.Transparency=1
  1144. p22.Transparency=1
  1145. p23.Transparency=0
  1146. p24.Transparency=1
  1147. p25.Transparency=1 --0
  1148. p26.Transparency=1
  1149. ----------------------------------------------------
  1150. local cor2 = Instance.new("Part", char.Claw)
  1151. cor2.Name = "Thingy"
  1152. cor2.Locked = true
  1153. cor2.BottomSurface = 0
  1154. cor2.CanCollide = false
  1155. cor2.Size = Vector3.new(2, 1, 1)
  1156. cor2.Transparency = 1
  1157. cor2.TopSurface = 0
  1158. corw2 = Instance.new("Weld", cor2)
  1159. corw2.Part0 = larm
  1160. corw2.Part1 = cor2
  1161. corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90))
  1162. corw2.C1 = CFrame.new(0, 0, 0)
  1163. weld2 = Instance.new("Weld", char.Claw)
  1164. weld2.Part0 = cor2
  1165. weld2.Part1 = char.Claw.ArmPart
  1166. weld2.C0 = CFrame.new(0, 0, 0)
  1167. ----------------------------------------------------
  1168. function weld5(part0, part1, c0, c1)
  1169. weeld=Instance.new("Weld", part0)
  1170. weeld.Part0=part0
  1171. weeld.Part1=part1
  1172. weeld.C0=c0
  1173. weeld.C1=c1
  1174. return weeld
  1175. end
  1176. ----------------------------------------------------
  1177. function newRay(start,face,range,wat)
  1178. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1179. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1180. return rey,hit,pos
  1181. end
  1182. ----------------------------------------------------
  1183. mod5 = Instance.new("Model",char)
  1184.  
  1185. function FindNearestTorso(Position,Distance,SinglePlayer)
  1186. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1187. local List = {}
  1188. for i,v in pairs(workspace:GetChildren())do
  1189. if v:IsA("Model")then
  1190. if v:findFirstChild("Torso")then
  1191. if v ~= char then
  1192. if(v.Torso.Position -Position).magnitude <= Distance then
  1193. table.insert(List,v)
  1194. end
  1195. end
  1196. end
  1197. end
  1198. end
  1199. return List
  1200. end
  1201.  
  1202. function Landing()
  1203. part=Instance.new('Part',mod5)
  1204. part.Anchored=true
  1205. part.CanCollide=false
  1206. part.FormFactor='Custom'
  1207. part.Size=Vector3.new(.2,.2,.2)
  1208. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  1209. part.Transparency=.7
  1210. part.BrickColor=BrickColor.new('Institutional white')
  1211. mesh=Instance.new('SpecialMesh',part)
  1212. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1213. mesh.Scale=Vector3.new(10,5,10)
  1214.  
  1215. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  1216. if v:FindFirstChild('Humanoid') then
  1217. v.Humanoid:TakeDamage(math.random(20,30))
  1218. v.Humanoid.PlatformStand = true
  1219. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1220. end
  1221. end
  1222.  
  1223. coroutine.resume(coroutine.create(function()
  1224. for i=0,3.8,0.05 do
  1225. wait()
  1226. part.CFrame=part.CFrame
  1227. part.Transparency=i
  1228. mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  1229. end
  1230. part.Parent = nil
  1231. end))
  1232. end
  1233. ----------------------------------------------------
  1234. mod4 = Instance.new("Model",char)
  1235.  
  1236. ptez = {0.7, 0.8, 0.9, 1}
  1237.  
  1238. function FindNearestTorso(Position,Distance,SinglePlayer)
  1239. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1240. local List = {}
  1241. for i,v in pairs(workspace:GetChildren())do
  1242. if v:IsA("Model")then
  1243. if v:findFirstChild("Torso")then
  1244. if v ~= char then
  1245. if(v.Torso.Position -Position).magnitude <= Distance then
  1246. table.insert(List,v)
  1247. end
  1248. end
  1249. end
  1250. end
  1251. end
  1252. return List
  1253. end
  1254.  
  1255. function GroundPound()
  1256. part=Instance.new('Part',mod4)
  1257. part.Anchored=true
  1258. part.CanCollide=false
  1259. part.FormFactor='Custom'
  1260. part.Size=Vector3.new(.2,.2,.2)
  1261. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1262. part.Transparency=.7
  1263. part.BrickColor=BrickColor.new('Institutional white')
  1264. mesh=Instance.new('SpecialMesh',part)
  1265. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1266. mesh.Scale=Vector3.new(3,3,3)
  1267. part2=Instance.new('Part',mod4)
  1268. part2.Anchored=true
  1269. part2.CanCollide=false
  1270. part2.FormFactor='Custom'
  1271. part2.Size=Vector3.new(.2,.2,.2)
  1272. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  1273. part2.Transparency=.7
  1274. part2.BrickColor=BrickColor.new('Really red')
  1275. mesh2=Instance.new('SpecialMesh',part2)
  1276. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1277. mesh2.Scale=Vector3.new(3,1.5,3)
  1278. x = Instance.new("Sound",char)
  1279. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1280. x.Pitch = ptez[math.random(1,#ptez)]
  1281. x.Volume = 1
  1282. wait(.1)
  1283. x:Play()
  1284. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  1285. if v:FindFirstChild('Humanoid') then
  1286. v.Humanoid:TakeDamage(math.random(8,15))
  1287. end
  1288. end
  1289. coroutine.resume(coroutine.create(function()
  1290. for i=0,0.62,0.13 do
  1291. wait()
  1292. part.CFrame=part.CFrame
  1293. part.Transparency=i
  1294. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1295. part2.CFrame=part2.CFrame
  1296. part2.Transparency=i
  1297. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1298. end
  1299. part.Parent=nil
  1300. part2.Parent=nil
  1301. x:Destroy()
  1302. end))
  1303. end
  1304. ----------------------------------------------------
  1305. mod=Instance.new('Model',char)
  1306.  
  1307. function charge()
  1308. hed.Velocity=hed.CFrame.lookVector*200
  1309. part=Instance.new('Part',mod)
  1310. part.Anchored=true
  1311. part.CanCollide=false
  1312. part.FormFactor='Custom'
  1313. part.Size=Vector3.new(.2,.2,.2)
  1314. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  1315. part.Transparency=.7
  1316. part.BrickColor=BrickColor.new('New Yeller')
  1317. mesh=Instance.new('SpecialMesh',part)
  1318. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1319. mesh.Scale=Vector3.new(10,5,10)
  1320. part2=part:clone()
  1321. part2.Parent=mod
  1322. part2.BrickColor=BrickColor.new('Bright red')
  1323. mesh2=mesh:clone()
  1324. mesh2.Parent=part2
  1325. mesh2.Scale=Vector3.new(20,10,20)
  1326. part3=part2:clone()
  1327. part3.Parent = mod
  1328. part3.BrickColor=BrickColor.new('Institutional white')
  1329. mesh3=mesh2:clone()
  1330. mesh2.Parent=part3
  1331. mesh3.Scale=Vector3.new(30,15,30)
  1332. coroutine.resume(coroutine.create(function()
  1333. for i=0,1,0.1 do
  1334. wait()
  1335. part.CFrame=part.CFrame
  1336. part.Transparency=i
  1337. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  1338. part2.CFrame=part2.CFrame
  1339. part2.Transparency=i
  1340. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1341. part3.CFrame=part3.CFrame
  1342. part3.Transparency=i
  1343. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  1344. end
  1345. part.Parent=nil
  1346. part2.Parent=nil
  1347. part3.Parent = nil
  1348. end))
  1349. end
  1350. ----------------------------------------------------
  1351. function FindNearestTorso(Position,Distance,SinglePlayer)
  1352. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1353. local List = {}
  1354. for i,v in pairs(workspace:GetChildren())do
  1355. if v:IsA("Model")then
  1356. if v:findFirstChild("Torso")then
  1357. if v ~= char then
  1358. if(v.Torso.Position -Position).magnitude <= Distance then
  1359. table.insert(List,v)
  1360. end
  1361. end
  1362. end
  1363. end
  1364. end
  1365. return List
  1366. end
  1367.  
  1368. mod3 = Instance.new("Model",rleg)
  1369.  
  1370. function Stomp()
  1371. part=Instance.new('Part',mod3)
  1372. part.Anchored=true
  1373. part.CanCollide=false
  1374. part.FormFactor='Custom'
  1375. part.Size=Vector3.new(.2,.2,.2)
  1376. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  1377. part.Transparency=.7
  1378. part.BrickColor=BrickColor.new('Bright green')
  1379. mesh=Instance.new('SpecialMesh',part)
  1380. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1381. mesh.Scale=Vector3.new(25,25,25)
  1382. part2=part:clone()
  1383. part2.Parent=mod3
  1384. part2.BrickColor=BrickColor.new('Bright green')
  1385. mesh2=mesh:clone()
  1386. mesh2.Parent=part2
  1387. mesh2.Scale=Vector3.new(15,15,15)
  1388. part3=part:clone()
  1389. part3.Parent=mod3
  1390. part3.TopSurface=0
  1391. part3.BottomSurface=0
  1392. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  1393. mesh3=Instance.new('SpecialMesh',part3)
  1394. mesh3.MeshType = 3
  1395. mesh3.Scale=Vector3.new(12,12,12)
  1396. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1397. if v:FindFirstChild('Humanoid') then
  1398. v.Humanoid:TakeDamage(math.random(20,60))
  1399. v.Humanoid.PlatformStand = true
  1400. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1401. end
  1402. end
  1403. coroutine.resume(coroutine.create(function()
  1404. for i=0,3.8,0.05 do
  1405. wait()
  1406. part.CFrame=part.CFrame
  1407. part.Transparency=i
  1408. mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
  1409. part2.CFrame=part2.CFrame
  1410. part2.Transparency=i
  1411. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1412. part3.CFrame=part3.CFrame
  1413. part3.Transparency=i
  1414. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  1415. end
  1416. end))
  1417. end
  1418. ----------------------------------------------------
  1419.  
  1420. local acos = math.acos
  1421. local sqrt = math.sqrt
  1422. local Vec3 = Vector3.new
  1423. local fromAxisAngle = CFrame.fromAxisAngle
  1424.  
  1425. local function toAxisAngle(CFr)
  1426. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1427. local Angle = math.acos((R00+R11+R22-1)/2)
  1428. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1429. A = A == 0 and 0.00001 or A
  1430. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1431. B = B == 0 and 0.00001 or B
  1432. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1433. C = C == 0 and 0.00001 or C
  1434. local x = (R21-R12)/sqrt(A)
  1435. local y = (R02-R20)/sqrt(B)
  1436. local z = (R10-R01)/sqrt(C)
  1437. return Vec3(x,y,z),Angle
  1438. end
  1439.  
  1440. function ApplyTrig(Num,Func)
  1441. local Min,Max = Func(0),Func(1)
  1442. local i = Func(Num)
  1443. return (i-Min)/(Max-Min)
  1444. --[[if Func == "sin" then
  1445. return (math.sin((1-Num)*math.pi)+1)/2
  1446. elseif Func == "cos" then
  1447. return (math.cos((1-Num)*math.pi)+1)/2
  1448. end]]
  1449. end
  1450.  
  1451. function LerpCFrame(CFrame1,CFrame2,Num)
  1452. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1453. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1454. end
  1455.  
  1456. function Crater(Torso,Radius)
  1457. Spawn(function()
  1458. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1459. local Ignore = {}
  1460. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1461. if v.Character ~= nil then
  1462. Ignore[#Ignore+1] = v.Character
  1463. end
  1464. end
  1465. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1466. if Hit == nil then return end
  1467. local Parts = {}
  1468. for i = 1,360,10 do
  1469. local P = Instance.new("Part",Torso.Parent)
  1470. P.Anchored = true
  1471. P.FormFactor = "Custom"
  1472. P.BrickColor = Hit.BrickColor
  1473. P.Material = Hit.Material
  1474. P.TopSurface = "Smooth"
  1475. P.BottomSurface = "Smooth"
  1476. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1477. 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)))
  1478. 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}
  1479. if math.random(0,5) == 0 then -- rubble
  1480. local P = Instance.new("Part",Torso.Parent)
  1481. P.Anchored = true
  1482. P.FormFactor = "Custom"
  1483. P.BrickColor = Hit.BrickColor
  1484. P.Material = Hit.Material
  1485. P.TopSurface = "Smooth"
  1486. P.BottomSurface = "Smooth"
  1487. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1488. 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)))
  1489. 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}
  1490. end
  1491. end
  1492. for i = 0,1,0.05 do
  1493. for i2,v in pairs(Parts) do
  1494. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1495. end
  1496. wait(0.02)
  1497. end
  1498. for i,v in pairs(Parts) do
  1499. if v[1].Size.X > 2.1 then
  1500. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1501. end
  1502. v[1].Anchored = false
  1503. end
  1504. for i = 0,1,0.05 do
  1505. for i2,v in pairs(Parts) do
  1506. v[1].Transparency = i
  1507. if i == 1 then
  1508. v[1]:Destroy()
  1509. elseif i >= 0.25 then
  1510. v[1].CanCollide = false
  1511. end
  1512. end
  1513. wait(0.02)
  1514. end
  1515. Parts = nil
  1516. end)
  1517. end
  1518.  
  1519. ----------------------------------------------------
  1520. mouse.KeyDown:connect(function(key)
  1521. if key == "r" then
  1522. larm.BrickColor = BrickColor.new("Bright red")
  1523. rarm.BrickColor = BrickColor.new("Bright red")
  1524. if Debounces.CanAttack == true then
  1525. Debounces.CanAttack = false
  1526. Debounces.on = true
  1527. Debounces.NoIdl = true
  1528. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1529. hit = ht.Parent
  1530. if ht and hit:IsA("Model") then
  1531. if hit:FindFirstChild("Humanoid") then
  1532. if hit.Name ~= p.Name then
  1533. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1534. Debounces.Slashed = true]]--
  1535. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1536. wait(1)
  1537. --Debounces.Slashed = false
  1538. --end
  1539. end
  1540. end
  1541. elseif ht and hit:IsA("Hat") then
  1542. if hit.Parent.Name ~= p.Name then
  1543. if hit.Parent:FindFirstChild("Humanoid") then
  1544. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1545. Debounces.Slashed = true]]--
  1546. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1547. wait(1)
  1548. --Debounces.Slashed = false
  1549. end
  1550. end
  1551. end
  1552. end)
  1553. q = Instance.new("Sound",hed)
  1554. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1555. q.Pitch = 0.85
  1556. q.Looped = false
  1557. q1 = Instance.new("Sound",hed)
  1558. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1559. q1.Pitch = 0.85
  1560. q1.Looped = false
  1561. q:Play()
  1562. q1:Play()
  1563. for i = 1,20 do
  1564. 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)
  1565. 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)
  1566. 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)
  1567. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1568. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1569. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1570. 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)
  1571. if Debounces.on == false then break end
  1572. wait()
  1573. end
  1574. n = Instance.new("Sound",hed)
  1575. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1576. n.Pitch = 0.94
  1577. n.Looped = false
  1578. n1 = Instance.new("Sound",hed)
  1579. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1580. n1.Pitch = 0.94
  1581. n1.Looped = false
  1582. n:Play()
  1583. n1:Play()
  1584. b = Instance.new("Sound",hed)
  1585. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1586. b.Pitch = 0.94
  1587. b.Looped = false
  1588. b1 = Instance.new("Sound",hed)
  1589. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1590. b1.Pitch = 0.94
  1591. b1.Looped = false
  1592. b:Play()
  1593. b1:Play()
  1594. for i = 1,26 do
  1595. 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)
  1596. 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)
  1597. 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)
  1598. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  1599. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  1600. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  1601. 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)
  1602. if Debounces.on == false then break end
  1603. wait()
  1604. end
  1605. wait(.5)
  1606. to:disconnect()
  1607. q:Destroy()
  1608. q1:Destroy()
  1609. n:Destroy()
  1610. n1:Destroy()
  1611. larm.BrickColor = BrickColor.new("Institutional white")
  1612. rarm.BrickColor = BrickColor.new("Institutional white")
  1613. if Debounces.CanAttack == false then
  1614. Debounces.CanAttack = true
  1615. Debounces.on = false
  1616. Debounces.NoIdl = false
  1617. end
  1618. end
  1619. end
  1620. end)
  1621. ----------------------------------------------------
  1622. mouse.KeyDown:connect(function(key)
  1623. if key == "q" then
  1624. larm.BrickColor = BrickColor.new("Bright red")
  1625. rarm.BrickColor = BrickColor.new("Bright red")
  1626. if Debounces.CanAttack == true then
  1627. Debounces.CanAttack = false
  1628. Debounces.on = true
  1629. Debounces.NoIdl = true
  1630. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1631. hit = ht.Parent
  1632. if ht and hit:IsA("Model") then
  1633. if hit:FindFirstChild("Humanoid") then
  1634. if hit.Name ~= p.Name then
  1635. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1636. Debounces.Slashed = true]]--
  1637. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1638. wait(1)
  1639. --Debounces.Slashed = false
  1640. --end
  1641. end
  1642. end
  1643. elseif ht and hit:IsA("Hat") then
  1644. if hit.Parent.Name ~= p.Name then
  1645. if hit.Parent:FindFirstChild("Humanoid") then
  1646. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1647. Debounces.Slashed = true]]--
  1648. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1649. wait(1)
  1650. --Debounces.Slashed = false
  1651. end
  1652. end
  1653. end
  1654. end)
  1655. for i = 1, 20 do
  1656. 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)
  1657. 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)
  1658. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  1659. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  1660. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1661. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1662. 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)
  1663. if Debounces.on == false then break end
  1664. wait()
  1665. end
  1666. z = Instance.new("Sound",hed)
  1667. z.SoundId = "rbxassetid://160069154"
  1668. z.Looped = false
  1669. z.Pitch = .9
  1670. z1 = Instance.new("Sound",hed)
  1671. z1.SoundId = "rbxassetid://160069154"
  1672. z1.Looped = false
  1673. z1.Pitch = .9
  1674. wait(0.01)
  1675. z:Play()
  1676. z1:Play()
  1677. for i = 1, 12 do
  1678. 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)
  1679. 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)
  1680. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  1681. 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)
  1682. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  1683. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  1684. 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)
  1685. if Debounces.on == false then break end
  1686. wait()
  1687. end
  1688. for i = 1, 12 do
  1689. 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)
  1690. 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)
  1691. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  1692. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  1693. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1694. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1695. 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)
  1696. if Debounces.on == false then break end
  1697. wait()
  1698. end
  1699. z = Instance.new("Sound",hed)
  1700. z.SoundId = "rbxassetid://168586621"
  1701. z.Looped = false
  1702. z.Pitch = 1
  1703. z1 = Instance.new("Sound",hed)
  1704. z1.SoundId = "rbxassetid://168586621"
  1705. z1.Looped = false
  1706. z1.Pitch = 1
  1707. wait(0.01)
  1708. z:Play()
  1709. z1:Play()
  1710. for i = 1, 12 do
  1711. 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)
  1712. 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)
  1713. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  1714. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  1715. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  1716. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  1717. 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)
  1718. if Debounces.on == false then break end
  1719. wait()
  1720. end
  1721. to:disconnect()
  1722. larm.BrickColor = BrickColor.new("Institutional white")
  1723. rarm.BrickColor = BrickColor.new("Institutional white")
  1724. if Debounces.CanAttack == false then
  1725. Debounces.CanAttack = true
  1726. Debounces.on = false
  1727. Debounces.NoIdl = false
  1728. end
  1729. end
  1730. end
  1731. end)
  1732. ----------------------------------------------------
  1733. Sit = false
  1734. mouse.KeyDown:connect(function(key)
  1735. if key == "v" then
  1736. if Sit == false then
  1737. Sit = true
  1738. hum.WalkSpeed = 0.001
  1739. stanceToggle = "Sitting"
  1740. elseif Sit == true then
  1741. Sit = false
  1742. hum.WalkSpeed = 7
  1743. stanceToggle = "Normal"
  1744. end
  1745. end
  1746. end)
  1747. ----------------------------------------------------
  1748. mouse.KeyDown:connect(function(key)
  1749. if key == "t" then
  1750. if Debounces.CanAttack == true then
  1751. Debounces.CanAttack = false
  1752. Debounces.on = true
  1753. Debounces.NoIdl = true
  1754. for i = 1, 20 do
  1755. 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)
  1756. 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)
  1757. 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)
  1758. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1759. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  1760. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1761. 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)
  1762. if Debounces.on == false then break end
  1763. wait()
  1764. end
  1765. Spawn(function()
  1766. local Parts = {}
  1767. for Y = -5,5 do
  1768. local P = Instance.new("Part",char)
  1769. P.Anchored = true
  1770. P.FormFactor = "Custom"
  1771. P.CanCollide = false
  1772. P.Size = Vector3.new(1,2,1)
  1773. P.TopSurface = "SmoothNoOutlines"
  1774. P.BottomSurface = "SmoothNoOutlines"
  1775. P.BrickColor = BrickColor.new("Institutional white")
  1776. P.Name = tostring(Y)
  1777. local i = (Y+5)/(10)
  1778. i = 1-math.cos(math.pi*i-(math.pi/2))
  1779. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  1780. --[[P.Touched:connect(function(ht)
  1781. local hit = ht.Parent
  1782. if hit:FindFirstChild("Humanoid") then
  1783. hit.Humanoid:TakeDamage(math.random(20,50))
  1784. end
  1785. end)]]--
  1786. s = Instance.new("Sound",P)
  1787. s.SoundId = "rbxassetid://228343271"
  1788. s.Volume = .7
  1789. s.Pitch = 0.9
  1790. s:Play()
  1791. P.Touched:connect(function(ht)
  1792. hit = ht.Parent
  1793. if ht and hit:IsA("Model") then
  1794. if hit:FindFirstChild("Humanoid") then
  1795. if hit.Name ~= p.Name then
  1796. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1797. Debounces.Slashed = true]]--
  1798. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  1799. hit:FindFirstChild("Humanoid").PlatformStand = true
  1800. wait(1)
  1801. --Debounces.Slashed = false
  1802. --end
  1803. end
  1804. end
  1805. elseif ht and hit:IsA("Hat") then
  1806. if hit.Parent.Name ~= p.Name then
  1807. if hit.Parent:FindFirstChild("Humanoid") then
  1808. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1809. Debounces.Slashed = true]]--
  1810. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  1811. hit:FindFirstChild("Humanoid").PlatformStand = true
  1812. wait(1)
  1813. --Debounces.Slashed = false
  1814. --end
  1815. end
  1816. end
  1817. end
  1818. end)
  1819. Parts[#Parts+1] = P
  1820. end
  1821. local BREAKIT = false
  1822. local CParts = {}
  1823. local Rocks = {}
  1824. local LastPos = nil
  1825. for i = 1,70 do
  1826. for i2,v in pairs(Parts) do
  1827. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1828. local cf = v.CFrame
  1829. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  1830. v.CFrame = cf
  1831. v.Transparency = v.Transparency+0.02
  1832. if v.Transparency >= 0.975 then BREAKIT = true end
  1833. if v.Name == "0" then
  1834. local Ignore = {}
  1835. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1836. if v.Character ~= nil then
  1837. Ignore[#Ignore+1] = v.Character
  1838. end
  1839. end
  1840. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1841. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1842. if Hit ~= nil then
  1843. if #Rocks == 0 then
  1844. for i = 1,5 do
  1845. local P = Instance.new("Part",char)
  1846. Rocks[#Rocks+1] = P
  1847. P.Anchored = true
  1848. P.FormFactor = "Custom"
  1849. P.BrickColor = Hit.BrickColor
  1850. P.Material = Hit.Material
  1851. P.TopSurface = "Smooth"
  1852. P.BottomSurface = "Smooth"
  1853. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  1854. end
  1855. end
  1856. for i,P in pairs(Rocks) do
  1857. 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)))
  1858. end
  1859. local P = Instance.new("Part",char)
  1860. CParts[#CParts+1] = {P,tick()}
  1861. P.Anchored = true
  1862. P.FormFactor = "Custom"
  1863. P.BrickColor = Hit.BrickColor
  1864. P.Material = Hit.Material
  1865. P.TopSurface = "Smooth"
  1866. P.BottomSurface = "Smooth"
  1867. P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
  1868. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1869. Pos = Pos.p
  1870. 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)))
  1871. local P = P:Clone()
  1872. CParts[#CParts+1] = {P,tick()}
  1873. P.Parent = char
  1874. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1875. Pos = Pos.p
  1876. 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)))
  1877. if LastPos ~= nil then
  1878. local P = P:Clone()
  1879. CParts[#CParts+1] = {P,tick()}
  1880. P.Parent = char
  1881. P.BrickColor = BrickColor.new("Institutional white")
  1882. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1883. Pos = Pos.p
  1884. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1885. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1886. --P.Velocity = Vector3.new(0,-1000,0)
  1887. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1888. end
  1889. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1890. end
  1891. end
  1892. end
  1893. if BREAKIT then break end
  1894. wait(0.002)
  1895. end
  1896. for i,v in pairs(Rocks) do
  1897. CParts[#CParts+1] = {v,tick()}
  1898. end
  1899. for i,v in pairs(Parts) do
  1900. v:Destroy()
  1901. end
  1902. Parts = nil
  1903. while true do
  1904. local t = tick()
  1905. local p = nil
  1906. for i,v in pairs(CParts) do
  1907. if t-v[2] > 4 then
  1908. v[1].Transparency = v[1].Transparency+0.05
  1909. if v[1].Transparency >= 1 then
  1910. v[1]:Destroy()
  1911. CParts[i] = nil
  1912. end
  1913. end
  1914. p = v
  1915. end
  1916. if p == nil then break end
  1917. wait(0.002)
  1918. end
  1919. for i,v in pairs(CParts) do
  1920. v:Destroy()
  1921. end
  1922. CParts = {}
  1923. end)
  1924. for i = 1, 20 do
  1925. 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)
  1926. 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)
  1927. 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)
  1928. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  1929. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  1930. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  1931. 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)
  1932. if Debounces.on == false then break end
  1933. wait()
  1934. end
  1935. if Debounces.CanAttack == false then
  1936. Debounces.CanAttack = true
  1937. Debounces.on = false
  1938. Debounces.NoIdl = false
  1939. end
  1940. end
  1941. end
  1942. end)
  1943. ----------------------------------------------------
  1944. mouse.KeyDown:connect(function(key)
  1945. if key == "e" then
  1946. larm.BrickColor = BrickColor.new("Bright red")
  1947. rarm.BrickColor = BrickColor.new("Bright red")
  1948. if Debounces.CanAttack == true then
  1949. Debounces.CanAttack = false
  1950. Debounces.on = true
  1951. Debounces.NoIdl = true
  1952. for i = 1, 18 do
  1953. 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)
  1954. 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)
  1955. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1956. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1957. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1958. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1959. 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)
  1960. if Debounces.on == false then break end
  1961. wait()
  1962. end
  1963. 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))
  1964. local rng = Instance.new("Part", char.Absolution.Handle)
  1965. rng.Anchored = true
  1966. rng.BrickColor = BrickColor.new("Institutional white")
  1967. rng.CanCollide = true
  1968. rng.FormFactor = 3
  1969. rng.Name = "Ring"
  1970. rng.Size = Vector3.new(1, 1, 1)
  1971. rng.CanCollide = false
  1972. rng.Transparency = 0.35
  1973. rng.TopSurface = 0
  1974. rng.BottomSurface = 0
  1975. rng.CFrame = HandCF
  1976. local rngm = Instance.new("SpecialMesh", rng)
  1977. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1978. rngm.Scale = Vector3.new(1, 1, 2)
  1979. x = Instance.new("Sound", hed)
  1980. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1981. x.Looped = false
  1982. x.Pitch = .7
  1983. x.Volume = 1
  1984. x1 = Instance.new("Sound", hed)
  1985. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1986. x1.Looped = false
  1987. x1.Pitch = .7
  1988. x1.Volume = 1
  1989. x:Play()
  1990. x1:Play()
  1991. rngto = rng.Touched:connect(function(ht)
  1992. hit = ht.Parent
  1993. if ht and hit:IsA("Model") then
  1994. if hit:FindFirstChild("Humanoid") then
  1995. if hit.Name ~= p.Name then
  1996. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1997. Debounces.Slashed = true]]--
  1998. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1999. hit:FindFirstChild("Humanoid").PlatformStand = true
  2000. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2001. --Debounces.Slashed = false
  2002. --end
  2003. end
  2004. end
  2005. elseif ht and hit:IsA("Hat") then
  2006. if hit.Parent.Name ~= p.Name then
  2007. if hit.Parent:FindFirstChild("Humanoid") then
  2008. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  2009. Debounces.Slashed = true]]--
  2010. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  2011. hit:FindFirstChild("Humanoid").PlatformStand = true
  2012. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  2013. --Debounces.Slashed = false
  2014. end
  2015. end
  2016. end
  2017. end)
  2018. coroutine.wrap(function()
  2019. for i = 1, 60, 2 do
  2020. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2021. rng.Size = rngm.Scale
  2022. rng.CFrame = HandCF
  2023. rng.Transparency = i/60
  2024. wait()
  2025. end
  2026. wait()
  2027. rng:Destroy()
  2028. end)()
  2029. for i = 1, 18 do
  2030. 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)
  2031. 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)
  2032. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2033. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2034. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2035. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2036. 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)
  2037. if Debounces.on == false then break end
  2038. wait()
  2039. end
  2040. larm.BrickColor = BrickColor.new("Institutional white")
  2041. rarm.BrickColor = BrickColor.new("Institutional white")
  2042. x:Destroy()
  2043. x1:Destroy()
  2044. if Debounces.CanAttack == false then
  2045. Debounces.CanAttack = true
  2046. Debounces.on = false
  2047. Debounces.NoIdl = false
  2048. end
  2049. end
  2050. end
  2051. end)
  2052. ----------------------------------------------------
  2053. mouse.KeyDown:connect(function(key)
  2054. if key == "y" then
  2055. x = Instance.new("Sound",char)
  2056. x.SoundId = "rbxassetid://382366855"
  2057. x.Pitch = 1
  2058. x.Volume = 50
  2059. wait(.1)
  2060. x:Play()
  2061. wait(1)
  2062. if Debounces.CanAttack == true then
  2063. Debounces.CanAttack = false
  2064. Debounces.on = true
  2065. Debounces.NoIdl = true
  2066. for i = 1, 15 do
  2067. 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)
  2068. 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)
  2069. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2070. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  2071. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2072. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2073. 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)
  2074. if Debounces.on == false then break end
  2075. wait()
  2076. end
  2077. x = Instance.new("Sound",char)
  2078. x.SoundId = "rbxassetid://340722848"
  2079. x.Pitch = 1
  2080. x.Volume = 30
  2081. wait(.1)
  2082. x:Play()
  2083. Debounces.on = false
  2084. Debounces.Here = false
  2085. shot = shot + 1
  2086. local rng = Instance.new("Part", char)
  2087. rng.Anchored = true
  2088. rng.BrickColor = BrickColor.new("Institutional white")
  2089. rng.CanCollide = false
  2090. rng.FormFactor = 3
  2091. rng.Name = "Ring"
  2092. rng.Size = Vector3.new(1, 1, 1)
  2093. rng.Transparency = 0.35
  2094. rng.TopSurface = 0
  2095. rng.BottomSurface = 0
  2096. rng2 = rng:clone()
  2097. rng3 = rng2:clone()
  2098. rng4 = rng2:clone()
  2099. local rngm = Instance.new("SpecialMesh", rng)
  2100. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2101. rngm.Scale = Vector3.new(10, 10, 1)
  2102. rngm2 = rngm:clone()
  2103. rngm2.Scale = Vector3.new(5, 5, 1)
  2104. rngm3=rngm2:clone()
  2105. rngm3.Parent = rng3
  2106. rngm3.Scale = Vector3.new(8, 8, 1)
  2107. rngm4 = rngm2:clone()
  2108. rngm4.Parent = rng4
  2109. rngm4.Scale = Vector3.new(6, 6, 1)
  2110. local bem = Instance.new("Part", char)
  2111. bem.Anchored = true
  2112. bem.BrickColor = BrickColor.new("Institutional white")
  2113. bem.CanCollide = false
  2114. bem.FormFactor = 3
  2115. bem.Name = "Beam" .. shot
  2116. bem.Size = Vector3.new(1, 1, 1)
  2117. bem.Transparency = 0.35
  2118. bem.TopSurface = 0
  2119. bem.BottomSurface = 0
  2120. local bemm = Instance.new("SpecialMesh", bem)
  2121. bemm.MeshType = 4
  2122. bemm.Scale = Vector3.new(1, 4, 4)
  2123. local out = Instance.new("Part", char)
  2124. out.Anchored = true
  2125. out.BrickColor = BrickColor.new("Institutional white")
  2126. out.CanCollide = false
  2127. out.FormFactor = 3
  2128. out.Name = "Out"
  2129. out.Size = Vector3.new(4, 4, 4)
  2130. out.Transparency = 0.35
  2131. out.TopSurface = 0
  2132. out.BottomSurface = 0
  2133. local outm = Instance.new("SpecialMesh", out)
  2134. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2135. outm.Scale = Vector3.new(4, 4, 4)
  2136. local bnd = Instance.new("Part", char)
  2137. bnd.Anchored = true
  2138. bnd.BrickColor = BrickColor.new("Institutional white")
  2139. bnd.CanCollide = false
  2140. bnd.FormFactor = 3
  2141. bnd.Name = "Bend"
  2142. bnd.Size = Vector3.new(1, 1, 1)
  2143. bnd.Transparency = 1
  2144. bnd.TopSurface = 0
  2145. bnd.BottomSurface = 0
  2146. local bndm = Instance.new("SpecialMesh", bnd)
  2147. bndm.MeshType = 3
  2148. bndm.Scale = Vector3.new(8, 8, 8)
  2149. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2150. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2151. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2152. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2153. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2154. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  2155. Debounces.Shewt = true
  2156. coroutine.wrap(function()
  2157. for i = 1, 20, 0.2 do
  2158. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2159. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2160. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  2161. rng.Transparency = i/20
  2162. rng3.Transparency = 1/16
  2163. rng4.Transparency = i/12
  2164. wait()
  2165. end
  2166. wait()
  2167. rng:Destroy()
  2168. end)()
  2169. if Debounces.Shewt == true then
  2170. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2171. hit = ht.Parent
  2172. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2173. if HasntTouched(hit.Name) == true and deb == false then
  2174. deb = true
  2175. coroutine.wrap(function()
  2176. hit:FindFirstChild("Humanoid").PlatformStand = true
  2177. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2178. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2179. end)()
  2180. table.insert(Touche, hit.Name)
  2181. deb = false
  2182. end
  2183. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2184. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2185. deb = true
  2186. coroutine.wrap(function()
  2187. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2188. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2189. wait(1)
  2190. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2191. end)()
  2192. table.insert(Touche, hit.Parent.Name)
  2193. deb = false
  2194. for i, v in pairs(Touche) do
  2195. print(v)
  2196. end
  2197. end
  2198. end
  2199. end)
  2200. end
  2201. for i = 0, 260, 8 do
  2202. bem.Size = Vector3.new(i, 2, 2)
  2203. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2204. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2205. bnd.Size = Vector3.new(1,1,1)
  2206. bndm.Scale = Vector3.new(8,8,8)
  2207. if i % 10 == 0 then
  2208. local newRng = rng2:Clone()
  2209. newRng.Parent = char
  2210. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2211. local newRngm = rngm2:clone()
  2212. newRngm.Parent=newRng
  2213. coroutine.wrap(function()
  2214. for i = 1, 10, 0.2 do
  2215. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2216. newRng.Transparency = i/10
  2217. wait()
  2218. end
  2219. wait()
  2220. newRng:Destroy()
  2221. end)()
  2222. end
  2223. wait()
  2224. end
  2225. wait()
  2226. Debounces.Shewt = false
  2227. bem:Destroy()
  2228. out:Destroy()
  2229. bnd:Destroy()
  2230. Debounces.Ready = false
  2231. for i, v in pairs(Touche) do
  2232. table.remove(Touche, i)
  2233. end
  2234. wait()
  2235. table.insert(Touche, char.Name)
  2236. Debounces.NoIdl = false
  2237. if Debounces.CanAttack == false then
  2238. Debounces.CanAttack = true
  2239. end
  2240. end
  2241. end
  2242. end)
  2243. ----------------------------------------------------
  2244. sidz = {"231917888", "231917845", "231917806"}
  2245. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  2246. mouse.KeyDown:connect(function(key)
  2247. if key == "f" then
  2248. larm.BrickColor = BrickColor.new("Bright red")
  2249. rarm.BrickColor = BrickColor.new("Bright red")
  2250. if Debounces.CanAttack == true then
  2251. Debounces.CanAttack = false
  2252. Debounces.on = true
  2253. Debounces.NoIdl = true
  2254. for i = 1, 10 do
  2255. 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)
  2256. 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)
  2257. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2258. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2259. 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)
  2260. 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)
  2261. 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)
  2262. if Debounces.on == false then break end
  2263. wait()
  2264. end
  2265. z = Instance.new("Sound",char)
  2266. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  2267. z.Pitch = ptz[math.random(1,#ptz)]
  2268. z.Volume = 1
  2269. z1 = Instance.new("Sound",char)
  2270. z1.SoundId = z.SoundId
  2271. z1.Pitch = z.Pitch
  2272. z1.Volume = 1
  2273. wait(1)
  2274. z:Play()
  2275. z1:Play()
  2276. Stomp()
  2277. for i = 1, 20 do
  2278. 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)
  2279. 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)
  2280. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2281. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  2282. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2283. 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)
  2284. 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)
  2285. if Debounces.on == false then break end
  2286. wait()
  2287. end
  2288. if Debounces.CanAttack == false then
  2289. Debounces.CanAttack = true
  2290. Debounces.on = false
  2291. Debounces.NoIdl = false
  2292. larm.BrickColor = BrickColor.new("Institutional white")
  2293. rarm.BrickColor = BrickColor.new("Institutional white")
  2294. end
  2295. end
  2296. end
  2297. end)
  2298. ----------------------------------------------------
  2299. mouse.KeyDown:connect(function(key)
  2300. if key == "g" then
  2301. larm.BrickColor = BrickColor.new("Bright red")
  2302. rarm.BrickColor = BrickColor.new("Bright red")
  2303. if Debounces.CanAttack == true then
  2304. Debounces.CanAttack = false
  2305. Debounces.on = true
  2306. Debounces.NoIdl = true
  2307. chrg = lleg.Touched:connect(function(ht)
  2308. hit = ht.Parent
  2309. if ht and hit:IsA("Model") then
  2310. if hit:FindFirstChild("Humanoid") then
  2311. if hit.Name ~= p.Name then
  2312. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2313. Debounces.Slashed = true]]--
  2314. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2315. hit:FindFirstChild("Humanoid").PlatformStand = true
  2316. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2317. --Debounces.Slashed = false
  2318. --end
  2319. end
  2320. end
  2321. elseif ht and hit:IsA("Hat") then
  2322. if hit.Parent.Name ~= p.Name then
  2323. if hit.Parent:FindFirstChild("Humanoid") then
  2324. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  2325. Debounces.Slashed = true]]--
  2326. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2327. hit:FindFirstChild("Humanoid").PlatformStand = true
  2328. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2329. --Debounces.Slashed = false
  2330. end
  2331. end
  2332. end
  2333. end)
  2334. for i = 1, 14 do
  2335. 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)
  2336. 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)
  2337. 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)
  2338. 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)
  2339. 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)
  2340. 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)
  2341. 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)
  2342. if Debounces.on == false then break end
  2343. wait()
  2344. end
  2345. charge()
  2346. z = Instance.new("Sound",char)
  2347. z.SoundId = "rbxassetid://200632875"
  2348. z.Volume = 1
  2349. z.Pitch = .8
  2350. z1 = Instance.new("Sound",char)
  2351. z1.SoundId = "rbxassetid://200632875"
  2352. z1.Volume = 1
  2353. z1.Pitch = .9
  2354. z:Play()
  2355. z1:Play()
  2356. wait(1)
  2357. z:Destroy()
  2358. z1:Destroy()
  2359. chrg:disconnect()
  2360. if Debounces.CanAttack == false then
  2361. Debounces.CanAttack = true
  2362. Debounces.on = false
  2363. Debounces.NoIdl = false
  2364. larm.BrickColor = BrickColor.new("Institutional white")
  2365. rarm.BrickColor = BrickColor.new("Institutional white")
  2366. end
  2367. end
  2368. end
  2369. end)
  2370. ----------------------------------------------------
  2371. pt = {0.7, 0.8, 0.9}
  2372. mouse.KeyDown:connect(function(key)
  2373. if key == "h" then
  2374. if Debounces.CanJoke == true then
  2375. Debounces.CanJoke = false
  2376. u = Instance.new("Sound")
  2377. u.SoundId = "http://www.roblox.com/asset/?id=333446256"
  2378. u.Parent = char
  2379. u.Looped = false
  2380. u.Pitch = pt[math.random(1,#pt)]
  2381. u.Volume = 1
  2382. u2 = Instance.new("Sound")
  2383. u2.SoundId = "http://www.roblox.com/asset/?id=333446256"
  2384. u2.Parent = char
  2385. u2.Looped = false
  2386. u2.Pitch = u.Pitch
  2387. u2.Volume = 1
  2388. wait(.01)
  2389. u:Play()
  2390. u2:Play()
  2391. wait(6)
  2392. u:Destroy()
  2393. u2:Destroy()
  2394. if Debounces.CanJoke == false then
  2395. Debounces.CanJoke = true
  2396. end
  2397. end
  2398. end
  2399. end)
  2400. ----------------------------------------------------
  2401. mouse.KeyDown:connect(function(key)
  2402. if key == "l" then
  2403. if Debounces.CanJoke == true then
  2404. Debounces.CanJoke = false
  2405. z = Instance.new("Sound",char)
  2406. z.SoundId = "rbxassetid://233774928"
  2407. z.Pitch = .76
  2408. z.Volume = 1
  2409. wait()
  2410. z:Play()
  2411. wait(6)
  2412. z:Destroy()
  2413. if Debounces.CanJoke == false then
  2414. Debounces.CanJoke = true
  2415. end
  2416. end
  2417. end
  2418. end)
  2419. ----------------------------------------------------
  2420. mouse.KeyDown:connect(function(key)
  2421. if key == "j" then
  2422. if Debounces.CanJoke == true then
  2423. Debounces.CanJoke = false
  2424. z = Instance.new("Sound",char)
  2425. z.SoundId = "rbxassetid://135017456"
  2426. z.Pitch = .76
  2427. z.Volume = 1
  2428. wait()
  2429. z:Play()
  2430. wait(6)
  2431. z:Destroy()
  2432. if Debounces.CanJoke == false then
  2433. Debounces.CanJoke = true
  2434. end
  2435. end
  2436. end
  2437. end)
  2438. ----------------------------------------------------
  2439. mouse.KeyDown:connect(function(key)
  2440. if key == "n" then
  2441. if Debounces.CanJoke == true then
  2442. Debounces.CanJoke = false
  2443. z = Instance.new("Sound",char)
  2444. z.SoundId = "rbxassetid://130792236"
  2445. z.Pitch = .76
  2446. z.Volume = 1
  2447. wait()
  2448. z:Play()
  2449. wait(6)
  2450. z:Destroy()
  2451. if Debounces.CanJoke == false then
  2452. Debounces.CanJoke = true
  2453. end
  2454. end
  2455. end
  2456. end)
  2457. ----------------------------------------------------
  2458. mouse.KeyDown:connect(function(key)
  2459. if key == "k" then
  2460. if Debounces.CanJoke == true then
  2461. Debounces.CanJoke = false
  2462. z = Instance.new("Sound",char)
  2463. z.SoundId = "rbxassetid://135014184"
  2464. z.Pitch = .76
  2465. z.Volume = 1
  2466. wait()
  2467. z:Play()
  2468. wait(4)
  2469. z:Destroy()
  2470. if Debounces.CanJoke == false then
  2471. Debounces.CanJoke = true
  2472. end
  2473. end
  2474. end
  2475. end)
  2476. ----------------------------------------------------
  2477. mouse.KeyDown:connect(function(key)
  2478. if key == "x" then
  2479. if Debounces.CanAttack == true then
  2480. Debounces.CanAttack = false
  2481. Debounces.NoIdl = true
  2482. Debounces.on = true
  2483. Debounces.ks = true
  2484. for i = 1, 10 do
  2485. 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)
  2486. 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)
  2487. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2488. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  2489. 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)
  2490. 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)
  2491. 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)
  2492. if Debounces.on == false then break end
  2493. wait()
  2494. end
  2495. z = Instance.new("Sound",hed)
  2496. z.SoundId = "rbxassetid://169445092"
  2497. z.Volume = 1
  2498. wait(0.1)
  2499. z:Play()
  2500. kik = rleg.Touched:connect(function(ht)
  2501. hit = ht.Parent
  2502. if ht and hit:IsA("Model") then
  2503. if hit:FindFirstChild("Humanoid") then
  2504. if hit.Name ~= p.Name then
  2505. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2506. Debounces.Slashed = true]]--
  2507. if Debounces.ks==true then
  2508. z = Instance.new("Sound",hed)
  2509. z.SoundId = "rbxassetid://169380525"
  2510. z.Volume = 1
  2511. z:Play()
  2512. Debounces.ks=false
  2513. end
  2514. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2515. hit:FindFirstChild("Humanoid").PlatformStand = true
  2516. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2517. --Debounces.Slashed = false
  2518. --end
  2519. end
  2520. end
  2521. elseif ht and hit:IsA("Hat") then
  2522. if hit.Parent.Name ~= p.Name then
  2523. if hit.Parent:FindFirstChild("Humanoid") then
  2524. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2525. Debounces.Slashed = true]]--
  2526. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2527. hit:FindFirstChild("Humanoid").PlatformStand = true
  2528. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2529. --Debounces.Slashed = false
  2530. --end
  2531. end
  2532. end
  2533. end
  2534. end)
  2535. for i = 1, 8 do
  2536. 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)
  2537. 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)
  2538. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  2539. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  2540. 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)
  2541. 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)
  2542. 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)
  2543. if Debounces.on == false then break end
  2544. wait()
  2545. end
  2546. kik:disconnect()
  2547. if Debounces.CanAttack == false then
  2548. Debounces.CanAttack = true
  2549. Debounces.on = false
  2550. Debounces.NoIdl = false
  2551. end
  2552. end
  2553. end
  2554. end)
  2555. ----------------------------------------------------
  2556. mouse.KeyDown:connect(function(key)
  2557. if key == "u" then
  2558. if Debounces.CanAttack == true then
  2559. Debounces.CanAttack = false
  2560. Debounces.NoIdl = true
  2561. Debounces.on = true
  2562. function FindNearestTorso(Position,Distance,SinglePlayer)
  2563. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2564. local List = {}
  2565. for i,v in pairs(workspace:GetChildren())do
  2566. if v:IsA("Model")then
  2567. if v:findFirstChild("Torso")then
  2568. if v ~= char then
  2569. if(v.Torso.Position -Position).magnitude <= Distance then
  2570. table.insert(List,v)
  2571. end
  2572. end
  2573. end
  2574. end
  2575. end
  2576. return List
  2577. end
  2578. local X = Instance.new("Part",char)
  2579. local O = Instance.new("ObjectValue",X)
  2580. O.Name = "creator"
  2581. X.Locked = true
  2582. X.Name = "Shell"
  2583. X.Anchored = false
  2584. X.CanCollide = false
  2585. X.Transparency = 0
  2586. X.Reflectance = 0
  2587. X.BottomSurface = 0
  2588. X.TopSurface = 0
  2589. X.Shape = 0
  2590. local V = Instance.new("ObjectValue",X)
  2591. V.Value = char
  2592. V.Name = "creator"
  2593. X.BrickColor = BrickColor.new("Really red")
  2594. X.Size = Vector3.new(2,2,2)
  2595. X.Material = "Neon"
  2596. local Z = Instance.new("SpecialMesh",X)
  2597. Z.MeshType = "Sphere"
  2598. Z.Scale = Vector3.new(0.5,0.5,1)
  2599. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  2600. local bv = Instance.new("BodyVelocity",X)
  2601. bv.maxForce = Vector3.new(99999,99999,99999)
  2602. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  2603. bv.velocity = X.CFrame.lookVector*65
  2604.  
  2605. Explode = X.Touched:connect(function(hit)
  2606. if hit ~= char and hit.Name ~= "Shell" then
  2607. local cf = X.CFrame
  2608. bv:Destroy()
  2609. X.Anchored = true
  2610. Z:Remove()
  2611. Explode:disconnect()
  2612. X.Size = Vector3.new(3,3,3)
  2613. X.Touched:connect(function(hit) end)
  2614. X.CanCollide = false
  2615. local part3 = Instance.new("Part", rarm)
  2616. part3.Anchored=true
  2617. part3.CanCollide=false
  2618. part3.Locked = true
  2619. part3.TopSurface = "SmoothNoOutlines"
  2620. part3.BottomSurface = "SmoothNoOutlines"
  2621. part3.FormFactor='Custom'
  2622. part3.Size=Vector3.new(1,1, 1)
  2623. part3.CFrame=X.CFrame
  2624. part3.Transparency=0
  2625. part3.BrickColor=BrickColor.new("Really red")
  2626. local mesh3 = Instance.new("SpecialMesh",part3)
  2627. mesh3.MeshType = "Sphere"
  2628. mesh3.Scale = Vector3.new(1,1,1)
  2629. --debris:AddItem(X,8)
  2630. local part4 = Instance.new("Part", rarm)
  2631. part4.Material = "Neon"
  2632. part4.Anchored=true
  2633. part4.CanCollide=false
  2634. part4.Locked = true
  2635. part4.TopSurface = "SmoothNoOutlines"
  2636. part4.BottomSurface = "SmoothNoOutlines"
  2637. part4.FormFactor='Custom'
  2638. part4.Size=Vector3.new(1,1, 1)
  2639. part4.CFrame=X.CFrame
  2640. part4.Transparency=0
  2641. part4.BrickColor=BrickColor.new("Really red")
  2642. local mesh4 = Instance.new("SpecialMesh",part4)
  2643. mesh4.MeshType = "Sphere"
  2644. mesh4.Scale = Vector3.new(.5,.5,.5)
  2645. local part7 = Instance.new("Part", rarm)
  2646. part7.Material = "Neon"
  2647. part7.Anchored=true
  2648. part7.CanCollide=false
  2649. part7.Locked = true
  2650. part7.TopSurface = "SmoothNoOutlines"
  2651. part7.BottomSurface = "SmoothNoOutlines"
  2652. part7.FormFactor='Custom'
  2653. part7.Size=Vector3.new(1,1, 1)
  2654. part7.CFrame=X.CFrame
  2655. part7.Transparency=0
  2656. part7.BrickColor=BrickColor.new("Really red")
  2657. local mesh7 = Instance.new("SpecialMesh",part7)
  2658. mesh7.MeshType = "Sphere"
  2659. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  2660. --[[X.Touched:connect(function(ht)
  2661. hit = ht.Parent
  2662. if ht and hit:IsA("Model") then
  2663. if hit:FindFirstChild("Humanoid") then
  2664. if hit.Name ~= p.Name then
  2665. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2666. wait(.3)
  2667. end
  2668. end
  2669. elseif ht and hit:IsA("Hat") then
  2670. if hit.Parent.Name ~= p.Name then
  2671. if hit.Parent:FindFirstChild("Humanoid") then
  2672. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2673. wait(.3)
  2674. end
  2675. end
  2676. end
  2677. end)
  2678. part3.Touched:connect(function(ht)
  2679. hit = ht.Parent
  2680. if ht and hit:IsA("Model") then
  2681. if hit:FindFirstChild("Humanoid") then
  2682. if hit.Name ~= p.Name then
  2683. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2684. wait(.3)
  2685. end
  2686. end
  2687. elseif ht and hit:IsA("Hat") then
  2688. if hit.Parent.Name ~= p.Name then
  2689. if hit.Parent:FindFirstChild("Humanoid") then
  2690. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  2691. wait(.3)
  2692. end
  2693. end
  2694. end
  2695. end)]]--
  2696. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  2697. if v:FindFirstChild('Humanoid') then
  2698. v.Humanoid:TakeDamage(math.random(60,90))
  2699. v.Humanoid.PlatformStand = true
  2700. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2701. end
  2702. end
  2703.  
  2704. local acos = math.acos
  2705. local sqrt = math.sqrt
  2706. local Vec3 = Vector3.new
  2707. local fromAxisAngle = CFrame.fromAxisAngle
  2708.  
  2709. local function toAxisAngle(CFr)
  2710. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2711. local Angle = math.acos((R00+R11+R22-1)/2)
  2712. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2713. A = A == 0 and 0.00001 or A
  2714. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2715. B = B == 0 and 0.00001 or B
  2716. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2717. C = C == 0 and 0.00001 or C
  2718. local x = (R21-R12)/sqrt(A)
  2719. local y = (R02-R20)/sqrt(B)
  2720. local z = (R10-R01)/sqrt(C)
  2721. return Vec3(x,y,z),Angle
  2722. end
  2723.  
  2724. function ApplyTrig(Num,Func)
  2725. local Min,Max = Func(0),Func(1)
  2726. local i = Func(Num)
  2727. return (i-Min)/(Max-Min)
  2728. end
  2729.  
  2730. function LerpCFrame(CFrame1,CFrame2,Num)
  2731. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2732. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2733. end
  2734.  
  2735. function Crater(Torso,Radius)
  2736. Spawn(function()
  2737. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2738. local Ignore = {}
  2739. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2740. if v.Character ~= nil then
  2741. Ignore[#Ignore+1] = v.Character
  2742. end
  2743. end
  2744. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2745. if Hit == nil then return end
  2746. local Parts = {}
  2747. for i = 1,360,10 do
  2748. local P = Instance.new("Part",Torso.Parent)
  2749. P.Anchored = true
  2750. P.FormFactor = "Custom"
  2751. P.BrickColor = Hit.BrickColor
  2752. P.Material = Hit.Material
  2753. P.TopSurface = "Smooth"
  2754. P.BottomSurface = "Smooth"
  2755. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2756. 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)))
  2757. 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}
  2758. if math.random(0,5) == 0 then -- rubble
  2759. local P = Instance.new("Part",Torso.Parent)
  2760. P.Anchored = true
  2761. P.FormFactor = "Custom"
  2762. P.BrickColor = Hit.BrickColor
  2763. P.Material = Hit.Material
  2764. P.TopSurface = "Smooth"
  2765. P.BottomSurface = "Smooth"
  2766. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2767. 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)))
  2768. 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}
  2769. end
  2770. end
  2771. for i = 0,1,0.05 do
  2772. for i2,v in pairs(Parts) do
  2773. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2774. end
  2775. wait(0.02)
  2776. end
  2777. for i,v in pairs(Parts) do
  2778. if v[1].Size.X > 2.1 then
  2779. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2780. end
  2781. v[1].Anchored = false
  2782. end
  2783. for i = 0,1,0.05 do
  2784. for i2,v in pairs(Parts) do
  2785. v[1].Transparency = i
  2786. if i == 1 then
  2787. v[1]:Destroy()
  2788. elseif i >= 0.25 then
  2789. v[1].CanCollide = false
  2790. end
  2791. end
  2792. wait(0.02)
  2793. end
  2794. Parts = nil
  2795. end)
  2796. end
  2797.  
  2798. ROW = function(out, trans, s, wt, t, ang, plus)
  2799. for i = 1, 360, 360/t do
  2800. local c = Instance.new("Part", game.Workspace)
  2801. c.FormFactor = 3
  2802. c.TopSurface = 0
  2803. c.BottomSurface = 0
  2804. c.Size = s
  2805. c.Anchored = true
  2806. c.CanCollide = wt
  2807. c.Material=workspace.Base.Material
  2808. c.Transparency = trans
  2809. c.BrickColor = workspace.Base.BrickColor
  2810. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  2811. c.Locked=true
  2812. game.Debris:AddItem(c,15)
  2813. end
  2814. end
  2815.  
  2816. Part = function(x,y,z,color,tr,cc,an,parent)
  2817. local p = Instance.new('Part',parent or Weapon)
  2818. p.formFactor = 'Custom'
  2819. p.Size = Vector3.new(x,y,z)
  2820. p.BrickColor = BrickColor.new(color)
  2821. p.CanCollide = cc
  2822. p.Transparency = tr
  2823. p.Anchored = an
  2824. p.TopSurface,p.BottomSurface = 0,0
  2825. p.Locked=true
  2826. p:BreakJoints()
  2827. return p end
  2828.  
  2829. Mesh = function(par,num,x,y,z)
  2830. local msh = _
  2831. if num == 1 then msh = Instance.new("CylinderMesh",par)
  2832. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  2833. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  2834. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  2835. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  2836. end msh.Scale = Vector3.new(x,y,z)
  2837. return msh end
  2838.  
  2839. function explosion(col1,col2,cfr,sz,rng,dmg)
  2840. local a= Part(1,1,1,col1,.5,false,true,workspace)
  2841. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  2842. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  2843. v1,v2,v3=sz.x,sz.y,sz.z
  2844. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  2845. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  2846. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  2847. a.CFrame=cfr
  2848. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2849. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  2850.  
  2851. Spawn(function()
  2852. while wait() do
  2853. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  2854. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  2855. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  2856. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  2857. a.Transparency=a.Transparency+0.05
  2858. a2.Transparency=a2.Transparency+0.05
  2859. a3.Transparency=a3.Transparency+0.05
  2860. end
  2861. end)
  2862. end
  2863.  
  2864. Crater(X,20)
  2865. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  2866. z = Instance.new("Sound",X)
  2867. z.SoundId = "rbxassetid://231917744"
  2868. z.Pitch = .5
  2869. z.Volume = 10
  2870. z1 = Instance.new("Sound",X)
  2871. z1.SoundId = "rbxassetid://231917744"
  2872. z1.Pitch = .5
  2873. z1.Volume = 10
  2874. z2 = Instance.new("Sound",X)
  2875. z2.SoundId = "rbxassetid://231917744"
  2876. z2.Pitch = .5
  2877. z2.Volume = 10
  2878. z3 = Instance.new("Sound",X)
  2879. z3.SoundId = "rbxassetid://245537790"
  2880. z3.Pitch = .7
  2881. z3.Volume = 1
  2882. z4 = Instance.new("Sound",X)
  2883. z4.SoundId = "rbxassetid://245537790"
  2884. z4.Pitch = .7
  2885. z4.Volume = 1
  2886. wait(0.1)
  2887. z:Play()
  2888. z1:Play()
  2889. z2:Play()
  2890. z3:Play()
  2891. z4:Play()
  2892.  
  2893. local part=Instance.new('Part',rarm)
  2894. part.Anchored=true
  2895. part.CanCollide=false
  2896. part.Locked = true
  2897. part.FormFactor='Custom'
  2898. part.Size=Vector3.new(1,1,1)
  2899. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  2900. part.Transparency=0
  2901. part.BrickColor=BrickColor.new('Really red')
  2902. local mesh=Instance.new('SpecialMesh',part)
  2903. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2904. mesh.Scale=Vector3.new(2,2,2)
  2905. local part2=part:clone()
  2906. part2.Parent = rarm
  2907. part2.BrickColor=BrickColor.new("Really red")
  2908. local part5=part:clone()
  2909. part5.Parent = rarm
  2910. part5.BrickColor=BrickColor.new("Really red")
  2911. local part6=part:clone()
  2912. part6.Parent = rarm
  2913. part6.BrickColor=BrickColor.new("Really red")
  2914. local mesh2=mesh:clone()
  2915. mesh2.Parent=part2
  2916. mesh2.Scale=Vector3.new(3, 3, 3)
  2917. local mesh5=mesh:clone()
  2918. mesh5.Parent=part5
  2919. mesh5.Scale=Vector3.new(3, 3, 3)
  2920. local mesh6=mesh:clone()
  2921. mesh6.Parent=part6
  2922. mesh6.Scale=Vector3.new(3, 3, 3)
  2923. local blast = Instance.new("Part", rarm)
  2924. blast.BrickColor = BrickColor.new("Really red")
  2925. blast.Anchored = true
  2926. blast.CanCollide = false
  2927. blast.Locked = true
  2928. blast.Size = Vector3.new(1, 1, 1)
  2929. blast.TopSurface = "Smooth"
  2930. blast.BottomSurface = "Smooth"
  2931. blast.Transparency = 0
  2932. blast.CFrame = HandCF
  2933. local bm = Instance.new("SpecialMesh", blast)
  2934. bm.Scale = Vector3.new(5,1,5)
  2935. bm.MeshId = "rbxassetid://3270017"
  2936. local blast2 = Instance.new("Part", rarm)
  2937. blast2.BrickColor = BrickColor.new("Really red")
  2938. blast2.Anchored = true
  2939. blast2.CanCollide = false
  2940. blast2.Locked = true
  2941. blast2.Size = Vector3.new(1, 1, 1)
  2942. blast2.TopSurface = "Smooth"
  2943. blast2.BottomSurface = "Smooth"
  2944. blast2.Transparency = 0
  2945. blast2.CFrame = HandCF
  2946. local bm2 = Instance.new("SpecialMesh", blast2)
  2947. bm2.Scale = Vector3.new(3,1,3)
  2948. bm2.MeshId = "rbxassetid://3270017"
  2949. local blast3 = Instance.new("Part", rarm)
  2950. blast3.BrickColor = BrickColor.new("Really red")
  2951. blast3.Anchored = true
  2952. blast3.CanCollide = false
  2953. blast3.Locked = true
  2954. blast3.Size = Vector3.new(1, 1, 1)
  2955. blast3.TopSurface = "Smooth"
  2956. blast3.BottomSurface = "Smooth"
  2957. blast3.Transparency = 0
  2958. blast3.CFrame = HandCF
  2959. local bm3 = Instance.new("SpecialMesh", blast3)
  2960. bm3.Scale = Vector3.new(3,1,3)
  2961. bm3.MeshId = "rbxassetid://3270017"
  2962. for i = 1,120 do rs:wait()
  2963. X.Transparency = X.Transparency + (1/120)
  2964. part.Transparency = part.Transparency + (1/120)
  2965. part2.Transparency = part2.Transparency + (1/120)
  2966. part3.Transparency = part3.Transparency + (1/120)
  2967. part4.Transparency = part4.Transparency + (1/120)
  2968. part5.Transparency = part5.Transparency + (1/120)
  2969. part6.Transparency = part6.Transparency + (1/120)
  2970. part7.Transparency = part7.Transparency + (1/120)
  2971. blast.Transparency = blast.Transparency + (1/120)
  2972. blast2.Transparency = blast2.Transparency + (1/120)
  2973. blast3.Transparency = blast3.Transparency + (1/120)
  2974. X.Size = X.Size + Vector3.new(.8,.8,.8)
  2975. --part3.Size = part3.Size + Vector3.new(3,3,3)
  2976. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  2977. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  2978. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  2979. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  2980. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  2981. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  2982. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  2983. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  2984. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  2985. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  2986. X.CFrame = cf
  2987. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  2988. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  2989. part3.CFrame=X.CFrame
  2990. part4.CFrame=X.CFrame
  2991. part7.CFrame=X.CFrame
  2992. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  2993. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  2994. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2995. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  2996. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  2997. rs:wait()
  2998. end
  2999. X:Destroy()
  3000. part:Destroy()
  3001. part2:Destroy()
  3002. part3:Destroy()
  3003. part4:Destroy()
  3004. part5:Destroy()
  3005. part6:Destroy()
  3006. blast:Destroy()
  3007. blast2:Destroy()
  3008. blast3:Destroy()
  3009. z:Destroy()
  3010. z1:Destroy()
  3011. z2:Destroy()
  3012. z3:Destroy()
  3013. z4:Destroy()
  3014. end
  3015. end)
  3016. for i = 1, 20 do
  3017. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  3018. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  3019. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  3020. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  3021. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  3022. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  3023. if Debounces.on == false then break end
  3024. rs:wait()
  3025. end
  3026. if Debounces.CanAttack == false then
  3027. Debounces.CanAttack = true
  3028. Debounces.NoIdl = false
  3029. Debounces.on = false
  3030. end
  3031. end
  3032. end
  3033. end)
  3034. ----------------------------------------------------
  3035. mouse.KeyDown:connect(function(key)
  3036. if key == "c" then
  3037. if Debounces.CanAttack == true then
  3038. Debounces.CanAttack = false
  3039. Debounces.NoIdl = true
  3040. Debounces.on = true
  3041. SIDZ = {"231917744", "231917742"}
  3042. PTZ = {0.7, 0.8, 0.9, 1}
  3043. for i = 1, 20 do
  3044. wait()
  3045. for i,v in pairs(char.Absolution:children()) do
  3046. if v:IsA("Part") or v:IsA("WedgePart") then
  3047. v.Transparency = v.Transparency + 0.05
  3048. end
  3049. end
  3050. end
  3051. function FindNearestTorso(Position,Distance,SinglePlayer)
  3052. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  3053. local List = {}
  3054. for i,v in pairs(workspace:GetChildren())do
  3055. if v:IsA("Model")then
  3056. if v:findFirstChild("Torso")then
  3057. if v ~= char then
  3058. if(v.Torso.Position -Position).magnitude <= Distance then
  3059. table.insert(List,v)
  3060. end
  3061. end
  3062. end
  3063. end
  3064. end
  3065. return List
  3066. end
  3067. GroundPound()
  3068. for i = 1, 5 do
  3069. 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)
  3070. 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)
  3071. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3073. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3074. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3075. 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)
  3076. if Debounces.on == false then break end
  3077. wait()
  3078. end
  3079. GroundPound()
  3080. for i = 1, 5 do
  3081. 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)
  3082. 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)
  3083. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3084. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3085. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3086. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3087. 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)
  3088. if Debounces.on == false then break end
  3089. wait()
  3090. end
  3091. GroundPound()
  3092. for i = 1, 5 do
  3093. 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)
  3094. 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)
  3095. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3096. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3097. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3098. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3099. 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)
  3100. if Debounces.on == false then break end
  3101. wait()
  3102. end
  3103. GroundPound()
  3104. for i = 1, 5 do
  3105. 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)
  3106. 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)
  3107. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3108. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3109. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3110. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3111. 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)
  3112. if Debounces.on == false then break end
  3113. wait()
  3114. end
  3115. GroundPound()
  3116. for i = 1, 5 do
  3117. 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)
  3118. 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)
  3119. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  3120. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  3121. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  3122. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3123. 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)
  3124. if Debounces.on == false then break end
  3125. wait()
  3126. end
  3127. GroundPound()
  3128. for i = 1, 5 do
  3129. 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)
  3130. 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)
  3131. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  3132. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  3133. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  3134. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  3135. 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)
  3136. if Debounces.on == false then break end
  3137. wait()
  3138. end
  3139. for i = 1, 18 do
  3140. 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)
  3141. 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)
  3142. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  3143. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  3144. 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)
  3145. 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)
  3146. 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)
  3147. if Debounces.on == false then break end
  3148. wait()
  3149. end
  3150. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  3151. if v:FindFirstChild('Humanoid') then
  3152. v.Humanoid:TakeDamage(math.random(20,60))
  3153. v.Humanoid.PlatformStand = true
  3154. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  3155. end
  3156. end
  3157. x = Instance.new("Sound",char)
  3158. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  3159. x.Pitch = PTZ[math.random(1,#PTZ)]
  3160. x.Volume = 1
  3161. wait(0.1)
  3162. x:Play()
  3163. Crater(hed,20)
  3164. for i = 1, 14 do
  3165. 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)
  3166. 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)
  3167. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  3168. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  3169. 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)
  3170. 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)
  3171. 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)
  3172. if Debounces.on == false then break end
  3173. wait()
  3174. end
  3175. if Debounces.CanAttack == false then
  3176. Debounces.CanAttack = true
  3177. Debounces.on = false
  3178. Debounces.NoIdl = false
  3179. for i = 1, 20 do
  3180. wait()
  3181. for i,v in pairs(char.Absolution:children()) do
  3182. if v:IsA("Part") or v:IsA("WedgePart") then
  3183. v.Transparency = v.Transparency - 0.05
  3184. end
  3185. end
  3186. end
  3187. end
  3188. end
  3189. end
  3190. end)
  3191. ----------------------------------------------------176349813
  3192. mouse.KeyDown:connect(function(key)
  3193. if key == "b" then
  3194. hum.WalkSpeed = 0.01
  3195. if Debounces.CanAttack == true then
  3196. Debounces.CanAttack = false
  3197. Debounces.NoIdl = true
  3198. Debounces.on = true
  3199. for i = 1,20 do
  3200. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  3201. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  3202. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  3203. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  3204. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  3205. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  3206. 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)
  3207. if Debounces.on == false then break end
  3208. wait()
  3209. end
  3210. wait(1)
  3211. v = Instance.new("Sound")
  3212. v.SoundId = "rbxassetid://181384451"
  3213. v.Parent = char
  3214. v.Looped = false
  3215. v.Pitch = 1.04
  3216. v.Volume = 1
  3217. wait(.01)
  3218. v:Play()
  3219.  
  3220. if Daytime == true then
  3221. Daytime = false
  3222. l.TimeOfDay = 24
  3223. else
  3224. Daytime = true
  3225. l.TimeOfDay = 12
  3226. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  3227. end
  3228.  
  3229. local Shockwave = function()
  3230. local rng1 = Instance.new("Part", char)
  3231. rng1.Anchored = true
  3232. rng1.BrickColor = BrickColor.new("Institutional white")
  3233. rng1.CanCollide = false
  3234. rng1.FormFactor = 3
  3235. rng1.Name = "Ring"
  3236. rng1.Size = Vector3.new(1, 1, 1)
  3237. rng1.Transparency = 0.35
  3238. rng1.TopSurface = 0
  3239. rng1.BottomSurface = 0
  3240. local rngm1 = Instance.new("SpecialMesh", rng)
  3241. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3242. rngm1.Scale = Vector3.new(10, 10, 1)
  3243. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  3244. local Wave = Instance.new("Part", game.Workspace--[[?]])
  3245. Wave.Name = "Shockwave"
  3246. Wave.BrickColor = BrickColor.new("Institutional white")
  3247. Wave.Size = Vector3.new(1, 1, 1)
  3248. Wave.Shape = "Ball"
  3249. Wave.CanCollide = false
  3250. Wave.Anchored = true
  3251. Wave.TopSurface = 0
  3252. Wave.BottomSurface = 0
  3253. Wave.Touched:connect(function(hit)
  3254. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  3255. local Occlude = true
  3256. local NotOccludes = {
  3257. char.Name;
  3258. "Wings";
  3259. "Scythe";
  3260. "Thingy";
  3261. "Thingy2"; -- put all of the names in a table pls
  3262. }
  3263. for i,v in pairs(NotOccludes) do
  3264. if hit.Parent.Name == v then
  3265. Occlude = false
  3266. end
  3267. end
  3268. --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
  3269. if Occlude then
  3270. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  3271. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  3272. end
  3273. end
  3274. end)
  3275.  
  3276. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  3277.  
  3278. coroutine.wrap(function()
  3279. for i = 1, 20, 0.2 do
  3280. rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  3281. rng1.Transparency = i/20
  3282. wait()
  3283. end
  3284. wait()
  3285. rng1:Destroy()
  3286. end)()
  3287.  
  3288. Delay(0, function()
  3289.  
  3290. if Daytime == false then
  3291. for i = 1, 50, 1 do
  3292. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  3293. Wave.CFrame = char.Torso.CFrame
  3294. local t = i / 50
  3295. Wave.Transparency = t
  3296. wait()
  3297. end
  3298. else
  3299. for i = 1, 50, 1 do
  3300. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  3301. Wave.CFrame = char.Torso.CFrame
  3302. local t = i / 50
  3303. Wave.Transparency = t
  3304. wait()
  3305. end
  3306. end
  3307. Wave:Destroy()
  3308. end)
  3309. Delay(0, function()
  3310. while wait() do
  3311. if Wave ~= nil then
  3312. Wave.CFrame = char.Torso.CFrame
  3313. else
  3314. break
  3315. end
  3316. end
  3317. end)
  3318. end
  3319. Shockwave()
  3320. for i = 1, 15 do
  3321. 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)
  3322. 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)
  3323. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3324. 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)
  3325. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3326. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3327. if Debounces.on == false then break end
  3328. wait()
  3329. end
  3330. for i = 1, 15 do
  3331. 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)
  3332. 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)
  3333. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3334. 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)
  3335. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3336. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3337. if Debounces.on == false then break end
  3338. wait()
  3339. end
  3340. for i = 1, 15 do
  3341. 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)
  3342. 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)
  3343. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3344. 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)
  3345. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3346. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3347. if Debounces.on == false then break end
  3348. wait()
  3349. end
  3350. for i = 1, 15 do
  3351. 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)
  3352. 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)
  3353. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3354. 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)
  3355. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3356. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3357. if Debounces.on == false then break end
  3358. wait()
  3359. end
  3360. for i = 1, 15 do
  3361. 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)
  3362. 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)
  3363. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  3364. 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)
  3365. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  3366. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3367. if Debounces.on == false then break end
  3368. wait()
  3369. end
  3370. for i = 1, 15 do
  3371. 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)
  3372. 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)
  3373. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  3374. 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)
  3375. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  3376. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  3377. if Debounces.on == false then break end
  3378. wait()
  3379. end
  3380. wait(1.4)
  3381. Debounces.NoIdl = false
  3382. hum.WalkSpeed = 5
  3383. Debounces.on = false
  3384. wait()
  3385. if Debounces.CanAttack == false then
  3386. Debounces.CanAttack = true
  3387. v:Destroy()
  3388. end
  3389. end
  3390. end
  3391. end)
  3392. ----------------------------------------------------
  3393. mouse.KeyDown:connect(function(key)
  3394. if key == "m" then
  3395. hum.WalkSpeed = 0
  3396. if Debounces.CanAttack == true then
  3397. Debounces.CanAttack = false
  3398. Debounces.on = true
  3399. Debounces.NoIdl = true
  3400. --[[x = Instance.new("Sound",char)
  3401. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  3402. x.Looped = false
  3403. x.Pitch = 1.1
  3404. x.Volume = 1
  3405. x:Play()
  3406. x2 = Instance.new("Sound",char)
  3407. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  3408. x2.Looped = false
  3409. x2.Pitch = .7
  3410. x2.Volume = 1
  3411. wait(.1)
  3412. x:Play()
  3413. x2:Play()
  3414. for i = 1, 20 do
  3415. 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)
  3416. 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)
  3417. 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)
  3418. 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)
  3419. 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)
  3420. 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)
  3421. 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)
  3422. if Debounces.on == false then break end
  3423. wait()
  3424. x:Destroy()
  3425. x2:Destroy()
  3426. end
  3427. wait(1)]]--
  3428. local rng = Instance.new("Part", char)
  3429. rng.Anchored = true
  3430. rng.BrickColor = BrickColor.new("Institutional white")
  3431. rng.CanCollide = false
  3432. rng.FormFactor = 3
  3433. rng.Name = "Ring"
  3434. rng.Size = Vector3.new(1, 1, 1)
  3435. rng.Transparency = 0.35
  3436. rng.TopSurface = 0
  3437. rng.BottomSurface = 0
  3438. rng.Position = torso.Position - Vector3.new(0,2,0)
  3439. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3440. local rngm = Instance.new("SpecialMesh", rng)
  3441. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3442. rngm.Scale = Vector3.new(1, 1, 2)
  3443. x = Instance.new("Sound",char)
  3444. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  3445. x.Looped = false
  3446. x.Pitch = .7
  3447. x.Volume = 1
  3448. x:Play()
  3449. coroutine.wrap(function()
  3450. for i = 1, 60, 2 do
  3451. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  3452. rng.Transparency = i/60
  3453. wait()
  3454. end
  3455. wait()
  3456. rng:Destroy()
  3457. end)()
  3458. hum.WalkSpeed = 50
  3459. BV = Instance.new("BodyVelocity", torso)
  3460. BV.maxForce = Vector3.new(0,200000,0)
  3461. BV.P = 100000
  3462. BV.velocity = Vector3.new(0,800,0)
  3463. for i = 1, 20 do
  3464. 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)
  3465. 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)
  3466. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  3467. 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)
  3468. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  3469. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  3470. 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)
  3471. if Debounces.on == false then break end
  3472. wait()
  3473. end
  3474. x:Destroy()
  3475. BV:Destroy()
  3476. --[[for i = 1, 30 do
  3477. 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)
  3478. 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)
  3479. 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)
  3480. 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)
  3481. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  3482. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  3483. if Debounces.on == false then break end
  3484. wait()
  3485. end]]--
  3486. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  3487. for i = 1, 30 do
  3488. 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)
  3489. 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)
  3490. 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)
  3491. 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)
  3492. 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)
  3493. 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)
  3494. 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)
  3495. if Debounces.on == false then break end
  3496. wait()
  3497. end
  3498. end
  3499. Debounces.on = false
  3500. Debounces.NoIdl = false
  3501. local ry,ht,ps=nil,nil,nil
  3502. while ht==nil do
  3503. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  3504. wait()
  3505. end
  3506. z = Instance.new("Sound",char)
  3507. z.SoundId = "rbxassetid://142070127"
  3508. z.Volume = 1
  3509. wait(.1)
  3510. z:Play()
  3511. Landing()
  3512. hum.WalkSpeed = 8
  3513. if Debounces.CanAttack == false then
  3514. Debounces.CanAttack = true
  3515. end
  3516. end
  3517. end
  3518. end)
  3519. ----------------------------------------------------
  3520. Grab = false
  3521. mouse.KeyDown:connect(function(key)
  3522. if key == "z" then
  3523. larm.BrickColor = BrickColor.new("Bright red")
  3524. rarm.BrickColor = BrickColor.new("Bright red")
  3525. Debounces.on = true
  3526. Debounces.NoIdl = true
  3527. if Grab == false then
  3528. gp = nil
  3529. con1=larm.Touched:connect(function(hit) -- this is grab
  3530. ht = hit.Parent
  3531. hum1=ht:FindFirstChild('Humanoid')
  3532. if hum1 ~= nil then
  3533. hum1.PlatformStand=true
  3534. gp = ht
  3535. Grab = true
  3536. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  3537. asd.Parent = larm
  3538. asd.Name = "asd"
  3539. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  3540. elseif hum1 == nil then
  3541. con1:disconnect()
  3542. wait() return
  3543. end
  3544. end)
  3545. for i = 1, 18 do
  3546. 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)
  3547. 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)
  3548. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3549. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  3550. 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)
  3551. 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)
  3552. 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)
  3553. if Debounces.on == false then break end
  3554. wait()
  3555. end
  3556. con1:disconnect()
  3557. Debounces.on = false
  3558. Debounces.NoIdl = false
  3559. elseif Grab == true then
  3560. Grab = false
  3561. for i = 1, 20 do
  3562. 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)
  3563. 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)
  3564. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3565. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3566. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3567. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3568. 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)
  3569. if Debounces.on == false then end
  3570. wait()
  3571. end
  3572. if gp ~= nil then
  3573. for i,v in pairs(larm:GetChildren()) do
  3574. if v.Name == "asd" and v:IsA("Weld") then
  3575. v:Remove()
  3576. end
  3577. end
  3578. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3579. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3580. bv.P = 125000
  3581. bv.velocity = char.Head.CFrame.lookVector * 200
  3582. for i = 1, 12 do
  3583. 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)
  3584. if Debounces.on == false then end
  3585. wait()
  3586. end
  3587. ht=nil
  3588. Spawn(function()
  3589. wait(0.5)
  3590. bv:Destroy()
  3591. end)
  3592. Debounces.on = false
  3593. Debounces.NoIdl = false
  3594. elseif ht == nil then wait()
  3595. Grab = false
  3596. Debounces.on = false
  3597. Debounces.NoIdl = false
  3598. end
  3599. end
  3600. end
  3601. end)
  3602. ----------------------------------------------------
  3603. mouse.KeyDown:connect(function(key)
  3604. if string.byte(key) == 52 then
  3605. char.Humanoid.WalkSpeed = 21
  3606. end
  3607. end)
  3608. mouse.KeyUp:connect(function(key)
  3609. if string.byte(key) == 52 then
  3610. char.Humanoid.WalkSpeed = 5
  3611. end
  3612. end)
  3613. ----------------------------------------------------
  3614. local animpose = "Idle"
  3615. local lastanimpose = "Idle"
  3616. local sine = 0
  3617. local change = 1
  3618. local val = 0
  3619. local ffing = false
  3620. ----------------------------------------------------
  3621. --[[x = Instance.new("Sound", char)
  3622. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  3623. x.Looped = true
  3624. x.Volume = 1
  3625. x.Pitch = 1
  3626. local footsteps = false]]--
  3627. -------------------------------
  3628. game:GetService("RunService").RenderStepped:connect(function()
  3629. --[[if char.Humanoid.Jump == true then
  3630. jump = true
  3631. else
  3632. jump = false
  3633. end]]
  3634. char.Humanoid.FreeFalling:connect(function(f)
  3635. if f then
  3636. ffing = true
  3637. else
  3638. ffing = false
  3639. end
  3640. end)
  3641. sine = sine + change
  3642. if jumpn == true then
  3643. animpose = "Jumping"
  3644. elseif ffing == true then
  3645. animpose = "Freefalling"
  3646. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3647. animpose = "Idle"
  3648. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3649. animpose = "Walking"
  3650. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3651. animpose = "Running"
  3652. end
  3653. if animpose ~= lastanimpose then
  3654. sine = 0
  3655. if Debounces.NoIdl == false then
  3656. if animpose == "Idle" then
  3657. for i = 1, 2 do
  3658. 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)
  3659. 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)
  3660. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3661. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3663. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3664. 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)
  3665. end
  3666. elseif animpose == "Walking" then
  3667. for i = 1, 2 do
  3668. 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)
  3669. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  3670. 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)
  3671. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  3672. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3673. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3674. 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)
  3675. end
  3676. elseif animpose == "Running" then
  3677. for i = 1, 2 do
  3678. 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)
  3679. 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)
  3680. 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)
  3681. 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)
  3682. 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)
  3683. 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)
  3684. 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)
  3685. end
  3686. wait()
  3687. end
  3688. else
  3689. end
  3690. end
  3691. lastanimpose = animpose
  3692. if Debounces.NoIdl == false then
  3693. if animpose == "Idle" then
  3694. if stanceToggle == "Normal" then
  3695. change = 0.5
  3696. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(0+0*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  3697. 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)
  3698. 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)
  3699. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  3700. 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)
  3701. 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)
  3702. 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)
  3703. elseif stanceToggle == "Sitting" then
  3704. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(0-0*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  3705. 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)
  3706. 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)
  3707. 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)
  3708. 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)
  3709. 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)
  3710. 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)
  3711. end
  3712. elseif animpose == "Walking" then
  3713. if stanceToggle == "Normal" then
  3714. change = 1
  3715. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(0+0*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2)
  3716. 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.2)
  3717. 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.2)
  3718. 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.2)
  3719. 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), .4)
  3720. 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), .4)
  3721. 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)
  3722. end
  3723. elseif animpose == "Running" then
  3724. change = 1
  3725. 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)
  3726. 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)
  3727. 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)
  3728. 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)
  3729. 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)
  3730. 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)
  3731. 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)
  3732. end
  3733. end
  3734. --[[if animpose == "Walking" then
  3735. if footsteps == false then
  3736. x:Play()
  3737. footsteps = true
  3738. end
  3739. x.Pitch = 1.1
  3740. elseif animpose == "Idle" then
  3741. x:Stop()
  3742. footsteps = false
  3743. elseif animpose == "Running" then
  3744. x.Pitch = 1.2
  3745. if footsteps == false then
  3746. x:Play()
  3747. footsteps = true
  3748. end
  3749. end]]--
  3750. end)
Add Comment
Please, Sign In to add comment