AndrewTheMaster

Happy chaos

May 3rd, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.93 KB | None | 0 0
  1. --alright so lets clear some shit up
  2. --this is a really old version of hakumen
  3. --i didnt realise it until hierofag told ppatta who told me.
  4. --me and couple peeps are still planning to get the updated one
  5. --gl fixing.
  6.  
  7. --[[my notes
  8. line 1039
  9. line 1082
  10. line 1121
  11. line 1185
  12. --]]
  13.  
  14. wait(2)
  15. local Player = game.Players.LocalPlayer
  16. repeat
  17. wait()
  18. until Player
  19. local Character = Player.Character
  20. repeat
  21. wait()
  22. until Character
  23. local CFolder = Instance.new("Folder", Player)
  24. CFolder.Name = "Chaos\' Folder"
  25. local CFBP = Instance.new("BodyPosition", CFolder)
  26. script.Parent = CFBP
  27. print(script.Parent, CFBP.Parent, CFolder.Parent)
  28. local Mouse = Player:GetMouse()
  29. local LeftArm = Character:WaitForChild("Left Arm")
  30. local RightArm = Character:WaitForChild("Right Arm")
  31. local LeftLeg = Character:WaitForChild("Left Leg")
  32. local RightLeg = Character:WaitForChild("Right Leg")
  33. local Head = Character:WaitForChild("Head")
  34. local Torso = Character:WaitForChild("Torso")
  35. local RootPart = Character:WaitForChild("HumanoidRootPart")
  36. local Humanoid = Character:WaitForChild("Humanoid")
  37. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  38. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  39. local LeftHip = Torso:WaitForChild("Left Hip")
  40. local RightHip = Torso:WaitForChild("Right Hip")
  41. local Neck = Torso:WaitForChild("Neck")
  42. local RootJoint = RootPart:WaitForChild("RootJoint")
  43. local Camera = workspace.CurrentCamera
  44. local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  45. FLeftShoulder.Name = "Left Shoulder"
  46. FRightShoulder.Name = "Right Shoulder"
  47. local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
  48. FLeftHip.Name = "Left Hip"
  49. FRightHip.Name = "Right Hip"
  50. local FRootJoint = Instance.new("Weld", RootPart)
  51. FRootJoint.Name = "Root Joint"
  52. local CamPart, RootGyro, CamGyro = Instance.new("Part", Character), Instance.new("BodyGyro", RootPart), Instance.new("BodyGyro")
  53. CamPart.Transparency = 1
  54. CamPart.CanCollide = false
  55. CamPart.Locked = true
  56. CamPart.Anchored = true
  57. RootGyro.MaxTorque = Vector3.new(0, 0, 0)
  58. RootGyro.Name = "MadeBy" .. Player.Name .. ""
  59. CamGyro.Parent = CamPart
  60. CamGyro.MaxTorque = Vector3.new(0, 0, 0)
  61. CamGyro.Name = "MadeBy" .. Player.Name .. ""
  62. local Drag_To_Part = Instance.new("Part", Character)
  63. Drag_To_Part.Transparency = 1
  64. Drag_To_Part.Name = "Drag-to-part"
  65. Drag_To_Part.Size = Vector3.new(0.2, 0.2, 0.2)
  66. Drag_To_Part.Anchored = false
  67. Drag_To_Part.CanCollide = false
  68. Drag_To_Part.Locked = true
  69. local DTPWeld = Instance.new("Weld", Drag_To_Part)
  70. DTPWeld.Part0 = RootPart
  71. DTPWeld.Part1 = Drag_To_Part
  72. local WepWeld = nil
  73. local NLSC0 = LeftShoulder.C0
  74. local NLSC1 = LeftShoulder.C1
  75. local NRSC0 = RightShoulder.C0
  76. local NRSC1 = RightShoulder.C1
  77. local NLHC0 = LeftHip.C0
  78. local NLHC1 = LeftHip.C1
  79. local NRHC0 = RightHip.C0
  80. local NRHC1 = RightHip.C1
  81. local NNC0 = Neck.C0
  82. local NNC1 = Neck.C1
  83. local NRJC0 = RootJoint.C0
  84. local NRJC1 = RootJoint.C1
  85. local Handle, Hitbox = nil, nil
  86. local chatServ = game:GetService("Chat")
  87. local runServ = game:GetService("RunService").RenderStepped
  88. local debServ = game:GetService("Debris")
  89. local CurrentSpeed = 16
  90. local Current_Anim = "Idle"
  91. local Attack_Num = 1
  92. local Damage_Buff = 1
  93. local Last_Health = 800
  94. local Max_Health = 800
  95. local idle = 1
  96. local idlenum = 1
  97. local idlenum2 = 1
  98. local walk = 1
  99. local walknum = 1
  100. local walknum2 = 1
  101. local Text_Table = {}
  102. local Effects = {}
  103. local DragTable = {}
  104. local KeyStroke = {}
  105. local Target = nil
  106. local ViewDirection = "Right"
  107. local ViewMode = "3D"
  108. local CamGyro = Instance.new("BodyGyro", RootPart)
  109. CamGyro.MaxTorque = Vector3.new(0, 0, 0)
  110. local LLCF = CFrame.new()
  111. local SWP = Instance.new("BoolValue")
  112. local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
  113. local Debounces = {Equipped = false, Equipping = false, HasWep = false, Attacking = false, Locked_On = false, Can_Double_Jump = false, AnimOverride = false, Guarding = false, Crouching = false, JumpAnim = false, DoubleJumpAnim = false, KeyStrokeEnabled = false, UIAction = false, ZeroGravity = false, DoubleJumping = false}
  114. local rad = math.rad
  115. local huge = math.huge
  116. local rand = math.random
  117. local Vec = Vector3.new
  118. local Cf = CFrame.new
  119. local Euler = CFrame.fromEulerAnglesXYZ
  120. local BC = BrickColor.new
  121. local Col3 = Color3.new
  122. local Inst = Instance.new
  123. local Ud2 = UDim2.new
  124. local FONT = "SourceSansLight"
  125. local DecName = "MadeBy" .. Player.Name .. ""
  126. local GodMode = true
  127. local OP_HEALTH = runServ:connect(function()
  128. if GodMode then
  129. Humanoid.MaxHealth = huge
  130. Humanoid.Health = huge
  131. end
  132. end
  133. )
  134. local Colour1 = BC("Bright red")
  135. local Colour2 = BC("Really black")
  136. local Colour3 = BC("Smoky grey")
  137. local Chaos_UI = Inst("ScreenGui", Player.PlayerGui)
  138. Chaos_UI.Name = "Chaos UI"
  139. local ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI)
  140. ColMain.Name = "ColorUI"
  141. ColMain.Position = Ud2(0.85, 0, 0.5, 0)
  142. ColMain.Size = Ud2(0.15, 0, 0.5, 0)
  143. ColMain.Style = "DropShadow"
  144. local col1, Done = Inst("Frame", ColMain), Inst("TextButton", ColMain)
  145. local ccol1, cc1 = Inst("TextBox", col1), Inst("TextLabel", col1)
  146. col1.BackgroundTransparency = 1
  147. col1.Name = "Col1"
  148. col1.Size = Ud2(1, 0, 0.2, 0)
  149. ccol1.BackgroundTransparency = 1
  150. ccol1.Name = "Colour"
  151. ccol1.Position = Ud2(0.3, 0, 0, 0)
  152. ccol1.Size = Ud2(0.7, 0, 1, 0)
  153. ccol1.Font = FONT
  154. ccol1.Text = "Really red"
  155. if Player.UserId == 43981323 then
  156. ccol1.Text = "Dark indigo"
  157. end
  158. ccol1.TextColor3 = Col3(1, 1, 1)
  159. ccol1.TextScaled = true
  160. cc1.BackgroundTransparency = 1
  161. cc1.Name = "Col"
  162. cc1.Size = Ud2(0.3, 0, 1, 0)
  163. cc1.Font = FONT
  164. cc1.Text = "Colour 1:"
  165. cc1.TextColor3 = Col3(1, 1, 1)
  166. cc1.TextScaled = true
  167. local col2 = col1:Clone()
  168. col2.Parent = ColMain
  169. col2.Name = "Col2"
  170. col2.Position = Ud2(0, 0, 0.3, 0)
  171. col2:WaitForChild("Colour").Text = "Really black"
  172. col2:WaitForChild("Col").Text = "Colour 2:"
  173. if Player.UserId == 43981323 then
  174. col2:WaitForChild("Colour").Text = "Really black"
  175. end
  176. local col3 = col1:Clone()
  177. col3.Parent = ColMain
  178. col3.Name = "Col3"
  179. col3.Position = Ud2(0, 0, 0.6, 0)
  180. col3:WaitForChild("Colour").Text = "Smoky grey"
  181. col3:WaitForChild("Col").Text = "Colour 3:"
  182. if Player.UserId == 43981323 then
  183. col3:WaitForChild("Colour").Text = "Really black"
  184. end
  185. Done.BackgroundColor3 = Col3(0, 1, 0)
  186. Done.BorderSizePixel = 0
  187. Done.Name = "Done"
  188. Done.Position = Ud2(0.08, 0, 0.8, 0)
  189. Done.Size = Ud2(0.85, 0, 0.15, 0)
  190. Done.Font = FONT
  191. Done.Text = "Done!"
  192. Done.TextColor3 = Col3(1, 1, 1)
  193. Done.TextScaled = true
  194. KP.Name = "KeysPressed"
  195. KP.Position = Ud2(0, 0, 0.9, 0)
  196. KP.Size = Ud2(0.25, 0, 0.1, 0)
  197. KP.Style = "DropShadow"
  198. local KPTemplate = Inst("TextLabel", KP)
  199. KPTemplate.BackgroundTransparency = 1
  200. KPTemplate.Name = "Template"
  201. KPTemplate.Size = Ud2(0.15, 0, 1, 0)
  202. KPTemplate.Font = FONT
  203. KPTemplate.Text = ">"
  204. KPTemplate.TextColor3 = Col3(1, 1, 1)
  205. KPTemplate.TextScaled = true
  206. Moves.BackgroundColor3 = Col3(0.28235294117647, 0.28235294117647, 0.28235294117647)
  207. Moves.BackgroundTransparency = 0.8
  208. Moves.BorderSizePixel = 0
  209. Moves.Name = "Moves"
  210. Moves.Position = Ud2(0.8, 0, 0.5, 0)
  211. Moves.Size = Ud2(0.2, 0, 0.5, 0)
  212. Moves.Visible = false
  213. Moves.ScrollBarThickness = 8
  214. OM.Name = "View Moves List"
  215. OM.Position = Ud2(0.92, 0, 0.42, 0)
  216. OM.Size = Ud2(0.08, 0, 0.08, 0)
  217. OM.Visible = false
  218. OM.Style = "RobloxRoundButton"
  219. OM.Font = FONT
  220. OM.Text = "View Moves List"
  221. OM.TextColor3 = Col3(1, 1, 1)
  222. OM.TextScaled = true
  223. local Title = Inst("TextLabel", Moves)
  224. Title.BackgroundTransparency = 1
  225. Title.Name = "Title"
  226. Title.Size = Ud2(1, 0, 0.02, 0)
  227. Title.Font = FONT
  228. Title.Text = "Move List"
  229. Title.TextColor3 = Col3(1, 1, 1)
  230. Title.TextScaled = true
  231. Title.TextStrokeTransparency = 0
  232. CreateWeaponPart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, MeshClass, MeshScale, MeshId, MeshType)
  233. local Part = Instance.new(className, parent)
  234. Part.BrickColor = BrickColor.new(Brickcolor)
  235. Part.Transparency = Transparency
  236. Part.Reflectance = Reflectance
  237. Part.Material = Material
  238. Part.Name = Name
  239. Part.Anchored = true
  240. Part.CanCollide = false
  241. Part.Locked = true
  242. Part.Size = Size
  243. Part.Position = Position
  244. Part.Rotation = Rotation
  245. local Mesh = Instance.new(MeshClass, Part)
  246. Mesh.Scale = MeshScale
  247. if MeshClass == "SpecialMesh" then
  248. Mesh.MeshId = MeshId
  249. Mesh.MeshType = MeshType
  250. end
  251. return Part
  252. end
  253.  
  254. local Denial = Inst("Model", Character)
  255. Denial.Name = "Denial"
  256. CreateWeapon = function()
  257. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(0, 7.2, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
  258. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(1.4, 8.4, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
  259. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(1.4, 5.3, -272.2), Vec(0, 0, 0), Vec(0.4, 6.2, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
  260. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(0, 4.7, -272.2), Vec(0, 0, 0), Vec(0.4, 5, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
  261. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.3, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
  262. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.4, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
  263. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.3, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  264. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.1, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  265. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.1, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
  266. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.3, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
  267. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  268. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.3, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  269. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.7, 5, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
  270. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.1, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
  271. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.1, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  272. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
  273. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.4, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
  274. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.7, 7.8, -272.2), Vec(0, 90, 0), Vec(0.2, 1.2, 1.4), "SpecialMesh", Vec(1.25, 1, 1), "", "Wedge")
  275. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.7, 3.6, -272.2), Vec(0, 0, 0), Vec(1.4, 2.8, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
  276. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.7, 6.6, -272.2), Vec(0, 0, 0), Vec(1.4, 1.2, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
  277. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
  278. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(1.1, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
  279. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.3, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
  280. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.7, 6, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
  281. CreateWeaponPart("Part", Denial, Colour2, "Granite", 0, 0, "BladePart", Vec(0.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
  282. CreateWeaponPart("Part", Denial, Colour1, "SmoothPlastic", 0, 0, "BladeRing", Vec(0.7, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 0.2, 0.2), "SpecialMesh", Vec(0.9, 0.9, 2), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
  283. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeTop", Vec(0.683, 7.786, -272.2), Vec(180, 0, 49.399), Vec(0.4, 1.8, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
  284. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(1.4, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
  285. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
  286. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1.1, 1.28, 1.1), "", "")
  287. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1.1, 1, 1.28), "", "")
  288. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.1, -272.2), Vec(0, 0, 0), Vec(1.4, 0.2, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
  289. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
  290. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.2, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.15, 1.28), "", "")
  291. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1, 1.3, 1), "", "")
  292. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.6, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
  293. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
  294. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.4, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
  295. Handle = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Handle", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
  296. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  297. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  298. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  299. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  300. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  301. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  302. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  303. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  304. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  305. CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
  306. CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "HandleNeon", Vec(0.7, 1, -272.2), Vec(0, 0, 0), Vec(1, 2, 0.2), "CylinderMesh", Vec(0.85, 0.9, 0.85), "", "")
  307. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 0, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
  308. CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 2, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
  309. Hitbox = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Hitbox", Vec(0.7, 5.4, -272.2), Vec(0, 0, 0), Vec(2.2, 6.8, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
  310. for _,Part in pairs(Denial:GetChildren()) do
  311. if Part:IsA("Part") then
  312. if Part.Name ~= "Handle" then
  313. local x = Handle
  314. local y = Part
  315. local W = Instance.new("Weld")
  316. W.Part0 = x
  317. W.Part1 = y
  318. local CJ = CFrame.new(x.Position)
  319. local C0 = x.CFrame:inverse() * CJ
  320. local C1 = y.CFrame:inverse() * CJ
  321. W.C0 = C0
  322. W.C1 = C1
  323. W.Parent = x
  324. x.Anchored = false
  325. y.Anchored = false
  326. end
  327. do
  328. do
  329. Part.Anchored = false
  330. Part.TopSurface = "SmoothNoOutlines"
  331. Part.BottomSurface = "SmoothNoOutlines"
  332. Part.LeftSurface = "SmoothNoOutlines"
  333. Part.RightSurface = "SmoothNoOutlines"
  334. Part.FrontSurface = "SmoothNoOutlines"
  335. Part.BackSurface = "SmoothNoOutlines"
  336. -- DECOMPILER ERROR at PC1744: LeaveBlock: unexpected jumping out DO_STMT
  337.  
  338. -- DECOMPILER ERROR at PC1744: LeaveBlock: unexpected jumping out IF_THEN_STMT
  339.  
  340. -- DECOMPILER ERROR at PC1744: LeaveBlock: unexpected jumping out IF_STMT
  341.  
  342. end
  343. end
  344. end
  345. end
  346. Handle.Anchored = true
  347. end
  348.  
  349. local d = false
  350. Done.MouseButton1Click:connect(function()
  351. if not d then
  352. d = true
  353. Colour1 = col1:WaitForChild("Colour").Text
  354. Colour2 = col2:WaitForChild("Colour").Text
  355. Colour3 = col3:WaitForChild("Colour").Text
  356. debServ:AddItem(ColMain, 0)
  357. OM.Visible = true
  358. CreateWeapon()
  359. GodMode = false
  360. Handle.Anchored = false
  361. WepWeld = Inst("Motor6D", Handle)
  362. WepWeld.Name = "Handle Joint"
  363. WepWeld.Part0 = Torso
  364. WepWeld.Part1 = Handle
  365. WepWeld.C0 = Cf(1.5, -1, 0.6) * Euler(rad(-90), rad(0), rad(90))
  366. Humanoid.MaxHealth = Max_Health
  367. wait(0.1)
  368. Humanoid.Health = Max_Health
  369. end
  370. end
  371. )
  372. Create_Moves_In_List = function()
  373. local move = Title:Clone()
  374. move.Parent = Moves
  375. move.Name = "A Move"
  376. move.Text = "Q - Enable/Disable Keystrokes"
  377. move.Position = Ud2(0, 0, 0.02, 0)
  378. move.TextXAlignment = "Left"
  379. move = Title:Clone()
  380. move.Parent = Moves
  381. move.Name = "A Move"
  382. move.Text = "E - Disrupt"
  383. move.Position = Ud2(0, 0, 0.04, 0)
  384. move.TextXAlignment = "Left"
  385. move = Title:Clone()
  386. move.Parent = Moves
  387. move.Name = "A Move"
  388. move.Text = "F - Equip/Unequip"
  389. move.Position = Ud2(0, 0, 0.06, 0)
  390. move.TextXAlignment = "Left"
  391. move = Title:Clone()
  392. move.Parent = Moves
  393. move.Name = "3D Title"
  394. move.Text = "--3D Moves--"
  395. move.Position = Ud2(0, 0, 0.08, 0)
  396. move = Title:Clone()
  397. move.Parent = Moves
  398. move.Name = "A Move"
  399. move.Text = "Z - Fatal Blow"
  400. move.Position = Ud2(0, 0, 0.1, 0)
  401. move.TextXAlignment = "Left"
  402. move = Title:Clone()
  403. move.Parent = Moves
  404. move.Name = "A Move"
  405. move.Text = "X - Axel"
  406. move.Position = Ud2(0, 0, 0.12, 0)
  407. move.TextXAlignment = "Left"
  408. move = Title:Clone()
  409. move.Parent = Moves
  410. move.Name = "A Move"
  411. move.Text = "Ctrl - Change ViewMode"
  412. move.Position = Ud2(0, 0, 0.14, 0)
  413. move.TextXAlignment = "Left"
  414. end
  415.  
  416. Create_Moves_In_List()
  417. OM.MouseButton1Click:connect(function()
  418. if not Debounces.UIAction and not Moves.Visible then
  419. Debounces.UIAction = true
  420. OM.Text = "Hide Move List"
  421. Moves.Visible = true
  422. wait(0.3)
  423. Debounces.UIAction = false
  424. else
  425. if not Debounces.UIAction and Moves.Visible then
  426. Debounces.UIAction = true
  427. OM.Text = "View Move List"
  428. Moves.Visible = false
  429. wait(0.3)
  430. Debounces.UIAction = false
  431. end
  432. end
  433. end
  434. )
  435. local Holder = CreateWeaponPart("Part", Character, "White", "SmoothPlastic", 1, 0, "Holder", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
  436. Holder.Anchored = false
  437. local HWeld = Inst("Motor6D", RightArm)
  438. HWeld.Name = "Holder Joint"
  439. HWeld.Part0 = RightArm
  440. HWeld.Part1 = Holder
  441. HWeld.C0 = Cf(0, -1, 0)
  442. Humanoid.Changed:connect(function()
  443. if Humanoid.Health < 0.001 then
  444. debServ:AddItem(CFolder, 5)
  445. end
  446. end
  447. )
  448. repeat
  449. repeat
  450. wait()
  451. until Handle
  452. until Hitbox
  453. print("Handle and Hitbox created")
  454. local F1, F2 = Inst("Folder", Character), Inst("Folder")
  455. F1.Name = "Effects Folder"
  456. F2.Parent = F1
  457. F2.Name = "Effects"
  458. Protector = function(object)
  459. if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then
  460. game:GetService("RunService").Stepped:wait()
  461. if object.Name ~= DecName then
  462. debServ:AddItem(object, 0)
  463. if object:IsA("BodyMover") then
  464. RootPart.Velocity = Vec(0, 0, 0)
  465. end
  466. end
  467. end
  468. end
  469.  
  470. for _,child in pairs(Character:GetChildren()) do
  471. if child:IsA("BasePart") then
  472. child.ChildAdded:connect(Protector)
  473. child.DescendantAdded:connect(Protector)
  474. end
  475. end
  476. for _,child in pairs(Denial:GetChildren()) do
  477. if child:IsA("BasePart") then
  478. child.ChildAdded:connect(Protector)
  479. child.DescendantAdded:connect(Protector)
  480. end
  481. end
  482. Momentum_Cancel = function()
  483. if Humanoid.WalkSpeed + 50 < (RootPart.Velocity).Magnitude and not Debounces.Attacking and not Debounces.DoubleJumping then
  484. RootPart.Velocity = Vec(0, 0, 0)
  485. end
  486. end
  487.  
  488. RootPart.Changed:connect(Momentum_Cancel)
  489. Torso.Changed:connect(Momentum_Cancel)
  490. Head.Changed:connect(Momentum_Cancel)
  491. RightArm.Changed:connect(Momentum_Cancel)
  492. RightLeg.Changed:connect(Momentum_Cancel)
  493. LeftArm.Changed:connect(Momentum_Cancel)
  494. LeftLeg.Changed:connect(Momentum_Cancel)
  495. Humanoid.Changed:connect(function()
  496. if Humanoid.Health < 0.01 then
  497. Denial.Parent = workspace
  498. Hitbox.CanCollide = true
  499. debServ:AddItem(Denial, 30)
  500. end
  501. end
  502. )
  503. AdvanceText = function()
  504. for i,v in pairs(Text_Table) do
  505. if v ~= nil then
  506. if v.StudsOffset.Y >= 5 then
  507. v.Time.Counter.Value = v.Time.Counter.Value + 0.1
  508. if v.Time.Value <= v.Time.Counter.Value then
  509. v.WHYYYYYYYY.TextTransparency = v.WHYYYYYYYY.TextTransparency + 0.15
  510. v.WHYYYYYYYY.TextStrokeTransparency = v.WHYYYYYYYY.TextStrokeTransparency + 0.15
  511. if v.WHYYYYYYYY.TextTransparency >= 1 then
  512. debServ:AddItem(v.Parent, 1)
  513. table.remove(Text_Table, i)
  514. end
  515. end
  516. else
  517. v.StudsOffset = Vector3.new(0, v.StudsOffset.Y + 0.15, 0)
  518. end
  519. end
  520. end
  521. end
  522.  
  523. MakeText = function(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
  524. local tpart = Instance.new("Part")
  525. tpart.Parent = F2
  526. tpart.Transparency = 1
  527. tpart.Name = "hoi hoi"
  528. tpart.Anchored = true
  529. tpart.CanCollide = false
  530. tpart.Locked = true
  531. tpart.Size = Vector3.new(0.2, 0.2, 0.2)
  532. tpart.CFrame = cFrame * CFrame.new(math.random(-2, 2), 0, math.random(-2, 2))
  533. local bill = Instance.new("BillboardGui")
  534. bill.Parent = tpart
  535. bill.AlwaysOnTop = true
  536. bill.Name = "HUHHHHHNAAAA"
  537. bill.Size = UDim2.new(4, 0, 4, 0)
  538. bill.StudsOffset = Vector3.new(0, 1, 0)
  539. local tem = Instance.new("NumberValue", bill)
  540. tem.Value = duration
  541. tem.Name = "Time"
  542. local counter = Instance.new("NumberValue", tem)
  543. counter.Value = 0
  544. counter.Name = "Counter"
  545. local textl = Instance.new("TextLabel")
  546. textl.Parent = bill
  547. textl.Name = "WHYYYYYYYY"
  548. textl.BackgroundTransparency = 1
  549. textl.Size = UDim2.new(1, 0, 1, 0)
  550. textl.Font = font
  551. textl.Text = text
  552. textl.TextColor3 = Color3.new(tcr / 255, tcg / 255, tcb / 255)
  553. textl.TextScaled = true
  554. textl.TextStrokeColor3 = Color3.new(scr / 255, scg / 255, scb / 255)
  555. textl.TextStrokeTransparency = 0
  556. table.insert(Text_Table, bill)
  557. end
  558.  
  559. function clerp(a,b,t)
  560. local qa = {QuaternionFromCFrame(a)}
  561. local qb = {QuaternionFromCFrame(b)}
  562. local ax, ay, az = a.x, a.y, a.z
  563. local bx, by, bz = b.x, b.y, b.z
  564. local _t = 1-t
  565. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  566. end
  567.  
  568. function QuaternionFromCFrame(cf)
  569. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  570. local trace = m00 + m11 + m22
  571. if trace > 0 then
  572. local s = math.sqrt(1 + trace)
  573. local recip = 0.5/s
  574. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  575. else
  576. local i = 0
  577. if m11 > m00 then
  578. i = 1
  579. end
  580. if m22 > (i == 0 and m00 or m11) then
  581. i = 2
  582. end
  583. if i == 0 then
  584. local s = math.sqrt(m00-m11-m22+1)
  585. local recip = 0.5/s
  586. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  587. elseif i == 1 then
  588. local s = math.sqrt(m11-m22-m00+1)
  589. local recip = 0.5/s
  590. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  591. elseif i == 2 then
  592. local s = math.sqrt(m22-m00-m11+1)
  593. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  594. end
  595. end
  596. end
  597.  
  598. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  599. local xs, ys, zs = x + x, y + y, z + z
  600. local wx, wy, wz = w*xs, w*ys, w*zs
  601. local xx = x*xs
  602. local xy = x*ys
  603. local xz = x*zs
  604. local yy = y*ys
  605. local yz = y*zs
  606. local zz = z*zs
  607. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  608. end
  609.  
  610. function QuaternionSlerp(a, b, t)
  611. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  612. local startInterp, finishInterp;
  613. if cosTheta >= 0.0001 then
  614. if (1 - cosTheta) > 0.0001 then
  615. local theta = math.acos(cosTheta)
  616. local invSinTheta = 1/math.sin(theta)
  617. startInterp = math.sin((1-t)*theta)*invSinTheta
  618. finishInterp = math.sin(t*theta)*invSinTheta
  619. else
  620. startInterp = 1-t
  621. finishInterp = t
  622. end
  623. else
  624. if (1+cosTheta) > 0.0001 then
  625. local theta = math.acos(-cosTheta)
  626. local invSinTheta = 1/math.sin(theta)
  627. startInterp = math.sin((t-1)*theta)*invSinTheta
  628. finishInterp = math.sin(t*theta)*invSinTheta
  629. else
  630. startInterp = t-1
  631. finishInterp = t
  632. end
  633. end
  634. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  635. end
  636. FindHum = function(parent)
  637. local hm = nil
  638. for _,HM in pairs(parent:GetChildren()) do
  639. if HM:IsA("Humanoid") then
  640. hm = HM
  641. end
  642. end
  643. return hm
  644. end
  645.  
  646. Sound = function(parent, ID, Volume, Pitch, Looped)
  647. local sound = Inst("Sound", parent)
  648. sound.SoundId = ID
  649. sound.Volume = Volume
  650. sound.Pitch = Pitch
  651. sound.Looped = Looped
  652. sound:Play()
  653. return sound
  654. end
  655.  
  656. local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration)
  657. local humanoid = FindHum(Hit.Parent)
  658. if humanoid and humanoid ~= Humanoid then
  659. local IsSafe = true
  660. local Deb = humanoid:FindFirstChild("ChaosDebounce")
  661. do
  662. if Deb then
  663. local Cre = Deb:FindFirstChild("Creator")
  664. if Cre and Cre.Value == Player.UserId then
  665. IsSafe = false
  666. end
  667. end
  668. if IsSafe then
  669. local s = Sound(Hit, "http://roblox.com/asset/?id=401057895", 1, 1, false)
  670. debServ:AddItem(s, 2)
  671. local deb = Inst("BoolValue", humanoid)
  672. deb.Name = "ChaosDebounce"
  673. local cre = Inst("NumberValue", deb)
  674. cre.Name = "Creator"
  675. cre.Value = Player.UserId
  676. debServ:AddItem(deb, Duration)
  677. debServ:AddItem(cre, Duration)
  678. local Damage = 1
  679. if IsRan then
  680. Damage = rand(MinDam, MaxDam)
  681. else
  682. Damage = MaxDam
  683. end
  684. if humanoid.MaxHealth > 10000000000 then
  685. humanoid.MaxHealth = 100
  686. end
  687. Damage = Damage * Damage_Buff
  688. humanoid.Health = humanoid.Health - Damage
  689. MakeText("-" .. Damage .. "", FONT, 0.5, 255, 255, 255, 255, 0, 0, Hit.CFrame)
  690. if HKB then
  691. Hit.Velocity = Property.CFrame.lookVector * Knockback
  692. end
  693. if DamType ~= "Normal" or DamType == "Stun" then
  694. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  695. local pos = Inst("BodyPosition", Hit)
  696. pos.MaxForce = Vec(huge, huge, huge)
  697. pos.Position = Hit.Position
  698. debServ:AddItem(pos, Duration * 10)
  699. else
  700. do
  701. if DamType == "LifeSteal" then
  702. Humanoid.Health = Humanoid.Health + Damage / 2
  703. MakeText("+" .. Damage / 2 .. "", FONT, 0.5, 0, 170, 0, 0, 255, 0, RootPart.CFrame)
  704. else
  705. if DamType == "MomentumStopper" then
  706. local vel = Inst("BodyVelocity", Hit)
  707. vel.Name = "MomentumStopper"
  708. vel.MaxForce = Vec(huge, huge, huge)
  709. vel.Velocity = Vec(0, 0, 0)
  710. debServ:AddItem(vel, 3)
  711. else
  712. do
  713. if DamType == "Knockdown" then
  714. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  715. else
  716. if DamType == "SkyRocket" then
  717. Hit.Velocity = Vec(0, Knockback, 0)
  718. end
  719. end
  720. if HDrag then
  721. humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  722. local pos = Inst("BodyPosition", Hit)
  723. pos.MaxForce = Vec(huge, huge, huge)
  724. pos.Position = Drag_To_Part.Position
  725. local d = Inst("NumberValue", pos)
  726. d.Name = "Duration"
  727. d.Value = DragDuration
  728. table.insert(DragTable, pos)
  729. end
  730. end
  731. end
  732. end
  733. end
  734. end
  735. end
  736. end
  737. end
  738. end
  739.  
  740. MagniDamage = function(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd)
  741. for _,c in pairs(workspace:GetChildren()) do
  742. local hum = FindHum(c)
  743. if hum and hum ~= Humanoid then
  744. local head = c:FindFirstChild("Head")
  745. local tor = c:FindFirstChild("Torso")
  746. local larm = c:FindFirstChild("Left Arm")
  747. local rarm = c:FindFirstChild("Right Arm")
  748. local lleg = c:FindFirstChild("Left Leg")
  749. local rleg = c:FindFirstChild("Right Leg")
  750. local Dis = range
  751. local Par = nil
  752. do
  753. if head then
  754. local Mag = (head.Position - Part.Position).magnitude
  755. if Mag <= Dis then
  756. Dis = Mag
  757. Par = head
  758. end
  759. end
  760. do
  761. if tor then
  762. local Mag = (tor.Position - Part.Position).magnitude
  763. if Mag <= Dis then
  764. Dis = Mag
  765. Par = tor
  766. end
  767. end
  768. do
  769. if rarm then
  770. local Mag = (rarm.Position - Part.Position).magnitude
  771. if Mag <= Dis then
  772. Dis = Mag
  773. Par = rarm
  774. end
  775. end
  776. do
  777. if larm then
  778. local Mag = (larm.Position - Part.Position).magnitude
  779. if Mag <= Dis then
  780. Dis = Mag
  781. Par = larm
  782. end
  783. end
  784. do
  785. if rleg then
  786. local Mag = (rleg.Position - Part.Position).magnitude
  787. if Mag <= Dis then
  788. Dis = Mag
  789. Par = rleg
  790. end
  791. end
  792. do
  793. do
  794. if lleg then
  795. local Mag = (lleg.Position - Part.Position).magnitude
  796. if Mag <= Dis then
  797. Dis = Mag
  798. Par = lleg
  799. end
  800. end
  801. if Par then
  802. DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd)
  803. end
  804. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  805.  
  806. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  807.  
  808. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  809.  
  810. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  811.  
  812. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  813.  
  814. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out DO_STMT
  815.  
  816. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out IF_THEN_STMT
  817.  
  818. -- DECOMPILER ERROR at PC109: LeaveBlock: unexpected jumping out IF_STMT
  819.  
  820. end
  821. end
  822. end
  823. end
  824. end
  825. end
  826. end
  827. end
  828. end
  829. end
  830.  
  831. rayCast = function(Pos, Dir, Max, Ignore)
  832. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  833. end
  834.  
  835. local Point = Torso.CFrame * Cf(0, Torso.Size.Y, 0)
  836. LastPoint = Point
  837. effect = function(Color, Ref, LP, P1, returnn)
  838. local effectsmsh = Instance.new("CylinderMesh")
  839. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  840. effectsmsh.Name = "Mesh"
  841. local effectsg = Instance.new("Part")
  842. effectsg.formFactor = 3
  843. effectsg.CanCollide = false
  844. effectsg.Name = "Eff"
  845. effectsg.Locked = true
  846. effectsg.Anchored = true
  847. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  848. effectsg.Parent = F2
  849. effectsmsh.Parent = effectsg
  850. effectsg.BrickColor = BrickColor.new(Color)
  851. effectsg.Reflectance = Ref
  852. local point1 = P1
  853. local mg = (LP.p - point1.p).magnitude
  854. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  855. effectsg.CFrame = Cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  856. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  857. game:GetService("Debris"):AddItem(effectsg, 2)
  858. if returnn then
  859. return effectsg
  860. end
  861. coroutine.resume(coroutine.create(function(Part, Mesh)
  862. if not returnn then
  863. for i = 0, 1, 0.05 do
  864. wait()
  865. Part.Transparency = 1 * i
  866. Mesh.Scale = Vector3.new(0.5 - 0.5 * i, 1, 0.5 - 0.5 * i)
  867. end
  868. Part.Parent = nil
  869. end
  870. end
  871. ), effectsg, effectsmsh)
  872. end
  873.  
  874. local CFrameFromTopBack = function(at, top, back)
  875. local right = top:Cross(back)
  876. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  877. end
  878.  
  879. NoOutline = function(Part)
  880. Part.TopSurface = 10
  881. end
  882.  
  883. part = function(parent, reflectance, transparency, brickcolor, name, size, material)
  884. local fp = Inst("Part")
  885. fp.Parent = parent
  886. fp.Reflectance = reflectance
  887. fp.Transparency = transparency
  888. fp.CanCollide = false
  889. fp.Locked = true
  890. fp.BrickColor = brickcolor
  891. fp.Name = name
  892. fp.Size = size
  893. fp.Position = Torso.Position
  894. NoOutline(fp)
  895. fp.Material = material
  896. fp:BreakJoints()
  897. return fp
  898. end
  899.  
  900. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  901. local mesh = Inst(Mesh)
  902. mesh.Parent = part
  903. if Mesh == "SpecialMesh" then
  904. mesh.MeshType = meshtype
  905. mesh.MeshId = meshid
  906. end
  907. mesh.Offset = offset
  908. mesh.Scale = scale
  909. return mesh
  910. end
  911.  
  912. MagicBlock = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  913. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  917. game:GetService("Debris"):AddItem(prt, 5)
  918. table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
  919. end
  920.  
  921. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  922. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  923. prt.Anchored = true
  924. prt.CFrame = cframe
  925. local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  926. game:GetService("Debris"):AddItem(prt, 5)
  927. table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
  928. end
  929.  
  930. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  931. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  932. prt.Anchored = true
  933. prt.CFrame = cframe
  934. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
  935. game:GetService("Debris"):AddItem(prt, 5)
  936. table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
  937. end
  938.  
  939. MagicWave2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  940. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  941. prt.Anchored = true
  942. prt.CFrame = cframe
  943. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
  944. game:GetService("Debris"):AddItem(prt, 5)
  945. table.insert(Effects, {prt, "Wave", Delay, x3, y3, z3})
  946. end
  947.  
  948. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  949. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
  950. prt.Anchored = true
  951. prt.CFrame = cframe
  952. local msh = mesh("SpecialMesh", prt, "Head", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  953. game:GetService("Debris"):AddItem(prt, 5)
  954. Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
  955. end
  956.  
  957. MagicCylinder2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  958. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
  959. prt.Anchored = true
  960. prt.CFrame = cframe
  961. local msh = mesh("CylinderMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  962. game:GetService("Debris"):AddItem(prt, 5)
  963. Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
  964. end
  965.  
  966. MagicBlood = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
  967. local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
  968. prt.Anchored = true
  969. prt.CFrame = cframe
  970. local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
  971. game:GetService("Debris"):AddItem(prt, 5)
  972. table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
  973. end
  974.  
  975. Bringer = function()
  976. for i,d in pairs(DragTable) do
  977. if d and d:IsA("BodyPosition") then
  978. local tem = d:FindFirstChild("Time")
  979. if not tem then
  980. tem = Inst("NumberValue", d)
  981. tem.Name = "Time"
  982. tem.Value = 0
  983. end
  984. local Dur = d:FindFirstChild("Duration")
  985. if not Dur then
  986. Dur = Inst("NumberValue", d)
  987. Dur.Name = "Duration"
  988. Dur.Value = 1.5
  989. end
  990. if tem.Value < Dur.Value then
  991. tem.Value = tem.Value + 0.1
  992. d.P = 20000
  993. d.Position = Drag_To_Part.Position
  994. else
  995. debServ:AddItem(tem, 0)
  996. debServ:AddItem(Dur, 0)
  997. debServ:AddItem(d, 0)
  998. table.remove(DragTable, i)
  999. end
  1000. end
  1001. end
  1002. end
  1003.  
  1004. AssumeNormalJoints = function()
  1005. for i = 0, 1, 0.1 do
  1006. wait()
  1007. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(90), 0), 0.3)
  1008. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(90), 0), 0.3)
  1009. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, rad(-90), 0), 0.3)
  1010. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), 0.3)
  1011. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3)
  1012. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1013. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3)
  1014. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3)
  1015. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
  1016. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1017. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
  1018. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1019. end
  1020. LeftShoulder.Part0 = Torso
  1021. LeftShoulder.Part1 = LeftArm
  1022. RightShoulder.Part0 = Torso
  1023. RightShoulder.Part1 = RightArm
  1024. FLeftShoulder.Part0 = nil
  1025. FLeftShoulder.Part1 = nil
  1026. FRightShoulder.Part0 = nil
  1027. FRightShoulder.Part1 = nil
  1028. LeftHip.Part0 = Torso
  1029. LeftHip.Part1 = LeftLeg
  1030. RightHip.Part0 = Torso
  1031. RightHip.Part1 = RightLeg
  1032. FLeftHip.Part0 = nil
  1033. FLeftHip.Part1 = nil
  1034. FRightHip.Part0 = nil
  1035. FRightHip.Part1 = nil
  1036. RootJoint.Part0 = RootPart
  1037. RootJoint.Part1 = Torso
  1038. FRootJoint.Part0 = nil
  1039. FRootJoint.Part1 = nil
  1040. end
  1041.  
  1042. ClickCombo = function()
  1043. Debounces.Attacking = true
  1044. if Attack_Num == 1 then
  1045. local hit = RightArm.Touched:connect(function(part)
  1046. DamageFunction(part, true, 5, 20, true, 5, "Normal", RootPart, 0.2, false, 1)
  1047. end
  1048. )
  1049. for i = 0, 0.4, 0.1 do
  1050. wait()
  1051. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3)
  1052. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
  1053. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.3)
  1054. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
  1055. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.3)
  1056. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
  1057. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3)
  1058. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1059. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
  1060. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1061. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
  1062. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1063. end
  1064. for i = 0, 0.7, 0.1 do
  1065. wait()
  1066. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.5)
  1067. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5)
  1068. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.5)
  1069. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5)
  1070. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.5)
  1071. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5)
  1072. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.5)
  1073. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5)
  1074. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5)
  1075. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5)
  1076. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5)
  1077. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5)
  1078. end
  1079. hit:disconnect()
  1080. elseif Attack_Num == 2 then
  1081. local hit = LeftArm.Touched:connect(function(part)
  1082. DamageFunction(part, true, 5, 20, true, 5, "Normal", RootPart, 0.2, false, 1)
  1083. end
  1084. )
  1085. for i = 0, 0.4, 0.1 do
  1086. wait()
  1087. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.3)
  1088. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
  1089. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.3)
  1090. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
  1091. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.3)
  1092. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
  1093. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.3)
  1094. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1095. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
  1096. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1097. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
  1098. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1099. end
  1100. for i = 0, 0.7, 0.1 do
  1101. wait()
  1102. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.5)
  1103. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5)
  1104. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.5)
  1105. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5)
  1106. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.5)
  1107. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5)
  1108. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.5)
  1109. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5)
  1110. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5)
  1111. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5)
  1112. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5)
  1113. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5)
  1114. end
  1115. hit:disconnect()
  1116. elseif Attack_Num == 3 then
  1117. local hit = LeftLeg.Touched:connect(function(part)
  1118. DamageFunction(part, true, 15, 30, false, 70, "SkyRocket", RootPart, 0.2, false, 1)
  1119. end
  1120. )
  1121. LeftHip.Part0 = nil
  1122. LeftHip.Part1 = nil
  1123. RightHip.Part0 = nil
  1124. RightHip.Part1 = nil
  1125. FLeftHip.Part0 = Torso
  1126. FLeftHip.Part1 = LeftLeg
  1127. FLeftHip.C0 = LeftHip.C0
  1128. FLeftHip.C1 = LeftHip.C1
  1129. FRightHip.Part0 = Torso
  1130. FRightHip.Part1 = RightLeg
  1131. FRightHip.C0 = RightHip.C0
  1132. FRightHip.C1 = RightHip.C1
  1133. for i = 0, 0.8, 0.1 do
  1134. wait()
  1135. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(8)), 0.3)
  1136. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1137. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-8)), 0.3)
  1138. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1139. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3)
  1140. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1141. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), 0.3)
  1142. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1143. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(30), rad(90), 0), 0.3)
  1144. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1145. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-40), rad(-90), 0), 0.3)
  1146. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1147. end
  1148. RootPart.Velocity = RootPart.CFrame.lookVector * 60
  1149. for i = 0, 1.4, 0.1 do
  1150. wait()
  1151. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(0), 0, rad(14)), 0.3)
  1152. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1153. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4)
  1154. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1155. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), 0.3)
  1156. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1157. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), 0.3)
  1158. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1159. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-20), rad(90), 0), 0.3)
  1160. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1161. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(80), rad(-90), 0), 0.3)
  1162. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1163. end
  1164. LeftHip.Part0 = Torso
  1165. LeftHip.Part1 = LeftLeg
  1166. RightHip.Part0 = Torso
  1167. RightHip.Part1 = RightLeg
  1168. FLeftHip.Part0 = nil
  1169. FLeftHip.Part1 = nil
  1170. LeftHip.C0 = FLeftHip.C0
  1171. LeftHip.C1 = FLeftHip.C1
  1172. FRightHip.Part0 = nil
  1173. FRightHip.Part1 = nil
  1174. RightHip.C0 = FRightHip.C0
  1175. RightHip.C1 = FRightHip.C1
  1176. hit:disconnect()
  1177. elseif Attack_Num == 4 then
  1178. local hit = RightLeg.Touched:connect(function(part)
  1179. DamageFunction(part, true, 20, 40, false, 0, "Stun", RootPart, 0.2, false, 1)
  1180. end
  1181. )
  1182. LeftHip.Part0 = nil
  1183. LeftHip.Part1 = nil
  1184. RightHip.Part0 = nil
  1185. RightHip.Part1 = nil
  1186. FLeftHip.Part0 = Torso
  1187. FLeftHip.Part1 = LeftLeg
  1188. FLeftHip.C0 = LeftHip.C0
  1189. FLeftHip.C1 = LeftHip.C1
  1190. FRightHip.Part0 = Torso
  1191. FRightHip.Part1 = RightLeg
  1192. FRightHip.C0 = RightHip.C0
  1193. FRightHip.C1 = RightHip.C1
  1194. for i = 0, 0.5, 0.1 do
  1195. wait()
  1196. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3)
  1197. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
  1198. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.2) * Euler(rad(120), 0, rad(-80)), 0.3)
  1199. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
  1200. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(60), 0), 0.3)
  1201. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
  1202. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3)
  1203. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1204. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, -0.6) * Euler(0, rad(120), 0), 0.3)
  1205. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), 0.3)
  1206. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0.4) * Euler(0, rad(-50), 0), 0.3)
  1207. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), 0.3)
  1208. end
  1209. Humanoid.WalkSpeed = 0
  1210. RootPart.Velocity = RootPart.CFrame.lookVector * 100
  1211. for i = 0, 1.6, 0.1 do
  1212. wait()
  1213. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(60), 0, rad(16)), 0.3)
  1214. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1215. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(30), 0, rad(-60)), 0.4)
  1216. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), 0.3)
  1217. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-60), 0), 0.3)
  1218. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1219. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.6, 0) * Euler(rad(60), rad(-250), 0), 0.3)
  1220. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1221. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.4, -0.6, 0) * Euler(rad(10), rad(0), rad(30)), 0.3)
  1222. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(0), 0), 0.3)
  1223. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -0.4, 0) * Euler(rad(30), 0, rad(-60)), 0.3)
  1224. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(20), 0), 0.3)
  1225. end
  1226. Humanoid.WalkSpeed = CurrentSpeed
  1227. LeftHip.Part0 = Torso
  1228. LeftHip.Part1 = LeftLeg
  1229. RightHip.Part0 = Torso
  1230. RightHip.Part1 = RightLeg
  1231. FLeftHip.Part0 = nil
  1232. FLeftHip.Part1 = nil
  1233. LeftHip.C0 = FLeftHip.C0
  1234. LeftHip.C1 = FLeftHip.C1
  1235. FRightHip.Part0 = nil
  1236. FRightHip.Part1 = nil
  1237. RightHip.C0 = FRightHip.C0
  1238. RightHip.C1 = FRightHip.C1
  1239. hit:disconnect()
  1240. end
  1241. Debounces.Attacking = false
  1242. end
  1243.  
  1244. Disrupt = function()
  1245. Debounces.Attacking = true
  1246. LeftHip.Part0 = nil
  1247. LeftHip.Part1 = nil
  1248. RightHip.Part0 = nil
  1249. RightHip.Part1 = nil
  1250. FLeftHip.Part0 = Torso
  1251. FLeftHip.Part1 = LeftLeg
  1252. FLeftHip.C0 = LeftHip.C0
  1253. FLeftHip.C1 = LeftHip.C1
  1254. FRightHip.Part0 = Torso
  1255. FRightHip.Part1 = RightLeg
  1256. FRightHip.C0 = RightHip.C0
  1257. FRightHip.C1 = RightHip.C1
  1258. local BV = Inst("BodyVelocity", RootPart)
  1259. BV.Name = DecName
  1260. BV.MaxForce = Vec(huge, huge, huge)
  1261. BV.Velocity = RootPart.CFrame.lookVector * 150
  1262. local hbox = Inst("Part", F2)
  1263. hbox.Transparency = 1
  1264. hbox.CanCollide = false
  1265. hbox.Anchored = false
  1266. hbox.Locked = true
  1267. hbox.CFrame = RootPart.CFrame
  1268. hbox.Size = Vec(8, 8, 16)
  1269. hbox.Name = "DashHitBox"
  1270. local hweld = Inst("Weld", hbox)
  1271. hweld.Part0 = RootPart
  1272. hweld.Part1 = hbox
  1273. hweld.C0 = Cf(0, 0, 4)
  1274. hweld.Name = DecName
  1275. DTPWeld.C0 = Cf(0, 0, -2) * Euler(rad(90), 0, 0)
  1276. Humanoid.WalkSpeed = 0
  1277. local hit = hbox.Touched:connect(function(part)
  1278. DamageFunction(part, true, 15, 30, false, 0, "LifeSteal", RootPart, 0.1, true, 2)
  1279. end
  1280. )
  1281. for i = 0, 1, 0.1 do
  1282. wait()
  1283. MagicBlock(BrickColor.new(Colour2), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 8, 8, 8, 16, 16, 16, 0.1)
  1284. MagicCircle(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 5, 0.1, 5, 15, 0.2, 15, 0.1)
  1285. MagicWave2(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 1, 3, 1, 3, 6, 3, 0.1)
  1286. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-40), 0, rad(10)), 0.3)
  1287. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1288. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-40), 0, rad(-10)), 0.3)
  1289. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1290. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0.2) * Euler(rad(50), 0, 0), 0.3)
  1291. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1292. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), 0.3)
  1293. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
  1294. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-12), rad(90), 0), 0.3)
  1295. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
  1296. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), 0.3)
  1297. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
  1298. end
  1299. Humanoid.WalkSpeed = CurrentSpeed
  1300. debServ:AddItem(hbox, 0)
  1301. debServ:AddItem(hweld, 0)
  1302. debServ:AddItem(BV, 0)
  1303. LeftHip.Part0 = Torso
  1304. LeftHip.Part1 = LeftLeg
  1305. RightHip.Part0 = Torso
  1306. RightHip.Part1 = RightLeg
  1307. FLeftHip.Part0 = nil
  1308. FLeftHip.Part1 = nil
  1309. LeftHip.C0 = FLeftHip.C0
  1310. LeftHip.C1 = FLeftHip.C1
  1311. FRightHip.Part0 = nil
  1312. FRightHip.Part1 = nil
  1313. RightHip.C0 = FRightHip.C0
  1314. RightHip.C1 = FRightHip.C1
  1315. Debounces.Attacking = false
  1316. DTPWeld.C0 = Cf(0, 0, 0)
  1317. hit:disconnect()
  1318. end
  1319.  
  1320. Fatal_Blow = function()
  1321. Debounces.Attacking = true
  1322. for i = 0, 0.4, 0.1 do
  1323. wait()
  1324. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), 0.4)
  1325. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
  1326. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4)
  1327. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
  1328. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4)
  1329. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4)
  1330. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-60), 0), 0.4)
  1331. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4)
  1332. RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4)
  1333. RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4)
  1334. LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4)
  1335. LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4)
  1336. end
  1337. local FB = coroutine.create(function()
  1338. local s = Sound(LeftArm, "http://roblox.com/asset/?id=200633327", 1, 1.4, false)
  1339. debServ:AddItem(s, 2)
  1340. local Orb = Inst("Part", F2)
  1341. Orb.Material = "Neon"
  1342. Orb.BrickColor = BC(Colour1)
  1343. Orb.Transparency = 0.5
  1344. Orb.Name = "Orb"
  1345. Orb.Anchored = false
  1346. Orb.CanCollide = false
  1347. Orb.Locked = true
  1348. Orb.Size = Vec(1.4, 1.4, 1.4)
  1349. local OrbM = Inst("SpecialMesh", Orb)
  1350. OrbM.MeshType = "Sphere"
  1351. local Ring1 = Inst("Part", F2)
  1352. Ring1.Transparency = 0.5
  1353. Ring1.BrickColor = BC(Colour1)
  1354. Ring1.Name = "Ring"
  1355. Ring1.Anchored = false
  1356. Ring1.CanCollide = false
  1357. Ring1.Locked = true
  1358. Ring1.Size = Vec(0.2, 0.2, 0.2)
  1359. local Ring1M = Inst("SpecialMesh", Ring1)
  1360. Ring1M.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1361. Ring1M.Scale = Vec(2, 2, 2)
  1362. local Ring2 = Inst("Part", F2)
  1363. Ring2.Transparency = 0.5
  1364. Ring2.BrickColor = BC(Colour1)
  1365. Ring2.Name = "Ring"
  1366. Ring2.Anchored = false
  1367. Ring2.CanCollide = false
  1368. Ring2.Locked = true
  1369. Ring2.Size = Vec(0.2, 0.2, 0.2)
  1370. local Ring2M = Inst("SpecialMesh", Ring2)
  1371. Ring2M.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1372. Ring2M.Scale = Vec(2, 2, 2)
  1373. local Rm1 = Inst("Motor", Ring1)
  1374. Rm1.Part0 = Orb
  1375. Rm1.Part1 = Ring1
  1376. Rm1.DesiredAngle = 1e+028
  1377. Rm1.MaxVelocity = rad(6)
  1378. Rm1.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
  1379. Rm1.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
  1380. local Rm2 = Inst("Motor", Ring2)
  1381. Rm2.Part0 = Orb
  1382. Rm2.Part1 = Ring2
  1383. Rm2.DesiredAngle = 1e+028
  1384. Rm2.MaxVelocity = rad(6)
  1385. Rm2.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
  1386. Rm2.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
  1387. Orb.CFrame = LeftArm.CFrame * Cf()
  1388. local Vel = Inst("BodyVelocity", Orb)
  1389. Vel.MaxForce = Vec(huge, huge, huge)
  1390. Vel.Velocity = RootPart.CFrame.lookVector * 70
  1391. debServ:AddItem(Orb, 40)
  1392. debServ:AddItem(Ring1, 40)
  1393. debServ:AddItem(Ring2, 40)
  1394. local hit = Orb.Touched:connect(function(part)
  1395. local hum = FindHum(part.Parent)
  1396. if (hum and hum ~= Humanoid and Orb.Anchored == false) or part.Anchored == true and Orb.Anchored == false and part.Name ~= "OrbBlast" and part.Name ~= "hoi hoi" then
  1397. Orb.Anchored = true
  1398. Orb.Transparency = 1
  1399. local s = Sound(Orb, "http://roblox.com/asset/?id=233856079", 1, 1, false)
  1400. debServ:AddItem(s, 2)
  1401. debServ:AddItem(Ring1, 0)
  1402. debServ:AddItem(Vel, 0)
  1403. debServ:AddItem(Ring2, 0)
  1404. DamageFunction(part, true, 10, 25, false, 0, "Stun", RootPart, 0.2, true, 2)
  1405. local Blast = Inst("Part", F2)
  1406. Blast.BrickColor = BC(Colour1)
  1407. Blast.Material = "Neon"
  1408. Blast.Transparency = 1
  1409. Blast.Name = "OrbBlast"
  1410. Blast.Anchored = true
  1411. Blast.CanCollide = false
  1412. Blast.Locked = true
  1413. Blast.Size = Vec(20, 20, 20)
  1414. Blast.CFrame = Orb.CFrame
  1415. local ED = 1
  1416. if hum and hum.MaxHealth > 10000 then
  1417. ED = hum.MaxHealth / 100
  1418. end
  1419. local Bm = Inst("SpecialMesh", Blast)
  1420. Bm.MeshType = "Sphere"
  1421. Bm.Scale = Vec(0, 0, 0)
  1422. local Range = 0
  1423. for t = 0, 1, 0.2 do
  1424. wait()
  1425. Range = t * 10
  1426. Blast.Transparency = (-2 + t) * -1 / 2
  1427. Bm.Scale = Vec(t, t, t)
  1428. MagniDamage(Blast, Range, true, 1 * (ED), 5 * (ED), false, 0, "Normal", 0.2, false, 0)
  1429. end
  1430. for t = 0, 2, 0.1 do
  1431. wait()
  1432. MagniDamage(Blast, Range, true, 4 * (ED), 12 * (ED), false, 0, "LifeSteal", 0.2, false, 0)
  1433. end
  1434. for t = 1, 0, -0.2 do
  1435. wait()
  1436. Range = t * 10
  1437. Blast.Transparency = (-2 + t) * -1 / 2
  1438. Bm.Scale = Vec(t, t, t)
  1439. MagniDamage(Blast, Range, true, 1 * (ED), 5 * (ED), false, 0, "Stun", 0.1, false, 0)
  1440. end
  1441. debServ:AddItem(Blast, 0)
  1442. debServ:AddItem(Orb, 0)
  1443. end
  1444. end
  1445. )
  1446. repeat
  1447. wait()
  1448. until Orb.Parent == nil
  1449. debServ:AddItem(Orb, 0)
  1450. hit:disconnect()
  1451. end
  1452. )
  1453. for i = 0, 0.4, 0.1 do
  1454. wait()
  1455. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), 0.4)
  1456. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
  1457. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(90), 0, rad(-70)), 0.4)
  1458. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
  1459. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4)
  1460. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4)
  1461. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-70), 0), 0.4)
  1462. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4)
  1463. RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4)
  1464. RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4)
  1465. LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4)
  1466. LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4)
  1467. end
  1468. coroutine.resume(FB)
  1469. wait(0.05)
  1470. Debounces.Attacking = false
  1471. end
  1472.  
  1473. Axel = function(Upward)
  1474. Debounces.Attacking = true
  1475. if not Debounces.HasWep then
  1476. if Current_Anim == "Idle" or Current_Anim == "Walking" then
  1477. LeftHip.Part0 = nil
  1478. LeftHip.Part1 = nil
  1479. RightHip.Part0 = nil
  1480. RightHip.Part1 = nil
  1481. FLeftHip.Part0 = Torso
  1482. FLeftHip.Part1 = LeftLeg
  1483. FLeftHip.C0 = LeftHip.C0
  1484. FLeftHip.C1 = LeftHip.C1
  1485. FRightHip.Part0 = Torso
  1486. FRightHip.Part1 = RightLeg
  1487. FRightHip.C0 = RightHip.C0
  1488. FRightHip.C1 = RightHip.C1
  1489. local t = 0.6
  1490. local VelPart = RootPart
  1491. local tim = 1
  1492. local Speed = 100
  1493. local HBSize = Vec(3, 5, 3)
  1494. local Vel = Inst("BodyVelocity", RootPart)
  1495. Vel.Name = DecName
  1496. Vel.MaxForce = Vec(huge, huge, huge)
  1497. Vel.Velocity = VelPart.CFrame.lookVector * 0
  1498. if Upward then
  1499. tim = 1.4
  1500. HBSize = Vec(5, 7, 5)
  1501. Speed = 250
  1502. local LVec = Inst("Part", F2)
  1503. LVec.Transparency = 1
  1504. LVec.Anchored = false
  1505. LVec.CanCollide = false
  1506. LVec.Locked = true
  1507. LVec.Size = Vec(1, 1, 1)
  1508. LVec.FrontSurface = "Hinge"
  1509. local LVW = Inst("Weld", LVec)
  1510. LVW.Part0 = LeftLeg
  1511. LVW.Part1 = LVec
  1512. LVW.Name = DecName
  1513. LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0)
  1514. LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20))
  1515. VelPart = LVec
  1516. Vel.Velocity = RootPart.CFrame.lookVector * -15 + Vec(0, 25, 0)
  1517. local noscope = 0
  1518. local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false)
  1519. debServ:AddItem(j, 2)
  1520. for i = 0, 1.8, 0.1 do
  1521. wait()
  1522. if noscope ~= 360 then
  1523. noscope = noscope + 20
  1524. end
  1525. local JumpSpeed = 0.4
  1526. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed)
  1527. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1528. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed)
  1529. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1530. Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed)
  1531. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
  1532. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed)
  1533. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
  1534. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed)
  1535. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
  1536. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed)
  1537. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
  1538. end
  1539. end
  1540. local HBox = Inst("Part", F2)
  1541. HBox.Transparency = 1
  1542. HBox.Anchored = false
  1543. HBox.CanCollide = false
  1544. HBox.Locked = false
  1545. HBox.Size = HBSize
  1546. local HBWeld = Inst("Weld", HBox)
  1547. HBWeld.Part0 = LeftLeg
  1548. HBWeld.Part1 = HBox
  1549. HBWeld.Name = DecName
  1550. HBWeld.C0 = Cf(0, -(HBSize.Y / 4), 0)
  1551. local T = 0
  1552. local hit = HBox.Touched:connect(function(part)
  1553. local hum = FindHum(part.Parent)
  1554. local Axeld = part.Parent:FindFirstChild("Axeld")
  1555. if hum and hum ~= Humanoid and not Axeld then
  1556. tim = tim + 1.2
  1557. local ax = Inst("BoolValue", part.Parent)
  1558. ax.Name = "Axeld"
  1559. local QuickDelay = Inst("BodyPosition", RootPart)
  1560. QuickDelay.Name = DecName
  1561. QuickDelay.MaxForce = Vec(huge, huge, huge)
  1562. QuickDelay.Position = RootPart.Position
  1563. debServ:AddItem(QuickDelay, 0.3)
  1564. debServ:AddItem(ax, 0.4)
  1565. end
  1566. DamageFunction(part, true, 15, 30, false, 150, "SkyRocket", RootPart, 0.1, false, 0)
  1567. end
  1568. )
  1569. repeat
  1570. Vel.Velocity = VelPart.CFrame.lookVector * Speed
  1571. MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1)
  1572. MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1)
  1573. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t)
  1574. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t)
  1575. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t)
  1576. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t)
  1577. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t)
  1578. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t)
  1579. if not Upward then
  1580. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(40), rad(-80), 0), t)
  1581. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
  1582. else
  1583. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(100), rad(-80), 0), t)
  1584. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
  1585. end
  1586. FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t)
  1587. FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t)
  1588. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t)
  1589. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t)
  1590. T = T + 0.1
  1591. wait()
  1592. until tim <= T
  1593. debServ:AddItem(HBox, 0)
  1594. hit:disconnect()
  1595. debServ:AddItem(Vel, 0)
  1596. if Upward then
  1597. debServ:AddItem(VelPart, 0)
  1598. end
  1599. if not Upward then
  1600. for i = 0, 1.4, 0.1 do
  1601. wait()
  1602. Humanoid.WalkSpeed = 0
  1603. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3)
  1604. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1605. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3)
  1606. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3)
  1607. Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3)
  1608. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3)
  1609. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3)
  1610. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1611. FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3)
  1612. FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
  1613. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3)
  1614. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
  1615. end
  1616. end
  1617. Humanoid.WalkSpeed = CurrentSpeed
  1618. LeftHip.Part0 = Torso
  1619. LeftHip.Part1 = LeftLeg
  1620. RightHip.Part0 = Torso
  1621. RightHip.Part1 = RightLeg
  1622. FLeftHip.Part0 = nil
  1623. FLeftHip.Part1 = nil
  1624. LeftHip.C0 = FLeftHip.C0
  1625. LeftHip.C1 = FLeftHip.C1
  1626. FRightHip.Part0 = nil
  1627. FRightHip.Part1 = nil
  1628. RightHip.C0 = FRightHip.C0
  1629. RightHip.C1 = FRightHip.C1
  1630. end
  1631. if Current_Anim == "Falling" or Current_Anim == "Jumping" then
  1632. LeftHip.Part0 = nil
  1633. LeftHip.Part1 = nil
  1634. RightHip.Part0 = nil
  1635. RightHip.Part1 = nil
  1636. FLeftHip.Part0 = Torso
  1637. FLeftHip.Part1 = LeftLeg
  1638. FLeftHip.C0 = LeftHip.C0
  1639. FLeftHip.C1 = LeftHip.C1
  1640. FRightHip.Part0 = Torso
  1641. FRightHip.Part1 = RightLeg
  1642. FRightHip.C0 = RightHip.C0
  1643. FRightHip.C1 = RightHip.C1
  1644. local t = 0.6
  1645. local HBox = Inst("Part", F2)
  1646. HBox.Transparency = 1
  1647. HBox.Anchored = false
  1648. HBox.CanCollide = false
  1649. HBox.Locked = false
  1650. HBox.Size = Vec(3, 5, 3)
  1651. local HBWeld = Inst("Weld", HBox)
  1652. HBWeld.Part0 = LeftLeg
  1653. HBWeld.Part1 = HBox
  1654. HBWeld.Name = DecName
  1655. HBWeld.C0 = Cf(0, -1.25, 0)
  1656. local LVec = Inst("Part", F2)
  1657. LVec.Transparency = 1
  1658. LVec.Anchored = false
  1659. LVec.CanCollide = false
  1660. LVec.Locked = true
  1661. LVec.Size = Vec(1, 1, 1)
  1662. LVec.FrontSurface = "Hinge"
  1663. local LVW = Inst("Weld", LVec)
  1664. LVW.Part0 = LeftLeg
  1665. LVW.Part1 = LVec
  1666. LVW.Name = DecName
  1667. LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0)
  1668. LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20))
  1669. local Vel = Inst("BodyVelocity", RootPart)
  1670. Vel.Name = DecName
  1671. Vel.MaxForce = Vec(huge, huge, huge)
  1672. Vel.Velocity = LVec.CFrame.lookVector * 0
  1673. local FallDamage = 0
  1674. local CanDiveKick = true
  1675. local TouchedGround = false
  1676. local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 5, Character)
  1677. local hit = HBox.Touched:connect(function(part)
  1678. local hum = FindHum(part.Parent)
  1679. if hum and hum ~= Humanoid and CanDiveKick then
  1680. CanDiveKick = false
  1681. FallDamage = FallDamage + 4
  1682. Vel.Velocity = RootPart.CFrame.lookVector * -6 + Vec(0, 25, 0)
  1683. local noscope = 0
  1684. local s = Sound(part, "http://roblox.com/asset/?id=401057895", 1, 1, false)
  1685. debServ:AddItem(s, 2)
  1686. local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false)
  1687. debServ:AddItem(j, 2)
  1688. DamageFunction(part, false, 0, 50, false, 0, "LifeSteal", RootPart, 0.1, false, 0)
  1689. for i = 0, 1.8, 0.1 do
  1690. wait()
  1691. Vel.Velocity = RootPart.CFrame.lookVector * -6 + Vec(0, 25, 0)
  1692. if noscope ~= 360 then
  1693. noscope = noscope + 20
  1694. end
  1695. local JumpSpeed = 0.4
  1696. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed)
  1697. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1698. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed)
  1699. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1700. Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed)
  1701. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
  1702. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed)
  1703. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
  1704. FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed)
  1705. FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
  1706. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed)
  1707. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
  1708. end
  1709. CanDiveKick = true
  1710. end
  1711. end
  1712. )
  1713. repeat
  1714. wait()
  1715. if CanDiveKick then
  1716. FallDamage = FallDamage + 1
  1717. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t)
  1718. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t)
  1719. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t)
  1720. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t)
  1721. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t)
  1722. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t)
  1723. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-5), rad(-80), 0), t)
  1724. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
  1725. FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t)
  1726. FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t)
  1727. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t)
  1728. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t)
  1729. Vel.Velocity = LVec.CFrame.lookVector * 150
  1730. MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1)
  1731. MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1)
  1732. ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 15, Character)
  1733. if ground and ground.Anchored == true then
  1734. TouchedGround = true
  1735. end
  1736. end
  1737. until TouchedGround
  1738. MagicWave(ground.BrickColor, ground.Material, Cf(pos), 1, 1, 1, 3, 1, 3, 0.1)
  1739. local WaveP = Inst("Part", F2)
  1740. WaveP.Transparency = 1
  1741. WaveP.Anchored = true
  1742. WaveP.CanCollide = false
  1743. WaveP.Locked = true
  1744. WaveP.CFrame = Cf(pos)
  1745. MagniDamage(WaveP, 25, true, 1 + (FallDamage), 5 + (FallDamage), false, 0, "Stun", 0.06 + (FallDamage) / 100, false, 0)
  1746. debServ:AddItem(WaveP, 3)
  1747. local boo = Sound(WaveP, "http://roblox.com/asset/?id=157878578", 1, 1, false)
  1748. debServ:AddItem(boo, 0.4)
  1749. debServ:AddItem(HBox, 0)
  1750. debServ:AddItem(LVec, 0)
  1751. hit:disconnect()
  1752. debServ:AddItem(Vel, 0)
  1753. for i = 0, 1.8, 0.1 do
  1754. wait()
  1755. Humanoid.WalkSpeed = 0
  1756. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3)
  1757. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
  1758. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3)
  1759. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3)
  1760. Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3)
  1761. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3)
  1762. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3)
  1763. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
  1764. FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3)
  1765. FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
  1766. FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3)
  1767. FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
  1768. end
  1769. Humanoid.WalkSpeed = CurrentSpeed
  1770. LeftHip.Part0 = Torso
  1771. LeftHip.Part1 = LeftLeg
  1772. RightHip.Part0 = Torso
  1773. RightHip.Part1 = RightLeg
  1774. FLeftHip.Part0 = nil
  1775. FLeftHip.Part1 = nil
  1776. LeftHip.C0 = FLeftHip.C0
  1777. LeftHip.C1 = FLeftHip.C1
  1778. FRightHip.Part0 = nil
  1779. FRightHip.Part1 = nil
  1780. RightHip.C0 = FRightHip.C0
  1781. RightHip.C1 = FRightHip.C1
  1782. end
  1783. Debounces.Attacking = false
  1784. end
  1785. end
  1786.  
  1787. Mouse.KeyDown:connect(function(key)
  1788. if key == "f" and not Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
  1789. Debounces.Equipping = true
  1790. LeftShoulder.Part0 = nil
  1791. LeftShoulder.Part1 = nil
  1792. RightShoulder.Part0 = nil
  1793. RightShoulder.Part1 = nil
  1794. FLeftShoulder.Part0 = Torso
  1795. FLeftShoulder.Part1 = LeftArm
  1796. FLeftShoulder.C0 = NLSC0
  1797. FLeftShoulder.C1 = NLSC1
  1798. FRightShoulder.Part0 = Torso
  1799. FRightShoulder.Part1 = RightArm
  1800. FRightShoulder.C0 = NRSC0
  1801. FRightShoulder.C1 = NRSC1
  1802. RootJoint.Part0 = nil
  1803. RootJoint.Part1 = nil
  1804. FRootJoint.Part0 = RootPart
  1805. FRootJoint.Part1 = Torso
  1806. FRootJoint.C0 = NRJC0
  1807. FRootJoint.C1 = NRJC1
  1808. wait()
  1809. CurrentSpeed = 8
  1810. Humanoid.JumpPower = 90
  1811. Humanoid.WalkSpeed = CurrentSpeed
  1812. Debounces.Equipped = true
  1813. Debounces.Equipping = false
  1814. else
  1815. if key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep then
  1816. Debounces.Equipping = true
  1817. AssumeNormalJoints()
  1818. wait()
  1819. CurrentSpeed = 16
  1820. Humanoid.JumpPower = 50
  1821. Humanoid.WalkSpeed = CurrentSpeed
  1822. Debounces.Equipped = false
  1823. Debounces.Equipping = false
  1824. end
  1825. end
  1826. if key == " " and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Can_Double_Jump then
  1827. Debounces.Can_Double_Jump = false
  1828. Debounces.DoubleJumping = true
  1829. RootPart.Velocity = Vec(0, 180, 0)
  1830. local noscope = 0
  1831. if not Debounces.DoubleJumpAnim then
  1832. Debounces.AnimOverride = true
  1833. Debounces.DoubleJumpAnim = true
  1834. for i = 0, 2, 0.1 do
  1835. wait()
  1836. if noscope ~= 360 then
  1837. noscope = noscope + 20
  1838. end
  1839. if not Debounces.Attacking then
  1840. local JumpSpeed = 0.4
  1841. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed)
  1842. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1843. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed)
  1844. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1845. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed)
  1846. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
  1847. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), JumpSpeed)
  1848. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(noscope), 0), JumpSpeed)
  1849. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed)
  1850. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
  1851. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed)
  1852. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
  1853. end
  1854. end
  1855. Debounces.DoubleJumpAnim = false
  1856. Debounces.AnimOverride = false
  1857. end
  1858. Debounces.DoubleJumping = false
  1859. end
  1860. do
  1861. if key == "e" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
  1862. Disrupt()
  1863. end
  1864. if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
  1865. Fatal_Blow()
  1866. end
  1867. if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
  1868. game:GetService("RunService").Stepped:wait()
  1869. Axel(SWP.Value)
  1870. end
  1871. if key == "s" and not SWP.Value then
  1872. SWP.Value = true
  1873. wait(0.08)
  1874. SWP.Value = false
  1875. end
  1876. if key == "]" then
  1877. if not Debounces.ZeroGravity then
  1878. Debounces.ZeroGravity = true
  1879. workspace.Gravity = 1
  1880. chatServ:Chat(Head, "Zero gravity!", 2)
  1881. else
  1882. Debounces.ZeroGravity = false
  1883. workspace.Gravity = 196.2
  1884. chatServ:Chat(Head, "Revert gravity.", 0)
  1885. end
  1886. end
  1887. end
  1888. end
  1889. )
  1890. Mouse.Button1Down:connect(function()
  1891. if Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep then
  1892. if Attack_Num == 1 then
  1893. ClickCombo()
  1894. Attack_Num = 2
  1895. else
  1896. if Attack_Num == 2 then
  1897. ClickCombo()
  1898. Attack_Num = 3
  1899. else
  1900. if Attack_Num == 3 then
  1901. ClickCombo()
  1902. Attack_Num = 4
  1903. else
  1904. if Attack_Num == 4 then
  1905. ClickCombo()
  1906. Attack_Num = 1
  1907. end
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913. )
  1914. Humanoid.Running:connect(function(speed)
  1915. if speed > 0.01 then
  1916. Current_Anim = "Walking"
  1917. Debounces.Can_Double_Jump = false
  1918. else
  1919. if speed < 0.01 or speed == 0 then
  1920. Current_Anim = "Idle"
  1921. Debounces.Can_Double_Jump = false
  1922. end
  1923. end
  1924. end
  1925. )
  1926. Humanoid.FreeFalling:connect(function()
  1927. Current_Anim = "Falling"
  1928. end
  1929. )
  1930. Humanoid.Jumping:connect(function()
  1931. Current_Anim = "Jumping"
  1932. if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim then
  1933. Debounces.Can_Double_Jump = true
  1934. Debounces.AnimOverride = true
  1935. Debounces.JumpAnim = true
  1936. for i = 0, 0.8, 0.1 do
  1937. wait()
  1938. if not Debounces.Attacking then
  1939. local JumpSpeed = 0.4
  1940. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed)
  1941. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1942. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed)
  1943. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
  1944. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed)
  1945. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
  1946. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), 0, 0), JumpSpeed)
  1947. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
  1948. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed)
  1949. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
  1950. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed)
  1951. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
  1952. end
  1953. end
  1954. Debounces.JumpAnim = false
  1955. Debounces.AnimOverride = false
  1956. end
  1957. end
  1958. )
  1959. Humanoid.Swimming:connect(function()
  1960. Current_Anim = "Walking"
  1961. Debounces.Can_Double_Jump = true
  1962. end
  1963. )
  1964. runServ:connect(function()
  1965. CamPart.Position = RootPart.Position
  1966. CamPart.Anchored = false
  1967. Bringer()
  1968. AdvanceText()
  1969. Humanoid.MaxHealth = Max_Health
  1970. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  1971. Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
  1972. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false)
  1973. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  1974. if #Effects > 0 then
  1975. for e = 1, #Effects do
  1976. if Effects[e] ~= nil then
  1977. local Thing = Effects[e]
  1978. if Thing ~= nil then
  1979. local Part = Thing[1]
  1980. local Mode = Thing[2]
  1981. local Delay = Thing[3]
  1982. local IncX = Thing[4]
  1983. local IncY = Thing[5]
  1984. local IncZ = Thing[6]
  1985. if Thing[1].Transparency <= 1 then
  1986. if Thing[2] == "Block1" then
  1987. Thing[1].CFrame = Thing[1].CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1988. Mesh = Thing[1]:FindFirstChild("Mesh")
  1989. if not Mesh then
  1990. Mesh = Instance.new("BlockMesh")
  1991. end
  1992. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  1993. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1994. else
  1995. if Thing[2] == "Wave" then
  1996. Mesh = Thing[1]:FindFirstChild("Mesh")
  1997. if not Mesh then
  1998. Mesh = Instance.new("BlockMesh")
  1999. end
  2000. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  2001. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2002. else
  2003. if Thing[2] == "Cylinder" then
  2004. Mesh = Thing[1]:FindFirstChild("Mesh")
  2005. if not Mesh then
  2006. Mesh = Instance.new("BlockMesh")
  2007. end
  2008. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  2009. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2010. else
  2011. if Thing[2] == "Blood" then
  2012. Mesh = Thing[1]:FindFirstChild("Mesh")
  2013. if not Mesh then
  2014. Mesh = Instance.new("BlockMesh")
  2015. end
  2016. Thing[1].CFrame = Thing[1].CFrame * Cf(0, 0.5, 0)
  2017. Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
  2018. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2019. else
  2020. if Thing[2] == "Elec" then
  2021. Mesh = Thing[1]:FindFirstChild("Mesh")
  2022. if not Mesh then
  2023. Mesh = Instance.new("BlockMesh")
  2024. end
  2025. Mesh.Scale = Mesh.Scale + Vec(Thing[7], Thing[8], Thing[9])
  2026. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2027. else
  2028. if Thing[2] == "Disappear" then
  2029. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2030. end
  2031. end
  2032. end
  2033. end
  2034. end
  2035. end
  2036. else
  2037. Part.Parent = nil
  2038. debServ:AddItem(Part, 0)
  2039. table.remove(Effects, e)
  2040. end
  2041. end
  2042. end
  2043. end
  2044. end
  2045. end
  2046. )
  2047.  
  2048. wait(1)
  2049. Player.Character.Parent=nil
  2050. wait()
  2051. Player.Character.Parent=game.Workspace
  2052.  
  2053. while true do
  2054. if wait() then
  2055. if Debounces.Equipped then
  2056. if not Debounces.Attacking then
  2057. if not Debounces.AnimOverride then
  2058. if not Debounces.Equipping then
  2059. if Current_Anim == "Idle" and not Debounces.HasWep then
  2060. idlenum = 0.3
  2061. if idlenum2 < 9.999 and idle == 1 then
  2062. idlenum2 = idlenum2 + idlenum
  2063. elseif idlenum2 > 9.999 and idle == 1 then
  2064. idle = -1
  2065. elseif idlenum2 > 0.999 and idle == -1 then
  2066. idlenum2 = idlenum2 - idlenum
  2067. elseif idlenum2 < 0.999 and idle == -1 then
  2068. idle = 1
  2069. end
  2070. local IdleSpeed = 0.4
  2071. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45 - (idlenum2) / 70, -1) * Euler(rad(60), 0, rad(-40)), IdleSpeed)
  2072. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(-20), 0), IdleSpeed)
  2073. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3 - (idlenum2) / 70, -0.3) * Euler(rad(120), 0, rad(-40)), IdleSpeed)
  2074. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(20), 0), IdleSpeed)
  2075. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5 + (idlenum2) / 50, 0) * Euler(rad(-20), rad(40), 0), IdleSpeed)
  2076. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1 + (idlenum2) / 50) * Euler(rad(1 + (idlenum2) * 1.5), 0, 0), IdleSpeed)
  2077. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 40, 0) * Euler(0, rad(-40), 0), IdleSpeed)
  2078. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
  2079. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 38, -0.6) * Euler(0, rad(120), 0), IdleSpeed)
  2080. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), IdleSpeed)
  2081. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 38, 0.4) * Euler(0, rad(-50), 0), IdleSpeed)
  2082. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), IdleSpeed)
  2083. end
  2084. if Current_Anim == "Walking" and not Debounces.HasWep then
  2085. walknum = 0.3
  2086. if walknum2 < 9.999 and walk == 1 then
  2087. walknum2 = walknum2 + walknum
  2088. elseif walknum2 > 9.999 and walk == 1 then
  2089. walk = -1
  2090. elseif walknum2 > 0.999 and walk == -1 then
  2091. walknum2 = walknum2 - walknum
  2092. elseif walknum2 < 0.999 and walk == -1 then
  2093. walk = 1
  2094. end
  2095. local WalkSpeed = 0.4
  2096. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), WalkSpeed)
  2097. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
  2098. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5 - (walknum2) / 70, -1) * Euler(rad(80), 0, rad(60)), WalkSpeed)
  2099. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (walknum2) * 2), 0, 0), WalkSpeed)
  2100. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(3), 0, 0), WalkSpeed)
  2101. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
  2102. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), WalkSpeed)
  2103. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
  2104. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), WalkSpeed)
  2105. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
  2106. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
  2107. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
  2108. end
  2109. if Current_Anim ~= "Falling" or not Debounces.HasWep then
  2110. local FallSpeed = 0.5
  2111. FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
  2112. FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-15)), FallSpeed)
  2113. FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
  2114. FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(15)), FallSpeed)
  2115. Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed)
  2116. Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
  2117. FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed)
  2118. FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
  2119. RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
  2120. RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
  2121. LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
  2122. LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
  2123. end
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end
Add Comment
Please, Sign In to add comment