Advertisement
c3ax

Untitled

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