Advertisement
Pug_Lord666

Untitled

Apr 28th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.23 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.1
  17. def = Instance.new("NumberValue",char)
  18. def.Name = "Defense"
  19. def.Value = 1
  20. spd = Instance.new("NumberValue",char)
  21. spd.Name = "Speed"
  22. spd.Value = 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. bl = Instance.new("BoolValue",char)
  36. bl.Name = "Blocking"
  37. bl.Value = false
  38.  
  39. bll = Instance.new("BoolValue",char)
  40. bll.Name = "BlockingLabel"
  41. bll.Value = false
  42.  
  43. blt = Instance.new("NumberValue",char)
  44. blt.Name = "BlockingLeft"
  45. blt.Value = 50
  46.  
  47.  
  48. pb = Instance.new("BoolValue",char)
  49. pb.Name = "PauseBlock"
  50. pb.Value = false
  51. blm = 100
  52.  
  53. gd = Instance.new("BoolValue",char)
  54. gd.Name = "Ground"
  55.  
  56. local TARG7
  57. local obj
  58. local TARG8
  59. local obj2
  60. for i,v in pairs (char:GetChildren())do
  61. if v.ClassName == "Weld" then
  62. v:destroy()
  63. end
  64. end
  65. ----OPEN
  66. local tr = char:WaitForChild("Torso")
  67. local lr = char:WaitForChild("Left Arm")
  68. local ra = char:WaitForChild("Right Arm")
  69.  
  70. local s1 = Instance.new("Sound",char.Head)
  71. s1.Volume = 1
  72. s1.SoundId = "rbxassetid://419372077"
  73. s1.Pitch = 1.0
  74. local s2 = Instance.new("Sound",char.Head)
  75. s2.Volume = 1
  76. s2.SoundId = "rbxassetid://419378177"
  77. local s3 = Instance.new("Sound",char.Head)
  78. s3.Volume = 1
  79. s3.SoundId = "rbxassetid://"
  80. local s4 = Instance.new("Sound",char.Head)
  81. s4.Volume = 1
  82. s4.SoundId = "rbxassetid://"
  83. local s5 = Instance.new("Sound",char.Head)
  84. s5.Volume = 1
  85. s5.SoundId = "rbxassetid://"
  86. --WELDS --
  87. local w3 = Instance.new("Weld",char)
  88. run = game:GetService("RunService")
  89. w3.Part0 = lr
  90. w3.Part1 = tr
  91. w3.C0 = CFrame.new(1.5,0,0)
  92.  
  93. local w4= Instance.new("Weld",char)
  94. w4.Part0 = ra
  95. w4.Part1 = tr
  96. w4.C0 = CFrame.new(-1.5,0,0)
  97.  
  98. local nc = Instance.new("Weld",char)
  99. nc.Part0 = char.Torso
  100. nc.Part1 = char.Head
  101. nc.C0 = CFrame.new(0,1.5,0)
  102.  
  103. local ll = Instance.new("Weld",char)
  104. ll.Part0 = char.Torso
  105. ll.Part1 = char["Left Leg"]
  106. ll.C0 = CFrame.new(-.5,-2,0)
  107.  
  108. local rl = Instance.new("Weld",char)
  109. rl.Part0 = char.Torso
  110. rl.Part1 = char["Right Leg"]
  111. rl.C0 = CFrame.new(.5,-2,0)
  112.  
  113. local ts = Instance.new("Weld",char)
  114. ts.Part0 = char.HumanoidRootPart
  115. ts.Part1 = char.Torso
  116. ts.C0 = CFrame.new(0,0,0)* CFrame.Angles(0,0,0)
  117. --MAKE AND UNDO WELDS
  118.  
  119. turnonwelds = function()
  120. w3.Part1 = tr
  121. w4.Part1 = tr
  122. nc.Part1 = char.Head
  123. ll.Part1 = char["Left Leg"]
  124. rl.Part1 = char["Right Leg"]
  125. end
  126. turnoffwelds = function()
  127. w3.Part1 = nil
  128. w4.Part1 = nil
  129. nc.Part1 = nil
  130. ll.Part1 = nil
  131. rl.Part1 = nil
  132. end
  133.  
  134. turnoffwelds()
  135. ----LERP POSES
  136. ------- CFRAMES FOR LERP
  137.  
  138. local walk = {
  139. --Left
  140. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- LEFT LEG
  141. rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- RIGHT LEG
  142. --Right
  143. ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)), -- LEFT LEG
  144. rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)), -- RIGHT LEG
  145. -----------------------------------------------------------------------------------------------
  146. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),0,0) , -- Torso Tilt
  147. nc.C0 * CFrame.Angles(math.rad(20),math.rad(0),0), -- HEAD TILT UP
  148. w4.C0 * CFrame.new(0,.2,-.4) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), -- ARM MOVEMENT
  149. w3.C0 * CFrame.new(0,.2,-.4) * CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)) -- ARM MOVEMENT
  150.  
  151. }
  152. local equip = {
  153. nc.C0 * CFrame.Angles(math.rad(-10),math.rad(0),0), -- HEAD BOB EQUIP
  154. w3.C0 * CFrame.new(-1.1,-.1,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(90)), -- LEFT ARM FOLD
  155. w4.C0 * CFrame.new(1.1,-.2,-1.2) * CFrame.Angles(math.rad(-160),0,math.rad(-90)) -- RIGHT ARM FOLD
  156. }
  157. local idle = {
  158. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-40),0), -- TORSO TILT
  159. nc.C0 * CFrame.Angles(0,math.rad(30),0), -- HEAD BOB EQUIP
  160. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle
  161. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle
  162. w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(30)), -- LEFT ARM Idle
  163. w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-120),math.rad(-20),math.rad(-30)), -- RIGHT ARM Idle w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-30),math.rad(-30))
  164. }
  165. local PA1 = {
  166. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(40),math.rad(30)), -- TORSO TILT
  167. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1
  168. rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH
  169. nc.C0 * CFrame.Angles(math.rad(-7),math.rad(20),0), -- HEAD BOB PUNCH
  170. w3.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(20)), -- LEFT ARM Idle
  171. w4.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(-20),math.rad(-30)), -- RIGHT ARM
  172. }
  173. local PA2 = {
  174. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(-35),0), -- TORSO TILT
  175. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(30),math.rad(-10)), -- LEFT LEG idle
  176. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(5),math.rad(-30),math.rad(10)), -- RIGHT LEG Idle
  177. CFrame.new(0,1.5,0)* CFrame.Angles(math.rad(20),math.rad(20),0), -- HEAD BOB PUNCH
  178. w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(math.rad(30),0,math.rad(-40)), -- LEFT ARM Idle
  179. w3.C0 * CFrame.new(-.5,1.5,-.3) * CFrame.Angles(math.rad(-150),0,math.rad(-10)), -- RIGHT ARM Idle
  180. }
  181. local PA3 = {
  182. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT
  183. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  184. w4.C0 * CFrame.new(.4,1,.7) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-50)), -- LEFT ARM PUNCH 3
  185. w3.C0 * CFrame.new(-.3,1.5,0) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(50)), -- RIGHT ARM PUNCH 3
  186. ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG
  187. rl.C0 * CFrame.new(0,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle
  188. }
  189. local PA4 = {
  190. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(60),math.rad(-60),0), -- TORSO TILT
  191. nc.C0 * CFrame.Angles(math.rad(-25),math.rad(50),0), -- HEAD BOB PUNCH
  192. w4.C0 * CFrame.new(.4,1,.7) * CFrame.Angles(math.rad(50),0,math.rad(-70)), -- LEFT ARM PUNCH 3
  193. w3.C0 * CFrame.new(-1.2,-.2,1) * CFrame.Angles(math.rad(-40),math.rad(20),math.rad(-50)), -- RIGHT ARM PUNCH 3
  194. ll.C0 * CFrame.new(-1.0,.5,0) * CFrame.Angles(0,math.rad(0),math.rad(-30)), -- LEFT LEG
  195. rl.C0 * CFrame.new(1,.5,.5) * CFrame.Angles(0,math.rad(-20),math.rad(40)), -- RIGHT LEG Idle
  196. }
  197. local jump = {
  198. nc.C0 * CFrame.Angles(math.rad(20),0,0), -- HEAD BOB EQUIP
  199. w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30)), -- LEFT ARM Idle
  200. w3.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(30)), -- RIGHT ARM Idle
  201. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  202. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  203. }
  204. local stunned = {
  205. nc.C0 * CFrame.Angles(0,math.rad(90),0), -- HEAD BOB EQUIP
  206. w4.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(-50)), -- LEFT ARM Idle
  207. w3.C0 * CFrame.new(0,1,0) * CFrame.Angles(0,0,math.rad(50)), -- RIGHT ARM Idle
  208. ll.C0 * CFrame.new(-.3,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  209. rl.C0 * CFrame.new(.3,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  210. ts.C0 * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0), -- TORSO TILT
  211. }
  212. local PA1C = {
  213. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(-40),math.rad(-30)), -- TORSO TILT
  214. ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(20),math.rad(30),math.rad(-10)), -- LEFT LEG PUNCH1
  215. rl.C0 * CFrame.new(0,-.05,-.5) * CFrame.Angles(math.rad(20),math.rad(-30),math.rad(10)), -- RIGHT LEG PUNCH
  216. nc.C0 * CFrame.Angles(math.rad(-7),math.rad(-20),0), -- HEAD BOB PUNCH
  217. w3.C0 * CFrame.new(0,.5,-.2) * CFrame.Angles(math.rad(-100),math.rad(40),math.rad(30)), -- RIGHT ARM
  218. w4.C0 * CFrame.new(0,.6,0) * CFrame.Angles(math.rad(30),0,math.rad(-20)), -- LEFT ARM Idle
  219. }
  220. local Stomp = {
  221. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  222. nc.C0 * CFrame.Angles(math.rad(-13),math.rad(-20),0), -- HEAD BOB EQUIP
  223. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  224. rl.C0 * CFrame.new(0,.6,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  225. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(30)), -- LEFT ARM Idle
  226. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-30)), -- RIGHT ARM Idle
  227. }
  228. local Stomp2 = {
  229. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0),0), -- TORSO TILT ~ NONE REQUIRED
  230. nc.C0 * CFrame.Angles(math.rad(-25),math.rad(-20),0), -- HEAD BOB EQUIP
  231. ll.C0 * CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  232. rl.C0 * CFrame.new(0,0,-.6) * CFrame.Angles(math.rad(-0),0,math.rad(0)), -- RIGHT LEG Idle
  233. w3.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(35)), -- LEFT ARM Idle
  234. w4.C0 * CFrame.new(0,.7,0) * CFrame.Angles(math.rad(-30),0,math.rad(-35)), -- RIGHT ARM Idle
  235. }
  236. local dropkick = {
  237. ts.C0 * CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(45),0), -- TORSO TILT ~ NONE REQUIRED
  238. nc.C0 * CFrame.new(0,0,-.2) * CFrame.Angles(math.rad(-30),math.rad(-20),0), -- HEAD BOB EQUIP
  239. ll.C0 * CFrame.new(-.2,0,-.3) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), -- LEFT LEG
  240. rl.C0 * CFrame.new(-.05,0,0) * CFrame.Angles(math.rad(00),math.rad(20),math.rad(0)), -- RIGHT LEG Idle
  241. w3.C0 * CFrame.new(-2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(170)), -- LEFT ARM Idle
  242. w4.C0 * CFrame.new(2.7,1.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-160)), -- RIGHT ARM Idle
  243. }
  244. local block = {
  245. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- TORSO TILT ~ NONE REQUIRED
  246. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-9),math.rad(-0),0), -- HEAD BOB EQUIP
  247. ll.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- LEFT LEG idle
  248. rl.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- RIGHT LEG Idle
  249. w3.C0 * CFrame.new(-.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  250. w4.C0 * CFrame.new(.8,1.3,-.6) * CFrame.Angles(math.rad(-160),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  251. }
  252. local sjump = {
  253. ts.C0 * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0), -- TORSO TILT ~ NONE REQUIRED
  254. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-15),math.rad(-0),0), -- HEAD BOB EQUIP
  255. ll.C0 * CFrame.new(0,.4,.8) * CFrame.Angles(math.rad(-70),0,0), -- LEFT LEG idle
  256. rl.C0 * CFrame.new(0,.8,-.5) * CFrame.Angles(math.rad(-10),0,0), -- RIGHT LEG Idle
  257. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  258. w4.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(40),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  259. }
  260. local UpSideDownPunch = {
  261. ts.C0 * CFrame.new(0,-.5,0) * CFrame.Angles(math.rad(180),0,0), -- TORSO TILT ~ NONE REQUIRED
  262. nc.C0 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0), -- HEAD BOB EQUIP
  263. ll.C0 * CFrame.new(-.4,0,0) * CFrame.Angles(0,0,math.rad(-20)), -- LEFT LEG idle
  264. rl.C0 * CFrame.new(.4,0,0) * CFrame.Angles(0,0,math.rad(20)), -- RIGHT LEG Idle
  265. w3.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- LEFT ARM Idle
  266. w4.C0 * CFrame.new(0,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(0)), -- RIGHT ARM Idle
  267. }
  268. local BackBreaker = {
  269. ts.C0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),0), -- TORSO TILT
  270. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  271. w4.C0 * CFrame.new(0,.1,.3) * CFrame.Angles(math.rad(-90),math.rad(-00),math.rad(0)), -- LEFT ARM PUNCH 3
  272. w3.C0 * CFrame.new(0,.5,.5) * CFrame.Angles(math.rad(-90),math.rad(20),math.rad(0)), -- LEFT ARM PUNCH 3
  273. ll.C0 * CFrame.new(-.3,0,.3) * CFrame.Angles(math.rad(-20),math.rad(30),math.rad(-10)), -- LEFT LEG
  274. rl.C0 * CFrame.new(-.2,1,-.5) * CFrame.Angles(math.rad(-40),0,math.rad(0)), -- RIGHT LEG Idle
  275. }
  276. local FrontFlipKick1 = {
  277. ts.C0 * CFrame.new(0,2,0) * CFrame.Angles(math.rad(-8),math.rad(0),0), -- TORSO TILT
  278. nc.C0 * CFrame.Angles(math.rad(-15),math.rad(-5),0), -- HEAD BOB PUNCH
  279. w4.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  280. w3.C0 * CFrame.new(0,1,-.3) * CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), -- LEFT ARM PUNCH 3
  281. ll.C0 * CFrame.new(0,1,1) * CFrame.Angles(math.rad(-110),0,math.rad(0)), -- RIGHT LEG Idle
  282. rl.C0 * CFrame.new(0,1,-1) * CFrame.Angles(math.rad(110),0,math.rad(0)), -- RIGHT LEG Idle
  283. }
  284. --[[for i = 0,1,wait() do
  285. wait()
  286. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  287. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  288. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  289. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  290. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  291. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  292. end--]]
  293.  
  294. --[[
  295. --END
  296. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  297. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  298. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  299. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  300. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  301. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  302. --START
  303. ts.C0 = ts.C0:lerp(sjump[1],.4)
  304. nc.C0 = nc.C0:lerp(sjump[2],.4)
  305. ll.C0 = ll.C0:lerp(sjump[3],.4)
  306. rl.C0 = rl.C0:lerp(sjump[4],.4)
  307. w3.C0 = w3.C0:lerp(sjump[5],.4)
  308. w4.C0 = w4.C0:lerp(sjump[6],.4)
  309. --]]
  310. -- CFrame.new(-.05,0,0) * CFrame.new(math.rad(0),math.rad(0),math.rad(00)), -- LEFT LEG
  311. ------------------------------------CLASS UI ------------------------------------
  312.  
  313.  
  314.  
  315. f = Instance.new("ScreenGui",player.PlayerGui)
  316. f.Name = "UI"
  317.  
  318. f1 = Instance.new("Frame",f)
  319. f1.BorderSizePixel = 0
  320. f1.BackgroundColor3 = Color3.new(0,0,0)
  321. f1.Size = UDim2.new(0.3,0,0.05,0)
  322. f1.Position = UDim2.new(0.2,0,0.84,0)
  323.  
  324. f1f = Instance.new("Frame",f1)
  325. f1f.BorderSizePixel = 0
  326. f1f.BackgroundColor3 = Color3.new(255,255,255)
  327. f1f.Size = UDim2.new(1,0,1,0)
  328.  
  329. f1l = Instance.new("TextLabel",f1)
  330. f1l.TextScaled = true
  331. f1l.TextStrokeTransparency = 0
  332. f1l.BackgroundTransparency = 1
  333. f1l.TextColor3 = Color3.new(255,255,255)
  334. f1l.BorderSizePixel = 0
  335. f1l.Size = UDim2.new(1,0,1,0)
  336. f1l.Text = "[Z] Spam Punches"
  337.  
  338.  
  339. f2 = Instance.new("Frame",f)
  340. f2.BorderSizePixel = 0
  341. f2.BackgroundColor3 = Color3.new(0,0,0)
  342. f2.Size = UDim2.new(0.3,0,0.05,0)
  343. f2.Position = UDim2.new(0.52, 0,0.84, 0)
  344.  
  345. f2f = Instance.new("Frame",f2)
  346. f2f.BorderSizePixel = 0
  347. f2f.BackgroundColor3 = Color3.new(255,255,255)
  348. f2f.Size = UDim2.new(1,0,1,0)
  349.  
  350. f2l = Instance.new("TextLabel",f2)
  351. f2l.TextScaled = true
  352. f2l.TextStrokeTransparency = 0
  353. f2l.BackgroundTransparency = 1
  354. f2l.TextColor3 = Color3.new(255,255,255)
  355. f2l.BorderSizePixel = 0
  356. f2l.Size = UDim2.new(1,0,1,0)
  357. f2l.Text = "[X] Ground Stomp"
  358.  
  359.  
  360. f3 = Instance.new("Frame",f)
  361. f3.BorderSizePixel = 0
  362. f3.BackgroundColor3 = Color3.new(0,0,0)
  363. f3.Size = UDim2.new(0.3,0,0.05,0)
  364. f3.Position = UDim2.new(0.2,0,0.9,0)
  365.  
  366. f3f = Instance.new("Frame",f3)
  367. f3f.BorderSizePixel = 0
  368. f3f.BackgroundColor3 = Color3.new(255,255,255)
  369. f3f.Size = UDim2.new(1,0,1,0)
  370.  
  371. f3l = Instance.new("TextLabel",f3)
  372. f3l.TextScaled = true
  373. f3l.TextStrokeTransparency = 0
  374. f3l.BackgroundTransparency = 1
  375. f3l.TextColor3 = Color3.new(255,255,255)
  376. f3l.BorderSizePixel = 0
  377. f3l.Size = UDim2.new(1,0,1,0)
  378. f3l.Text = "[C] Drop kick"
  379.  
  380.  
  381. f4 = Instance.new("Frame",f)
  382. f4.BorderSizePixel = 0
  383. f4.BackgroundColor3 = Color3.new(0,0,0)
  384. f4.Size = UDim2.new(0.3,0,0.05,0)
  385. f4.Position = UDim2.new(.52,0,.9,0)
  386.  
  387. f4f = Instance.new("Frame",f4)
  388. f4f.BorderSizePixel = 0
  389. f4f.BackgroundColor3 = Color3.new(255,255,255)
  390. f4f.Size = UDim2.new(1,0,1,0)
  391.  
  392. f4l = Instance.new("TextLabel",f4)
  393. f4l.TextScaled = true
  394. f4l.TextStrokeTransparency = 0
  395. f4l.BackgroundTransparency = 1
  396. f4l.TextColor3 = Color3.new(255,255,255)
  397. f4l.BorderSizePixel = 0
  398. f4l.Size = UDim2.new(1,0,1,0)
  399. f4l.Text = "[V] Front Flip Kick "
  400.  
  401.  
  402. ---HEALTH BAR
  403.  
  404. f5 = Instance.new("Frame",f)
  405. f5.BorderSizePixel = 0
  406. f5.BackgroundColor3 = Color3.new(255,255,255)
  407. f5.Size = UDim2.new(0.3,0,0.03,0)
  408. f5.Position = UDim2.new(.52,0,.8,0)
  409.  
  410. f5f = Instance.new("Frame",f5)
  411. f5f.BorderSizePixel = 0
  412. f5f.BackgroundColor3 = Color3.new(0,255,0)
  413. f5f.Size = UDim2.new(1,0,1,0)
  414.  
  415. f5l = Instance.new("TextLabel",f5)
  416. f5l.TextScaled = true
  417. f5l.TextStrokeTransparency = 0
  418. f5l.BackgroundTransparency = 1
  419. f5l.TextColor3 = Color3.new(255,255,255)
  420. f5l.BorderSizePixel = 0
  421. f5l.Size = UDim2.new(1,0,1,0)
  422. f5l.Text = "Health"
  423.  
  424.  
  425. ---ENERGY BAR
  426.  
  427. f6 = Instance.new("Frame",f)
  428. f6.BorderSizePixel = 0
  429. f6.BackgroundColor3 = Color3.new(255,255,255)
  430. f6.Size = UDim2.new(0.3,0,0.03,0)
  431. f6.Position = UDim2.new(.2,0,.8,0)
  432.  
  433. f6f = Instance.new("Frame",f6)
  434. f6f.BorderSizePixel = 0
  435. f6f.BackgroundColor3 = BrickColor.new("Deep orange").Color
  436. f6f.Size = UDim2.new(1,0,1,0)
  437.  
  438. f6l = Instance.new("TextLabel",f6)
  439. f6l.TextScaled = true
  440. f6l.TextStrokeTransparency = 0
  441. f6l.BackgroundTransparency = 1
  442. f6l.TextColor3 = Color3.new(255,255,255)
  443. f6l.BorderSizePixel = 0
  444. f6l.Size = UDim2.new(1,0,1,0)
  445. f6l.Text = "Energy"
  446.  
  447.  
  448.  
  449. --BLOCK
  450. f9 = Instance.new("Frame",f)
  451. f9.BorderSizePixel = 0
  452. f9.BackgroundColor3 = Color3.new(255,255,255)
  453. f9.Size = UDim2.new(0.62,0,0.03,0)
  454. f9.Position = UDim2.new(.2,0,.96,0)
  455.  
  456. f9f = Instance.new("Frame",f9)
  457. f9f.BorderSizePixel = 0
  458. f9f.BackgroundColor3 = BrickColor.new("Forest green").Color
  459. f9f.Size = UDim2.new(1,0,1,0)
  460.  
  461. f9l = Instance.new("TextLabel",f9)
  462. f9l.TextScaled = true
  463. f9l.TextStrokeTransparency = 0
  464. f9l.BackgroundTransparency = 1
  465. f9l.TextColor3 = Color3.new(255,255,255)
  466. f9l.BorderSizePixel = 0
  467. f9l.Size = UDim2.new(1,0,1,0)
  468. f9l.Text = "Block"
  469.  
  470. ------------ATK
  471. fa = Instance.new("TextLabel",f)
  472. fa.TextScaled = true
  473. fa.TextStrokeTransparency = 0
  474. fa.BackgroundTransparency = .5
  475. fa.BackgroundColor3 = Color3.new(0,0,0)
  476. fa.TextColor3 = Color3.new(255,0,0)
  477. fa.BorderSizePixel = 0
  478. fa.Size = UDim2.new(.2,0,0.05,0)
  479. fa.Position = UDim2.new(0.2,0,0.74,0)
  480. fa.Text = "Attack : 1"
  481. ------------SPD
  482. fa2 = Instance.new("TextLabel",f)
  483. fa2.TextScaled = true
  484. fa2.TextStrokeTransparency = 0
  485. fa2.BackgroundTransparency = .5
  486. fa2.BackgroundColor3 = Color3.new(0,0,0)
  487. fa2.TextColor3 = Color3.new(0,255,0)
  488. fa2.BorderSizePixel = 0
  489. fa2.Size = UDim2.new(.2,0,0.05,0)
  490. fa2.Position = UDim2.new(0.41,0,0.74,0)
  491. fa2.Text = "Speed : 1"
  492. ------------DEF
  493. fa3 = Instance.new("TextLabel",f)
  494. fa3.TextScaled = true
  495. fa3.TextStrokeTransparency = 0
  496. fa3.BackgroundTransparency = .5
  497. fa3.BackgroundColor3 = Color3.new(0,0,0)
  498. fa3.TextColor3 = Color3.new(0,0,255)
  499. fa3.BorderSizePixel = 0
  500. fa3.Size = UDim2.new(.2,0,0.05,0)
  501. fa3.Position = UDim2.new(0.62,0,0.74,0)
  502. fa3.Text = "Defense : 1"
  503. -------------------CLASS VARS--------------------------
  504. S1 = true
  505. S1T = 0
  506. S1TF = 7
  507. S2 = true
  508. S2T = 0
  509. S2TF = 15
  510. S3 = true
  511. S3T = 0
  512. S3TF = 12
  513. S4 = true
  514. S4T = 0
  515. S4TF = 30
  516. energy = 0
  517. ------------------------------------EXTRA WELDS AREA ------------------------------------
  518.  
  519.  
  520.  
  521.  
  522.  
  523. ----EQUIP FUNCTION
  524. local Close1 = CFrame.new(1.5,0,0)
  525. local Close2 = CFrame.new(-1.5,0,0)
  526. local Speed = 0.3
  527. local Open4 = w4.C0 * CFrame.new(0,.5,0) * CFrame.Angles(0,0,math.rad(-30))
  528. local h1 = nc.C0 * CFrame.Angles(math.rad(20),math.rad(-30),0)
  529. local h2 = CFrame.new(0,1.5,0)
  530. local h3 = nc.C0 * CFrame.Angles(math.rad(-20),math.rad(30),0)
  531. --leg anims
  532. local opend = false
  533. local current = true
  534.  
  535.  
  536.  
  537.  
  538. ---------------------------------------------------------------------------------------
  539. ----DAMAGE UI N DMG
  540. local DGU = function(p,txt)
  541. s2:Play()
  542. local par = Instance.new("Part",game.Workspace)
  543. par.Transparency = 1
  544. par.Anchored = true
  545. par.CFrame = p.CFrame
  546. par.CanCollide = false
  547. game.Debris:AddItem(par,10)
  548. local f = Instance.new("BillboardGui",par)
  549. f.Size = UDim2.new(1.2,0,1.2,0)
  550. f.AlwaysOnTop = true
  551. f.StudsOffset = Vector3.new(0,2,0)
  552. local fr = Instance.new("Frame",f)
  553. fr.BackgroundTransparency = 1
  554. fr.Size = UDim2.new(1,0,1,0)
  555. fr.ClipsDescendants = true
  556. local fe = Instance.new("TextLabel",fr)
  557. fe.Size = UDim2.new(1,0,1,0)
  558. fe.BackgroundTransparency = 1
  559. fe.TextColor3 = BrickColor.new("Bright yellow").Color
  560. fe.TextStrokeTransparency = 0
  561. fe.Text = txt
  562. fe.TextScaled = true
  563. fe.Font = "Legacy"
  564. fe.Position = UDim2.new(0,0,1,0)
  565. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  566. wait(2)
  567. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  568. for i = 0,10 do
  569. wait()
  570. fe.TextTransparency = fe.TextTransparency + .1
  571. end
  572. end
  573.  
  574.  
  575.  
  576. makeui = function(color,txt)
  577. local par = Instance.new("Part",game.Workspace)
  578. par.Transparency = 1
  579. par.Anchored = true
  580. par.CFrame = char.Head.CFrame
  581. par.CanCollide = false
  582. game.Debris:AddItem(par,10)
  583. local f = Instance.new("BillboardGui",par)
  584. f.Size = UDim2.new(1.2,0,1.2,0)
  585. f.AlwaysOnTop = true
  586. f.StudsOffset = Vector3.new(0,4,0)
  587. local fr = Instance.new("Frame",f)
  588. fr.BackgroundTransparency = 1
  589. fr.Size = UDim2.new(2,0,2,0)
  590. fr.ClipsDescendants = true
  591. local fe = Instance.new("TextLabel",fr)
  592. fe.Size = UDim2.new(1,0,1,0)
  593. fe.BackgroundTransparency = 1
  594. fe.TextColor3 = Color3.new(255,255,255)
  595. fe.TextStrokeTransparency = 0
  596. fe.Text = txt
  597. fe.TextScaled = true
  598. fe.Font = "SourceSansBold"
  599. game.Debris:AddItem(f,4)
  600. fe.Position = UDim2.new(0,0,1,0)
  601. fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
  602. wait(2)
  603. fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
  604. for i = 0,10 do
  605. wait()
  606. fe.TextTransparency = fe.TextTransparency + .1
  607. end
  608. end
  609. ----TARG
  610. local TARG1
  611. local TARG2
  612. local TARG3
  613. local TARG4
  614. local TARG5
  615. local TARG6
  616. local IdleAndWalk = false
  617.  
  618.  
  619.  
  620. turnonwelds()
  621. opend = true
  622.  
  623. --------------SKILL/KEY EVENTS
  624. --------------MOUSE EVENTS , ATTACKS
  625. local wpb = true
  626. local num = 1
  627. mouse.Button1Down:connect(function()
  628. if current == true and idleq == false and opend == true and wpb == true and stun.Value == false and bl.Value == false then
  629. local fs
  630.  
  631. if num == 1 then
  632. wpb = false
  633. current = false
  634. fr = true
  635. char["Right Arm"].Touched:connect(function(hit)
  636. if not fr then return end
  637. if hit.Parent:FindFirstChild("Defense")then
  638. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  639. else
  640. fs = math.floor(math.random(5,11) * atk.Value)
  641. end
  642.  
  643. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  644. fr = false
  645. if hit.Parent:FindFirstChild("Blocking")then
  646. if hit.Parent:FindFirstChild("Blocking").Value == true then
  647. hit.Parent.PauseBlock.Value = true wait() wait() hit.Parent.BlockingLeft.Value = 5 wait() wait() hit.Parent.PauseBlock.Value = false
  648. hit.Parent.BlockingLabel.Value = true
  649. stun.Value = true
  650. else
  651. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  652. DGU(hit,fs)
  653. fr = false
  654. end
  655. else
  656. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  657. DGU(hit,fs)
  658. fr = false
  659. end
  660. --
  661. end
  662. end)
  663. s1.Pitch = 1
  664. s1:Play()
  665. wait(.1)
  666. TARG1 = PA1[5]
  667. TARG2 = PA1[6]
  668. TARG3 = PA1[4]
  669. TARG4 = PA1[3]
  670. TARG5 = PA1[2]
  671. TARG6 = PA1[1]
  672. wait(.1)
  673. TARG1 = PA1[5]
  674. TARG2 = PA1[6]
  675. TARG3 = PA1[4]
  676. TARG4 = PA1[3]
  677. TARG5 = PA1[2]
  678. TARG6 = PA1[1]
  679. wait(.1)
  680. TARG1 = PA1[5]
  681. TARG2 = PA1[6]
  682. TARG3 = PA1[4]
  683. TARG4 = PA1[3]
  684. TARG5 = PA1[2]
  685. TARG6 = PA1[1]
  686. wait(.1)
  687. TARG1 = PA1[5]
  688. TARG2 = PA1[6]
  689. TARG3 = PA1[4]
  690. TARG4 = PA1[3]
  691. TARG5 = PA1[2]
  692. TARG6 = PA1[1]
  693. wait(.2)
  694. current = true
  695. fr = false
  696. wait(.1)
  697. wpb = true
  698. num = num +1
  699. return
  700. end
  701. if num == 2 then
  702. wpb = false
  703. current = false
  704. fr = true
  705. char["Left Arm"].Touched:connect(function(hit)
  706. if not fr then return end
  707. if hit.Parent:FindFirstChild("Defense")then
  708. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  709. else
  710. fs = math.floor(math.random(5,11) * atk.Value)
  711. end
  712. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  713. fr = false
  714. if hit.Parent:FindFirstChild("Blocking")then
  715. if hit.Parent:FindFirstChild("Blocking").Value == true then
  716. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  717. hit.Parent.BlockingLabel.Value = true
  718. stun.Value = true
  719. else
  720. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  721. DGU(hit,fs)
  722. fr = false
  723. end
  724. else
  725. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  726. DGU(hit,fs)
  727. fr = false
  728. end
  729. end
  730. end)
  731. s1.Pitch = 1.2
  732. s1:Play()
  733. wait(.1)
  734. TARG1 = PA2[6]
  735. TARG2 = PA2[5]
  736. TARG3 = PA2[4]
  737. TARG4 = PA2[3]
  738. TARG5 = PA2[2]
  739. TARG6 = PA2[1]
  740. wait(.1)
  741. TARG1 = PA2[6]
  742. TARG2 = PA2[5]
  743. TARG3 = PA2[4]
  744. TARG4 = PA2[3]
  745. TARG5 = PA2[2]
  746. TARG6 = PA2[1]
  747. wait(.1)
  748. TARG1 = PA2[6]
  749. TARG2 = PA2[5]
  750. TARG3 = PA2[4]
  751. TARG4 = PA2[3]
  752. TARG5 = PA2[2]
  753. TARG6 = PA2[1]
  754. wait(.1)
  755. TARG1 = PA2[6]
  756. TARG2 = PA2[5]
  757. TARG3 = PA2[4]
  758. TARG4 = PA2[3]
  759. TARG5 = PA2[2]
  760. TARG6 = PA2[1]
  761. wait(.2)
  762. current = true
  763. fr = false
  764. wait(.1)
  765. wpb = true
  766. num = num + 1
  767. return
  768. end
  769. if num == 3 then
  770. wpb = false
  771. current = false
  772. fr = true
  773. char["Right Leg"].Touched:connect(function(hit)
  774. if not fr then return end
  775. if hit.Parent:FindFirstChild("Defense")then
  776. fs = math.floor(math.random(5,11) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  777. else
  778. fs = math.floor(math.random(5,11) * atk.Value)
  779. end
  780. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  781. fr = false
  782. if hit.Parent:FindFirstChild("Blocking")then
  783. if hit.Parent:FindFirstChild("Blocking").Value == true then
  784. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  785. hit.Parent.BlockingLabel.Value = true
  786. stun.Value = true
  787. else
  788. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  789. DGU(hit,fs)
  790. fr = false
  791. end
  792. else
  793. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  794. DGU(hit,fs)
  795. fr = false
  796. end
  797. --
  798. end
  799. end)
  800. s1.Pitch = 1.35
  801. s1:Play()
  802. wait(.1)
  803. TARG1 = PA3[3]
  804. TARG2 = PA3[4]
  805. TARG3 = PA3[2]
  806. TARG4 = PA3[6]
  807. TARG5 = PA3[5]
  808. TARG6 = PA3[1]
  809. wait(.1)
  810. TARG1 = PA3[3]
  811. TARG2 = PA3[4]
  812. TARG3 = PA3[2]
  813. TARG4 = PA3[6]
  814. TARG5 = PA3[5]
  815. TARG6 = PA3[1]
  816. wait(.1)
  817. TARG1 = PA3[3]
  818. TARG2 = PA3[4]
  819. TARG3 = PA3[2]
  820. TARG4 = PA3[6]
  821. TARG5 = PA3[5]
  822. TARG6 = PA3[1]
  823. wait(.1)
  824. TARG1 = PA3[3]
  825. TARG2 = PA3[4]
  826. TARG3 = PA3[2]
  827. TARG4 = PA3[6]
  828. TARG5 = PA3[5]
  829. TARG6 = PA3[1]
  830. wait(.2)
  831. current = true
  832. fr = false
  833. wait(.1)
  834. wpb = true
  835. num = num +1
  836. return
  837. end
  838. if num == 4 then
  839. wpb = false
  840. current = false
  841. fr = true
  842. char["Left Leg"].Touched:connect(function(hit)
  843. if not fr then return end
  844. if hit.Parent:FindFirstChild("Defense")then
  845. fs = math.floor(math.random(7,15) * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  846. else
  847. fs = math.floor(math.random(7,15) * atk.Value)
  848. end
  849. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  850. fr = false
  851. if hit.Parent:FindFirstChild("Blocking")then
  852. if hit.Parent:FindFirstChild("Blocking").Value == true then
  853. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  854. hit.Parent.BlockingLabel.Value = true
  855. stun.Value = true
  856. else
  857. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  858. DGU(hit,fs)
  859. fr = false
  860. end
  861. else
  862. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  863. DGU(hit,fs)
  864. fr = false
  865. end
  866. --
  867. end
  868. end)
  869. s1.Pitch = .8
  870. s1:Play()
  871. wait(.1)
  872. TARG1 = PA4[4]
  873. TARG2 = PA4[3]
  874. TARG3 = PA4[2]
  875. TARG4 = PA4[6]
  876. TARG5 = PA4[5]
  877. TARG6 = PA4[1]
  878. wait(.1)
  879. TARG1 = PA4[4]
  880. TARG2 = PA4[3]
  881. TARG3 = PA4[2]
  882. TARG4 = PA4[6]
  883. TARG5 = PA4[5]
  884. TARG6 = PA4[1]
  885. wait(.1)
  886. TARG1 = PA4[4]
  887. TARG2 = PA4[3]
  888. TARG3 = PA4[2]
  889. TARG4 = PA4[6]
  890. TARG5 = PA4[5]
  891. TARG6 = PA4[1]
  892. wait(.1)
  893. TARG1 = PA4[4]
  894. TARG2 = PA4[3]
  895. TARG3 = PA4[2]
  896. TARG4 = PA4[6]
  897. TARG5 = PA4[5]
  898. TARG6 = PA4[1]
  899. wait(.2)
  900. current = true
  901. fr = false
  902. wait(.1)
  903. wpb = true
  904. num = 1
  905. return
  906. end
  907. end
  908. end)
  909. local rtb = true
  910. mouse.KeyDown:connect(function(key)key = key:lower()
  911. if key == "e" then
  912. if current == true and opend == true and stun.Value == false and blt.Value > 20 and rtb == true then
  913. local sub
  914. if bl.Value == false then
  915. rtb = false
  916. bl.Value = true
  917. skl = true
  918. TARG1 = block[5]
  919. TARG2 = block[6]
  920. TARG3 = block[2]
  921. TARG4 = block[4]
  922. TARG5 = block[3]
  923. TARG6 = block[1]
  924. wait(.05)
  925. TARG1 = block[5]
  926. TARG2 = block[6]
  927. TARG3 = block[2]
  928. TARG4 = block[4]
  929. TARG5 = block[3]
  930. TARG6 = block[1]
  931. wait(.05)
  932. TARG1 = block[5]
  933. TARG2 = block[6]
  934. TARG3 = block[2]
  935. TARG4 = block[4]
  936. TARG5 = block[3]
  937. TARG6 = block[1]
  938. wait(.05)
  939. TARG1 = block[5]
  940. TARG2 = block[6]
  941. TARG3 = block[2]
  942. TARG4 = block[4]
  943. TARG5 = block[3]
  944. TARG6 = block[1]
  945. wait(.05)
  946. bl.Value = true
  947. skl = true
  948. char.Humanoid.WalkSpeed = 5
  949. wait(1)
  950. rtb = true
  951. else
  952. rtb = false
  953. skl = false
  954. bl.Value = false
  955. current = true
  956. wait(1)
  957. rtb = true
  958. end
  959. end
  960. end
  961. end)
  962. mouse.KeyDown:connect(function(key)key = key:lower()
  963. if key == "z" then
  964. if current == true and opend == true and stun.Value == false and energy > 19 and S1 == true then
  965. energy = energy - 20
  966. S1T = 0
  967. current = false
  968. local num = 0
  969. repeat
  970. fr = true
  971. local fs
  972. s1.Pitch = 1.2
  973. s1:Play()
  974. char["Right Arm"].Touched:connect(function(hit)
  975. if not fr then return end
  976. if hit.Parent.Name == player.Name then return end
  977. if hit.Parent:FindFirstChild("Defense") and hit.Parent.Name ~= player.Name then
  978.  
  979.  
  980. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  981. fs = math.floor(3 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  982.  
  983.  
  984. else
  985. fs = math.floor(4 * atk.Value)
  986. end
  987. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  988. fr = false
  989. if hit.Parent:FindFirstChild("Blocking")then
  990. if hit.Parent:FindFirstChild("Blocking").Value == true then
  991. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  992. hit.Parent.BlockingLabel.Value = true
  993. stun.Value = true
  994. else
  995. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  996. DGU(hit,fs)
  997. fr = false
  998. end
  999. else
  1000. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1001. DGU(hit,fs)
  1002. fr = false
  1003. end
  1004. --
  1005. end
  1006. end)
  1007. TARG1 = PA1[5]
  1008. TARG2 = PA1[6]
  1009. TARG3 = PA1[4]
  1010. TARG4 = PA1[3]
  1011. TARG5 = PA1[2]
  1012. TARG6 = PA1[1]
  1013. wait(.11)
  1014. fr = false
  1015. wait(.11)
  1016. fr = true
  1017. local fs
  1018. s1.Pitch = 1.2
  1019. s1:Play()
  1020. char["Left Arm"].Touched:connect(function(hit)
  1021. if not fr then return end
  1022. if hit.Parent.Name == player.Name then return end
  1023. if hit.Parent:FindFirstChild("Defense")and hit.Parent.Name ~= player.Name then
  1024. hit.Parent:FindFirstChild("Defense").Value = hit.Parent:FindFirstChild("Defense").Value -.02
  1025. fs = math.floor(3 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1026. else
  1027. fs = math.floor(4 * atk.Value)
  1028. end
  1029. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1030. fr = false
  1031. if hit.Parent:FindFirstChild("Blocking")then
  1032. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1033. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1034. hit.Parent.BlockingLabel.Value = true
  1035. stun.Value = true
  1036. else
  1037. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1038. DGU(hit,fs)
  1039. fr = false
  1040. end
  1041. else
  1042. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fs
  1043. DGU(hit,fs)
  1044. fr = false
  1045. end
  1046. --
  1047. end
  1048. end)
  1049. TARG1 = PA1C[5]
  1050. TARG2 = PA1C[6]
  1051. TARG3 = PA1C[4]
  1052. TARG4 = PA1C[3]
  1053. TARG5 = PA1C[2]
  1054. TARG6 = PA1C[1]
  1055. wait(.11)
  1056. fr = false
  1057. wait(.11)
  1058. num = num + 2
  1059. until num == 10
  1060. current = true
  1061. wait(3)
  1062. end
  1063. end
  1064. end)
  1065. --- KEYDOWN 2
  1066. mouse.KeyDown:connect(function(key)key = key:lower()
  1067. if key == "x" then
  1068. if current == true and opend == true and stun.Value == false and energy > 24 and S2 == true then
  1069. energy = energy - 25
  1070. S2T = 0
  1071. skl = true
  1072. char.Humanoid.WalkSpeed = 0
  1073. f = Instance.new("Part",game.Workspace)
  1074. f.Position = char.Torso.Position + Vector3.new(0, -2, -12)
  1075. f.CanCollide = false
  1076. f.Transparency = 1
  1077. local asdf
  1078. local cf
  1079. f.Touched:connect(function(hit)
  1080. if hit.Parent:FindFirstChild("Humanoid") then
  1081. else
  1082. cf = f.CFrame
  1083. asdf = hit.BrickColor
  1084. end
  1085. end)
  1086. current = false
  1087. TARG1 = Stomp[5]
  1088. TARG2 = Stomp[6]
  1089. TARG3 = Stomp[2]
  1090. TARG4 = Stomp[4]
  1091. TARG5 = Stomp[3]
  1092. TARG6 = Stomp[1]
  1093. wait(.05)
  1094. TARG1 = Stomp[5]
  1095. TARG2 = Stomp[6]
  1096. TARG3 = Stomp[2]
  1097. TARG4 = Stomp[4]
  1098. TARG5 = Stomp[3]
  1099. TARG6 = Stomp[1]
  1100. wait(.05)
  1101. TARG1 = Stomp[5]
  1102. TARG2 = Stomp[6]
  1103. TARG3 = Stomp[2]
  1104. TARG4 = Stomp[4]
  1105. TARG5 = Stomp[3]
  1106. TARG6 = Stomp[1]
  1107. wait(.05)
  1108. TARG1 = Stomp[5]
  1109. TARG2 = Stomp[6]
  1110. TARG3 = Stomp[2]
  1111. TARG4 = Stomp[4]
  1112. TARG5 = Stomp[3]
  1113. TARG6 = Stomp[1]
  1114. wait(.05)
  1115. TARG1 = Stomp[5]
  1116. TARG2 = Stomp[6]
  1117. TARG3 = Stomp[2]
  1118. TARG4 = Stomp[4]
  1119. TARG5 = Stomp[3]
  1120. TARG6 = Stomp[1]
  1121. wait(.05)
  1122. TARG1 = Stomp2[5]
  1123. TARG2 = Stomp2[6]
  1124. TARG3 = Stomp2[2]
  1125. TARG4 = Stomp2[4]
  1126. TARG5 = Stomp2[3]
  1127. TARG6 = Stomp2[1]
  1128. wait(.05)
  1129. TARG1 = Stomp2[5]
  1130. TARG2 = Stomp2[6]
  1131. TARG3 = Stomp2[2]
  1132. TARG4 = Stomp2[4]
  1133. TARG5 = Stomp2[3]
  1134. TARG6 = Stomp2[1]
  1135. wait(.05)
  1136. TARG1 = Stomp2[5]
  1137. TARG2 = Stomp2[6]
  1138. TARG3 = Stomp2[2]
  1139. TARG4 = Stomp2[4]
  1140. TARG5 = Stomp2[3]
  1141. TARG6 = Stomp2[1]
  1142. wait(.05)
  1143. TARG1 = Stomp2[5]
  1144. TARG2 = Stomp2[6]
  1145. TARG3 = Stomp2[2]
  1146. TARG4 = Stomp2[4]
  1147. TARG5 = Stomp2[3]
  1148. TARG6 = Stomp2[1]
  1149. wait(.05)
  1150. local fs = Instance.new("Part",char)
  1151. fs.BrickColor = asdf
  1152. fs.Size = Vector3.new(1,1,1)
  1153. fs.CanCollide = false
  1154. fs.Anchored = true
  1155. fs.Transparency = 1
  1156. fs.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  1157. local fr = Instance.new("Part",char)
  1158. fr.BrickColor = asdf
  1159. fr.Size = Vector3.new(1,1,1)
  1160. fr.CanCollide = false
  1161. fr.Anchored = true
  1162. fr.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(90),0,0)
  1163. local fms = Instance.new("SpecialMesh",fr)
  1164. fms.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1165. fms.Scale = Vector3.new(1,1,6)
  1166. TARG7 = Vector3.new(40,40,10)
  1167. obj = fms
  1168. obj2 = fs
  1169. TARG8 = Vector3.new(50,5,50)
  1170. local dmg = true
  1171. fs.Touched:connect(function(hit)
  1172. if dmg == true and hit.Parent:FindFirstChild("Humanoid") then
  1173. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1174. if hit.Parent:FindFirstChild("Speed")then
  1175. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  1176. hit.Parent:FindFirstChild("Speed").Value = hit.Parent:FindFirstChild("Speed").Value -.1
  1177. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1178. local fx = math.floor(12 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1179. dmg = false
  1180. if hit.Parent:FindFirstChild("Blocking")then
  1181. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1182. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1183. hit.Parent.BlockingLabel.Value = true
  1184. stun.Value = true
  1185. else
  1186. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1187. DGU(hit,fx)
  1188. fr = false
  1189. end
  1190. else
  1191. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1192. DGU(hit,fx)
  1193. fr = false
  1194. end
  1195. else
  1196. local fx = math.floor(12 * atk.Value)
  1197. dmg = false
  1198. if hit.Parent:FindFirstChild("Blocking")then
  1199. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1200. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1201. hit.Parent.BlockingLabel.Value = true
  1202. stun.Value = true
  1203. else
  1204. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1205. DGU(hit,fx)
  1206. fr = false
  1207. end
  1208. else
  1209. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1210. DGU(hit,fx)
  1211. fr = false
  1212. end
  1213. end
  1214. end
  1215. end
  1216. end)--]]
  1217. wait(.3)
  1218. game.Debris:AddItem(fr,8)
  1219. game.Debris:AddItem(fs,8)
  1220. skl = false
  1221. current = true
  1222. for i = 1,10 do
  1223. wait()
  1224. fr.Transparency = fr.Transparency + .1
  1225. end
  1226. wait(.4)
  1227. dmg = false
  1228. wait(3)
  1229. end
  1230. end
  1231. end)
  1232.  
  1233.  
  1234.  
  1235. mouse.KeyDown:connect(function(key)key = key:lower()
  1236. if key == "c" then
  1237. if current == true and opend == true and stun.Value == false and energy > 34 and S3 == true then
  1238. energy = energy - 35
  1239. S3T = 0
  1240. current = false
  1241. TARG1 = dropkick[5]
  1242. TARG2 = dropkick[6]
  1243. TARG3 = dropkick[2]
  1244. TARG4 = dropkick[4]
  1245. TARG5 = dropkick[3]
  1246. TARG6 = dropkick[1]
  1247. wait(.05)
  1248. TARG1 = dropkick[5]
  1249. TARG2 = dropkick[6]
  1250. TARG3 = dropkick[2]
  1251. TARG4 = dropkick[4]
  1252. TARG5 = dropkick[3]
  1253. TARG6 = dropkick[1]
  1254. wait(.05)
  1255. TARG1 = dropkick[5]
  1256. TARG2 = dropkick[6]
  1257. TARG3 = dropkick[2]
  1258. TARG4 = dropkick[4]
  1259. TARG5 = dropkick[3]
  1260. TARG6 = dropkick[1]
  1261. wait(.05)
  1262. TARG1 = dropkick[5]
  1263. TARG2 = dropkick[6]
  1264. TARG3 = dropkick[2]
  1265. TARG4 = dropkick[4]
  1266. TARG5 = dropkick[3]
  1267. TARG6 = dropkick[1]
  1268. wait(.05)
  1269. local dmg = true
  1270. char["Right Leg"].Touched:connect(function(hit)
  1271. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  1272. local fn = Instance.new("Part",char)
  1273. fn.BrickColor = BrickColor.new("Medium stone grey")
  1274. fn.Size = Vector3.new(1,1,1)
  1275. fn.CanCollide = false
  1276. fn.Anchored = true
  1277. s2.Pitch = .9
  1278. s2:Play()
  1279. game.Debris:AddItem(fn,8)
  1280. fn.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  1281. local fms = Instance.new("SpecialMesh",fn)
  1282. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1283. fms.Scale = Vector3.new(1,1,6)
  1284. TARG7 = Vector3.new(10,5,10)
  1285. obj = fms
  1286. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1287. if hit.Parent:FindFirstChild("Stunned")then
  1288. hit.Parent:FindFirstChild("Stunned").Value = true
  1289. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1290. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1291. dmg = false
  1292. --[[
  1293. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1294. fr = false
  1295. if hit.Parent:FindFirstChild("Blocking")then
  1296. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1297. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1298. hit.Parent.BlockingLabel.Value = true
  1299. else
  1300. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1301. DGU(hit,fx)
  1302. fr = false
  1303. end
  1304. else
  1305. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1306. DGU(hit,fx)
  1307. fr = false
  1308. end
  1309. --
  1310. end
  1311. --]]
  1312. if hit.Parent:FindFirstChild("Blocking")then
  1313. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1314. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1315. hit.Parent.BlockingLabel.Value = true
  1316. stun.Value = true
  1317. else
  1318. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1319. DGU(hit,fx)
  1320. fr = false
  1321. end
  1322. else
  1323. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1324. DGU(hit,fx)
  1325. fr = false
  1326. end
  1327. else
  1328. local fx = math.floor(13 * atk.Value)
  1329. dmg = false
  1330. if hit.Parent:FindFirstChild("Blocking")then
  1331. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1332. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1333. hit.Parent.BlockingLabel.Value = true
  1334. stun.Value = true
  1335. else
  1336. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1337. DGU(hit,fx)
  1338. fr = false
  1339. end
  1340. else
  1341. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1342. DGU(hit,fx)
  1343. fr = false
  1344. end
  1345. end
  1346. end
  1347.  
  1348. for i = 1,10 do
  1349. wait()
  1350. fn.Transparency = fn.Transparency + .1
  1351. end
  1352. end
  1353. end)--]]
  1354. wait(.1)
  1355. skl = false
  1356. current = true
  1357. wait(.2)
  1358. dmg = false
  1359. wait(3)
  1360. end
  1361. end
  1362. end)
  1363.  
  1364.  
  1365.  
  1366.  
  1367. mouse.KeyDown:connect(function(key)key = key:lower()
  1368. if key == "v" then
  1369. if current == true and opend == true and stun.Value == false and energy > 49 and S4 == true then
  1370. current = false
  1371. wait(0.05)
  1372. S4T = 0
  1373. energy = energy - 59
  1374. wait()
  1375. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1376. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1377. TARG3 = FrontFlipKick1[2] -- NECK
  1378. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1379. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1380. TARG6 = FrontFlipKick1[1] -- TORSO
  1381. wait(0.05)
  1382. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1383. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1384. TARG3 = FrontFlipKick1[2] -- NECK
  1385. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1386. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1387. TARG6 = FrontFlipKick1[1] -- TORSO
  1388. wait(0.05)
  1389. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1390. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1391. TARG3 = FrontFlipKick1[2] -- NECK
  1392. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1393. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1394. TARG6 = FrontFlipKick1[1] -- TORSO
  1395. wait(0.05)
  1396. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1397. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1398. TARG3 = FrontFlipKick1[2] -- NECK
  1399. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1400. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1401. TARG6 = FrontFlipKick1[1] -- TORSO
  1402. wait(0.05)
  1403. local dmg = true
  1404. char["Right Leg"].Touched:connect(function(hit)
  1405. if dmg == true and hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
  1406. dmg = false
  1407. TARG1 = FrontFlipKick1[4] -- LEFT ARM
  1408. TARG2 = FrontFlipKick1[3]-- RIGHT ARM
  1409. TARG3 = FrontFlipKick1[2] -- NECK
  1410. TARG4 = FrontFlipKick1[6] -- RIGHT LEG
  1411. TARG5 = FrontFlipKick1[5] -- LEFT LEG
  1412. TARG6 = FrontFlipKick1[1] -- TORSO
  1413. local fn = Instance.new("Part",char)
  1414. fn.BrickColor = BrickColor.new("Medium stone grey")
  1415. fn.Size = Vector3.new(1,1,1)
  1416. fn.CanCollide = false
  1417. fn.Anchored = true
  1418. local fn = Instance.new("Part",char)
  1419. fn.BrickColor = BrickColor.new("Medium stone grey")
  1420. fn.Size = Vector3.new(1,1,1)
  1421. fn.CanCollide = false
  1422. fn.Anchored = true
  1423. s2.Pitch = .9
  1424. s2:Play()
  1425. game.Debris:AddItem(fn,8)
  1426. fn.CFrame = char["Right Leg"].CFrame
  1427. local fms = Instance.new("SpecialMesh",fn)
  1428. fms.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1429. fms.Scale = Vector3.new(1,1,6)
  1430. TARG7 = Vector3.new(5,1,5)
  1431. obj = fms
  1432.  
  1433. if hit.Parent:FindFirstChild("Humanoid").Health ~= 0 and hit.Parent.Name ~= player.Name then
  1434. if hit.Parent:FindFirstChild("Stunned")then
  1435. hit.Parent:FindFirstChild("Stunned").Value = true
  1436. --- I made it do that so this would stick for 12 Seconds ~ Thats how the stats work
  1437. local fx = math.floor(13 * atk.Value / hit.Parent:FindFirstChild("Defense").Value)
  1438. dmg = false
  1439. --[[
  1440. if hit.Parent.Name ~= player.Name and hit.Parent:FindFirstChild("Humanoid") and fr == true then
  1441. fr = false
  1442. if hit.Parent:FindFirstChild("Blocking")then
  1443. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1444. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1445. hit.Parent.BlockingLabel.Value = true
  1446. else
  1447. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1448. DGU(hit,fx)
  1449. fr = false
  1450. end
  1451. else
  1452. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1453. DGU(hit,fx)
  1454. fr = false
  1455. end
  1456. --
  1457. end
  1458. --]]
  1459. if hit.Parent:FindFirstChild("Blocking")then
  1460. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1461. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1462. hit.Parent.BlockingLabel.Value = true
  1463. stun.Value = true
  1464. else
  1465. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1466. DGU(hit,fx)
  1467. fr = false
  1468. end
  1469. else
  1470. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1471. DGU(hit,fx)
  1472. fr = false
  1473. end
  1474. else
  1475. local fx = math.floor(13 * atk.Value)
  1476. dmg = false
  1477. if hit.Parent:FindFirstChild("Blocking")then
  1478. if hit.Parent:FindFirstChild("Blocking").Value == true then
  1479. hit.Parent.PauseBlock.Value = true wait() hit.Parent.BlockingLeft.Value = 5 wait() hit.Parent.PauseBlock.Value = true
  1480. hit.Parent.BlockingLabel.Value = true
  1481. stun.Value = true
  1482. else
  1483. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1484. DGU(hit,fx)
  1485. fr = false
  1486. end
  1487. else
  1488. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - fx
  1489. DGU(hit,fx)
  1490. fr = false
  1491. end
  1492. end
  1493. end
  1494.  
  1495. for i = 0,10 do
  1496. wait()
  1497. fn.Transparency = fn.Transparency + .1
  1498. end
  1499. end
  1500. end)
  1501. --[[
  1502. ts.C0 = ts.C0:lerp(FrontFlipKick1[1],.4)
  1503. nc.C0 = nc.C0:lerp(FrontFlipKick1[2],.4)
  1504. ll.C0 = ll.C0:lerp(FrontFlipKick1[5],.4)
  1505. rl.C0 = rl.C0:lerp(FrontFlipKick1[6],.4)
  1506. w3.C0 = w3.C0:lerp(FrontFlipKick1[4],.4)
  1507. w4.C0 = w4.C0:lerp(FrontFlipKick1[3],.4)
  1508. --]]
  1509.  
  1510.  
  1511. wait(.1)
  1512. dmg = false
  1513. current = true
  1514. end
  1515. end
  1516. end)
  1517. --[[
  1518. --END
  1519. ts.C0 = ts.C0:lerp(UpSideDownPunch[1],.4)
  1520. nc.C0 = nc.C0:lerp(UpSideDownPunch[2],.4)
  1521. ll.C0 = ll.C0:lerp(UpSideDownPunch[3],.4)
  1522. rl.C0 = rl.C0:lerp(UpSideDownPunch[4],.4)
  1523. w3.C0 = w3.C0:lerp(UpSideDownPunch[5],.4)
  1524. w4.C0 = w4.C0:lerp(UpSideDownPunch[6],.4)
  1525. --START
  1526. ts.C0 = ts.C0:lerp(sjump[1],.4)
  1527. nc.C0 = nc.C0:lerp(sjump[2],.4)
  1528. ll.C0 = ll.C0:lerp(sjump[3],.4)
  1529. rl.C0 = rl.C0:lerp(sjump[4],.4)
  1530. w3.C0 = w3.C0:lerp(sjump[5],.4)
  1531. w4.C0 = w4.C0:lerp(sjump[6],.4)
  1532. --OTHER
  1533. TARG1 = walk[8] -- LEFT ARM
  1534. TARG2 = walk[7]-- RIGHT ARM
  1535. TARG3 = walk[6] -- NECK
  1536. TARG4 = walk[] -- RIGHT LEG
  1537. TARG5 = walk[] -- LEFT LEG
  1538. TARG6 = walk[5] -- TORSO
  1539. --]]
  1540. local Speed = .4
  1541. local lspeed = .2
  1542. game:GetService("RunService").RenderStepped:connect(function()
  1543. if Vector3.new(char.Torso.Velocity.X,0,char.Torso.Velocity.Z).magnitude > 2 then
  1544. IdleAndWalk = true
  1545. else
  1546. IdleAndWalk = false
  1547. end
  1548. if TARG4 ~= nil then
  1549. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  1550. end
  1551. if TARG5 ~= nil then
  1552. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  1553. end
  1554. if TARG3 ~= nil then
  1555. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  1556. end
  1557. if TARG1 ~= nil then
  1558. w3.C0 = w3.C0:lerp(TARG1,Speed)
  1559. end
  1560. if TARG2 ~= nil then
  1561. w4.C0 = w4.C0:lerp(TARG2,Speed)
  1562. end
  1563. if TARG6 ~= nil then
  1564. ts.C0 = ts.C0:lerp(TARG6,Speed)
  1565. end
  1566. if TARG7 ~= nil and obj ~= nil then
  1567. obj.Scale = obj.Scale:lerp(TARG7,.05)
  1568. end
  1569. if TARG8 ~= nil and obj2 ~= nil then
  1570. obj2.Size = obj2.Size:lerp(TARG8,.05)
  1571. obj2.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0)
  1572. end
  1573. if TARG10 ~= nil and obj3 ~= nil and TARG11 ~= nil then
  1574. obj3.Size = obj3.Size:lerp(TARG10,.05)
  1575. obj3.CFrame = char.Torso.CFrame * CFrame.new(0,-2.5,0) * TARG11
  1576. end
  1577. if TARG10 ~= nil and obj3 ~= nil and obj3.Transparency ~= 1 then
  1578. obj2.Transparency = obj2.Transparency + .05
  1579. obj3.Transparency = obj3.Transparency + .05
  1580. wait(.1)
  1581. end
  1582. if char.Humanoid.Jump == true then
  1583. gd.Value = true
  1584. else
  1585. gd.Value = false
  1586. end
  1587. if energy < 100 and current == true then
  1588. energy = energy + .05
  1589. end
  1590. for i=1,#parts do
  1591. local Part = parts[i]
  1592. Part.Size = Part.Size:lerp(Vector3.new(6, 32, 7),.05)
  1593. for x=1,#poses do
  1594. Part.CFrame = poses[i]
  1595. end
  1596. end
  1597. if blt.Value < 99 and bl.Value == false and stun.Value == false then
  1598. blt.Value = blt.Value + 0.03
  1599. end
  1600. if bl.Value == true and blt.Value < 5 then
  1601. bl.Value = false
  1602. current = true
  1603. skl = false
  1604. end
  1605. if bl.Value == true then
  1606. blt.Value = blt.Value - .5
  1607. end
  1608. if atkt.Value > 0 then
  1609. atkt.Value = atkt.Value - .02
  1610. else
  1611. atk.Value = 1.1
  1612. end
  1613. if deft.Value > 0 then
  1614. deft.Value = deft.Value - .02
  1615. else
  1616. def.Value = 1
  1617. end
  1618. if spdt.Value > 0 then
  1619. spdt.Value = spdt.Value - .02
  1620. else
  1621. wait()
  1622. if spdt.Value < 1 then
  1623. spd.Value = 1
  1624. end
  1625. end
  1626.  
  1627. --Skill 1
  1628. local DV2 = S1T / S1TF
  1629. local initX6 = f1.Size.X.Scale
  1630. f1f:TweenSize( UDim2.new( initX6*DV2* 1.665, 0, 1, 0),"In","Linear",1 )
  1631.  
  1632.  
  1633.  
  1634. if S1T < 14 then
  1635. S1T = S1T + .02
  1636. S1 = false
  1637. else
  1638. S1 = true
  1639. end
  1640. if S1T == 14 then
  1641. S1 = true
  1642. end
  1643.  
  1644.  
  1645. --Skill 2
  1646. local DV2 = S2T / S2TF
  1647. local initX6 = f2.Size.X.Scale
  1648. f2f:TweenSize( UDim2.new( initX6*DV2* 3.566, 0, 1, 0),"In","Linear",1 )
  1649.  
  1650.  
  1651.  
  1652. if S2T < 14 then
  1653. S2T = S2T + .01
  1654. S2 = false
  1655. else
  1656. S2 = true
  1657. end
  1658. if S2T == 15 then
  1659. S2 = true
  1660. end
  1661.  
  1662.  
  1663. --Skill 3
  1664. local DV2 = S3T / S3TF
  1665. local initX6 = f3.Size.X.Scale
  1666. f3f:TweenSize( UDim2.new( initX6*DV2* 2.855, 0, 1, 0),"In","Linear",1 )
  1667.  
  1668.  
  1669.  
  1670. if S3T < 14 then
  1671. S3T = S3T + .01
  1672. S3 = false
  1673. else
  1674. S3 = true
  1675. end
  1676. if S3T == 15 then
  1677. S3 = true
  1678. end
  1679.  
  1680. --Skill 4
  1681. local DV2 = S4T / S4TF
  1682. local initX6 = f4.Size.X.Scale
  1683. f4f:TweenSize( UDim2.new( initX6*DV2*3.45, 0, 1, 0),"In","Linear",1 )
  1684.  
  1685.  
  1686. if S4T < 29 then
  1687. S4T = S4T + .01
  1688. S4 = false
  1689. else
  1690. S4= true
  1691. end
  1692. if S4T == 30 then
  1693. S4 = true
  1694. end
  1695.  
  1696. end)
  1697. --SEC HANDLER
  1698. --[[
  1699. S1 = true
  1700. S1T = 7
  1701. S1TF = 7
  1702. S2 = true
  1703. S2T = 15
  1704. S2TF = 15
  1705. S3 = true
  1706. S3T = 12
  1707. S3TF = 12
  1708. S4 = true
  1709. S4T = 30
  1710. S4TF = 30
  1711. energy = 0
  1712. --]]
  1713.  
  1714.  
  1715.  
  1716.  
  1717. --makeui(Color3.new(0,255,0),"+Speed")
  1718. --makeui(Color3.new(255,0,0),"+Damage")
  1719. --makeui(Color3.new(0,0,255),"+Defense")
  1720. ---VALUE CHANGERS
  1721. satk = atk.Value
  1722. sdef = def.Value
  1723. sspd = spd.Value
  1724. atk.Changed:connect(function()
  1725. if satk > atk.Value then
  1726. atkt.Value = atkt.Value + 4
  1727. makeui(Color3.new(255,0,0),"-Damage")
  1728. satk = atk.Value
  1729. else
  1730. atkt.Value = atkt.Value + 4
  1731. makeui(Color3.new(255,0,0),"+Damage")
  1732. satk = atk.Value
  1733. end
  1734. end)
  1735. def.Changed:connect(function()
  1736. if sdef > def.Value then
  1737. deft.Value = deft.Value + 4
  1738. makeui(Color3.new(0,0,255),"-Defense")
  1739. sdef = def.Value
  1740. else
  1741. deft.Value = deft.Value + 4
  1742. makeui(Color3.new(0,0,255),"+Defense")
  1743. sdef = def.Value
  1744. end
  1745. end)
  1746. spd.Changed:connect(function()
  1747. if sspd > spd.Value then
  1748. spdt.Value = spdt.Value + 4
  1749. makeui(Color3.new(0,255,0),"-Speed")
  1750. sspd = spd.Value
  1751. else
  1752. spdt.Value = spdt.Value + 4
  1753. makeui(Color3.new(0,255,0),"+Speed")
  1754. sspd = spd.Value
  1755. end
  1756. end)
  1757. bll.Changed:connect(function()
  1758. if bll.Value == true then
  1759.  
  1760. local c = Instance.new("Part",game.Workspace)
  1761. c.Anchored = true
  1762. c.CanCollide = false
  1763. c.BrickColor = BrickColor.new("Medium stone grey")
  1764. c.Shape = "Ball"
  1765. c.Size = Vector3.new(1,1,1)
  1766. c.CFrame = char.Torso.CFrame
  1767. c.TopSurface = "Smooth"
  1768. c.BottomSurface = "Smooth"
  1769. c.Transparency = .1
  1770. local v = Instance.new("Part",game.Workspace)
  1771. v.Anchored = true
  1772. v.CanCollide = false
  1773. v.BrickColor = BrickColor.new("Medium stone grey")
  1774. v.Size = Vector3.new(1,1,1)
  1775. v.CFrame = char.Torso.CFrame
  1776. v.TopSurface = "Smooth"
  1777. v.BottomSurface = "Smooth"
  1778. v.Transparency = .1
  1779. obj2 = c
  1780. TARG8 = Vector3.new(30,30,30)
  1781. obj3 = v
  1782. TARG10 = Vector3.new(15,21,15)
  1783. TARG11 = CFrame.new(0,0,0)
  1784. makeui(BrickColor.new("Bright bluish green").Color,"Blocked!")
  1785. bll.Value = false
  1786. end
  1787. end)
  1788. stun.Changed:connect(function()
  1789. if stun.Value == true then
  1790. makeui(Color3.new(255,255,0),"+Stunned")
  1791. wait(2)
  1792. if opend == true then
  1793. stun.Value = false
  1794. end
  1795. end
  1796. if stun.Value == false then
  1797. makeui(Color3.new(255,255,0),"-Stunned")
  1798. end
  1799. end)
  1800. -------------------
  1801. while wait() do
  1802. wait()
  1803. fa.Text = "Attack : "..atk.Value
  1804. fa2.Text = "Speed : "..spd.Value
  1805. fa3.Text = "Defense : "..def.Value
  1806. ----HP
  1807. local initX5 = f5.Size.X.Scale
  1808. local maxhp = char.Humanoid.MaxHealth
  1809. local hp = char.Humanoid.Health
  1810. local Pie = (hp / maxhp)
  1811. f5f:TweenSize( UDim2.new( initX5*Pie*3.33, 0, 1, 0),"In","Linear",1 )
  1812. ---Energy
  1813. local DV1 = energy / 100
  1814. local initX6 = f6.Size.X.Scale
  1815. f6f:TweenSize( UDim2.new( initX6*DV1*3.33, 0, 1, 0),"In","Linear",1 )
  1816. ---Block
  1817. local DV1 = blt.Value / blm
  1818. local initX6 = f9.Size.X.Scale
  1819. f9f:TweenSize( UDim2.new( initX6*DV1*1.63, 0, 1, 0),"In","Linear",1 )
  1820. if opend == true and current == true and idleq == false then
  1821. if stun.Value == true then
  1822. TARG1 = stunned[3] -- LEFT ARM
  1823. TARG2 = stunned[2]-- RIGHT ARM
  1824. TARG3 = stunned[1] -- NECK
  1825. TARG4 = stunned[5] -- RIGHT LEG
  1826. TARG5 = stunned[4] -- LEFT LEG
  1827. TARG6 = stunned[6] -- TORSO TILT
  1828. char.Humanoid.WalkSpeed = 0
  1829. end
  1830. if stun.Value == true then
  1831. char.Humanoid.JumpPower = 0
  1832. else
  1833. char.Humanoid.JumpPower = 50
  1834. end
  1835. if stun.Value == false and skl == false then
  1836. char.Humanoid.WalkSpeed = 16 * spd.Value
  1837. end
  1838. if char.Humanoid.Jump == true and stun.Value == false and bl.Value == false then
  1839. TARG1 = jump[3] -- LEFT ARM
  1840. TARG2 = jump[2]-- RIGHT ARM
  1841. TARG3 = jump[1] -- NECK
  1842. TARG4 = jump[5] -- RIGHT LEG
  1843. TARG5 = jump[4] -- LEFT LEG
  1844. TARG6 = CFrame.new(0,0,0)
  1845. end
  1846. --ts.C0 = ts.C0:lerp(stunned[6],.4)
  1847. --nc.C0 = nc.C0:lerp(stunned[1],.4)
  1848. --ll.C0 = ll.C0:lerp(stunned[4],.4)
  1849. --rl.C0 = rl.C0:lerp(stunned[5],.4)
  1850. --w3.C0 = w3.C0:lerp(stunned[3],.4)
  1851. --w4.C0 = w4.C0:lerp(stunned[2],.4)
  1852. local lilwl = ll.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  1853. local lirwl = rl.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  1854.  
  1855. --RIGHT
  1856. local lilwr = ll.C0 * CFrame.new(0,0,.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0))
  1857. local lirwr = rl.C0 * CFrame.new(0,0,-.5) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0))
  1858.  
  1859.  
  1860. --
  1861. if bl.Value == false then
  1862. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false then
  1863. TARG1 = walk[8] -- LEFT ARM
  1864. TARG2 = walk[7]-- RIGHT ARM
  1865. TARG3 = walk[6] -- NECK
  1866. TARG4 = walk[4] -- RIGHT LEG
  1867. TARG5 = walk[3] -- LEFT LEG
  1868. TARG6 = walk[5] -- TORSO
  1869. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1870. wait(.05)
  1871. end
  1872. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1873. wait(.05)
  1874. end
  1875. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1876. wait(.05)
  1877. end
  1878. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1879. wait(.05)
  1880. end
  1881. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1882. TARG1 = walk[8] -- LEFT ARM
  1883. TARG2 = walk[7]-- RIGHT ARM
  1884. TARG3 = walk[6] -- NECK
  1885. TARG4 = walk[2] -- RIGHT LEG
  1886. TARG5 = walk[1] -- LEFT LEG
  1887. TARG6 = walk[5] -- TORSO
  1888. end
  1889. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1890. wait(.05)
  1891. end
  1892. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1893. wait(.05)
  1894. end
  1895. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1896. wait(.05)
  1897. end
  1898. if IdleAndWalk == true and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1899. wait(.05)
  1900. end
  1901. else
  1902. if IdleAndWalk == false and char.Humanoid.Jump == false and stun.Value == false and bl.Value == false then
  1903. TARG1 = idle[5]
  1904. TARG2 = idle[6]
  1905. TARG3 = idle[2]
  1906. TARG4 = idle[4]
  1907. TARG5 = idle[3]
  1908. TARG6 = idle[1]
  1909. end
  1910. end
  1911. end
  1912. --
  1913. end
  1914. end
  1915.  
  1916. --[[
  1917.  
  1918.  
  1919.  
  1920.  
  1921. ts.C0 = ts.C0:lerp(idle[1],.4)
  1922. nc.C0 = nc.C0:lerp(idle[2],.4)
  1923. ll.C0 = ll.C0:lerp(idle[3],.4)
  1924. rl.C0 = rl.C0:lerp(idle[4],.4)
  1925. w3.C0 = w3.C0:lerp(idle[5],.4)
  1926. w4.C0 = w4.C0:lerp(idle[6],.4)
  1927.  
  1928. TARG1 = idle[5]
  1929. TARG2 = idle[6]
  1930. TARG3 = idle[2]
  1931. TARG4 = idle[5]
  1932. TARG5 = idle[3]
  1933. TARG6 = idle[2]
  1934. if TARG4 ~= nil then
  1935. rl.C0 = rl.C0:lerp(TARG4,lspeed)
  1936. end
  1937. if TARG5 ~= nil then
  1938. ll.C0 = ll.C0:lerp(TARG5,lspeed)
  1939. end
  1940. if TARG3 ~= nil then
  1941. nc.C0 = nc.C0:lerp(TARG3,lspeed)
  1942. end
  1943. if TARG1 ~= nil then
  1944. w3.C0 = w3.C0:lerp(TARG1,Speed)
  1945. end
  1946. if TARG2 ~= nil then
  1947. w4.C0 = w4.C0:lerp(TARG2,Speed)
  1948. end
  1949.  
  1950. ll.C0 = ll.C0:lerp(walk[3],.4)
  1951. rl.C0 = rl.C0:lerp(walk[4],.4)
  1952. ---OTHER ANIMS
  1953. ts.C0 = ts.C0:lerp(walk[5],.4)
  1954. nc.C0 = nc.C0:lerp(walk[6],.4)
  1955. w4.C0 = w4.C0:lerp(walk[7],.4)
  1956. w3.C0 = w3.C0:lerp(walk[8],.4)
  1957.  
  1958. TARG1 = walk[8] -- LEFT ARM
  1959. TARG2 = walk[7]-- RIGHT ARM
  1960. TARG3 = walk[6] -- NECK
  1961. TARG4 = walk[] -- RIGHT LEG
  1962. TARG5 = walk[] -- LEFT LEG
  1963. TARG6 = walk[5] -- TORSO
  1964.  
  1965. for i = 0,1,wait() do
  1966. wait()
  1967. ll.C0 = ll.C0:lerp(walk[3],.4)
  1968. rl.C0 = rl.C0:lerp(walk[4],.4)
  1969. ---OTHER ANIMS
  1970. ts.C0 = ts.C0:lerp(walk[5],.4)
  1971. nc.C0 = nc.C0:lerp(walk[6],.4)
  1972. w4.C0 = w4.C0:lerp(walk[7],.4)
  1973. w3.C0 = w3.C0:lerp(walk[8],.4)
  1974. end--]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement