Advertisement
nicholasXPG

Untitled

Oct 12th, 2016
1,123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.11 KB | None | 0 0
  1. player = game:GetService("Players").LocalPlayer
  2. char = player.Character
  3. mouse = player:GetMouse()
  4. idleq = false
  5. local skl = false
  6. parts = {}
  7. poses = {}
  8. local obj3
  9. local TARG10
  10. local TARG11
  11. stun = Instance.new("BoolValue",char)
  12. stun.Name = "Stunned"
  13. stun.Value = false
  14. atk = Instance.new("NumberValue",char)
  15. atk.Name = "Attack"
  16. atk.Value = 1.2
  17. def = Instance.new("NumberValue",char)
  18. def.Name = "Defense"
  19. def.Value = .9
  20. spd = Instance.new("NumberValue",char)
  21. spd.Name = "Speed"
  22. spd.Value = 1.1
  23. deft = Instance.new("NumberValue",char)
  24. deft.Name = "DefenseTime"
  25. deft.Value = 0
  26. atkt = Instance.new("NumberValue",char)
  27. atkt.Name = "AttackTime"
  28. atkt.Value = 0
  29. spdt = Instance.new("NumberValue",char)
  30. spdt.Name = "SpeedTime"
  31. spdt.Value = 0
  32.  
  33.  
  34.  
  35. -------------------------------SWORD BUILD
  36. local hbox = Instance.new("Part",game.Workspace)
  37. hbox.Size = Vector3.new(3,1,3)
  38. hbox.CanCollide = false
  39. hbox.CFrame = char.Torso.CFrame
  40. hbox.Anchored = false
  41. local hs = Instance.new("Weld",char)
  42. hs.Part0 = char.Torso
  43. hs.Part1 = hbox
  44.  
  45. local m = Instance.new("Model")
  46. m.Name = "Manskit"
  47. p1 = Instance.new("Part", m)
  48. p1.BrickColor = BrickColor.new("Dark indigo")
  49. p1.Material = Enum.Material.SmoothPlastic
  50. p1.Name = "P18"
  51. p1.CFrame = CFrame.new(-19.0608082, 6.06438351, -58.4301262, -0.0441558249, 0.998661101, 0.0269521326, -0.0369726643, -0.0285935216, 0.99890703, 0.99834013, 0.0431110859, 0.0381857231)
  52. p1.CanCollide = false
  53. p1.FormFactor = Enum.FormFactor.Symmetric
  54. p1.Size = Vector3.new(1, 1, 1)
  55. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  56. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  57. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  58. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  59. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  60. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  61. b1 = Instance.new("SpecialMesh", p1)
  62. b1.MeshId = "http://www.roblox.com/asset/?id=1778999"
  63. b1.TextureId = ""
  64. b1.MeshType = Enum.MeshType.FileMesh
  65. b1.Name = "Mesh"
  66. b1.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  67. p2 = Instance.new("Part", m)
  68. p2.BrickColor = BrickColor.new("Fossil")
  69. p2.Material = Enum.Material.SmoothPlastic
  70. p2.Name = "P1"
  71. p2.CFrame = CFrame.new(-19.1150055, 6.06594896, -58.4324646, -0.0441558249, 0.998661101, 0.0269521326, -0.0369726643, -0.0285935216, 0.99890703, 0.99834013, 0.0431110859, 0.0381857231)
  72. p2.CanCollide = false
  73. p2.FormFactor = Enum.FormFactor.Symmetric
  74. p2.Size = Vector3.new(1, 1, 1)
  75. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  76. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  77. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  78. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  79. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  80. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  81. b2 = Instance.new("SpecialMesh", p2)
  82. b2.MeshId = "http://www.roblox.com/asset/?id=1778999"
  83. b2.TextureId = ""
  84. b2.MeshType = Enum.MeshType.FileMesh
  85. b2.Name = "Mesh"
  86. b2.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  87. p3 = Instance.new("Part", m)
  88. p3.BrickColor = BrickColor.new("Royal purple")
  89. p3.Material = Enum.Material.SmoothPlastic
  90. p3.Name = "P10"
  91. p3.CFrame = CFrame.new(-20.9184875, 6.11529112, -58.5095253, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  92. p3.CanCollide = false
  93. p3.FormFactor = Enum.FormFactor.Symmetric
  94. p3.Elasticity = 0
  95. p3.Size = Vector3.new(1, 1, 1)
  96. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  97. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  98. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  99. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  100. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  101. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  102. b3 = Instance.new("SpecialMesh", p3)
  103. b3.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  104. b3.TextureId = ""
  105. b3.MeshType = Enum.MeshType.FileMesh
  106. b3.Name = "Mesh"
  107. b3.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  108. p4 = Instance.new("Part", m)
  109. p4.BrickColor = BrickColor.new("Dark indigo")
  110. p4.Material = Enum.Material.SmoothPlastic
  111. p4.Name = "P11"
  112. p4.CFrame = CFrame.new(-20.9184875, 6.11529112, -58.5095253, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  113. p4.CanCollide = false
  114. p4.FormFactor = Enum.FormFactor.Symmetric
  115. p4.Elasticity = 0
  116. p4.Size = Vector3.new(1, 1, 1)
  117. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  118. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  119. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  120. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  121. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  122. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  123. b4 = Instance.new("SpecialMesh", p4)
  124. b4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  125. b4.TextureId = ""
  126. b4.MeshType = Enum.MeshType.FileMesh
  127. b4.Name = "Mesh"
  128. b4.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  129. p5 = Instance.new("Part", m)
  130. p5.BrickColor = BrickColor.new("Dark indigo")
  131. p5.Material = Enum.Material.SmoothPlastic
  132. p5.Name = "P12"
  133. p5.CFrame = CFrame.new(-20.9184875, 6.11525202, -58.5095634, -0.0259258598, -0.998731315, 0.0431692414, -0.998917758, 0.0275505185, 0.0374749303, -0.0386167206, -0.0421509482, -0.998364568)
  134. p5.CanCollide = false
  135. p5.FormFactor = Enum.FormFactor.Symmetric
  136. p5.Elasticity = 0
  137. p5.Size = Vector3.new(1, 1, 1)
  138. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  139. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  140. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  141. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  142. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  143. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  144. b5 = Instance.new("SpecialMesh", p5)
  145. b5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  146. b5.TextureId = ""
  147. b5.MeshType = Enum.MeshType.FileMesh
  148. b5.Name = "Mesh"
  149. b5.Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012)
  150. p6 = Instance.new("Part", m)
  151. p6.BrickColor = BrickColor.new("Fossil")
  152. p6.Material = Enum.Material.SmoothPlastic
  153. p6.Name = "P2"
  154. p6.CFrame = CFrame.new(-20.7343903, 6.11021328, -58.5007553, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  155. p6.CanCollide = false
  156. p6.FormFactor = Enum.FormFactor.Symmetric
  157. p6.Size = Vector3.new(1, 1, 1)
  158. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  159. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  160. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  161. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  162. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  163. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  164. b6 = Instance.new("SpecialMesh", p6)
  165. b6.MeshId = "http://www.roblox.com/asset/?id=1778999"
  166. b6.TextureId = ""
  167. b6.MeshType = Enum.MeshType.FileMesh
  168. b6.Name = "Mesh"
  169. b6.Scale = Vector3.new(0.180000007, 0.300000012, 0.180000007)
  170. p7 = Instance.new("Part", m)
  171. p7.BrickColor = BrickColor.new("Mulberry")
  172. p7.Material = Enum.Material.SmoothPlastic
  173. p7.Name = "P4"
  174. p7.CFrame = CFrame.new(-23.7096386, 6.19430733, -58.6327591, 0.027054267, -0.998674333, -0.0437894873, 0.998916209, 0.0286685694, -0.0366667844, 0.0378735624, -0.0427500382, 0.998367667)
  175. p7.CanCollide = false
  176. p7.FormFactor = Enum.FormFactor.Symmetric
  177. p7.Size = Vector3.new(0.200000003, 5.56999969, 0.200000003)
  178. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  179. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  180. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  181. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  182. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  183. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  184. b7 = Instance.new("BlockMesh", p7)
  185. b7.Name = "Mesh"
  186. b7.Scale = Vector3.new(0.800000012, 1, 0.800000012)
  187. p8 = Instance.new("Part", m)
  188. p8.BrickColor = BrickColor.new("Royal purple")
  189. p8.Transparency = 0.5
  190. p8.Name = "Ray"
  191. p8.CFrame = CFrame.new(-24.5139446, 6.36882734, -58.6568184, 0.0444062017, 0.0252407547, 0.998694599, 0.0364838243, 0.998972893, -0.0268700141, -0.998347104, 0.0376293883, 0.0434397161)
  192. p8.CanCollide = false
  193. p8.FormFactor = Enum.FormFactor.Symmetric
  194. p8.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  195. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  196. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  197. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  198. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  199. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  200. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  201. b8 = Instance.new("SpecialMesh", p8)
  202. b8.MeshType = Enum.MeshType.Wedge
  203. b8.Name = "Mesh"
  204. b8.Scale = Vector3.new(0.200000003, 1, 1)
  205. p9 = Instance.new("Part", m)
  206. p9.BrickColor = BrickColor.new("Royal purple")
  207. p9.Transparency = 0.5
  208. p9.Name = "P15"
  209. p9.CFrame = CFrame.new(-21.6231384, 6.30459452, -58.5343704, -0.0439244956, 0.0265293717, -0.998682559, -0.0371506512, 0.998912513, 0.0281694625, 0.998343766, 0.0383390337, -0.0428911597)
  210. p9.CanCollide = false
  211. p9.FormFactor = Enum.FormFactor.Symmetric
  212. p9.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  213. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  214. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  215. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  216. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  217. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  218. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  219. b9 = Instance.new("SpecialMesh", p9)
  220. b9.MeshType = Enum.MeshType.Wedge
  221. b9.Name = "Mesh"
  222. b9.Scale = Vector3.new(0.200000003, 1, 1)
  223. p10 = Instance.new("Part", m)
  224. p10.BrickColor = BrickColor.new("Royal purple")
  225. p10.Material = Enum.Material.SmoothPlastic
  226. p10.Name = "P9"
  227. p10.CFrame = CFrame.new(-20.9184875, 6.11525869, -58.5095634, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  228. p10.CanCollide = false
  229. p10.FormFactor = Enum.FormFactor.Symmetric
  230. p10.Elasticity = 0
  231. p10.Size = Vector3.new(1, 1, 1)
  232. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  233. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  234. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  235. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  236. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  237. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  238. b10 = Instance.new("SpecialMesh", p10)
  239. b10.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  240. b10.TextureId = ""
  241. b10.MeshType = Enum.MeshType.FileMesh
  242. b10.Name = "Mesh"
  243. b10.Scale = Vector3.new(0.100000001, 0.100000001, 1)
  244. p11 = Instance.new("Part", m)
  245. p11.BrickColor = BrickColor.new("Dark indigo")
  246. p11.Material = Enum.Material.SmoothPlastic
  247. p11.Name = "P8"
  248. p11.CFrame = CFrame.new(-21.6173401, 6.1368413, -58.5444908, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  249. p11.CanCollide = false
  250. p11.FormFactor = Enum.FormFactor.Symmetric
  251. p11.Size = Vector3.new(0.200000003, 1.33999968, 0.200000003)
  252. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  253. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  254. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  255. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  256. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  257. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  258. b11 = Instance.new("BlockMesh", p11)
  259. b11.Name = "Mesh"
  260. b11.Scale = Vector3.new(0.819999993, 1, 0.819999993)
  261. p12 = Instance.new("Part", m)
  262. p12.BrickColor = BrickColor.new("Royal purple")
  263. p12.Material = Enum.Material.SmoothPlastic
  264. p12.Name = "P7"
  265. p12.CFrame = CFrame.new(-22.2863464, 6.1551919, -58.5725784, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  266. p12.CanCollide = false
  267. p12.FormFactor = Enum.FormFactor.Symmetric
  268. p12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  269. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  270. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  271. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  272. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  273. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  274. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  275. b12 = Instance.new("BlockMesh", p12)
  276. b12.Name = "Mesh"
  277. b12.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  278. p13 = Instance.new("Part", m)
  279. p13.BrickColor = BrickColor.new("Dark indigo")
  280. p13.Material = Enum.Material.SmoothPlastic
  281. p13.Name = "P14"
  282. p13.CFrame = CFrame.new(-18.950943, 6.06136179, -58.426609, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  283. p13.CanCollide = false
  284. p13.FormFactor = Enum.FormFactor.Symmetric
  285. p13.Elasticity = 0
  286. p13.Size = Vector3.new(1, 1, 1)
  287. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  288. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  289. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  290. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  291. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  292. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  293. b13 = Instance.new("SpecialMesh", p13)
  294. b13.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  295. b13.TextureId = ""
  296. b13.MeshType = Enum.MeshType.FileMesh
  297. b13.Name = "Mesh"
  298. b13.Scale = Vector3.new(0.200000003, 0.5, 0.200000003)
  299. p14 = Instance.new("Part", m)
  300. p14.BrickColor = BrickColor.new("Dark indigo")
  301. p14.Material = Enum.Material.SmoothPlastic
  302. p14.Name = "P3"
  303. p14.CFrame = CFrame.new(-20.9184875, 6.11529779, -58.5095253, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  304. p14.CanCollide = false
  305. p14.FormFactor = Enum.FormFactor.Symmetric
  306. p14.Elasticity = 0
  307. p14.Size = Vector3.new(1, 1, 1)
  308. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  309. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  310. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  311. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  312. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  313. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  314. b14 = Instance.new("SpecialMesh", p14)
  315. b14.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  316. b14.TextureId = ""
  317. b14.MeshType = Enum.MeshType.FileMesh
  318. b14.Name = "Mesh"
  319. b14.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  320. p15 = Instance.new("Part", m)
  321. p15.BrickColor = BrickColor.new("Mulberry")
  322. p15.Material = Enum.Material.SmoothPlastic
  323. p15.Name = "P13"
  324. p15.CFrame = CFrame.new(-26.4914284, 6.26805973, -58.7446289, 0.0126622282, 0.0483997129, 0.998743474, -0.680453718, 0.732297003, -0.026863426, -0.732675731, -0.679261506, 0.0422076061)
  325. p15.CanCollide = false
  326. p15.FormFactor = Enum.FormFactor.Symmetric
  327. p15.Elasticity = 0
  328. p15.Size = Vector3.new(1, 1, 1)
  329. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  330. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  331. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  332. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  333. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  334. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  335. b15 = Instance.new("SpecialMesh", p15)
  336. b15.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  337. b15.TextureId = ""
  338. b15.MeshType = Enum.MeshType.FileMesh
  339. b15.Name = "Mesh"
  340. b15.Scale = Vector3.new(0.159999996, 0.159999996, 0.800000012)
  341. p16 = Instance.new("Part", m)
  342. p16.BrickColor = BrickColor.new("Dark indigo")
  343. p16.Material = Enum.Material.SmoothPlastic
  344. p16.Name = "P19"
  345. p16.CFrame = CFrame.new(-20.7886677, 6.11172485, -58.503067, 0.0434036367, -0.998727262, 0.0256902371, 0.0369505733, 0.0273016505, 0.998944044, -0.998373985, -0.0424085408, 0.0380885266)
  346. p16.CanCollide = false
  347. p16.FormFactor = Enum.FormFactor.Symmetric
  348. p16.Size = Vector3.new(1, 1, 1)
  349. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  350. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  351. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  352. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  353. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  354. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  355. b16 = Instance.new("SpecialMesh", p16)
  356. b16.MeshId = "http://www.roblox.com/asset/?id=1778999"
  357. b16.TextureId = ""
  358. b16.MeshType = Enum.MeshType.FileMesh
  359. b16.Name = "Mesh"
  360. b16.Scale = Vector3.new(0.150000006, 0.200000003, 0.150000006)
  361. p17 = Instance.new("Part", m)
  362. p17.BrickColor = BrickColor.new("Fossil")
  363. p17.Material = Enum.Material.SmoothPlastic
  364. p17.Name = "Main"
  365. p17.CFrame = CFrame.new(-19.924942, 6.0879364, -58.4625053, -0.0430675782, -0.998712659, -0.0267992485, -0.0381202362, 0.0284472853, -0.998868108, 0.9983446, -0.0419972464, -0.0392963141)
  366. p17.Size = Vector3.new(0.470000029, 0.990000129, 0.200000003)
  367. p17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  368. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  369. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  370. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  371. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  372. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  373. b17 = Instance.new("SpecialMesh", p17)
  374. b17.MeshType = Enum.MeshType.Head
  375. b17.Name = "Mesh"
  376. b17.Scale = Vector3.new(1.25, 1.25, 1.25)
  377. p18 = Instance.new("Part", m)
  378. p18.BrickColor = BrickColor.new("Royal purple")
  379. p18.Transparency = 0.5
  380. p18.Name = "P16"
  381. p18.CFrame = CFrame.new(-21.6278362, 5.96487045, -58.5472298, 0.043134477, -0.025677599, -0.998739421, 0.0372657068, -0.9989326, 0.027292043, -0.998373926, -0.038395945, -0.0421315581)
  382. p18.CanCollide = false
  383. p18.FormFactor = Enum.FormFactor.Symmetric
  384. p18.Size = Vector3.new(0.200000003, 0.200000003, 1.39999998)
  385. p18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  386. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  387. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  388. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  389. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  390. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  391. b18 = Instance.new("SpecialMesh", p18)
  392. b18.MeshType = Enum.MeshType.Wedge
  393. b18.Name = "Mesh"
  394. b18.Scale = Vector3.new(0.200000003, 1, 1)
  395. p19 = Instance.new("Part", m)
  396. p19.BrickColor = BrickColor.new("Royal purple")
  397. p19.Material = Enum.Material.SmoothPlastic
  398. p19.Name = "P5"
  399. p19.CFrame = CFrame.new(-22.625948, 6.16448641, -58.5868835, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  400. p19.CanCollide = false
  401. p19.FormFactor = Enum.FormFactor.Symmetric
  402. p19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  403. p19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  404. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  405. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  406. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  407. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  408. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  409. b19 = Instance.new("BlockMesh", p19)
  410. b19.Name = "Mesh"
  411. b19.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  412. p20 = Instance.new("Part", m)
  413. p20.BrickColor = BrickColor.new("Royal purple")
  414. p20.Transparency = 0.5
  415. p20.Name = "P17"
  416. p20.CFrame = CFrame.new(-24.5177937, 6.05902338, -58.6685181, -0.0433318615, -0.0252162833, 0.998742461, -0.036540892, -0.998972476, -0.026807474, 0.998392165, -0.0376565494, 0.0423659272)
  417. p20.CanCollide = false
  418. p20.FormFactor = Enum.FormFactor.Symmetric
  419. p20.Size = Vector3.new(0.200000003, 0.230000019, 4.42000008)
  420. p20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  421. p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  422. p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  423. p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  424. p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  425. p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  426. b20 = Instance.new("SpecialMesh", p20)
  427. b20.MeshType = Enum.MeshType.Wedge
  428. b20.Name = "Mesh"
  429. b20.Scale = Vector3.new(0.200000003, 1, 1)
  430. p21 = Instance.new("Part", m)
  431. p21.BrickColor = BrickColor.new("Royal purple")
  432. p21.Material = Enum.Material.SmoothPlastic
  433. p21.Name = "P6"
  434. p21.CFrame = CFrame.new(-22.4562702, 6.15998411, -58.5800438, 0.027054267, -0.998674452, -0.0437894836, 0.998916149, 0.0286685713, -0.0366667882, 0.037873555, -0.0427500494, 0.998367608)
  435. p21.CanCollide = false
  436. p21.FormFactor = Enum.FormFactor.Symmetric
  437. p21.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  438. p21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  439. p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  440. p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  441. p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  442. p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  443. p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  444. b21 = Instance.new("BlockMesh", p21)
  445. b21.Name = "Mesh"
  446. b21.Scale = Vector3.new(0.899999976, 0.5, 0.899999976)
  447. w1 = Instance.new("Weld", p1)
  448. w2 = Instance.new("Weld", p6)
  449. w3 = Instance.new("Weld", p16)
  450. w4 = Instance.new("Weld", p17)
  451. w4.Name = "P18"
  452. w4.Part0 = p17
  453. w4.C0 = CFrame.new(-0.00399398804, -0.86505127, -0.000904321671, 0.999998689, 0.00111979246, -0.00111681968, 0.00111967698, -0.999999464, -0.000104936655, -0.00111693516, 0.000103683094, -0.999999344)
  454. w4.Part1 = p1
  455. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  456. w5 = Instance.new("Weld", p17)
  457. w5.Name = "P1"
  458. w5.Part0 = p17
  459. w5.C0 = CFrame.new(-0.0040512085, -0.810781479, -0.000923871994, 0.999998689, 0.00111979246, -0.00111681968, 0.00111967698, -0.999999464, -0.000104936655, -0.00111693516, 0.000103683094, -0.999999344)
  460. w5.Part1 = p2
  461. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  462. w6 = Instance.new("Weld", p17)
  463. w6.Name = "P10"
  464. w6.Part0 = p17
  465. w6.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00115013123, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  466. w6.Part1 = p3
  467. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  468. w7 = Instance.new("Weld", p17)
  469. w7.Name = "P11"
  470. w7.Part0 = p17
  471. w7.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00115013123, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  472. w7.Part1 = p4
  473. w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  474. w8 = Instance.new("Weld", p17)
  475. w8.Name = "P12"
  476. w8.Part0 = p17
  477. w8.C0 = CFrame.new(-0.00523376465, 0.995019913, 0.00119066238, 0.000642742962, -0.000118460506, -0.999999702, -0.000902216649, 0.999999583, -0.000119049102, 0.999999464, 0.000902292435, 0.000642634928)
  478. w8.Part1 = p5
  479. w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  480. w9 = Instance.new("Weld", p17)
  481. w9.Name = "P2"
  482. w9.Part0 = p17
  483. w9.C0 = CFrame.new(-0.00417327881, 0.810646057, 0.000943899155, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  484. w9.Part1 = p6
  485. w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  486. w10 = Instance.new("Weld", p17)
  487. w10.Name = "P4"
  488. w10.Part0 = p17
  489. w10.C0 = CFrame.new(-0.0110282898, 3.79000092, 0.00186681747, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  490. w10.Part1 = p7
  491. w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  492. w11 = Instance.new("Weld", p17)
  493. w11.Name = "Ray"
  494. w11.Part0 = p17
  495. w11.C0 = CFrame.new(-0.00706100464, 4.59924698, -0.149955511, -0.999997795, -0.00160103664, 0.00138073415, -0.00138334185, 0.00162947422, -0.999997675, 0.00159878284, -0.999997377, -0.00163168588)
  496. w11.Part1 = p8
  497. w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  498. w12 = Instance.new("Weld", p17)
  499. w12.Name = "P15"
  500. w12.Part0 = p17
  501. w12.C0 = CFrame.new(-0.00686645508, 1.70519066, -0.168078423, 0.999999106, -0.000945765525, -0.00088313967, 0.000883430243, 0.000310996315, 0.999999583, -0.000945489854, -0.999999523, 0.000311830663)
  502. w12.Part1 = p9
  503. w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  504. w13 = Instance.new("Weld", p17)
  505. w13.Name = "P9"
  506. w13.Part0 = p17
  507. w13.C0 = CFrame.new(-0.00523376465, 0.995019913, 0.00118398666, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  508. w13.Part1 = p10
  509. w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  510. w14 = Instance.new("Weld", p17)
  511. w14.Name = "P8"
  512. w14.Part0 = p17
  513. w14.C0 = CFrame.new(-0.0108261108, 1.6950531, -0.000272989273, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  514. w14.Part1 = p11
  515. w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  516. w15 = Instance.new("Weld", p17)
  517. w15.Name = "P7"
  518. w15.Part0 = p17
  519. w15.C0 = CFrame.new(-0.0107536316, 2.36490059, 0.000429868698, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  520. w15.Part1 = p12
  521. w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  522. w16 = Instance.new("Weld", p17)
  523. w16.Name = "P14"
  524. w16.Part0 = p17
  525. w16.C0 = CFrame.new(-0.00509643555, -0.975008011, -0.000968694687, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  526. w16.Part1 = p13
  527. w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  528. w17 = Instance.new("Weld", p17)
  529. w17.Name = "P3"
  530. w17.Part0 = p17
  531. w17.C0 = CFrame.new(-0.00519561768, 0.995019913, 0.00114345551, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  532. w17.Part1 = p14
  533. w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  534. w18 = Instance.new("Weld", p17)
  535. w18.Name = "P13"
  536. w18.Part0 = p17
  537. w18.C0 = CFrame.new(-0.0057220459, 6.57500458, 0.0071439743, -0.706069231, -0.708136916, 0.000148307532, -0.00123262778, 0.00102156401, -0.999994576, 0.708135664, -0.706072748, -0.00159115868)
  538. w18.Part1 = p15
  539. w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. w19 = Instance.new("Weld", p17)
  541. w19.Name = "P19"
  542. w19.Part0 = p17
  543. w19.C0 = CFrame.new(-0.00420379639, 0.864994049, 0.000979423523, -0.999999225, -0.00036631152, -0.00116091967, -0.000367663801, 0.999999285, 0.00116046739, 0.00116048753, 0.00116089161, -0.999998689)
  544. w19.Part1 = p16
  545. w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  546. w20 = Instance.new("Weld", p17)
  547. w20.Name = "P16"
  548. w20.Part0 = p17
  549. w20.C0 = CFrame.new(-0.0065536499, 1.70075989, 0.171892405, -0.999999583, 0.000853028148, -8.89003277e-05, -8.98912549e-05, -0.00115985179, 0.999999464, 0.00085292384, 0.999998987, 0.00115992757)
  550. w20.Part1 = p18
  551. w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  552. w21 = Instance.new("Weld", p17)
  553. w21.Name = "P5"
  554. w21.Part0 = p17
  555. w21.C0 = CFrame.new(-0.0107650757, 2.70492935, 0.000809192657, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  556. w21.Part1 = p19
  557. w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  558. w22 = Instance.new("Weld", p17)
  559. w22.Name = "P17"
  560. w22.Part0 = p17
  561. w22.C0 = CFrame.new(-0.00676727295, 4.59476852, 0.160060644, 0.999998629, 0.00157285109, 0.000304274261, 0.000306874514, -0.00165276031, -0.999998629, -0.00157234445, 0.999997377, -0.00165324274)
  562. w22.Part1 = p20
  563. w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  564. w23 = Instance.new("Weld", p17)
  565. w23.Name = "P6"
  566. w23.Part0 = p17
  567. w23.C0 = CFrame.new(-0.0110740662, 2.53505516, 0.000490188599, -0.00143321976, -0.000761635602, 0.999998629, -0.000193569693, 0.999999762, 0.000761356205, -0.999998927, -0.000192478881, -0.00143336132)
  568. w23.Part1 = p21
  569. w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  570. m.Parent = char
  571. m:MakeJoints()
  572.  
  573.  
  574. --------------------------------------------
  575. bl = Instance.new("BoolValue",char)
  576. bl.Name = "Blocking"
  577. bl.Value = false
  578.  
  579. bll = Instance.new("BoolValue",char)
  580. bll.Name = "BlockingLabel"
  581. bll.Value = false
  582.  
  583. blt = Instance.new("NumberValue",char)
  584. blt.Name = "BlockingLeft"
  585. blt.Value = 50
  586.  
  587.  
  588. pb = Instance.new("BoolValue",char)
  589. pb.Name = "PauseBlock"
  590. pb.Value = false
  591. blm = 100
  592.  
  593. gd = Instance.new("BoolValue",char)
  594. gd.Name = "Ground"
  595.  
  596. local TARG7
  597. local obj
  598. local TARG8
  599. local obj2
  600. for i,v in pairs (char:GetChildren())do
  601. if v.ClassName == "Weld" then
  602. v:destroy()
  603. end
  604. end
  605. ----OPEN
  606. local tr = char:WaitForChild("Torso")
  607. local lr = char:WaitForChild("Left Arm")
  608. local ra = char:WaitForChild("Right Arm")
  609.  
  610. local s1 = Instance.new("Sound",char.Head)
  611. s1.Volume = 1
  612. s1.SoundId = "rbxassetid://419372077"
  613. s1.Pitch = 1.0
  614. local s2 = Instance.new("Sound",char.Head)
  615. s2.Volume = 1
  616. s2.SoundId = "rbxassetid://419378177"
  617. local s3 = Instance.new("Sound",char.Head)
  618. s3.Volume = 1
  619. s3.SoundId = "rbxassetid://419378177"
  620. local s4 = Instance.new("Sound",char.Head)
  621. s4.Volume = 1
  622. s4.SoundId = "rbxassetid://320557518"
  623. local s5 = Instance.new("Sound",char.Head)
  624. s5.Volume = 1
  625. s5.SoundId = "rbxassetid://320557537"
  626. --WELDS --
  627. local w3 = Instance.new("Weld",char)
  628. run = game:GetService("RunService")
  629. w3.Part0 = lr
  630. w3.Part1 = tr
  631. w3.C0 = CFrame.new(1.5,0,0)
  632.  
  633. local w4= Instance.new("Weld",char)
  634. w4.Part0 = ra
  635. w4.Part1 = tr
  636. w4.C0 = CFrame.new(-1.5,0,0)
  637.  
  638. local nc = Instance.new("Weld",char)
  639. nc.Part0 = char.Torso
  640. nc.Part1 = char.Head
  641. nc.C0 = CFrame.new(0,1.5,0)
  642.  
  643. local ll = Instance.new("Weld",char)
  644. ll.Part0 = char.Torso
  645. ll.Part1 = char["Left Leg"]
  646. ll.C0 = CFrame.new(-.5,-2,0)
  647.  
  648. local rl = Instance.new("Weld",char)
  649. rl.Part0 = char.Torso
  650. rl.Part1 = char["Right Leg"]
  651. rl.C0 = CFrame.new(.5,-2,0)
  652.  
  653. local ts = Instance.new("Weld",char)
  654. ts.Part0 = char.HumanoidRootPart
  655. ts.Part1 = char.Torso
  656. ts.C0 = CFrame.new(0,0,0)* CFrame.Angles(0,0,0)
  657. --MAKE AND UNDO WELDS
  658.  
  659. turnonwelds = function()
  660. w3.Part1 = tr
  661. w4.Part1 = tr
  662. nc.Part1 = char.Head
  663. ll.Part1 = char["Left Leg"]
  664. rl.Part1 = char["Right Leg"]
  665. end
  666. turnoffwelds = function()
  667. w3.Part1 = nil
  668. w4.Part1 = nil
  669. nc.Part1 = nil
  670. ll.Part1 = nil
  671. rl.Part1 = nil
  672. end
  673.  
  674. turnoffwelds()
  675. ----LERP POSES
  676. ------- CFRAMES FOR LERP
  677.  
  678. local walk = {
  679. --Left
  680. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-10)), -- LEFT LEG
  681. rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- RIGHT LEG
  682. --Right
  683. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-40),math.rad(20),math.rad(-10)), -- LEFT LEG
  684. rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- RIGHT LEG
  685. -----------------------------------------------------------------------------------------------
  686. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-20),math.rad(-35),0) , -- Torso Tilt
  687. nc.C0 * CFrame.Angles(math.rad(10),math.rad(35),0), -- HEAD TILT UP
  688. w4.C0 * CFrame.new(.7,1,-.3) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(-30)), -- ARM MOVEMENT
  689. w3.C0 * CFrame.new(-.5,.3,.65) * CFrame.Angles(math.rad(-120),math.rad(90),math.rad(0)) -- ARM MOVEMENT CFrame.new(-.5,0,1) * CFrame.Angles(math.rad(-120),math.rad(90),math.rad(0)) -- ARM MOVEMENT
  690.  
  691. }
  692. local equip = {
  693. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(0),0), -- HEAD BOB EQUIP
  694. w3.C0 * CFrame.new(-1.1,-.1,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(90)), -- LEFT ARM FOLD
  695. w4.C0 * CFrame.new(1.1,-.2,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(-90)) -- RIGHT ARM FOLD
  696. }
  697. local idle = {
  698. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-30),0), -- TORSO TILT
  699. nc.C0 * CFrame.Angles(0,math.rad(30),0), -- HEAD BOB EQUIP
  700. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle
  701. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle
  702. w3.C0 * CFrame.new(0,.3,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), -- LEFT ARM Idle
  703. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(-30)), -- RIGHT ARM Idle w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-30),math.rad(-30))
  704. CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  705. }
  706. local PA1 = {
  707. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(15),math.rad(0)), -- TORSO TILT
  708. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  709. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), -- RIGHT LEG PUNCH
  710. nc.C0 * CFrame.Angles(math.rad(-5),math.rad(-15),0), -- HEAD BOB PUNCH
  711. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(30),0,math.rad(40)), -- LEFT ARM Idle
  712. w4.C0 * CFrame.new(3,.4,.4) * CFrame.Angles(math.rad(-30),math.rad(30),math.rad(130)), -- RIGHT ARM
  713. }
  714. local PA12 = {
  715. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-15),math.rad(0)), -- TORSO TILT
  716. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), -- LEFT LEG PUNCH1
  717. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(12)), -- RIGHT LEG PUNCH
  718. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(15),0), -- HEAD BOB PUNCH
  719. w3.C0 * CFrame.new(-1,2,-.5) * CFrame.Angles(math.rad(0),math.rad(40),math.rad(90)), -- LEFT ARM Idle
  720. w4.C0 * CFrame.new(1,1.3,.8) * CFrame.Angles(math.rad(30),math.rad(40),math.rad(-80)), -- RIGHT ARM
  721. }
  722. local PA2 = {
  723. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(90),0), -- TORSO TILT
  724. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(-5)), -- LEFT LEG idle
  725. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-10),math.rad(5)), -- RIGHT LEG Idle
  726. nc.C0 * CFrame.Angles(math.rad(0),math.rad(-90),0), -- HEAD BOB PUNCH
  727. w4.C0 * CFrame.new(1,2,0) * CFrame.Angles(math.rad(0),0,math.rad(-90)), -- LEFT ARM Idle
  728. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(0),0,math.rad(40)), -- RIGHT ARM Idle
  729.  
  730. }
  731. local PA3 = {
  732. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0),0), -- TORSO TILT
  733. nc.C0 * CFrame.Angles(math.rad(5),math.rad(-5),0), -- HEAD BOB PUNCH
  734. w4.C0 * CFrame.new(.4,1.5,.4) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-80)), -- LEFT ARM PUNCH 3
  735. w3.C0 * CFrame.new(-1,0,1) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-90)), -- RIGHT ARM PUNCH 3
  736. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), -- LEFT LEG
  737. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(120),0,math.rad(0)), -- RIGHT LEG Idle
  738. }
  739.  
  740. local jump = {
  741. nc.C0 * CFrame.Angles(math.rad(20),0,0), -- HEAD BOB EQUIP
  742. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)), -- LEFT ARM Idle
  743. w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(30)), -- RIGHT ARM Idle
  744. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  745. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  746. }
  747. local stunned = {
  748. nc.C0 * CFrame.Angles(0,math.rad(90),0), -- HEAD BOB EQUIP
  749. w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(-50)), -- LEFT ARM Idle
  750. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(50)), -- RIGHT ARM Idle
  751. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  752. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  753. ts.C0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0), -- TORSO TILT
  754. }
  755. local PA1C = {
  756. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(-40),math.rad(-30)), -- TORSO TILT
  757. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1
  758. rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH
  759. nc.C0 * CFrame.Angles(math.rad(-7),math.rad(-20),0), -- HEAD BOB PUNCH
  760. w3.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(40),math.rad(30)), -- RIGHT ARM
  761. w4.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(-20)), -- LEFT ARM Idle
  762. }
  763. local Stomp = {
  764. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  765. nc.C0 * CFrame.Angles(math.rad(-13),math.rad(-20),0), -- HEAD BOB EQUIP
  766. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  767. rl.C0 * CFrame.new(0,.6,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  768. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(30)), -- LEFT ARM Idle
  769. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-30)), -- RIGHT ARM Idle
  770. }
  771. local Stomp2 = {
  772. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  773. nc.C0 * CFrame.Angles(math.rad(-25),math.rad(-20),0), -- HEAD BOB EQUIP
  774. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  775. rl.C0 * CFrame.new(0,0,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  776. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(35)), -- LEFT ARM Idle
  777. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-35)), -- RIGHT ARM Idle
  778. }
  779. local dropkick = {
  780. ts.C0 * CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(45),0), -- TORSO TILT ~ NONE REQUIRED
  781. nc.C0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-30),math.rad(-20),0), -- HEAD BOB EQUIP
  782. ll.C0 * CFrame.new(-.2,0,-.3) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), -- LEFT LEG
  783. rl.C0 * CFrame.new(-.05,0,0) * CFrame.Angles(math.rad(00),math.rad(20),math.rad(0)), -- RIGHT LEG Idle
  784. w3.C0 * CFrame.new(-2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(170)), -- LEFT ARM Idle
  785. w4.C0 * CFrame.new(2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-160)), -- RIGHT ARM Idle
  786. }
  787. local block = {
  788. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- TORSO TILT ~ NONE REQUIRED
  789. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-9),math.rad(-0),0), -- HEAD BOB EQUIP
  790. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- LEFT LEG idle
  791. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- RIGHT LEG Idle
  792. w3.C0 * CFrame.new(-.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  793. w4.C0 * CFrame.new(.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  794. }
  795. local sjump = {
  796. ts.C0 * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0), -- TORSO TILT ~ NONE REQUIRED
  797. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(-0),0), -- HEAD BOB EQUIP
  798. ll.C0 * CFrame.new(0,.4,.8) * CFrame.Angles(math.rad(-70),0,0), -- LEFT LEG idle
  799. rl.C0 * CFrame.new(0,.8,-.5) * CFrame.Angles(math.rad(-10),0,0), -- RIGHT LEG Idle
  800. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  801. w4.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  802. }
  803. local UpSideDownPunch = {
  804. ts.C0 * CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(180),0,0), -- TORSO TILT ~ NONE REQUIRED
  805. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- HEAD BOB EQUIP
  806. ll.C0 * CFrame.new(-.4,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  807. rl.C0 * CFrame.new(.4,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  808. w3.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  809. w4.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  810. }
  811. local BackBreaker = {
  812. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT
  813. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  814. w4.C0 * CFrame.new(0,.1,.3) * CFrame.Angles(math.rad(-90),math.rad(-00),math.rad(0)), -- LEFT ARM PUNCH 3
  815. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(0)), -- LEFT ARM PUNCH 3
  816. ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG
  817. rl.C0 * CFrame.new(-.2,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle
  818. }
  819. local FrontFlipKick1 = {
  820. ts.C0 * CFrame.new(0,2,0) * CFrame.Angles(math.rad(-8),math.rad(0),0), -- TORSO TILT
  821. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  822. w4.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  823. w3.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  824. ll.C0 * CFrame.new(0,1,1) * CFrame.Angles(math.rad(-110),0,math.rad(0)), -- RIGHT LEG Idle
  825. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(110),0,math.rad(0)), -- RIGHT LEG Idle
  826. }
  827. --[[for i = 0,1,wait() do
  828. wait()
  829. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  830. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  831. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  832. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  833. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  834. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  835. end--]]
  836.  
  837. --[[
  838. --END
  839. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  840. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  841. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  842. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  843. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  844. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  845. --START
  846. ts.C0 = ts.C0:lerp(sjump[1],.4)
  847. nc.C0 = nc.C0:lerp(sjump[2],.4)
  848. ll.C0 = ll.C0:lerp(sjump[3],.4)
  849. rl.C0 = rl.C0:lerp(sjump[4],.4)
  850. w3.C0 = w3.C0:lerp(sjump[5],.4)
  851. w4.C0 = w4.C0:lerp(sjump[6],.4)
  852. --]]
  853. -- CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  854. ------------------------------------CLASS UI ------------------------------------
  855.  
  856.  
  857.  
  858. f = Instance.new("ScreenGui",player.PlayerGui)
  859. f.Name = "UI"
  860.  
  861. f1 = Instance.new("Frame",f)
  862. f1.BorderSizePixel = 0
  863. f1.BackgroundColor3 = Color3.new(0,0,0)
  864. f1.Size = UDim2.new(0.3,0,0.05,0)
  865. f1.Position = UDim2.new(0.2,0,0.84,0)
  866.  
  867. f1f = Instance.new("Frame",f1)
  868. f1f.BorderSizePixel = 0
  869. f1f.BackgroundColor3 = Color3.new(255,255,255)
  870. f1f.Size = UDim2.new(1,0,1,0)
  871.  
  872. f1l = Instance.new("TextLabel",f1)
  873. f1l.TextScaled = true
  874. f1l.TextStrokeTransparency = 0
  875. f1l.BackgroundTransparency = 1
  876. f1l.TextColor3 = Color3.new(255,255,255)
  877. f1l.BorderSizePixel = 0
  878. f1l.Size = UDim2.new(1,0,1,0)
  879. f1l.Text = "[Z] Spam Punches"
  880.  
  881.  
  882. f2 = Instance.new("Frame",f)
  883. f2.BorderSizePixel = 0
  884. f2.BackgroundColor3 = Color3.new(0,0,0)
  885. f2.Size = UDim2.new(0.3,0,0.05,0)
  886. f2.Position = UDim2.new(0.52, 0,0.84, 0)
  887.  
  888. f2f = Instance.new("Frame",f2)
  889. f2f.BorderSizePixel = 0
  890. f2f.BackgroundColor3 = Color3.new(255,255,255)
  891. f2f.Size = UDim2.new(1,0,1,0)
  892.  
  893. f2l = Instance.new("TextLabel",f2)
  894. f2l.TextScaled = true
  895. f2l.TextStrokeTransparency = 0
  896. f2l.BackgroundTransparency = 1
  897. f2l.TextColor3 = Color3.new(255,255,255)
  898. f2l.BorderSizePixel = 0
  899. f2l.Size = UDim2.new(1,0,1,0)
  900. f2l.Text = "[X] Ground Stomp"
  901.  
  902.  
  903. f3 = Instance.new("Frame",f)
  904. f3.BorderSizePixel = 0
  905. f3.BackgroundColor3 = Color3.new(0,0,0)
  906. f3.Size = UDim2.new(0.3,0,0.05,0)
  907. f3.Position = UDim2.new(0.2,0,0.9,0)
  908.  
  909. f3f = Instance.new("Frame",f3)
  910. f3f.BorderSizePixel = 0
  911. f3f.BackgroundColor3 = Color3.new(255,255,255)
  912. f3f.Size = UDim2.new(1,0,1,0)
  913.  
  914. f3l = Instance.new("TextLabel",f3)
  915. f3l.TextScaled = true
  916. f3l.TextStrokeTransparency = 0
  917. f3l.BackgroundTransparency = 1
  918. f3l.TextColor3 = Color3.new(255,255,255)
  919. f3l.BorderSizePixel = 0
  920. f3l.Size = UDim2.new(1,0,1,0)
  921. f3l.Text = "[C] Drop kick"
  922.  
  923.  
  924. f4 = Instance.new("Frame",f)
  925. f4.BorderSizePixel = 0
  926. f4.BackgroundColor3 = Color3.new(0,0,0)
  927. f4.Size = UDim2.new(0.3,0,0.05,0)
  928. f4.Position = UDim2.new(.52,0,.9,0)
  929.  
  930. f4f = Instance.new("Frame",f4)
  931. f4f.BorderSizePixel = 0
  932. f4f.BackgroundColor3 = Color3.new(255,255,255)
  933. f4f.Size = UDim2.new(1,0,1,0)
  934.  
  935. f4l = Instance.new("TextLabel",f4)
  936. f4l.TextScaled = true
  937. f4l.TextStrokeTransparency = 0
  938. f4l.BackgroundTransparency = 1
  939. f4l.TextColor3 = Color3.new(255,255,255)
  940. f4l.BorderSizePixel = 0
  941. f4l.Size = UDim2.new(1,0,1,0)
  942. f4l.Text = "[V] Front Flip Kick "
  943.  
  944.  
  945. ---HEALTH BAR
  946.  
  947. f5 = Instance.new("Frame",f)
  948. f5.BorderSizePixel = 0
  949. f5.BackgroundColor3 = Color3.new(255,255,255)
  950. f5.Size = UDim2.new(0.3,0,0.03,0)
  951. f5.Position = UDim2.new(.52,0,.8,0)
  952.  
  953. f5f = Instance.new("Frame",f5)
  954. f5f.BorderSizePixel = 0
  955. f5f.BackgroundColor3 = Color3.new(0,255,0)
  956. f5f.Size = UDim2.new(1,0,1,0)
  957.  
  958. f5l = Instance.new("TextLabel",f5)
  959. f5l.TextScaled = true
  960. f5l.TextStrokeTransparency = 0
  961. f5l.BackgroundTransparency = 1
  962. f5l.TextColor3 = Color3.new(255,255,255)
  963. f5l.BorderSizePixel = 0
  964. f5l.Size = UDim2.new(1,0,1,0)
  965. f5l.Text = "Health"
  966.  
  967.  
  968. ---ENERGY BAR
  969.  
  970. f6 = Instance.new("Frame",f)
  971. f6.BorderSizePixel = 0
  972. f6.BackgroundColor3 = Color3.new(255,255,255)
  973. f6.Size = UDim2.new(0.3,0,0.03,0)
  974. f6.Position = UDim2.new(.2,0,.8,0)
  975.  
  976. f6f = Instance.new("Frame",f6)
  977. f6f.BorderSizePixel = 0
  978. f6f.BackgroundColor3 = BrickColor.new("Royal purple").Color
  979. f6f.Size = UDim2.new(1,0,1,0)
  980.  
  981. f6l = Instance.new("TextLabel",f6)
  982. f6l.TextScaled = true
  983. f6l.TextStrokeTransparency = 0
  984. f6l.BackgroundTransparency = 1
  985. f6l.TextColor3 = Color3.new(255,255,255)
  986. f6l.BorderSizePixel = 0
  987. f6l.Size = UDim2.new(1,0,1,0)
  988. f6l.Text = "Corruption"
  989.  
  990. ------------ATK
  991. fa = Instance.new("TextLabel",f)
  992. fa.TextScaled = true
  993. fa.TextStrokeTransparency = 0
  994. fa.BackgroundTransparency = .5
  995. fa.BackgroundColor3 = Color3.new(0,0,0)
  996. fa.TextColor3 = Color3.new(255,0,0)
  997. fa.BorderSizePixel = 0
  998. fa.Size = UDim2.new(.2,0,0.05,0)
  999. fa.Position = UDim2.new(0.2,0,0.74,0)
  1000. fa.Text = "Attack : 1"
  1001. ------------SPD
  1002. fa2 = Instance.new("TextLabel",f)
  1003. fa2.TextScaled = true
  1004. fa2.TextStrokeTransparency = 0
  1005. fa2.BackgroundTransparency = .5
  1006. fa2.BackgroundColor3 = Color3.new(0,0,0)
  1007. fa2.TextColor3 = Color3.new(0,255,0)
  1008. fa2.BorderSizePixel = 0
  1009. fa2.Size = UDim2.new(.2,0,0.05,0)
  1010. fa2.Position = UDim2.new(0.41,0,0.74,0)
  1011. fa2.Text = "Speed : 1"
  1012. ------------DEF
  1013. fa3 = Instance.new("TextLabel",f)
  1014. fa3.TextScaled = true
  1015. fa3.TextStrokeTransparency = 0
  1016. fa3.BackgroundTransparency = .5
  1017. fa3.BackgroundColor3 = Color3.new(0,0,0)
  1018. fa3.TextColor3 = Color3.new(0,0,255)
  1019. fa3.BorderSizePixel = 0
  1020. fa3.Size = UDim2.new(.2,0,0.05,0)
  1021. fa3.Position = UDim2.new(0.62,0,0.74,0)
  1022. fa3.Text = "Defense : 1"
  1023. -------------------CLASS VARS--------------------------
  1024. S1 = true
  1025. S1T = 0
  1026. S1TF = 7
  1027. S2 = true
  1028. S2T = 0
  1029. S2TF = 15
  1030. S3 = true
  1031. S3T = 0
  1032. S3TF = 12
  1033. S4 = true
  1034. S4T = 0
  1035. S4TF = 30
  1036. energy = 0
  1037. ------------------------------------EXTRA WELDS AREA ------------------------------------
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043. ----EQUIP FUNCTION
  1044. local Close1 = CFrame.new(1.5,0,0)
  1045. local Close2 = CFrame.new(-1.5,0,0)
  1046. local Speed = 0.3
  1047. local Open4 = w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30))
  1048. local h1 = nc.C0 * CFrame.Angles(math.rad(20),math.rad(-30),0)
  1049. local h2 = CFrame.new(0,1.5,0)
  1050. local h3 = nc.C0 * CFrame.Angles(math.rad(-20),math.rad(30),0)
  1051. --leg anims
  1052. local opend = false
  1053. local current = true
  1054.  
  1055.  
  1056.  
  1057.  
  1058. sweld = Instance.new("Weld",char)
  1059. sweld.Part0 = char["Right Arm"]
  1060. sweld.Part1 = p17
  1061. sweld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  1062.  
  1063. local STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  1064. ---------------------------------------------------------------------------------------
  1065. ----DAMAGE UI N DMG
  1066. local DGU = function(p,txt)
  1067. s2:Play()
  1068. local par = Instance.new("Part",game.Workspace)
  1069. par.Transparency = 1
  1070. par.Anchored = true
  1071. par.CFrame = p.CFrame
  1072. par.CanCollide = false
  1073. game.Debris:AddItem(par,10)
  1074. local f = Instance.new("BillboardGui",par)
  1075. f.Size = UDim2.new(1.2,0,1.2,0)
  1076. f.AlwaysOnTop = true
  1077. f.StudsOffset = Vector3.new(0,2,0)
  1078. local fr = Instance.new("Frame",f)
  1079. fr.BackgroundTransparency = 1
  1080. fr.Size = UDim2.new(1,0,1,0)
  1081. fr.ClipsDescendants = true
  1082. local fe = Instance.new("TextLabel",fr)
  1083. fe.Size = UDim2.new(1,0,1,0)
  1084. fe.BackgroundTransparency = 1
  1085. fe.TextColor3 = BrickColor.new("Bright yellow").Color
  1086. fe.TextStrokeTransparency = 0
  1087. fe.Text = txt
  1088. fe.TextScaled = true
  1089. fe.Font = "Legacy"
  1090. fe.Position = UDim2.new(0,0,1,0)
  1091. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  1092. wait(2)
  1093. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  1094. for i = 0,10 do
  1095. wait()
  1096. fe.TextTransparency = fe.TextTransparency + .1
  1097. end
  1098. end
  1099.  
  1100.  
  1101.  
  1102. makeui = function(color,txt)
  1103. local par = Instance.new("Part",game.Workspace)
  1104. par.Transparency = 1
  1105. par.Anchored = true
  1106. par.CFrame = char.Head.CFrame
  1107. par.CanCollide = false
  1108. game.Debris:AddItem(par,10)
  1109. local f = Instance.new("BillboardGui",par)
  1110. f.Size = UDim2.new(1.2,0,1.2,0)
  1111. f.AlwaysOnTop = true
  1112. f.StudsOffset = Vector3.new(0,4,0)
  1113. local fr = Instance.new("Frame",f)
  1114. fr.BackgroundTransparency = 1
  1115. fr.Size = UDim2.new(2,0,2,0)
  1116. fr.ClipsDescendants = true
  1117. local fe = Instance.new("TextLabel",fr)
  1118. fe.Size = UDim2.new(1,0,1,0)
  1119. fe.BackgroundTransparency = 1
  1120. fe.TextColor3 = Color3.new(255,255,255)
  1121. fe.TextStrokeTransparency = 0
  1122. fe.Text = txt
  1123. fe.TextScaled = true
  1124. fe.Font = "SourceSansBold"
  1125. game.Debris:AddItem(f,4)
  1126. fe.Position = UDim2.new(0,0,1,0)
  1127. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  1128. wait(2)
  1129. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  1130. for i = 0,10 do
  1131. wait()
  1132. fe.TextTransparency = fe.TextTransparency + .1
  1133. end
  1134. end
  1135. ----TARG
  1136. local TARG1
  1137. local TARG2
  1138. local TARG3
  1139. local TARG4
  1140. local TARG5
  1141. local TARG6
  1142. local IdleAndWalk = false
  1143.  
  1144.  
  1145. turnonwelds()
  1146. opend = true
  1147.  
  1148. --------------SKILL/KEY EVENTS
  1149. --------------MOUSE EVENTS , ATTACKS
  1150. local wpb = true
  1151. local num = 1
  1152.  
  1153.  
  1154.  
  1155. mouse.Button1Down:connect(function()
  1156. if current == true and stun.Value == false and opend == true and wpb == true then
  1157. local fs
  1158.  
  1159. if num == 1 then
  1160. wpb = false
  1161. current = false
  1162. fr = true
  1163. p8.Touched:connect(function(hit)
  1164. if not fr then return end
  1165. if hit.Parent:FindFirstChild("Defense")then
  1166. fs = math.floor(math.random(4,9) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1167. else
  1168. fs = math.floor(math.random(4,9) * atk.Value)
  1169. end
  1170.  
  1171. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1172. fr = false
  1173. if hit.Parent:FindFirstChild("Blocking")then
  1174. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1175. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  1176. hit.Parent.BlockingLabel.Value = true
  1177. stun.Value = true
  1178. else
  1179. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1180. DGU(hit,fs)
  1181. fr = false
  1182. end
  1183. else
  1184. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1185. DGU(hit,fs)
  1186. fr = false
  1187. end
  1188. --
  1189. end
  1190. end)
  1191. TARG1 = PA1[5]
  1192. TARG2 = PA1[6]
  1193. TARG3 = PA1[4]
  1194. TARG4 = PA1[3]
  1195. TARG5 = PA1[2]
  1196. TARG6 = PA1[1]
  1197. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1198. wait(.05)
  1199. TARG1 = PA1[5]
  1200. TARG2 = PA1[6]
  1201. TARG3 = PA1[4]
  1202. TARG4 = PA1[3]
  1203. TARG5 = PA1[2]
  1204. TARG6 = PA1[1]
  1205. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1206. wait(.05)
  1207. TARG1 = PA1[5]
  1208. TARG2 = PA1[6]
  1209. TARG3 = PA1[4]
  1210. TARG4 = PA1[3]
  1211. TARG5 = PA1[2]
  1212. TARG6 = PA1[1]
  1213. STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1214. wait(.05)
  1215. s5:Play()
  1216. wait(.05)
  1217. TARG1 = PA12[5]
  1218. TARG2 = PA12[6]
  1219. TARG3 = PA12[4]
  1220. TARG4 = PA12[3]
  1221. TARG5 = PA12[2]
  1222. TARG6 = PA12[1]
  1223. --STARG = CFrame.new(0,-.9,0) * CFrame.Angles(math.rad(130),0,0)
  1224. wait(.05)
  1225. TARG1 = PA12[5]
  1226. TARG2 = PA12[6]
  1227. TARG3 = PA12[4]
  1228. TARG4 = PA12[3]
  1229. TARG5 = PA12[2]
  1230. TARG6 = PA12[1]
  1231. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1232. wait(.05)
  1233. TARG1 = PA12[5]
  1234. TARG2 = PA12[6]
  1235. TARG3 = PA12[4]
  1236. TARG4 = PA12[3]
  1237. TARG5 = PA12[2]
  1238. TARG6 = PA12[1]
  1239. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1240. wait(.05)
  1241. TARG1 = PA12[5]
  1242. TARG2 = PA12[6]
  1243. TARG3 = PA12[4]
  1244. TARG4 = PA12[3]
  1245. TARG5 = PA12[2]
  1246. TARG6 = PA12[1]
  1247. --STARG = CFrame.new(0,-.9,0)* CFrame.Angles(math.rad(130),0,0)
  1248. wait(.2)
  1249. current = true
  1250. fr = false
  1251. wait(.1)
  1252. wpb = true
  1253. num=num+1
  1254. return
  1255. end
  1256. if num == 2 then
  1257. wpb = false
  1258. current = false
  1259. fr = true
  1260. p8.Touched:connect(function(hit)
  1261. if not fr then return end
  1262. if hit.Parent:FindFirstChild("Defense")then
  1263. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1264. else
  1265. fs = math.floor(math.random(5,11) * atk.Value)
  1266. end
  1267.  
  1268. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1269. fr = false
  1270. if hit.Parent:FindFirstChild("Blocking")then
  1271. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1272. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  1273. hit.Parent.BlockingLabel.Value = true
  1274. stun.Value = true
  1275. else
  1276. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1277. DGU(hit,fs)
  1278. fr = false
  1279. end
  1280. else
  1281. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1282. DGU(hit,fs)
  1283. fr = false
  1284. end
  1285. --
  1286. end
  1287. end)
  1288. s4:Play()
  1289. wait(.1)
  1290. TARG1 = PA2[6]
  1291. TARG2 = PA2[5]
  1292. TARG3 = PA2[4]
  1293. TARG4 = PA2[3]
  1294. TARG5 = PA2[2]
  1295. TARG6 = PA2[1]
  1296. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(180),0,0)
  1297. wait(.1)
  1298. TARG1 = PA2[6]
  1299. TARG2 = PA2[5]
  1300. TARG3 = PA2[4]
  1301. TARG4 = PA2[3]
  1302. TARG5 = PA2[2]
  1303. TARG6 = PA2[1]
  1304. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  1305. wait(.1)
  1306. TARG1 = PA2[6]
  1307. TARG2 = PA2[5]
  1308. TARG3 = PA2[4]
  1309. TARG4 = PA2[3]
  1310. TARG5 = PA2[2]
  1311. TARG6 = PA2[1]
  1312. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  1313. wait(.1)
  1314. TARG1 = PA2[6]
  1315. TARG2 = PA2[5]
  1316. TARG3 = PA2[4]
  1317. TARG4 = PA2[3]
  1318. TARG5 = PA2[2]
  1319. TARG6 = PA2[1]
  1320. STARG = CFrame.new(0,-1,0)* CFrame.Angles(math.rad(180),0,0)
  1321. wait(.2)
  1322. current = true
  1323. fr = false
  1324. wait(.1)
  1325. wpb = true
  1326. num=num+1
  1327. return
  1328. end
  1329. if num == 3 then
  1330. wpb = false
  1331. current = false
  1332. fr = true
  1333. char["Right Leg"].Touched:connect(function(hit)
  1334. if not fr then return end
  1335. if hit.Parent:FindFirstChild("Defense")then
  1336. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1337. else
  1338. fs = math.floor(math.random(5,11) * atk.Value)
  1339. end
  1340.  
  1341. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1342. fr = false
  1343. if hit.Parent:FindFirstChild("Blocking")then
  1344. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1345. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  1346. hit.Parent.BlockingLabel.Value = true
  1347. stun.Value = true
  1348. else
  1349. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1350. DGU(hit,fs)
  1351. fr = false
  1352. end
  1353. else
  1354. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1355. DGU(hit,fs)
  1356. fr = false
  1357. end
  1358. --
  1359. end
  1360. end)
  1361. s1.Pitch = 1
  1362. s1:Play()
  1363. wait(.1)
  1364. TARG1 = PA3[4]
  1365. TARG2 = PA3[3]
  1366. TARG3 = PA3[2]
  1367. TARG4 = PA3[6]
  1368. TARG5 = PA3[5]
  1369. TARG6 = PA3[1]
  1370. TARG1 = PA3[4]
  1371. TARG2 = PA3[3]
  1372. TARG3 = PA3[2]
  1373. TARG4 = PA3[6]
  1374. TARG5 = PA3[5]
  1375. TARG6 = PA3[1]
  1376. wait(.1)
  1377. TARG1 = PA3[4]
  1378. TARG2 = PA3[3]
  1379. TARG3 = PA3[2]
  1380. TARG4 = PA3[6]
  1381. TARG5 = PA3[5]
  1382. TARG6 = PA3[1]
  1383. wait(.1)
  1384. TARG1 = PA3[4]
  1385. TARG2 = PA3[3]
  1386. TARG3 = PA3[2]
  1387. TARG4 = PA3[6]
  1388. TARG5 = PA3[5]
  1389. TARG6 = PA3[1]
  1390. wait(.2)
  1391. current = true
  1392. fr = false
  1393. wait(.1)
  1394. wpb = true
  1395. num=1
  1396. return
  1397. end
  1398.  
  1399. end
  1400. end)
  1401. mouse.KeyDown:connect(function(key)key = key:lower()
  1402. if key == "z" then
  1403. if current == true and opend == true and stun.Value == false and energy > 19 and S1 == true then
  1404. energy = energy - 20
  1405. S1T = 0
  1406. current = false
  1407. local num = 0
  1408. repeat
  1409. fr = true
  1410. local fs
  1411. s1.Pitch = 1.2
  1412. s1:Play()
  1413. char["Right Arm"].Touched:connect(function(hit)
  1414. if not fr then return end
  1415. if hit.Parent.Name == player.Name then return end
  1416. if hit.Parent:FindFirstChild("Defense") and hit.Parent.Name ~= player.Name then
  1417.  
  1418.  
  1419. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  1420. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1421.  
  1422.  
  1423. else
  1424. fs = math.floor(4 * atk.Value)
  1425. end
  1426. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1427. fr = false
  1428. if hit.Parent:FindFirstChild("Blocking")then
  1429. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1430. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1431. hit.Parent.BlockingLabel.Value = true
  1432. stun.Value = true
  1433. else
  1434. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1435. DGU(hit,fs)
  1436. fr = false
  1437. end
  1438. else
  1439. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1440. DGU(hit,fs)
  1441. fr = false
  1442. end
  1443. --
  1444. end
  1445. end)
  1446. TARG1 = PA1[5]
  1447. TARG2 = PA1[6]
  1448. TARG3 = PA1[4]
  1449. TARG4 = PA1[3]
  1450. TARG5 = PA1[2]
  1451. TARG6 = PA1[1]
  1452. wait(.11)
  1453. fr = false
  1454. wait(.11)
  1455. fr = true
  1456. local fs
  1457. s1.Pitch = 1.2
  1458. s1:Play()
  1459. char["Left Arm"].Touched:connect(function(hit)
  1460. if not fr then return end
  1461. if hit.Parent.Name == player.Name then return end
  1462. if hit.Parent:FindFirstChild("Defense")and hit.Parent.Name ~= player.Name then
  1463. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  1464. fs = math.floor(4 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1465. else
  1466. fs = math.floor(4 * atk.Value)
  1467. end
  1468. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1469. fr = false
  1470. if hit.Parent:FindFirstChild("Blocking")then
  1471. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1472. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1473. hit.Parent.BlockingLabel.Value = true
  1474. stun.Value = true
  1475. else
  1476. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1477. DGU(hit,fs)
  1478. fr = false
  1479. end
  1480. else
  1481. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1482. DGU(hit,fs)
  1483. fr = false
  1484. end
  1485. --
  1486. end
  1487. end)
  1488. TARG1 = PA1C[5]
  1489. TARG2 = PA1C[6]
  1490. TARG3 = PA1C[4]
  1491. TARG4 = PA1C[3]
  1492. TARG5 = PA1C[2]
  1493. TARG6 = PA1C[1]
  1494. wait(.11)
  1495. fr = false
  1496. wait(.11)
  1497. num = num + 2
  1498. until num == 10
  1499. current = true
  1500. wait(3)
  1501. end
  1502. end
  1503. end)
  1504. --- KEYDOWN 2
  1505. mouse.KeyDown:connect(function(key)key = key:lower()
  1506. if key == "x" then
  1507. if current == true and opend == true and stun.Value == false and energy > 24 and S2 == true then
  1508. energy = energy - 25
  1509. S2T = 0
  1510. skl = true
  1511. char.Humanoid.WalkSpeed = 0
  1512. f = Instance.new("Part",game.Workspace)
  1513. f.Position = char.Torso.Position + Vector3.new(0, -2, -12)
  1514. f.CanCollide = false
  1515. f.Transparency = 1
  1516. local asdf
  1517. local cf
  1518. f.Touched:connect(function(hit)
  1519. if hit.Parent:FindFirstChild("Humanoid") then
  1520. else
  1521. cf = f.CFrame
  1522. asdf = hit.BrickColor
  1523. end
  1524. end)
  1525. current = false
  1526. TARG1 = Stomp[5]
  1527. TARG2 = Stomp[6]
  1528. TARG3 = Stomp[2]
  1529. TARG4 = Stomp[4]
  1530. TARG5 = Stomp[3]
  1531. TARG6 = Stomp[1]
  1532. wait(.05)
  1533. TARG1 = Stomp[5]
  1534. TARG2 = Stomp[6]
  1535. TARG3 = Stomp[2]
  1536. TARG4 = Stomp[4]
  1537. TARG5 = Stomp[3]
  1538. TARG6 = Stomp[1]
  1539. wait(.05)
  1540. TARG1 = Stomp[5]
  1541. TARG2 = Stomp[6]
  1542. TARG3 = Stomp[2]
  1543. TARG4 = Stomp[4]
  1544. TARG5 = Stomp[3]
  1545. TARG6 = Stomp[1]
  1546. wait(.05)
  1547. TARG1 = Stomp[5]
  1548. TARG2 = Stomp[6]
  1549. TARG3 = Stomp[2]
  1550. TARG4 = Stomp[4]
  1551. TARG5 = Stomp[3]
  1552. TARG6 = Stomp[1]
  1553. wait(.05)
  1554. TARG1 = Stomp[5]
  1555. TARG2 = Stomp[6]
  1556. TARG3 = Stomp[2]
  1557. TARG4 = Stomp[4]
  1558. TARG5 = Stomp[3]
  1559. TARG6 = Stomp[1]
  1560. wait(.05)
  1561. TARG1 = Stomp2[5]
  1562. TARG2 = Stomp2[6]
  1563. TARG3 = Stomp2[2]
  1564. TARG4 = Stomp2[4]
  1565. TARG5 = Stomp2[3]
  1566. TARG6 = Stomp2[1]
  1567. wait(.05)
  1568. TARG1 = Stomp2[5]
  1569. TARG2 = Stomp2[6]
  1570. TARG3 = Stomp2[2]
  1571. TARG4 = Stomp2[4]
  1572. TARG5 = Stomp2[3]
  1573. TARG6 = Stomp2[1]
  1574. wait(.05)
  1575. TARG1 = Stomp2[5]
  1576. TARG2 = Stomp2[6]
  1577. TARG3 = Stomp2[2]
  1578. TARG4 = Stomp2[4]
  1579. TARG5 = Stomp2[3]
  1580. TARG6 = Stomp2[1]
  1581. wait(.05)
  1582. TARG1 = Stomp2[5]
  1583. TARG2 = Stomp2[6]
  1584. TARG3 = Stomp2[2]
  1585. TARG4 = Stomp2[4]
  1586. TARG5 = Stomp2[3]
  1587. TARG6 = Stomp2[1]
  1588. wait(.05)
  1589. local fs = Instance.new("Part",char)
  1590. fs.BrickColor = asdf
  1591. fs.Size = Vector3.new(1,1,1)
  1592. fs.CanCollide = false
  1593. fs.Anchored = true
  1594. fs.Transparency = 1
  1595. fs.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  1596. local fr = Instance.new("Part",char)
  1597. fr.BrickColor = asdf
  1598. fr.Size = Vector3.new(1,1,1)
  1599. fr.CanCollide = false
  1600. fr.Anchored = true
  1601. fr.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0)
  1602. local fms = Instance.new("SpecialMesh",fr)
  1603. fms.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1604. fms.Scale = Vector3.new(1,1,6)
  1605. TARG7 = Vector3.new(40,40,10)
  1606. obj = fms
  1607. obj2 = fs
  1608. TARG8 = Vector3.new(50,5,50)
  1609. local dmg = true
  1610. fs.Touched:connect(function(hit)
  1611. if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
  1612. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1613. if hit.Parent:FindFirstChild("Speed")then
  1614. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  1615. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  1616. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1617. local fx = math.floor(22 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1618. dmg = false
  1619. if hit.Parent:FindFirstChild("Blocking")then
  1620. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1621. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1622. hit.Parent.BlockingLabel.Value = true
  1623. stun.Value = true
  1624. else
  1625. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1626. DGU(hit,fx)
  1627. fr = false
  1628. end
  1629. else
  1630. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1631. DGU(hit,fx)
  1632. fr = false
  1633. end
  1634. else
  1635. local fx = math.floor(22 * atk.Value)
  1636. dmg = false
  1637. if hit.Parent:FindFirstChild("Blocking")then
  1638. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1639. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1640. hit.Parent.BlockingLabel.Value = true
  1641. stun.Value = true
  1642. else
  1643. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1644. DGU(hit,fx)
  1645. fr = false
  1646. end
  1647. else
  1648. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1649. DGU(hit,fx)
  1650. fr = false
  1651. end
  1652. end
  1653. end
  1654. end
  1655. end)--]]
  1656. wait(.3)
  1657. game.Debris:AddItem(fr,8)
  1658. game.Debris:AddItem(fs,8)
  1659. skl = false
  1660. current = true
  1661. for i = 1,10 do
  1662. wait()
  1663. fr.Transparency = fr.Transparency + .1
  1664. end
  1665. wait(.4)
  1666. dmg = false
  1667. wait(3)
  1668. end
  1669. end
  1670. end)
  1671.  
  1672.  
  1673.  
  1674. mouse.KeyDown:connect(function(key)key = key:lower()
  1675. if key == "c" then
  1676. if current == true and opend == true and stun.Value == false and energy > 34 and S3 == true then
  1677. energy = energy - 35
  1678. S3T = 0
  1679. current = false
  1680. TARG1 = dropkick[5]
  1681. TARG2 = dropkick[6]
  1682. TARG3 = dropkick[2]
  1683. TARG4 = dropkick[4]
  1684. TARG5 = dropkick[3]
  1685. TARG6 = dropkick[1]
  1686. wait(.05)
  1687. TARG1 = dropkick[5]
  1688. TARG2 = dropkick[6]
  1689. TARG3 = dropkick[2]
  1690. TARG4 = dropkick[4]
  1691. TARG5 = dropkick[3]
  1692. TARG6 = dropkick[1]
  1693. wait(.05)
  1694. TARG1 = dropkick[5]
  1695. TARG2 = dropkick[6]
  1696. TARG3 = dropkick[2]
  1697. TARG4 = dropkick[4]
  1698. TARG5 = dropkick[3]
  1699. TARG6 = dropkick[1]
  1700. wait(.05)
  1701. TARG1 = dropkick[5]
  1702. TARG2 = dropkick[6]
  1703. TARG3 = dropkick[2]
  1704. TARG4 = dropkick[4]
  1705. TARG5 = dropkick[3]
  1706. TARG6 = dropkick[1]
  1707. wait(.05)
  1708. local dmg = true
  1709. char["Right Leg"].Touched:connect(function(hit)
  1710. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  1711. local fn = Instance.new("Part",char)
  1712. fn.BrickColor = BrickColor.new("Medium stone grey")
  1713. fn.Size = Vector3.new(1,1,1)
  1714. fn.CanCollide = false
  1715. fn.Anchored = true
  1716. s2.Pitch = .9
  1717. s2:Play()
  1718. game.Debris:AddItem(fn,8)
  1719. fn.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  1720. local fms = Instance.new("SpecialMesh",fn)
  1721. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1722. fms.Scale = Vector3.new(1,1,6)
  1723. TARG7 = Vector3.new(10,5,10)
  1724. obj = fms
  1725. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1726. if hit.Parent:FindFirstChild("Stunned")then
  1727. hit.Parent:FindFirstChild("Stunned").Value = true
  1728. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1729. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1730. dmg = false
  1731. --[[
  1732. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1733. fr = false
  1734. if hit.Parent:FindFirstChild("Blocking")then
  1735. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1736. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1737. hit.Parent.BlockingLabel.Value = true
  1738. else
  1739. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1740. DGU(hit,fx)
  1741. fr = false
  1742. end
  1743. else
  1744. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1745. DGU(hit,fx)
  1746. fr = false
  1747. end
  1748. --
  1749. end
  1750. --]]
  1751. if hit.Parent:FindFirstChild("Blocking")then
  1752. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1753. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1754. hit.Parent.BlockingLabel.Value = true
  1755. stun.Value = true
  1756. else
  1757. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1758. DGU(hit,fx)
  1759. fr = false
  1760. end
  1761. else
  1762. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1763. DGU(hit,fx)
  1764. fr = false
  1765. end
  1766. else
  1767. local fx = math.floor(13 * atk.Value)
  1768. dmg = false
  1769. if hit.Parent:FindFirstChild("Blocking")then
  1770. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1771. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1772. hit.Parent.BlockingLabel.Value = true
  1773. stun.Value = true
  1774. else
  1775. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1776. DGU(hit,fx)
  1777. fr = false
  1778. end
  1779. else
  1780. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1781. DGU(hit,fx)
  1782. fr = false
  1783. end
  1784. end
  1785. end
  1786.  
  1787. for i = 1,10 do
  1788. wait()
  1789. fn.Transparency = fn.Transparency + .1
  1790. end
  1791. end
  1792. end)--]]
  1793. wait(.1)
  1794. skl = false
  1795. current = true
  1796. wait(.2)
  1797. dmg = false
  1798. wait(3)
  1799. end
  1800. end
  1801. end)
  1802.  
  1803.  
  1804.  
  1805.  
  1806. mouse.KeyDown:connect(function(key)key = key:lower()
  1807. if key == "v" then
  1808. if current == true and opend == true and stun.Value == false and energy > 49 and S4 == true then
  1809. current = false
  1810. wait(0.05)
  1811. S4T = 0
  1812. energy = energy - 59
  1813. wait()
  1814. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1815. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1816. TARG3 = FrontFlipKick1[2] -- NECK
  1817. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1818. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1819. TARG6 = FrontFlipKick1[1] -- TORSO
  1820. wait(0.05)
  1821. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1822. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1823. TARG3 = FrontFlipKick1[2] -- NECK
  1824. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1825. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1826. TARG6 = FrontFlipKick1[1] -- TORSO
  1827. wait(0.05)
  1828. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1829. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1830. TARG3 = FrontFlipKick1[2] -- NECK
  1831. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1832. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1833. TARG6 = FrontFlipKick1[1] -- TORSO
  1834. wait(0.05)
  1835. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1836. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1837. TARG3 = FrontFlipKick1[2] -- NECK
  1838. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1839. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1840. TARG6 = FrontFlipKick1[1] -- TORSO
  1841. wait(0.05)
  1842. local dmg = true
  1843. char["Right Leg"].Touched:connect(function(hit)
  1844. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  1845. dmg = false
  1846. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1847. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1848. TARG3 = FrontFlipKick1[2] -- NECK
  1849. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1850. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1851. TARG6 = FrontFlipKick1[1] -- TORSO
  1852. local fn = Instance.new("Part",char)
  1853. fn.BrickColor = BrickColor.new("Medium stone grey")
  1854. fn.Size = Vector3.new(1,1,1)
  1855. fn.CanCollide = false
  1856. fn.Anchored = true
  1857. local fn = Instance.new("Part",char)
  1858. fn.BrickColor = BrickColor.new("Medium stone grey")
  1859. fn.Size = Vector3.new(1,1,1)
  1860. fn.CanCollide = false
  1861. fn.Anchored = true
  1862. s2.Pitch = .9
  1863. s2:Play()
  1864. game.Debris:AddItem(fn,8)
  1865. fn.CFrame = char["Right Leg"].CFrame
  1866. local fms = Instance.new("SpecialMesh",fn)
  1867. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1868. fms.Scale = Vector3.new(1,1,6)
  1869. TARG7 = Vector3.new(5,1,5)
  1870. obj = fms
  1871.  
  1872. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1873. if hit.Parent:FindFirstChild("Stunned")then
  1874. hit.Parent:FindFirstChild("Stunned").Value = true
  1875. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1876. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1877. dmg = false
  1878. --[[
  1879. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1880. fr = false
  1881. if hit.Parent:FindFirstChild("Blocking")then
  1882. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1883. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1884. hit.Parent.BlockingLabel.Value = true
  1885. else
  1886. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1887. DGU(hit,fx)
  1888. fr = false
  1889. end
  1890. else
  1891. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1892. DGU(hit,fx)
  1893. fr = false
  1894. end
  1895. --
  1896. end
  1897. --]]
  1898. if hit.Parent:FindFirstChild("Blocking")then
  1899. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1900. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1901. hit.Parent.BlockingLabel.Value = true
  1902. stun.Value = true
  1903. else
  1904. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1905. DGU(hit,fx)
  1906. fr = false
  1907. end
  1908. else
  1909. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1910. DGU(hit,fx)
  1911. fr = false
  1912. end
  1913. else
  1914. local fx = math.floor(13 * atk.Value)
  1915. dmg = false
  1916. if hit.Parent:FindFirstChild("Blocking")then
  1917. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1918. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1919. hit.Parent.BlockingLabel.Value = true
  1920. stun.Value = true
  1921. else
  1922. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1923. DGU(hit,fx)
  1924. fr = false
  1925. end
  1926. else
  1927. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1928. DGU(hit,fx)
  1929. fr = false
  1930. end
  1931. end
  1932. end
  1933.  
  1934. for i = 0,10 do
  1935. wait()
  1936. fn.Transparency = fn.Transparency + .1
  1937. end
  1938. end
  1939. end)
  1940. --[[
  1941. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  1942. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  1943. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  1944. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  1945. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  1946. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  1947. --]]
  1948.  
  1949.  
  1950. wait(.1)
  1951. dmg = false
  1952. current = true
  1953. end
  1954. end
  1955. end)
  1956. --[[
  1957. --END
  1958. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  1959. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  1960. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  1961. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  1962. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  1963. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  1964. --START
  1965. ts.C0 = ts.C0:lerp(sjump[1],.4)
  1966. nc.C0 = nc.C0:lerp(sjump[2],.4)
  1967. ll.C0 = ll.C0:lerp(sjump[3],.4)
  1968. rl.C0 = rl.C0:lerp(sjump[4],.4)
  1969. w3.C0 = w3.C0:lerp(sjump[5],.4)
  1970. w4.C0 = w4.C0:lerp(sjump[6],.4)
  1971. --OTHER
  1972. TARG1 = walk[8] -- LEFT ARM
  1973. TARG2 = walk[7]-- RIGHT ARM
  1974. TARG3 = walk[6] -- NECK
  1975. TARG4 = walk[] -- RIGHT LEG
  1976. TARG5 = walk[] -- LEFT LEG
  1977. TARG6 = walk[5] -- TORSO
  1978. --]]
  1979. local Speed = .4
  1980. local lspeed = .2
  1981. game:GetService("RunService").RenderStepped:connect(function()
  1982. if Vector3.new(char.Torso.Velocity.X,0,char.Torso.Velocity.Z).magnitude > 2 then
  1983. IdleAndWalk = true
  1984. else
  1985. IdleAndWalk = false
  1986. end
  1987. if TARG4 ~= nil then
  1988. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  1989. end
  1990. if TARG5 ~= nil then
  1991. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  1992. end
  1993. if TARG3 ~= nil then
  1994. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  1995. end
  1996. if STARG ~= nil then
  1997. sweld.C0 = sweld.C0:lerp(STARG,Speed)
  1998. end
  1999. if TARG1 ~= nil then
  2000. w3.C0 = w3.C0:lerp(TARG1,Speed)
  2001. end
  2002. if TARG2 ~= nil then
  2003. w4.C0 = w4.C0:lerp(TARG2,Speed)
  2004. end
  2005. if TARG6 ~= nil then
  2006. ts.C0 = ts.C0:lerp(TARG6,Speed)
  2007. end
  2008. if TARG7 ~= nil and obj ~= nil then
  2009. obj.Scale = obj.Scale:lerp(TARG7,.05)
  2010. end
  2011. if TARG8 ~= nil and obj2 ~= nil then
  2012. obj2.Size = obj2.Size:lerp(TARG8,.05)
  2013. obj2.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  2014. end
  2015. if TARG10 ~= nil and obj3 ~= nil and TARG11 ~= nil then
  2016. obj3.Size = obj3.Size:lerp(TARG10,.05)
  2017. obj3.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * TARG11
  2018. end
  2019. if TARG10 ~= nil and obj3 ~= nil and obj3.Transparency ~= 1 then
  2020. obj2.Transparency = obj2.Transparency + .05
  2021. obj3.Transparency = obj3.Transparency + .05
  2022. wait(.1)
  2023. end
  2024. if char.Humanoid.Jump == true then
  2025. gd.Value = true
  2026. else
  2027. gd.Value = false
  2028. end
  2029. if energy < 100 and current == true then
  2030. energy = energy + .05
  2031. end
  2032. for i=1,#parts do
  2033. local Part = parts[i]
  2034. Part.Size = Part.Size:lerp(Vector3.new(6, 32, 7),.05)
  2035. for x=1,#poses do
  2036. Part.CFrame = poses[i]
  2037. end
  2038. end
  2039. if blt.Value < 99 and bl.Value == false and stun.Value == false then
  2040. blt.Value = blt.Value + 0.03
  2041. end
  2042. if bl.Value == true and blt.Value < 5 then
  2043. bl.Value = false
  2044. current = true
  2045. skl = false
  2046. end
  2047. if bl.Value == true then
  2048. blt.Value = blt.Value - .5
  2049. end
  2050. if atkt.Value > 0 then
  2051. atkt.Value = atkt.Value - .02
  2052. else
  2053. atk.Value = 1.2
  2054. end
  2055. if deft.Value > 0 then
  2056. deft.Value = deft.Value - .02
  2057. else
  2058. def.Value = .9
  2059. end
  2060. if spdt.Value > 0 then
  2061. spdt.Value = spdt.Value - .02
  2062. else
  2063. wait()
  2064. if spdt.Value < 1 then
  2065. spd.Value = 1.1
  2066. end
  2067. end
  2068.  
  2069. --Skill 1
  2070. local DV2 = S1T / S1TF
  2071. local initX6 = f1.Size.X.Scale
  2072. f1f:TweenSize( UDim2.new( initX6*DV2* 1.665, 0, 1, 0),"In","Linear",1 )
  2073.  
  2074.  
  2075.  
  2076. if S1T < 14 then
  2077. S1T = S1T + .02
  2078. S1 = false
  2079. else
  2080. S1 = true
  2081. end
  2082. if S1T == 14 then
  2083. S1 = true
  2084. end
  2085.  
  2086.  
  2087. --Skill 2
  2088. local DV2 = S2T / S2TF
  2089. local initX6 = f2.Size.X.Scale
  2090. f2f:TweenSize( UDim2.new( initX6*DV2* 3.566, 0, 1, 0),"In","Linear",1 )
  2091.  
  2092.  
  2093.  
  2094. if S2T < 14 then
  2095. S2T = S2T + .01
  2096. S2 = false
  2097. else
  2098. S2 = true
  2099. end
  2100. if S2T == 15 then
  2101. S2 = true
  2102. end
  2103.  
  2104.  
  2105. --Skill 3
  2106. local DV2 = S3T / S3TF
  2107. local initX6 = f3.Size.X.Scale
  2108. f3f:TweenSize( UDim2.new( initX6*DV2* 2.855, 0, 1, 0),"In","Linear",1 )
  2109.  
  2110.  
  2111.  
  2112. if S3T < 14 then
  2113. S3T = S3T + .01
  2114. S3 = false
  2115. else
  2116. S3 = true
  2117. end
  2118. if S3T == 15 then
  2119. S3 = true
  2120. end
  2121.  
  2122. --Skill 4
  2123. local DV2 = S4T / S4TF
  2124. local initX6 = f4.Size.X.Scale
  2125. f4f:TweenSize( UDim2.new( initX6*DV2*3.45, 0, 1, 0),"In","Linear",1 )
  2126.  
  2127.  
  2128. if S4T < 29 then
  2129. S4T = S4T + .01
  2130. S4 = false
  2131. else
  2132. S4= true
  2133. end
  2134. if S4T == 30 then
  2135. S4 = true
  2136. end
  2137.  
  2138. end)
  2139. --SEC HANDLER
  2140. --[[
  2141. S1 = true
  2142. S1T = 7
  2143. S1TF = 7
  2144. S2 = true
  2145. S2T = 15
  2146. S2TF = 15
  2147. S3 = true
  2148. S3T = 12
  2149. S3TF = 12
  2150. S4 = true
  2151. S4T = 30
  2152. S4TF = 30
  2153. energy = 0
  2154. --]]
  2155.  
  2156.  
  2157.  
  2158.  
  2159. --makeui(Color3.new(0,255,0),"+Speed")
  2160. --makeui(Color3.new(255,0,0),"+Damage")
  2161. --makeui(Color3.new(0,0,255),"+Defense")
  2162. ---VALUE CHANGERS
  2163. satk = atk.Value
  2164. sdef = def.Value
  2165. sspd = spd.Value
  2166. atk.Changed:connect(function()
  2167. if satk > atk.Value then
  2168. atkt.Value = atkt.Value + 4
  2169. makeui(Color3.new(255,0,0),"-Damage")
  2170. satk = atk.Value
  2171. else
  2172. atkt.Value = atkt.Value + 4
  2173. makeui(Color3.new(255,0,0),"+Damage")
  2174. satk = atk.Value
  2175. end
  2176. end)
  2177. def.Changed:connect(function()
  2178. if sdef > def.Value then
  2179. deft.Value = deft.Value + 4
  2180. makeui(Color3.new(0,0,255),"-Defense")
  2181. sdef = def.Value
  2182. else
  2183. deft.Value = deft.Value + 4
  2184. makeui(Color3.new(0,0,255),"+Defense")
  2185. sdef = def.Value
  2186. end
  2187. end)
  2188. spd.Changed:connect(function()
  2189. if sspd > spd.Value then
  2190. spdt.Value = spdt.Value + 4
  2191. makeui(Color3.new(0,255,0),"-Speed")
  2192. sspd = spd.Value
  2193. else
  2194. spdt.Value = spdt.Value + 4
  2195. makeui(Color3.new(0,255,0),"+Speed")
  2196. sspd = spd.Value
  2197. end
  2198. end)
  2199. bll.Changed:connect(function()
  2200. if bll.Value == true then
  2201.  
  2202. local c = Instance.new("Part",game.Workspace)
  2203. c.Anchored = true
  2204. c.CanCollide = false
  2205. c.BrickColor = BrickColor.new("Medium stone grey")
  2206. c.Shape = "Ball"
  2207. c.Size = Vector3.new(1,1,1)
  2208. c.CFrame = char.Torso.CFrame
  2209. c.TopSurface = "Smooth"
  2210. c.BottomSurface = "Smooth"
  2211. c.Transparency = .1
  2212. local v = Instance.new("Part",game.Workspace)
  2213. v.Anchored = true
  2214. v.CanCollide = false
  2215. v.BrickColor = BrickColor.new("Medium stone grey")
  2216. v.Size = Vector3.new(1,1,1)
  2217. v.CFrame = char.Torso.CFrame
  2218. v.TopSurface = "Smooth"
  2219. v.BottomSurface = "Smooth"
  2220. v.Transparency = .1
  2221. obj2 = c
  2222. TARG8 = Vector3.new(30,30,30)
  2223. obj3 = v
  2224. TARG10 = Vector3.new(15,21,15)
  2225. TARG11 = CFrame.new(0,0,0)
  2226. makeui(BrickColor.new("Bright bluish green").Color,"Blocked!")
  2227. bll.Value = false
  2228. end
  2229. end)
  2230. stun.Changed:connect(function()
  2231. if stun.Value == true then
  2232. makeui(Color3.new(255,255,0),"+Stunned")
  2233. wait(4)
  2234. if opend == true then
  2235. stun.Value = false
  2236. end
  2237. end
  2238. if stun.Value == false then
  2239. makeui(Color3.new(255,255,0),"-Stunned")
  2240. end
  2241. end)
  2242. -------------------
  2243. while wait() do
  2244. wait()
  2245. fa.Text = "Attack : "..atk.Value
  2246. fa2.Text = "Speed : "..spd.Value
  2247. fa3.Text = "Defense : "..def.Value
  2248. ----HP
  2249. local initX5 = f5.Size.X.Scale
  2250. local maxhp = char.Humanoid.MaxHealth
  2251. local hp = char.Humanoid.Health
  2252. local Pie = (hp / maxhp)
  2253. f5f:TweenSize( UDim2.new( initX5*Pie*3.33, 0, 1, 0),"In","Linear",1 )
  2254. ---Energy
  2255. local DV1 = energy / 100
  2256. local initX6 = f6.Size.X.Scale
  2257. f6f:TweenSize( UDim2.new( initX6*DV1*3.33, 0, 1, 0),"In","Linear",1 )
  2258. if opend == true and current == true and idleq == false then
  2259. if stun.Value == true then
  2260. TARG1 = stunned[3] -- LEFT ARM
  2261. TARG2 = stunned[2]-- RIGHT ARM
  2262. TARG3 = stunned[1] -- NECK
  2263. TARG4 = stunned[5] -- RIGHT LEG
  2264. TARG5 = stunned[4] -- LEFT LEG
  2265. TARG6 = stunned[6] -- TORSO TILT
  2266. char.Humanoid.WalkSpeed = 0
  2267. end
  2268. if stun.Value == false and skl == false then
  2269. char.Humanoid.WalkSpeed = 16 * spd.Value
  2270. end
  2271. if char.Humanoid.Jump == true and stun.Value == false and bl.Value == false then
  2272. TARG1 = jump[3] -- LEFT ARM
  2273. TARG2 = jump[2]-- RIGHT ARM
  2274. TARG3 = jump[1] -- NECK
  2275. TARG4 = jump[5] -- RIGHT LEG
  2276. TARG5 = jump[4] -- LEFT LEG
  2277. TARG6 = CFrame.new(0,0,0)
  2278. end
  2279. --ts.C0 = ts.C0:lerp(stunned[6],.4)
  2280. --nc.C0 = nc.C0:lerp(stunned[1],.4)
  2281. --ll.C0 = ll.C0:lerp(stunned[4],.4)
  2282. --rl.C0 = rl.C0:lerp(stunned[5],.4)
  2283. --w3.C0 = w3.C0:lerp(stunned[3],.4)
  2284. --w4.C0 = w4.C0:lerp(stunned[2],.4)
  2285. local lilwl = ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  2286. local lirwl = rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  2287.  
  2288. --RIGHT
  2289. local lilwr = ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  2290. local lirwr = rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  2291.  
  2292.  
  2293. --
  2294. if bl.Value == false then
  2295. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false then
  2296. TARG1 = walk[8] -- LEFT ARM
  2297. TARG2 = walk[7]-- RIGHT ARM
  2298. TARG3 = walk[6] -- NECK
  2299. TARG4 = walk[4] -- RIGHT LEG
  2300. TARG5 = walk[3] -- LEFT LEG
  2301. TARG6 = walk[5] -- TORSO
  2302. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2303. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2304. wait(.05)
  2305. end
  2306. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2307. wait(.05)
  2308. end
  2309. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2310. wait(.05)
  2311. end
  2312. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2313. wait(.05)
  2314. end
  2315. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2316. TARG1 = walk[8] -- LEFT ARM
  2317. TARG2 = walk[7]-- RIGHT ARM
  2318. TARG3 = walk[6] -- NECK
  2319. TARG4 = walk[2] -- RIGHT LEG
  2320. TARG5 = walk[1] -- LEFT LEG
  2321. TARG6 = walk[5] -- TORSO
  2322. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2323. end
  2324. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2325. wait(.05)
  2326. end
  2327. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2328. wait(.05)
  2329. end
  2330. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2331. wait(.05)
  2332. end
  2333. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2334. wait(.05)
  2335. end
  2336. else
  2337. if IdleAndWalk == false and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  2338. TARG1 = idle[5]
  2339. TARG2 = idle[6]
  2340. TARG3 = idle[2]
  2341. TARG4 = idle[4]
  2342. TARG5 = idle[3]
  2343. TARG6 = idle[1]
  2344. STARG = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(50),math.rad(-120))
  2345. end
  2346. end
  2347. end
  2348. --
  2349. end
  2350. end
  2351.  
  2352. --[[
  2353.  
  2354.  
  2355.  
  2356.  
  2357. ts.C0 = ts.C0:lerp(idle[1],.4)
  2358. nc.C0 = nc.C0:lerp(idle[2],.4)
  2359. ll.C0 = ll.C0:lerp(idle[3],.4)
  2360. rl.C0 = rl.C0:lerp(idle[4],.4)
  2361. w3.C0 = w3.C0:lerp(idle[5],.4)
  2362. w4.C0 = w4.C0:lerp(idle[6],.4)
  2363.  
  2364. TARG1 = idle[5]
  2365. TARG2 = idle[6]
  2366. TARG3 = idle[2]
  2367. TARG4 = idle[5]
  2368. TARG5 = idle[3]
  2369. TARG6 = idle[2]
  2370. if TARG4 ~= nil then
  2371. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  2372. end
  2373. if TARG5 ~= nil then
  2374. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  2375. end
  2376. if TARG3 ~= nil then
  2377. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  2378. end
  2379. if TARG1 ~= nil then
  2380. w3.C0 = w3.C0:lerp(TARG1,Speed)
  2381. end
  2382. if TARG2 ~= nil then
  2383. w4.C0 = w4.C0:lerp(TARG2,Speed)
  2384. end
  2385.  
  2386. ll.C0 = ll.C0:lerp(walk[3],.4)
  2387. rl.C0 = rl.C0:lerp(walk[4],.4)
  2388. ---OTHER ANIMS
  2389. ts.C0 = ts.C0:lerp(walk[5],.4)
  2390. nc.C0 = nc.C0:lerp(walk[6],.4)
  2391. w4.C0 = w4.C0:lerp(walk[7],.4)
  2392. w3.C0 = w3.C0:lerp(walk[8],.4)
  2393.  
  2394. TARG1 = walk[8] -- LEFT ARM
  2395. TARG2 = walk[7]-- RIGHT ARM
  2396. TARG3 = walk[6] -- NECK
  2397. TARG4 = walk[] -- RIGHT LEG
  2398. TARG5 = walk[] -- LEFT LEG
  2399. TARG6 = walk[5] -- TORSO
  2400.  
  2401. for i = 0,1,wait() do
  2402. wait()
  2403. ll.C0 = ll.C0:lerp(walk[3],.4)
  2404. rl.C0 = rl.C0:lerp(walk[4],.4)
  2405. ---OTHER ANIMS
  2406. ts.C0 = ts.C0:lerp(walk[5],.4)
  2407. nc.C0 = nc.C0:lerp(walk[6],.4)
  2408. w4.C0 = w4.C0:lerp(walk[7],.4)
  2409. w3.C0 = w3.C0:lerp(walk[8],.4)
  2410. end--]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement