ghostteen14

Untitled

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