Advertisement
YourHumbleScripter

muda

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