Advertisement
Lanceron2

Untitled

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