Advertisement
Dark_EccentricYT

Untitled

Dec 8th, 2016
4,807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.84 KB | None | 0 0
  1. local player = "LocalPlayer"
  2. local Character = game.Players[player].Character
  3. it = Instance.new
  4. vt = Vector3.new
  5. cf = CFrame.new
  6. euler = CFrame.fromEulerAnglesXYZ
  7. angles = CFrame.Angles
  8. mr = math.rad
  9. local decreaseatk = 0
  10. local decreasedef = 0
  11. local decreasemvmt = 0
  12. local Anim = "Idle"
  13. local Effects = {}
  14. local armorparts = {}
  15. local armorwelds = {}
  16. local weaponparts = {}
  17. local weaponwelds = {}
  18. local Hands = {}
  19. local necko = euler(0, 0, 0) * cf(0, 1.3, 0)
  20. local attack = false
  21. local jump = false
  22. local start = false
  23. local move = 10
  24. local hitfloor, posfloor = nil, nil
  25. local run = Instance.new("NumberValue")
  26. run.Name = "DecreaseMvmt"
  27. run.Value = -0.5
  28. local bName = "Manotech"
  29. local MainColor = BrickColor.new("Black")
  30. NoOutline = function(Part)
  31. Part.TopSurface = 10
  32. end
  33. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  34. local fp = it("Part")
  35. fp.formFactor = formfactor
  36. fp.Parent = parent
  37. fp.Reflectance = reflectance
  38. fp.Transparency = transparency
  39. fp.CanCollide = false
  40. fp.Locked = true
  41. fp.BrickColor = brickcolor
  42. fp.Name = name
  43. fp.Size = size
  44. NoOutline(fp)
  45. fp.Material = "SmoothPlastic"
  46. fp:BreakJoints()
  47. return fp
  48. end
  49. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  50. local mesh = it(Mesh)
  51. mesh.Parent = part
  52. if Mesh == "SpecialMesh" then
  53. mesh.MeshType = meshtype
  54. if meshid ~= "nil" then
  55. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  56. end
  57. end
  58. mesh.Offset = offset
  59. mesh.Scale = scale
  60. return mesh
  61. end
  62. weld = function(parent, part0, part1, c0)
  63. local weld = it("Motor6D")
  64. weld.Parent = parent
  65. weld.Part0 = part0
  66. weld.Part1 = part1
  67. weld.C0 = c0
  68. return weld
  69. end
  70. gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image)
  71. local gui = it(GuiType)
  72. gui.Parent = parent
  73. gui.BackgroundTransparency = backtrans
  74. gui.BackgroundColor3 = backcol
  75. gui.SizeConstraint = "RelativeXY"
  76. gui.Position = pos
  77. gui.Size = size
  78. if GuiType == "TextLabel" then
  79. gui.Text = text
  80. gui.TextXAlignment = "Center"
  81. gui.TextYAlignment = "Center"
  82. gui.Font = "SourceSans"
  83. gui.FontSize = "Size14"
  84. gui.TextWrapped = false
  85. gui.TextStrokeTransparency = 0
  86. gui.TextColor = BrickColor.new("White")
  87. else
  88. if GuiType == "ImageLabel" then
  89. gui.Image = "rbxassetid://" .. image
  90. gui.ImageColor3 = backcol
  91. end
  92. end
  93. return gui
  94. end
  95. local handle = nil
  96. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  97. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  98. prt.Material = neon
  99. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  100. wld = weld(handle, prt, wldpar, ceef)
  101. v = it("NumberValue", prt)
  102. v.Value = trans
  103. v.Name = "MainTransparency"
  104. return prt, msh, wld
  105. end
  106. AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare)
  107. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  108. prt.Material = neon
  109. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  110. wld = weld(wldpare, prt, wldpar, ceef)
  111. v = it("NumberValue", prt)
  112. v.Value = trans
  113. v.Name = "MainTransparency"
  114. return prt, msh, wld
  115. end
  116. local modelzorz = Instance.new("Model")
  117. modelzorz.Parent = workspace.CurrentCamera
  118. modelzorz.Name = "ManotechBody"
  119. local Torso = Character.Torso
  120. local LeftArm = Character["Left Arm"]
  121. local RightArm = Character["Right Arm"]
  122. local LeftLeg = Character["Left Leg"]
  123. local RightLeg = Character["Right Leg"]
  124. local Head = Character.Head
  125. local RootPart = Character.HumanoidRootPart
  126. handle = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Handle", vt())
  127. local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7))
  128. Tprt01 = AesthPart(modelzorz, Torso, 0, 0, "Fossil", "Torso Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 12.1, euler(0, mr(-90), 0) * cf(0, 0, 0))
  129. Tprt02 = AesthPart(modelzorz, Tprt01, 0, 0, "Really black", "Torso Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, -0.84, 0))
  130. Tprt03 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.14, 12.14, 4, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  131. Tprt04 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part04", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.15, 12.15, 2, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  132. Tprt05 = AesthPart(modelzorz, Tprt01, 0, 0, "Really black", "Torso Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, 0.83, 0))
  133. Tprt06 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part06", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 12.5, 2, euler(mr(90), 0, 0) * cf(0, 1.03, 0))
  134. Tprt07 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part07", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 12.6, 1, euler(mr(90), 0, 0) * cf(0, 1.14, 0))
  135. Tprt08 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part08", "SmoothPlastic", "SpecialMesh", "Cylinder", "nil", 1, 5, 5, euler(mr(90), 0, 0) * cf(-0.562, 0.82, 0))
  136. Tprt09 = AesthPart(modelzorz, Tprt01, 0, 0, "Really black", "Torso Part09", "Neon", "SpecialMesh", "Cylinder", "nil", 1, 4, 4, euler(mr(90), 0, 0) * cf(-0.572, 0.82, 0))
  137. Tprt10 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.2, 1, 0.4, euler(mr(90), 0, 0) * cf(-0.662, 0.82, 0))
  138. Tprt11 = AesthPart(modelzorz, Tprt01, 0, 0, "Really black", "Torso Part11", "Neon", "SpecialMesh", "Sphere", "nil", 1, 0.4, 2, euler(mr(90), 0, 0) * cf(-0.722, 0.82, 0))
  139. Tprt12 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "26340522", 1, 1, 1.4, euler(0, mr(90), 0) * cf(0, -0.34, 0))
  140. Tprt13 = AesthPart(modelzorz, Tprt01, 0, 0, "Dark indigo", "Torso Part13", "SmoothPlastic", "SpecialMesh", "FileMesh", "189759018", 3, 4, 3.5, euler(0, mr(90), 0) * cf(0, -0.55, -0.06))
  141. LAprt01 = AesthPart(modelzorz, LeftArm, 0, 0, "Fossil", "Left Arm Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 6.1, euler(0, mr(-90), 0) * cf(0, 0, 0))
  142. LAprt01a = AesthPart(modelzorz, LAprt01, 0, 0, "Fossil", "Left Arm Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, mr(90), 0) * cf(0, 0, 0))
  143. RAprt01 = AesthPart(modelzorz, RightArm, 0, 0, "Fossil", "Right Arm Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 6.1, euler(0, mr(90), 0) * cf(0, 0, 0))
  144. RAprt01a = AesthPart(modelzorz, RAprt01, 0, 0, "Fossil", "Right Arm Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, mr(90), 0) * cf(0, 0, 0))
  145. LLprt01 = AesthPart(modelzorz, LeftLeg, 0, 0, "Fossil", "Left Leg Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 6.1, 12.1, euler(mr(90), 0, 0) * cf(0, 0, 0))
  146. LLprt01a = AesthPart(modelzorz, LLprt01, 0, 0, "Fossil", "Left Leg Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, mr(90)) * cf(0, 0, 0))
  147. RLprt01 = AesthPart(modelzorz, RightLeg, 0, 0, "Fossil", "Right Leg Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 6.1, 12.1, euler(mr(90), 0, 0) * cf(0, 0, 0))
  148. RLprt01a = AesthPart(modelzorz, RLprt01, 0, 0, "Fossil", "Right Leg Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, mr(-90)) * cf(0, 0, 0))
  149. local thPart = LAprt01a
  150. local thPart2 = LLprt01a
  151. for i = -1, 1, 2 do
  152. if i == 1 then
  153. thPart = RAprt01a
  154. thPart2 = RLprt01a
  155. end
  156. Aprt02 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 4, 3, euler(mr(90), mr(90), 0) * cf(-0.23, -0.93, 0))
  157. Aprt03 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 3, 7, euler(mr(90), mr(90), 0) * cf(0.43, -0.82, 0))
  158. Aprt04 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part04", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(59.815)) * cf(0.23, 0.01, 0))
  159. Aprt05 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part05", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(90)) * cf(0.43, 0.18, 0))
  160. Aprt06 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(32.321)) * cf(0.05, -0.2, 0))
  161. Aprt07 = AesthPart(modelzorz, thPart, 0, 0, "Black", "Arm Part07", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 4, 6.2, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  162. Aprt08 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 3, 6.3, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  163. Aprt09 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(103.229)) * cf(-0.1, -0.87, 0))
  164. Aprt10 = AesthPart(modelzorz, thPart, 0, 0, "Dark indigo", "Arm Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(90)) * cf(0.26, -0.85, 0))
  165. Aprt11 = AesthPart(modelzorz, thPart, 0, 0, "Black", "Arm Part11", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3.5, 7.5, 3.5, euler(mr(90), 0, 0) * cf(0.47, -1.3, 0))
  166. Lprt02 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 6.3, 3, euler(0, 0, 0) * cf(0, 0, -0.92))
  167. Lprt03 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.25, 6.25, 3, euler(0, 0, 0) * cf(0, 0, -0.67))
  168. Lprt04 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part04", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(0.53 * i, 0.33, -0.42))
  169. Lprt05 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part05", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(0.53 * i, -0.33, -0.42))
  170. Lprt06 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(-0.53 * i, 0.33, -0.42))
  171. Lprt07 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(-0.53 * i, -0.33, -0.42))
  172. Lprt08 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 6.6, 3, euler(0, 0, 0) * cf(0, 0, 0.37))
  173. Lprt09 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part09", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 6.5, 3, euler(0, 0, 0) * cf(0, 0, 0.91))
  174. Lprt10 = AesthPart(modelzorz, thPart2, 0, 0, "Really black", "Leg Part10", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, 0, mr(90)) * cf(-0.52 * i, 0, -0.22))
  175. Lprt11 = AesthPart(modelzorz, thPart2, 0, 0, "Really black", "Leg Part11", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, mr(-30), mr(90)) * cf(-0.52 * i, 0.2, -0.22))
  176. Lprt12 = AesthPart(modelzorz, thPart2, 0, 0, "Really black", "Leg Part12", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, mr(30), mr(90)) * cf(-0.52 * i, -0.2, -0.22))
  177. Lprt13 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part13", "SmoothPlastic", "CylinderMesh", "nil", "nil", 2, 1, 2, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  178. Lprt14 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part14", "SmoothPlastic", "CylinderMesh", "nil", "nil", 1.7, 1.1, 1.7, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  179. Lprt15 = AesthPart(modelzorz, thPart2, 0, 0, "Really black", "Leg Part15", "Neon", "CylinderMesh", "nil", "nil", 1, 1.2, 1, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  180. Lprt16 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part16", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(0, 0, mr(180)) * cf(-0.6 * i, 0.14, 0.35))
  181. Lprt17 = AesthPart(modelzorz, thPart2, 0, 0, "Dark indigo", "Leg Part17", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(0, 0, 0) * cf(-0.6 * i, -0.16, 0.35))
  182. Lprt18 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part18", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(mr(15), 0, mr(180)) * cf(-0.6 * i, 0.35, 0.35))
  183. Lprt19 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part19", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(mr(15), 0, 0) * cf(-0.6 * i, -0.37, 0.35))
  184. end
  185. LAprt12 = AesthPart(modelzorz, LAprt01a, 0, 0, "Dark indigo", "Left Arm Part12", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 7, 2, euler(mr(180), mr(-90), mr(103.229)) * cf(1.05, -1.48, 0.71))
  186. LAprt13 = AesthPart(modelzorz, LAprt01a, 0, 0, "Dark indigo", "Left Arm Part13", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 7, 2, euler(mr(180), mr(-90), mr(103.229)) * cf(1.05, -1.48, -0.71))
  187. RAprt12 = AesthPart(modelzorz, RAprt01a, 0, 0, "Dark indigo", "Right Arm Part12", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 6, euler(mr(180), mr(90), mr(9.214)) * cf(1.217, -1.384, 0))
  188. RAprt13 = AesthPart(modelzorz, RAprt01a, 0, 0, "Dark indigo", "Right Arm Part13", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6, 3, 6, euler(mr(180), mr(90), mr(-10.361)) * cf(1.108, -1.116, 0))
  189. RAprt14 = AesthPart(modelzorz, RAprt01a, 0, 0, "Dark indigo", "Right Arm Part14", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5.5, 3, 6, euler(mr(180), mr(90), mr(-42.832)) * cf(1.002, -0.856, 0))
  190. RAprt15 = AesthPart(modelzorz, RAprt01a, 0, 0, "Really black", "Right Arm Part15", "Neon", "BlockMesh", "nil", "nil", 6.5, 0.2, 6.5, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  191. RAprt16 = AesthPart(modelzorz, RAprt01a, 0, 0, "Really black", "Right Arm Part16", "Neon", "BlockMesh", "nil", "nil", 6.5, 0.2, 6.5, euler(0, mr(90), mr(6.849)) * cf(0, 0.97, 0))
  192. RAprt17 = AesthPart(modelzorz, RAprt01a, 0, 0, "Really black", "Right Arm Part17", "Neon", "BlockMesh", "nil", "nil", 6.5, 0.2, 6.5, euler(0, mr(90), mr(-6.849)) * cf(0, 0.66, 0))
  193. RAprt18 = AesthPart(modelzorz, RAprt01a, 0, 0, "Carnation pink", "Right Arm Part18", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.4, 0.6, 6.4, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  194. RAprt19 = AesthPart(modelzorz, RAprt01a, 0, 0, "Carnation pink", "Right Arm Part19", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.4, 0.6, 6.4, euler(0, mr(90), mr(6.849)) * cf(0, 0.97, 0))
  195. RAprt20 = AesthPart(modelzorz, RAprt01a, 0, 0, "Carnation pink", "Right Arm Part20", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.4, 0.6, 6.4, euler(0, mr(90), mr(-6.849)) * cf(0, 0.66, 0))
  196. RAprt21 = AesthPart(modelzorz, RAprt01a, 0, 0, "Dark indigo", "Right Arm Part21", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3.5, 1, 3.5, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  197. RAprt22 = AesthPart(modelzorz, RAprt01a, 0, 0, "Carnation pink", "Right Arm Part22", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3, 1.1, 3, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  198. RAprt23 = AesthPart(modelzorz, RAprt01a, 0, 0, "Really black", "Right Arm Part23", "Neon", "CylinderMesh", "nil", "nil", 1, 1.2, 1, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  199. for i = 0, 135, 45 do
  200. RAprt24 = AesthPart(modelzorz, RAprt01a, 0, 0, "Really black", "Right Arm Part24", "Neon", "BlockMesh", "nil", "nil", 1.5, 1, 0.2, euler(mr(90), mr(90), 0) * euler(mr(i), 0, 0) * cf(0.57, 0.82, 0))
  201. end
  202. Hprt01 = AesthPart(modelzorz, Head, 0, 0, "Fossil", "Head Part01", "SmoothPlastic", "SpecialMesh", "Sphere", "nil", 8.5, 9, 9, euler(0, 0, 0) * cf(0, -0.21, 0))
  203. Hprt02 = AesthPart(modelzorz, Hprt01, 0, 0, "Fossil", "Head Part02", "SmoothPlastic", "CylinderMesh", "nil", "nil", 7.5, 0.6, 7.5, euler(0, 0, 0) * cf(0, 0.47, 0))
  204. Hprt03 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part03", "SmoothPlastic", "CylinderMesh", "nil", "nil", 9, 1, 9, euler(mr(9.321), 0, 0) * cf(0, -0.15, 0.03))
  205. Hprt04 = AesthPart(modelzorz, Hprt01, 0, 0, "Pastel blue", "Head Part04", "Neon", "CylinderMesh", "nil", "nil", 9.1, 0.2, 9.1, euler(mr(9.321), 0, 0) * cf(0, -0.15, 0.03))
  206. Hprt05 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(0.82, -0.07, 0.06))
  207. Hprt06 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(-90)) * cf(1.02, -0.07, -0.14))
  208. Hprt07 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(-90)) * cf(1.02, -0.07, 0.26))
  209. Hprt08 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(-0.81, -0.07, 0.06))
  210. Hprt09 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(90)) * cf(-1.01, -0.07, -0.14))
  211. Hprt10 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(90)) * cf(-1.01, -0.07, 0.26))
  212. Hprt11 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part11", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3, 1, 3, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  213. Hprt12 = AesthPart(modelzorz, Hprt01, 0, 0, "Really black", "Head Part12", "Neon", "CylinderMesh", "nil", "nil", 2, 1.1, 2, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  214. Hprt13 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part13", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1, 4, euler(mr(90), mr(-90), 0) * cf(0.1, 0.59, 0.91))
  215. Hprt14 = AesthPart(modelzorz, Hprt01, 0, 0, "Dark indigo", "Head Part14", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1, 4, euler(mr(90), mr(90), 0) * cf(-0.1, 0.59, 0.91))
  216.  
  217.  
  218. --[[
  219. =============================]}
  220. //{Script: Tenebris
  221. //{User: Citrus
  222. =============================]}
  223. //{Controls:
  224. // X - Void Hook
  225. // F - Void Grip
  226. // C - Implosion
  227. // Shift - Sprint
  228. =============================]}
  229. //{Key combos:
  230. // ssw - Lock-on Strike
  231. =============================]}
  232. --]]
  233.  
  234. --[[This is still a WIP. Significant changes may occur.]]--
  235.  
  236. --[[PHOENIX_WEAPONRY]]--
  237. Player=game:GetService("Players").LocalPlayer
  238. Character=Player.Character
  239. PlayerGui=Player.PlayerGui
  240. Backpack=Player.Backpack
  241. Torso=Character.Torso
  242. Head=Character.Head
  243. Humanoid=Character.Humanoid
  244. m=Instance.new('Model',Character)
  245. LeftArm=Character["Left Arm"]
  246. LeftLeg=Character["Left Leg"]
  247. RightArm=Character["Right Arm"]
  248. RightLeg=Character["Right Leg"]
  249. LS=Torso["Left Shoulder"]
  250. LH=Torso["Left Hip"]
  251. RS=Torso["Right Shoulder"]
  252. RH=Torso["Right Hip"]
  253. Neck=Torso.Neck
  254. it=Instance.new
  255. attacktype=1
  256. vt=Vector3.new
  257. cf=CFrame.new
  258. euler=CFrame.fromEulerAnglesXYZ
  259. angles=CFrame.Angles
  260. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  261. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  262. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  263. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  264. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  265. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  266. cn = CFrame.new
  267. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  268. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  269. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  270. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  271. RootPart=Character.HumanoidRootPart
  272. RootJoint=RootPart.RootJoint
  273. RootCF=euler(-1.57,0,3.14)
  274. attack = false
  275. attackdebounce = false
  276. deb=false
  277. equipped=true
  278. hand=false
  279. MMouse=nil
  280. combo=0
  281. mana=0
  282. cam=workspace.CurrentCamera
  283. RocketTarget=nil
  284. Targetting=false
  285. trispeed=.2
  286. attackmode='none'
  287. local idle=0
  288. local Anim="Idle"
  289. local Effects={}
  290. local gun=false
  291. local shoot=false
  292. player=nil
  293. local antirun = false
  294. local mhitsounds = {"199149137","199149186","199149221","199149235","199149269","199149297"}
  295.  
  296. --[[if Humanoid:findFirstChild("Animator") then
  297. Humanoid:findFirstChild("Animator").Parent = Animstore
  298. end
  299. if Character:findFirstChild("Animate") then
  300. Character:findFirstChild("Animate").Parent = Animstore]]
  301.  
  302. mouse=Player:GetMouse()
  303. --save shoulders
  304. RSH, LSH=nil, nil
  305. --welds
  306. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  307. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  308. LH=Torso["Left Hip"]
  309. RH=Torso["Right Hip"]
  310. TorsoColor=Torso.BrickColor
  311. function NoOutline(Part)
  312. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  313. end
  314. player=Player
  315. ch=Character
  316. RSH=ch.Torso["Right Shoulder"]
  317. LSH=ch.Torso["Left Shoulder"]
  318. --
  319. RSH.Parent=nil
  320. LSH.Parent=nil
  321. --
  322. RW.Name="Right Shoulder"
  323. RW.Part0=ch.Torso
  324. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  325. RW.C1=cf(0, 0.5, 0)
  326. RW.Part1=ch["Right Arm"]
  327. RW.Parent=ch.Torso
  328. --
  329. LW.Name="Left Shoulder"
  330. LW.Part0=ch.Torso
  331. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  332. LW.C1=cf(0, 0.5, 0)
  333. LW.Part1=ch["Left Arm"]
  334. LW.Parent=ch.Torso
  335.  
  336. local Stats=Instance.new("BoolValue")
  337. Stats.Name="Stats"
  338. Stats.Parent=Character
  339. local Atk=Instance.new("NumberValue")
  340. Atk.Name="Damage"
  341. Atk.Parent=Stats
  342. Atk.Value=1
  343. local Def=Instance.new("NumberValue")
  344. Def.Name="Defense"
  345. Def.Parent=Stats
  346. Def.Value=1
  347. local Speed=Instance.new("NumberValue")
  348. Speed.Name="Speed"
  349. Speed.Parent=Stats
  350. Speed.Value=1
  351. local Mvmt=Instance.new("NumberValue")
  352. Mvmt.Name="Movement"
  353. Mvmt.Parent=Stats
  354. Mvmt.Value=1
  355.  
  356.  
  357.  
  358. local fengui=it("GuiMain")
  359. fengui.Parent=Player.PlayerGui
  360. fengui.Name="WeaponGUI"
  361. local fenframe=it("Frame")
  362. fenframe.Parent=fengui
  363. fenframe.BackgroundColor3=Color3.new(255,255,255)
  364. fenframe.BackgroundTransparency=1
  365. fenframe.BorderColor3=Color3.new(17,17,17)
  366. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  367. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  368. local fenbarmana1=it("TextLabel")
  369. fenbarmana1.Parent=fenframe
  370. fenbarmana1.Text=" "
  371. fenbarmana1.BackgroundTransparency=0
  372. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  373. fenbarmana1.SizeConstraint="RelativeXY"
  374. fenbarmana1.TextXAlignment="Center"
  375. fenbarmana1.TextYAlignment="Center"
  376. fenbarmana1.Position=UDim2.new(0,0,0,0)
  377. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  378. local fenbarmana2=it("TextLabel")
  379. fenbarmana2.Parent=fenframe
  380. fenbarmana2.Text=" "
  381. fenbarmana2.BackgroundTransparency=0
  382. fenbarmana2.BackgroundColor3=Color3.new(0.5,0,255)
  383. fenbarmana2.SizeConstraint="RelativeXY"
  384. fenbarmana2.TextXAlignment="Center"
  385. fenbarmana2.TextYAlignment="Center"
  386. fenbarmana2.Position=UDim2.new(0,0,0,0)
  387. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  388. local fenbarmana3=it("TextLabel")
  389. fenbarmana3.Parent=fenframe
  390. fenbarmana3.Text=" "
  391. fenbarmana3.BackgroundTransparency=0
  392. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  393. fenbarmana3.SizeConstraint="RelativeXY"
  394. fenbarmana3.TextXAlignment="Center"
  395. fenbarmana3.TextYAlignment="Center"
  396. fenbarmana3.Position=UDim2.new(0,0,0,0)
  397. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  398. local fenbarmana4=it("TextLabel")
  399. fenbarmana4.Parent=fenframe
  400. fenbarmana4.Text="Loading interface"
  401. fenbarmana4.BackgroundTransparency=1
  402. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  403. fenbarmana4.SizeConstraint="RelativeXY"
  404. fenbarmana4.TextXAlignment="Center"
  405. fenbarmana4.TextYAlignment="Center"
  406. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  407. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  408. fenbarmana4.FontSize="Size9"
  409. fenbarmana4.TextStrokeTransparency=0
  410. fenbarmana4.TextColor=BrickColor.new("White")
  411.  
  412. local donum=0
  413.  
  414. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  415. local fp=it("Part")
  416. fp.formFactor=formfactor
  417. fp.Parent=parent
  418. fp.Reflectance=reflectance
  419. fp.Transparency=transparency
  420. fp.CanCollide=false
  421. fp.Locked=true
  422. fp.BrickColor=brickcolor
  423. fp.Name=name
  424. fp.Size=size
  425. fp.Position=Torso.Position
  426. NoOutline(fp)
  427. fp.Material="SmoothPlastic"
  428. fp:BreakJoints()
  429. return fp
  430. end
  431.  
  432. function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  433. local fp = Instance.new("Part")
  434. fp.formFactor = formfactor
  435. fp.Parent = parent
  436. fp.Reflectance = reflectance
  437. fp.Transparency = transparency
  438. fp.CanCollide = false
  439. fp.Locked = true
  440. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  441. fp.Name = name
  442. fp.Size = size
  443. fp.Position = Character.Torso.Position
  444. fp.Material = material
  445.  
  446. NoOutline(fp)
  447. return fp
  448. end
  449.  
  450. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  451. local mesh=it(Mesh)
  452. mesh.Parent=part
  453. if Mesh=="SpecialMesh" then
  454. mesh.MeshType=meshtype
  455. mesh.MeshId=meshid
  456. end
  457. mesh.Offset=offset
  458. mesh.Scale=scale
  459. return mesh
  460. end
  461.  
  462. function weld(parent,part0,part1,c0)
  463. local weld=it("Weld")
  464. weld.Parent=parent
  465. weld.Part0=part0
  466. weld.Part1=part1
  467. weld.C0=c0
  468. return weld
  469. end
  470.  
  471. function weld2(parent, part0, part1, c0, c1)
  472. local Weld = Instance.new("Weld")
  473. Weld.Parent = parent
  474. Weld.Part0 = part0
  475. Weld.Part1 = part1
  476. Weld.C0 = c0
  477. Weld.C1 = c1
  478.  
  479. return Weld
  480. end
  481.  
  482. local Color1=Torso.BrickColor
  483.  
  484. local bodvel=Instance.new("BodyVelocity")
  485. local bg=Instance.new("BodyGyro")
  486.  
  487. ArtificialHB = Instance.new("BindableEvent", script)
  488. ArtificialHB.Name = "Heartbeat"
  489.  
  490. script:WaitForChild("Heartbeat")
  491.  
  492. frame = 1 / 60
  493. tf = 0
  494. allowframeloss = true
  495. tossremainder = false
  496. lastframe = tick()
  497. script.Heartbeat:Fire()
  498.  
  499. game:GetService("RunService").Heartbeat:connect(function(s, p)
  500. tf = tf + s
  501. if tf >= frame then
  502. if allowframeloss then
  503. script.Heartbeat:Fire()
  504. lastframe = tick()
  505. else
  506. for i = 1, math.floor(tf / frame) do
  507. script.Heartbeat:Fire()
  508. end
  509. lastframe = tick()
  510. end
  511. if tossremainder then
  512. tf = 0
  513. else
  514. tf = tf - frame * math.floor(tf / frame)
  515. end
  516. end
  517. end)
  518.  
  519. function swait(num)
  520. if num == 0 or num == nil then
  521. ArtificialHB.Event:wait()
  522. else
  523. for i = 0, num do
  524. ArtificialHB.Event:wait()
  525. end
  526. end
  527. end
  528.  
  529.  
  530. so = function(id,par,vol,pit)
  531. coroutine.resume(coroutine.create(function()
  532. local sou = Instance.new("Sound",par or workspace)
  533. sou.Volume=vol
  534. sou.Pitch=pit or 1
  535. sou.SoundId=id
  536. swait()
  537. sou:play()
  538. game:GetService("Debris"):AddItem(sou,6)
  539. end))
  540. end
  541.  
  542. function clerp(a,b,t)
  543. local qa = {QuaternionFromCFrame(a)}
  544. local qb = {QuaternionFromCFrame(b)}
  545. local ax, ay, az = a.x, a.y, a.z
  546. local bx, by, bz = b.x, b.y, b.z
  547. local _t = 1-t
  548. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  549. end
  550.  
  551. function QuaternionFromCFrame(cf)
  552. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  553. local trace = m00 + m11 + m22
  554. if trace > 0 then
  555. local s = math.sqrt(1 + trace)
  556. local recip = 0.5/s
  557. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  558. else
  559. local i = 0
  560. if m11 > m00 then
  561. i = 1
  562. end
  563. if m22 > (i == 0 and m00 or m11) then
  564. i = 2
  565. end
  566. if i == 0 then
  567. local s = math.sqrt(m00-m11-m22+1)
  568. local recip = 0.5/s
  569. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  570. elseif i == 1 then
  571. local s = math.sqrt(m11-m22-m00+1)
  572. local recip = 0.5/s
  573. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  574. elseif i == 2 then
  575. local s = math.sqrt(m22-m00-m11+1)
  576. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  577. end
  578. end
  579. end
  580.  
  581. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  582. local xs, ys, zs = x + x, y + y, z + z
  583. local wx, wy, wz = w*xs, w*ys, w*zs
  584. local xx = x*xs
  585. local xy = x*ys
  586. local xz = x*zs
  587. local yy = y*ys
  588. local yz = y*zs
  589. local zz = z*zs
  590. 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))
  591. end
  592.  
  593. function QuaternionSlerp(a, b, t)
  594. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  595. local startInterp, finishInterp;
  596. if cosTheta >= 0.0001 then
  597. if (1 - cosTheta) > 0.0001 then
  598. local theta = math.acos(cosTheta)
  599. local invSinTheta = 1/math.sin(theta)
  600. startInterp = math.sin((1-t)*theta)*invSinTheta
  601. finishInterp = math.sin(t*theta)*invSinTheta
  602. else
  603. startInterp = 1-t
  604. finishInterp = t
  605. end
  606. else
  607. if (1+cosTheta) > 0.0001 then
  608. local theta = math.acos(-cosTheta)
  609. local invSinTheta = 1/math.sin(theta)
  610. startInterp = math.sin((t-1)*theta)*invSinTheta
  611. finishInterp = math.sin(t*theta)*invSinTheta
  612. else
  613. startInterp = t-1
  614. finishInterp = t
  615. end
  616. end
  617. 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
  618. end
  619.  
  620. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  621. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  622. end
  623.  
  624.  
  625.  
  626. Damagefunc2 = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  627. if hit.Parent == nil then
  628. return
  629. end
  630. local h = hit.Parent:FindFirstChild("Humanoid")
  631. for _, v in pairs(hit.Parent:children()) do
  632. if v:IsA("Humanoid") then
  633. h = v
  634. end
  635. end
  636. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  637. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  638. if hit.Parent.DebounceHit.Value == true then
  639. return
  640. end
  641. end
  642. if h.MaxHealth >= math.huge then
  643. hit:BreakJoints()
  644. end
  645. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  646. return
  647. end]]
  648. -- hs(hit,1.2)
  649. local c = Instance.new("ObjectValue")
  650. c.Name = "creator"
  651. c.Value = game:service("Players").LocalPlayer
  652. c.Parent = h
  653.  
  654. game:GetService("Debris"):AddItem(c, .5)
  655. if HitSound ~= nil and HitPitch ~= nil then
  656. so(HitSound, hit, 1, HitPitch)
  657. end
  658. local Damage = math.random(minim, maxim)
  659. -- h:TakeDamage(Damage)
  660. local blocked = false
  661. local block = hit.Parent:findFirstChild("Block")
  662. if block ~= nil then
  663. if block.className == "IntValue" then
  664. if block.Value > 0 then
  665. blocked = true
  666. block.Value = block.Value - 1
  667. print(block.Value)
  668. end
  669. end
  670. end
  671. if blocked == false then
  672. -- h:TakeDamage(Damage)
  673. h.Health = h.Health - Damage
  674. if Damage ~= 0 then
  675. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  676. end
  677. else
  678. h.Health = h.Health - (Damage / 2)
  679. if Damage ~=0 then
  680. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  681. end
  682. end
  683. if Type == "Knockdown" then
  684. local hum = hit.Parent.Humanoid
  685. hum.PlatformStand = true
  686. coroutine.resume(coroutine.create(function(HHumanoid)
  687. swait(1)
  688. HHumanoid.PlatformStand = false
  689. end), hum)
  690. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  691. local bodvol = Instance.new("BodyVelocity")
  692. bodvol.velocity = angle * knockback
  693. bodvol.P = 5000
  694. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  695. bodvol.Parent = hit
  696.  
  697. local rl = Instance.new("BodyAngularVelocity")
  698. rl.P = 3000
  699. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  700. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  701. rl.Parent = hit
  702.  
  703. game:GetService("Debris"):AddItem(bodvol, .5)
  704. game:GetService("Debris"):AddItem(rl, .5)
  705. elseif Type == "Plat" then
  706. local hum = hit.Parent.Humanoid
  707. hum.PlatformStand = true
  708. coroutine.resume(coroutine.create(function(HHumanoid)
  709. swait(2)
  710. HHumanoid.PlatformStand = false
  711. end), hum)
  712.  
  713. local rl = Instance.new("BodyAngularVelocity")
  714. rl.P = 3000
  715. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  716. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  717. rl.Parent = hit
  718.  
  719. game:GetService("Debris"):AddItem(rl, .5)
  720. elseif Type == "Normal" then
  721. local vp = Instance.new("BodyVelocity")
  722. vp.P = 500
  723. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  724. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  725.  
  726. if knockback > 0 then
  727. vp.Parent = hit.Parent.Torso
  728. end
  729. game:GetService("Debris"):AddItem(vp, .5)
  730. elseif Type == "Up" then
  731. local bodyVelocity = Instance.new("BodyVelocity")
  732. bodyVelocity.velocity = vt(0, 20, 0)
  733. bodyVelocity.P = 5000
  734. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  735. bodyVelocity.Parent = hit
  736.  
  737. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  738. elseif Type == "Snare" then
  739. local bp = Instance.new("BodyPosition")
  740. bp.P = 2000
  741. bp.D = 100
  742. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  743. bp.position = hit.Parent.Torso.Position
  744. bp.Parent = hit.Parent.Torso
  745.  
  746. game:GetService("Debris"):AddItem(bp, 1)
  747. elseif Type == "Freeze" then
  748. local BodPos = Instance.new("BodyPosition")
  749. BodPos.P = 50000
  750. BodPos.D = 1000
  751. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  752. BodPos.position = hit.Parent.Torso.Position
  753. BodPos.Parent = hit.Parent.Torso
  754.  
  755. local BodGy = Instance.new("BodyGyro")
  756. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  757. BodGy.P = 20e+003
  758. BodGy.Parent = hit.Parent.Torso
  759. BodGy.cframe = hit.Parent.Torso.CFrame
  760.  
  761. hit.Parent.Torso.Anchored = true
  762. coroutine.resume(coroutine.create(function(Part)
  763. swait(1.5)
  764. Part.Anchored = false
  765. end), hit.Parent.Torso)
  766. game:GetService("Debris"):AddItem(BodPos, 3)
  767. game:GetService("Debris"):AddItem(BodGy, 3)
  768. end
  769. local debounce = Instance.new("BoolValue")
  770. debounce.Name = "DebounceHit"
  771. debounce.Parent = hit.Parent
  772. debounce.Value = true
  773.  
  774. game:GetService("Debris"):AddItem(debounce, Delay)
  775. c = Instance.new("ObjectValue")
  776. c.Name = "creator"
  777. c.Value = Player
  778. c.Parent = h
  779. game:GetService("Debris"):AddItem(c, .5)
  780. end
  781. end
  782.  
  783. function ShowDamage2(Pos, Text, Time, Color)
  784. local Rate = (1 / 30)
  785. local Pos = (Pos or Vector3.new(0, 0, 0))
  786. local Text = (Text or "")
  787. local Time = (Time or 2)
  788. local Color = (Color or Color3.new(1, 0, 0))
  789. local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  790. EffectPart.Anchored = true
  791. local BillboardGui = Instance.new("BillboardGui")
  792. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  793. BillboardGui.Adornee = EffectPart
  794. BillboardGui.Parent = EffectPart
  795.  
  796. local TextLabel = Instance.new("TextLabel")
  797. TextLabel.BackgroundTransparency = 1
  798. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  799. TextLabel.Text = Text
  800. TextLabel.TextColor3 = Color
  801. TextLabel.TextScaled = true
  802. TextLabel.Font = Enum.Font.ArialBold
  803. TextLabel.Parent = BillboardGui
  804.  
  805. game.Debris:AddItem(EffectPart, (Time + 0.1))
  806. EffectPart.Parent = game:GetService("Workspace")
  807. delay(0, function()
  808. local Frames = (Time / Rate)
  809. for Frame = 1, Frames do
  810. wait(Rate)
  811. local Percent = (Frame / Frames)
  812. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  813. TextLabel.TextTransparency = Percent
  814. end
  815. if EffectPart and EffectPart.Parent then
  816. EffectPart:Destroy()
  817. end
  818. end)
  819. end
  820.  
  821. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  822. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  823. prt.Anchored = true
  824. prt.CFrame = cframe
  825. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  826. coroutine.resume(coroutine.create(function()
  827. for i = 0, 1, 0.05 do
  828. wait()
  829. prt.Transparency = i
  830. msh.Scale = msh.Scale + vt(x2, y2, z2)
  831. end
  832. prt.Parent = nil
  833. end))
  834. end
  835.  
  836. function weld(parent, part0, part1, c0, c1)
  837. local Weld = Instance.new("Weld")
  838. Weld.Parent = parent
  839. Weld.Part0 = part0
  840. Weld.Part1 = part1
  841. Weld.C0 = c0
  842. Weld.C1 = c1
  843.  
  844. return Weld
  845. end
  846.  
  847. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  848. for _, c in pairs(workspace:children()) do
  849. local hum = c:findFirstChild("Humanoid")
  850. if hum ~= nil then
  851. local head = c:findFirstChild("Torso")
  852. if head ~= nil then
  853. local targ = head.Position - Part.Position
  854. local mag = targ.magnitude
  855. if mag <= magni and c.Name ~= Player.Name then
  856. -- Damagefunc2(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  857. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  858. end
  859. end
  860. end
  861. end
  862. end
  863.  
  864. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  865. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  866. prt.Anchored = true
  867. prt.CFrame = cframe
  868. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  869. game:GetService("Debris"):AddItem(prt, 2)
  870. coroutine.resume(coroutine.create(function(Part, Mesh)
  871. for i = 0, 1, delay do
  872. swait()
  873. Part.CFrame = Part.CFrame
  874. Part.Transparency = i
  875. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  876. end
  877. Part.Parent = nil
  878. end), prt, msh)
  879. end
  880.  
  881. user=game:service'Players'.localPlayer
  882. char=user.Character
  883. mouse=user:GetMouse()
  884. tenebris=Instance.new('Model',char)
  885. game:service'Lighting'.Outlines=false
  886. tenebris.Name = "Tenebris"
  887.  
  888. -----------------------------------------
  889.  
  890. local poweremitter = Instance.new("ParticleEmitter", game.Players.LocalPlayer.Character.Torso)
  891. poweremitter.ZOffset = 1
  892. poweremitter.Lifetime = NumberRange.new(0.5)
  893. poweremitter.Speed = NumberRange.new(0)
  894. poweremitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 10), NumberSequenceKeypoint.new(1, 10)})
  895. poweremitter.Acceleration = Vector3.new(0, 50, 0)
  896. poweremitter.Rate = 200
  897. poweremitter.Rotation = NumberRange.new(100)
  898. poweremitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 0.9)})
  899. poweremitter.LightEmission = 0.95
  900. poweremitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  901. poweremitter.Enabled = false
  902. poweremitter.LockedToPart = true
  903.  
  904. ds = Instance.new("Sound",Torso)
  905. ds.SoundId = "http://roblox.com/asset/?id=149560784"
  906. ds.Pitch = 0.3
  907. ds.Volume = 0.4
  908. ds.Looped = true
  909. ds.Playing = false
  910.  
  911.  
  912. coroutine.resume(coroutine.create(function()
  913. while wait() do
  914. if mana>100 then
  915. poweremitter.Enabled = true
  916. ds.Playing = true
  917. elseif mana<= 99 then
  918. poweremitter.Enabled = false
  919. ds.Playing = false
  920. end
  921. end
  922. end))
  923.  
  924.  
  925.  
  926. local basering = Instance.new("Part", tenebris)
  927. basering.FormFactor = Enum.FormFactor.Symmetric
  928. basering.CanCollide = false
  929. basering.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  930. basering.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  931. basering.Reflectance = 0.2
  932. basering.Material = Enum.Material.Neon
  933. basering.Size = Vector3.new(0.4, 0.42, 0.6)
  934. basering.Name = "basering"
  935. basering.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  936. basering.CFrame = CFrame.new(-44.767, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  937. basering.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  938. basering.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  939. basering.BrickColor = BrickColor.new("Royal purple")
  940. basering.Friction = 0.3
  941. basering.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  942.  
  943. local mesh_3 = Instance.new("SpecialMesh", basering)
  944. mesh_3.Scale = Vector3.new(1.1, 0.5, 1.1)
  945.  
  946. local spikeconnector = Instance.new("WedgePart", tenebris)
  947. spikeconnector.CanCollide = false
  948. spikeconnector.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  949. spikeconnector.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  950. spikeconnector.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  951. spikeconnector.Friction = 0.3
  952. spikeconnector.Material = Enum.Material.SmoothPlastic
  953. spikeconnector.Size = Vector3.new(0.3, 0.54, 0.54)
  954. spikeconnector.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  955. spikeconnector.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  956. spikeconnector.Name = "spikeconnector"
  957. spikeconnector.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  958. spikeconnector.CFrame = CFrame.new(-50.027, 15.107, -113) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  959. spikeconnector.BrickColor = BrickColor.new("Really black")
  960.  
  961. local weld = Instance.new("ManualWeld", spikeconnector)
  962. weld.Part1 = basering
  963. weld.Name = "Weld"
  964. weld.C1 = CFrame.new(0, 5.26, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  965. weld.Part0 = spikeconnector
  966. weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  967.  
  968. local handle = Instance.new("Part", tenebris)
  969. handle.CanCollide = false
  970. handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  971. handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  972. handle.Material = Enum.Material.SmoothPlastic
  973. handle.Size = Vector3.new(5, 0.2, 0.2)
  974. handle.Name = "handle"
  975. handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  976. handle.CFrame = CFrame.new(-47.027, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  977. handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  978. handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  979. handle.BrickColor = BrickColor.new("Really black")
  980. handle.Friction = 0.3
  981. handle.Shape = Enum.PartType.Cylinder
  982. handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  983.  
  984. local weld_2 = Instance.new("ManualWeld", handle)
  985. weld_2.Part1 = basering
  986. weld_2.Name = "Weld"
  987. weld_2.C1 = CFrame.new(0, 2.26, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  988. weld_2.Part0 = handle
  989. weld_2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  990.  
  991. local light6 = Instance.new("Part", tenebris)
  992. light6.FormFactor = Enum.FormFactor.Custom
  993. light6.CanCollide = false
  994. light6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  995. light6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  996. light6.Material = Enum.Material.Neon
  997. light6.Size = Vector3.new(0.2, 0.2, 0.2)
  998. light6.Name = "light6"
  999. light6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1000. light6.CFrame = CFrame.new(-49.651, 14.467, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1001. light6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1002. light6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1003. light6.BrickColor = BrickColor.new("Dark indigo")
  1004. light6.Friction = 0.3
  1005. light6.Shape = Enum.PartType.Ball
  1006. light6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1007.  
  1008. local weld_3 = Instance.new("ManualWeld", light6)
  1009. weld_3.Part1 = basering
  1010. weld_3.Name = "Weld"
  1011. weld_3.C1 = CFrame.new(0.07, 4.884, -0.29) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1012. weld_3.Part0 = light6
  1013. weld_3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1014.  
  1015. local bigspike = Instance.new("WedgePart", tenebris)
  1016. bigspike.FormFactor = Enum.FormFactor.Symmetric
  1017. bigspike.CanCollide = false
  1018. bigspike.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1019. bigspike.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1020. bigspike.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1021. bigspike.Friction = 0.3
  1022. bigspike.Material = Enum.Material.SmoothPlastic
  1023. bigspike.Size = Vector3.new(0.3, 2, 0.9)
  1024. bigspike.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1025. bigspike.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1026. bigspike.Name = "bigspike"
  1027. bigspike.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1028. bigspike.CFrame = CFrame.new(-50.757, 14.387, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1029. bigspike.BrickColor = BrickColor.new("Really black")
  1030.  
  1031. local weld_4 = Instance.new("ManualWeld", bigspike)
  1032. weld_4.Part1 = basering
  1033. weld_4.Name = "Weld"
  1034. weld_4.C1 = CFrame.new(0, 5.99, -0.37) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1035. weld_4.Part0 = bigspike
  1036. weld_4.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1037.  
  1038. local smallspike = Instance.new("WedgePart", tenebris)
  1039. smallspike.CanCollide = false
  1040. smallspike.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1041. smallspike.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1042. smallspike.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1043. smallspike.Friction = 0.3
  1044. smallspike.Material = Enum.Material.SmoothPlastic
  1045. smallspike.Size = Vector3.new(0.3, 1.04, 0.2)
  1046. smallspike.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1047. smallspike.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1048. smallspike.Name = "smallspike"
  1049. smallspike.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1050. smallspike.CFrame = CFrame.new(-50.277, 15.477, -113) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  1051. smallspike.BrickColor = BrickColor.new("Really black")
  1052.  
  1053. local weld_5 = Instance.new("ManualWeld", smallspike)
  1054. weld_5.Part1 = basering
  1055. weld_5.Name = "Weld"
  1056. weld_5.C1 = CFrame.new(0, 5.51, 0.72) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1057. weld_5.Part0 = smallspike
  1058. weld_5.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  1059.  
  1060. local light4 = Instance.new("Part", tenebris)
  1061. light4.FormFactor = Enum.FormFactor.Custom
  1062. light4.CanCollide = false
  1063. light4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1064. light4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1065. light4.Material = Enum.Material.Neon
  1066. light4.Size = Vector3.new(0.2, 0.2, 0.2)
  1067. light4.Name = "light4"
  1068. light4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1069. light4.CFrame = CFrame.new(-49.654, 15.027, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1070. light4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1071. light4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1072. light4.BrickColor = BrickColor.new("Dark indigo")
  1073. light4.Friction = 0.3
  1074. light4.Shape = Enum.PartType.Ball
  1075. light4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1076.  
  1077. local weld_6 = Instance.new("ManualWeld", light4)
  1078. weld_6.Part1 = basering
  1079. weld_6.Name = "Weld"
  1080. weld_6.C1 = CFrame.new(0.07, 4.887, 0.27) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1081. weld_6.Part0 = light4
  1082. weld_6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1083.  
  1084. local biglightholder = Instance.new("Part", tenebris)
  1085. biglightholder.FormFactor = Enum.FormFactor.Symmetric
  1086. biglightholder.CanCollide = false
  1087. biglightholder.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1088. biglightholder.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1089. biglightholder.Reflectance = 0.2
  1090. biglightholder.Material = Enum.Material.Marble
  1091. biglightholder.Size = Vector3.new(0.4, 0.8, 0.6)
  1092. biglightholder.Name = "biglightholder"
  1093. biglightholder.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1094. biglightholder.CFrame = CFrame.new(-50.027, 14.357, -113) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  1095. biglightholder.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1096. biglightholder.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1097. biglightholder.BrickColor = BrickColor.new("Royal purple")
  1098. biglightholder.Friction = 0.3
  1099. biglightholder.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1100.  
  1101. local mesh = Instance.new("SpecialMesh", biglightholder)
  1102. mesh.Scale = Vector3.new(1.1, 0.5, 1.1)
  1103.  
  1104. local weld_7 = Instance.new("ManualWeld", biglightholder)
  1105. weld_7.Part1 = basering
  1106. weld_7.Name = "Weld"
  1107. weld_7.C1 = CFrame.new(0, 5.26, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1108. weld_7.Part0 = biglightholder
  1109. weld_7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  1110.  
  1111. local bladesupport = Instance.new("Part", tenebris)
  1112. bladesupport.CanCollide = false
  1113. bladesupport.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1114. bladesupport.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1115. bladesupport.Material = Enum.Material.SmoothPlastic
  1116. bladesupport.Size = Vector3.new(1.64, 0.3, 0.3)
  1117. bladesupport.Name = "bladesupport"
  1118. bladesupport.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1119. bladesupport.CFrame = CFrame.new(-49.507, 14.757, -113) * CFrame.Angles(-0, -0.78539830446243, -1.5707963705063)
  1120. bladesupport.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1121. bladesupport.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1122. bladesupport.BrickColor = BrickColor.new("Really black")
  1123. bladesupport.Friction = 0.3
  1124. bladesupport.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1125.  
  1126. local weld_8 = Instance.new("ManualWeld", bladesupport)
  1127. weld_8.Part1 = basering
  1128. weld_8.Name = "Weld"
  1129. weld_8.C1 = CFrame.new(0, 4.74, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1130. weld_8.Part0 = bladesupport
  1131. weld_8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.78539818525314, 0, 1.5707963705063)
  1132.  
  1133. local lightholder = Instance.new("Part", tenebris)
  1134. lightholder.CanCollide = false
  1135. lightholder.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1136. lightholder.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1137. lightholder.Material = Enum.Material.SmoothPlastic
  1138. lightholder.Size = Vector3.new(1.64, 0.23, 0.3)
  1139. lightholder.Name = "lightholder"
  1140. lightholder.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1141. lightholder.CFrame = CFrame.new(-49.642, 14.757, -113) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1142. lightholder.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1143. lightholder.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1144. lightholder.BrickColor = BrickColor.new("Really black")
  1145. lightholder.Friction = 0.3
  1146. lightholder.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1147.  
  1148. local weld_9 = Instance.new("ManualWeld", lightholder)
  1149. weld_9.Part1 = basering
  1150. weld_9.Name = "Weld"
  1151. weld_9.C1 = CFrame.new(0, 4.875, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1152. weld_9.Part0 = lightholder
  1153. weld_9.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1154.  
  1155. local light1 = Instance.new("Part", tenebris)
  1156. light1.FormFactor = Enum.FormFactor.Custom
  1157. light1.CanCollide = false
  1158. light1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1159. light1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1160. light1.Material = Enum.Material.Neon
  1161. light1.Size = Vector3.new(0.2, 0.2, 0.2)
  1162. light1.Name = "light1"
  1163. light1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1164. light1.CFrame = CFrame.new(-49.651, 15.027, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1165. light1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1166. light1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1167. light1.BrickColor = BrickColor.new("Dark indigo")
  1168. light1.Friction = 0.3
  1169. light1.Shape = Enum.PartType.Ball
  1170. light1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1171.  
  1172. local weld_10 = Instance.new("ManualWeld", light1)
  1173. weld_10.Part1 = basering
  1174. weld_10.Name = "Weld"
  1175. weld_10.C1 = CFrame.new(-0.07, 4.884, 0.27) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1176. weld_10.Part0 = light1
  1177. weld_10.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1178.  
  1179. local biglight1 = Instance.new("Part", tenebris)
  1180. biglight1.FormFactor = Enum.FormFactor.Custom
  1181. biglight1.CanCollide = false
  1182. biglight1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1183. biglight1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1184. biglight1.Material = Enum.Material.Neon
  1185. biglight1.Size = Vector3.new(0.2, 0.2, 0.2)
  1186. biglight1.Name = "biglight1"
  1187. biglight1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1188. biglight1.CFrame = CFrame.new(-50.037, 14.357, -112.87) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1189. biglight1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1190. biglight1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1191. biglight1.BrickColor = BrickColor.new("Institutional white")
  1192. biglight1.Friction = 0.3
  1193. biglight1.Shape = Enum.PartType.Ball
  1194. biglight1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1195.  
  1196. local pointlight = Instance.new("PointLight", biglight1)
  1197. pointlight.Color = Color3.new(0.580392, 0.0666667, 1)
  1198.  
  1199. local weld_11 = Instance.new("ManualWeld", biglight1)
  1200. weld_11.Part1 = basering
  1201. weld_11.Name = "Weld"
  1202. weld_11.C1 = CFrame.new(-0.13, 5.27, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1203. weld_11.Part0 = biglight1
  1204. weld_11.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1205.  
  1206. local light2 = Instance.new("Part", tenebris)
  1207. light2.FormFactor = Enum.FormFactor.Custom
  1208. light2.CanCollide = false
  1209. light2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1210. light2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1211. light2.Material = Enum.Material.Neon
  1212. light2.Size = Vector3.new(0.2, 0.2, 0.2)
  1213. light2.Name = "light2"
  1214. light2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1215. light2.CFrame = CFrame.new(-49.647, 14.747, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1216. light2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1217. light2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1218. light2.BrickColor = BrickColor.new("Dark indigo")
  1219. light2.Friction = 0.3
  1220. light2.Shape = Enum.PartType.Ball
  1221. light2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1222.  
  1223. local weld_12 = Instance.new("ManualWeld", light2)
  1224. weld_12.Part1 = basering
  1225. weld_12.Name = "Weld"
  1226. weld_12.C1 = CFrame.new(-0.07, 4.88, -0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1227. weld_12.Part0 = light2
  1228. weld_12.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1229.  
  1230. local light3 = Instance.new("Part", tenebris)
  1231. light3.FormFactor = Enum.FormFactor.Custom
  1232. light3.CanCollide = false
  1233. light3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1234. light3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1235. light3.Material = Enum.Material.Neon
  1236. light3.Size = Vector3.new(0.2, 0.2, 0.2)
  1237. light3.Name = "light3"
  1238. light3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1239. light3.CFrame = CFrame.new(-49.647, 14.467, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1240. light3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1241. light3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1242. light3.BrickColor = BrickColor.new("Dark indigo")
  1243. light3.Friction = 0.3
  1244. light3.Shape = Enum.PartType.Ball
  1245. light3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1246.  
  1247. local weld_13 = Instance.new("ManualWeld", light3)
  1248. weld_13.Part1 = basering
  1249. weld_13.Name = "Weld"
  1250. weld_13.C1 = CFrame.new(-0.07, 4.88, -0.29) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1251. weld_13.Part0 = light3
  1252. weld_13.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1253.  
  1254. local biglight2 = Instance.new("Part", tenebris)
  1255. biglight2.FormFactor = Enum.FormFactor.Custom
  1256. biglight2.CanCollide = false
  1257. biglight2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1258. biglight2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1259. biglight2.Material = Enum.Material.Neon
  1260. biglight2.Size = Vector3.new(0.2, 0.2, 0.2)
  1261. biglight2.Name = "biglight2"
  1262. biglight2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1263. biglight2.CFrame = CFrame.new(-50.032, 14.357, -113.13) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1264. biglight2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1265. biglight2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1266. biglight2.BrickColor = BrickColor.new("Institutional white")
  1267. biglight2.Friction = 0.3
  1268. biglight2.Shape = Enum.PartType.Ball
  1269. biglight2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1270.  
  1271. local weld_14 = Instance.new("ManualWeld", biglight2)
  1272. weld_14.Part1 = basering
  1273. weld_14.Name = "Weld"
  1274. weld_14.C1 = CFrame.new(0.13, 5.265, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1275. weld_14.Part0 = biglight2
  1276. weld_14.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1277.  
  1278. local light5 = Instance.new("Part", tenebris)
  1279. light5.FormFactor = Enum.FormFactor.Custom
  1280. light5.CanCollide = false
  1281. light5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1282. light5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1283. light5.Material = Enum.Material.Neon
  1284. light5.Size = Vector3.new(0.2, 0.2, 0.2)
  1285. light5.Name = "light5"
  1286. light5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1287. light5.CFrame = CFrame.new(-49.651, 14.747, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1288. light5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1289. light5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1290. light5.BrickColor = BrickColor.new("Dark indigo")
  1291. light5.Friction = 0.3
  1292. light5.Shape = Enum.PartType.Ball
  1293. light5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1294.  
  1295. local weld_15 = Instance.new("ManualWeld", light5)
  1296. weld_15.Part1 = basering
  1297. weld_15.Name = "Weld"
  1298. weld_15.C1 = CFrame.new(0.07, 4.884, -0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1299. weld_15.Part0 = light5
  1300. weld_15.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1301.  
  1302. local diamond = Instance.new("Part", tenebris)
  1303. diamond.CanCollide = false
  1304. diamond.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1305. diamond.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1306. diamond.Material = Enum.Material.SmoothPlastic
  1307. diamond.Size = Vector3.new(0.29, 0.3, 0.3)
  1308. diamond.Name = "diamond"
  1309. diamond.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1310. diamond.CFrame = CFrame.new(-49.329, 14.762, -113) * CFrame.Angles(0.0028290436603129, 0.61778599023819, 2.3512909412384)
  1311. diamond.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1312. diamond.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1313. diamond.BrickColor = BrickColor.new("Really black")
  1314. diamond.Friction = 0.3
  1315. diamond.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1316.  
  1317. local weld_16 = Instance.new("ManualWeld", diamond)
  1318. weld_16.Part1 = basering
  1319. weld_16.Name = "Weld"
  1320. weld_16.C1 = CFrame.new(0, 4.562, 0.005) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1321. weld_16.Part0 = diamond
  1322. weld_16.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.46561834216118, 0.42198696732521, -2.2507123947144)
  1323.  
  1324. local topring = Instance.new("Part", tenebris)
  1325. topring.FormFactor = Enum.FormFactor.Symmetric
  1326. topring.CanCollide = false
  1327. topring.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1328. topring.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1329. topring.Reflectance = 0.2
  1330. topring.Material = Enum.Material.Neon
  1331. topring.Size = Vector3.new(0.4, 0.36, 0.6)
  1332. topring.Name = "topring"
  1333. topring.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1334. topring.CFrame = CFrame.new(-49.057, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1335. topring.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1336. topring.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1337. topring.BrickColor = BrickColor.new("Royal purple")
  1338. topring.Friction = 0.3
  1339. topring.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1340.  
  1341. local mesh_2 = Instance.new("SpecialMesh", topring)
  1342. mesh_2.Scale = Vector3.new(1.1, 0.5, 1.1)
  1343.  
  1344. local weld_17 = Instance.new("ManualWeld", topring)
  1345. weld_17.Part1 = basering
  1346. weld_17.Name = "Weld"
  1347. weld_17.C1 = CFrame.new(0, 4.29, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1348. weld_17.Part0 = topring
  1349. weld_17.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1350.  
  1351. local staffbase = Instance.new("Part", tenebris)
  1352. staffbase.CanCollide = false
  1353. staffbase.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1354. staffbase.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1355. staffbase.Material = Enum.Material.SmoothPlastic
  1356. staffbase.Size = Vector3.new(0.29, 0.29, 0.29)
  1357. staffbase.Name = "staffbase"
  1358. staffbase.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1359. staffbase.CFrame = CFrame.new(-44.551, 14.762, -113) * CFrame.Angles(0.0028290436603129, 0.61778599023819, 2.3512909412384)
  1360. staffbase.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1361. staffbase.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1362. staffbase.BrickColor = BrickColor.new("Really black")
  1363. staffbase.Friction = 0.3
  1364. staffbase.Shape = Enum.PartType.Ball
  1365. staffbase.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1366.  
  1367. local weld_18 = Instance.new("ManualWeld", staffbase)
  1368. weld_18.Part1 = basering
  1369. weld_18.Name = "Weld"
  1370. weld_18.C1 = CFrame.new(0, -0.216, 0.005) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1371. weld_18.Part0 = staffbase
  1372. weld_18.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.46561834216118, 0.42198696732521, -2.2507123947144)
  1373.  
  1374. local staffbaseorb = Instance.new("Part", tenebris)
  1375. staffbaseorb.FormFactor = Enum.FormFactor.Custom
  1376. staffbaseorb.CanCollide = false
  1377. staffbaseorb.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1378. staffbaseorb.Transparency = 0.19
  1379. staffbaseorb.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1380. staffbaseorb.Material = Enum.Material.Neon
  1381. staffbaseorb.Size = Vector3.new(0.6, 0.6, 0.6)
  1382. staffbaseorb.Name = "staffbaseorb"
  1383. staffbaseorb.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1384. staffbaseorb.CFrame = CFrame.new(-44.543, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1385. staffbaseorb.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1386. staffbaseorb.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1387. staffbaseorb.BrickColor = BrickColor.new("Dark indigo")
  1388. staffbaseorb.Friction = 0.3
  1389. staffbaseorb.Shape = Enum.PartType.Ball
  1390. staffbaseorb.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1391.  
  1392. local weld_19 = Instance.new("ManualWeld", staffbaseorb)
  1393. weld_19.Part1 = basering
  1394. weld_19.Name = "Weld"
  1395. weld_19.C1 = CFrame.new(0, -0.224, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1396. weld_19.Part0 = staffbaseorb
  1397. weld_19.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1398.  
  1399. local hitbox = Instance.new("Part", tenebris)
  1400. hitbox.CanCollide = false
  1401. hitbox.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1402. hitbox.Transparency = 1
  1403. hitbox.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1404. hitbox.Material = Enum.Material.SmoothPlastic
  1405. hitbox.Size = Vector3.new(1.74, 2.53, 0.3)
  1406. hitbox.Name = "hitbox"
  1407. hitbox.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1408. hitbox.CFrame = CFrame.new(-50.532, 14.767, -113) * CFrame.Angles(3.1415927410126, -0, 1.5707963705063)
  1409. hitbox.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1410. hitbox.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1411. hitbox.BrickColor = BrickColor.new("Really black")
  1412. hitbox.Friction = 0.3
  1413. hitbox.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1414.  
  1415. local weld_20 = Instance.new("ManualWeld", hitbox)
  1416. weld_20.Part1 = basering
  1417. weld_20.Name = "Weld"
  1418. weld_20.C1 = CFrame.new(0, 5.765, 0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1419. weld_20.Part0 = hitbox
  1420. weld_20.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1421.  
  1422. local hitboxemitter = Instance.new("ParticleEmitter", hitbox)
  1423. hitboxemitter.ZOffset = 1
  1424. hitboxemitter.Lifetime = NumberRange.new(0.5)
  1425. hitboxemitter.Speed = NumberRange.new(0)
  1426. hitboxemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 5)})
  1427. hitboxemitter.Acceleration = Vector3.new(0, 50, 0)
  1428. hitboxemitter.Rate = 200
  1429. hitboxemitter.Rotation = NumberRange.new(100)
  1430. hitboxemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 0.9)})
  1431. hitboxemitter.LightEmission = 0.95
  1432. hitboxemitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1433. hitboxemitter.Enabled = false
  1434.  
  1435. local magiccore = Instance.new("Part", tenebris)
  1436. magiccore.FormFactor = Enum.FormFactor.Custom
  1437. magiccore.CanCollide = false
  1438. magiccore.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1439. magiccore.Transparency = 0
  1440. magiccore.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1441. magiccore.Material = Enum.Material.Neon
  1442. magiccore.Size = Vector3.new(0.2, 0.2, 0.2)
  1443. magiccore.Name = "magiccore"
  1444. magiccore.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1445. magiccore.CFrame = CFrame.new(-50.502, 15.107, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1446. magiccore.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1447. magiccore.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1448. magiccore.BrickColor = BrickColor.new("Institutional white")
  1449. magiccore.Friction = 0.3
  1450. magiccore.Shape = Enum.PartType.Ball
  1451. magiccore.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1452.  
  1453. local weld_21 = Instance.new("ManualWeld", magiccore)
  1454. weld_21.Part1 = basering
  1455. weld_21.Name = "Weld"
  1456. weld_21.C1 = CFrame.new(0, 5.735, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1457. weld_21.Part0 = magiccore
  1458. weld_21.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1459.  
  1460. local coreemitter = Instance.new("ParticleEmitter", magiccore)
  1461. coreemitter.ZOffset = 1
  1462. coreemitter.Lifetime = NumberRange.new(0.5)
  1463. coreemitter.Speed = NumberRange.new(0)
  1464. coreemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 0.4)})
  1465. coreemitter.Rate = 200
  1466. coreemitter.Rotation = NumberRange.new(100)
  1467. coreemitter.LightEmission = 0.8
  1468. coreemitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1469. coreemitter.LockedToPart = true
  1470.  
  1471. local coreemitter2 = Instance.new("ParticleEmitter", magiccore)
  1472. coreemitter2.ZOffset = 1
  1473. coreemitter2.Lifetime = NumberRange.new(0.5)
  1474. coreemitter2.Speed = NumberRange.new(0)
  1475. coreemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  1476. coreemitter2.Rate = 200
  1477. coreemitter2.LightEmission = 0.9
  1478. coreemitter2.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1479. coreemitter2.LockedToPart = true
  1480.  
  1481. local magicshell = Instance.new("Part", tenebris)
  1482. magicshell.FormFactor = Enum.FormFactor.Custom
  1483. magicshell.CanCollide = false
  1484. magicshell.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1485. magicshell.Transparency = 0
  1486. magicshell.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1487. magicshell.Material = Enum.Material.Neon
  1488. magicshell.Size = Vector3.new(0.4, 0.4, 0.4)
  1489. magicshell.Name = "magicshell"
  1490. magicshell.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1491. magicshell.CFrame = CFrame.new(-50.502, 15.107, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1492. magicshell.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1493. magicshell.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1494. magicshell.BrickColor = BrickColor.new("Really black")
  1495. magicshell.Friction = 0.3
  1496. magicshell.Shape = Enum.PartType.Ball
  1497. magicshell.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1498.  
  1499. local weld_22 = Instance.new("ManualWeld", magicshell)
  1500. weld_22.Part1 = basering
  1501. weld_22.Name = "Weld"
  1502. weld_22.C1 = CFrame.new(0, 5.735, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1503. weld_22.Part0 = magicshell
  1504. weld_22.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1505.  
  1506.  
  1507. local coreemitter3 = Instance.new("ParticleEmitter", magicshell)
  1508. coreemitter3.ZOffset = 1
  1509. coreemitter3.Lifetime = NumberRange.new(0.5)
  1510. coreemitter3.Speed = NumberRange.new(0)
  1511. coreemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 0.4)})
  1512. coreemitter3.Rate = 200
  1513. coreemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  1514. coreemitter3.LightEmission = 1
  1515. coreemitter3.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1516. coreemitter3.LockedToPart = true
  1517.  
  1518.  
  1519. tenebris.Parent = char
  1520. tenebris:MakeJoints()
  1521. print("Tenebris loaded.")
  1522. ----------------------------------------------------
  1523. local cor = Instance.new("Part", char.Tenebris)
  1524. cor.Name = "Thingy"
  1525. cor.Locked = true
  1526. cor.BottomSurface = 0
  1527. cor.CanCollide = false
  1528. cor.Size = Vector3.new(1, 9, 1)
  1529. cor.Transparency = 1
  1530. cor.TopSurface = 0
  1531. corw = Instance.new("Weld", cor)
  1532. corw.Part0 = Character["Right Arm"]
  1533. corw.Part1 = cor
  1534. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  1535. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1536. weld1 = Instance.new("Weld", char.Tenebris)
  1537. weld1.Part0 = cor
  1538. weld1.Part1 = handle
  1539. weld1.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(90))
  1540.  
  1541. -------------------------------------------------------
  1542.  
  1543. local function weldBetween(a, b, name)
  1544. local weld = Instance.new("ManualWeld")
  1545. weld.Part0 = a
  1546. weld.Part1 = b
  1547. weld.C0 = CFrame.new()
  1548. weld.C1 = b.CFrame:inverse() * a.CFrame
  1549. weld.Parent = a
  1550. weld.Name=name or 'weldb1'
  1551. weld.Parent=m
  1552. return weld;
  1553. end
  1554.  
  1555. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1556. if hit.Parent==nil then
  1557. return
  1558. end
  1559. h=hit.Parent:FindFirstChild("Humanoid")
  1560. for _,v in pairs(hit.Parent:children()) do
  1561. if v:IsA("Humanoid") then
  1562. h=v
  1563. end
  1564. end
  1565. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1566. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1567. end
  1568. if hit.Parent.className=="Hat" then
  1569. hit=hit.Parent.Parent:findFirstChild("Head")
  1570. end
  1571. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1572. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1573. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1574. return
  1575. end]]
  1576. -- hs(hit,1.2)
  1577. c=Instance.new("ObjectValue")
  1578. c.Name="creator"
  1579. c.Value=game:service("Players").LocalPlayer
  1580. c.Parent=h
  1581. game:GetService("Debris"):AddItem(c,.5)
  1582. Damage=math.random(minim,maxim)
  1583. -- h:TakeDamage(Damage)
  1584. blocked=false
  1585. block=hit.Parent:findFirstChild("Block")
  1586. if block~=nil then
  1587. print(block.className)
  1588. if block.className=="NumberValue" then
  1589. if block.Value>0 then
  1590. blocked=true
  1591. if decreaseblock==nil then
  1592. block.Value=block.Value-1
  1593. end
  1594. end
  1595. end
  1596. if block.className=="IntValue" then
  1597. if block.Value>0 then
  1598. blocked=true
  1599. if decreaseblock~=nil then
  1600. block.Value=block.Value-1
  1601. end
  1602. end
  1603. end
  1604. end
  1605. if blocked==false then
  1606. -- h:TakeDamage(Damage)
  1607. h.Health=h.Health-Damage
  1608. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1609. else
  1610. h.Health=h.Health-(Damage/2)
  1611. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1612. end
  1613. if Type=="Knockdown" then
  1614. hum=hit.Parent.Humanoid
  1615. hum.PlatformStand=true
  1616. coroutine.resume(coroutine.create(function(HHumanoid)
  1617. swait(1)
  1618. HHumanoid.PlatformStand=false
  1619. end),hum)
  1620. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1621. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1622. local bodvol=Instance.new("BodyVelocity")
  1623. bodvol.velocity=angle*knockback
  1624. bodvol.P=5000
  1625. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1626. bodvol.Parent=hit
  1627. rl=Instance.new("BodyAngularVelocity")
  1628. rl.P=3000
  1629. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1630. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1631. rl.Parent=hit
  1632. game:GetService("Debris"):AddItem(bodvol,.5)
  1633. game:GetService("Debris"):AddItem(rl,.5)
  1634. elseif Type=="Normal" then
  1635. vp=Instance.new("BodyVelocity")
  1636. vp.P=500
  1637. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1638. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1639. if KnockbackType==1 then
  1640. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1641. elseif KnockbackType==2 then
  1642. vp.velocity=Property.CFrame.lookVector*knockback
  1643. end
  1644. if knockback>0 then
  1645. vp.Parent=hit.Parent.Torso
  1646. end
  1647. game:GetService("Debris"):AddItem(vp,.5)
  1648. elseif Type=="Up" then
  1649. local bodyVelocity=Instance.new("BodyVelocity")
  1650. bodyVelocity.velocity=vt(0,60,0)
  1651. bodyVelocity.P=5000
  1652. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1653. bodyVelocity.Parent=hit
  1654. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1655. rl=Instance.new("BodyAngularVelocity")
  1656. rl.P=3000
  1657. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1658. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1659. rl.Parent=hit
  1660. game:GetService("Debris"):AddItem(rl,.5)
  1661. elseif Type=="Snare" then
  1662. bp=Instance.new("BodyPosition")
  1663. bp.P=2000
  1664. bp.D=100
  1665. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1666. bp.position=hit.Parent.Torso.Position
  1667. bp.Parent=hit.Parent.Torso
  1668. game:GetService("Debris"):AddItem(bp,1)
  1669. elseif Type=="Target" then
  1670. if Targetting==false then
  1671. ZTarget=hit.Parent.Torso
  1672. coroutine.resume(coroutine.create(function(Part)
  1673. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1674. swait(5)
  1675. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1676. end),ZTarget)
  1677. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1678. targetgui=Instance.new("BillboardGui")
  1679. targetgui.Parent=ZTarget
  1680. targetgui.Size=UDim2.new(10,100,10,100)
  1681. targ=Instance.new("ImageLabel")
  1682. targ.Parent=targetgui
  1683. targ.BackgroundTransparency=1
  1684. targ.Image="rbxassetid://4834067"
  1685. targ.Size=UDim2.new(1,0,1,0)
  1686. cam.CameraType="Scriptable"
  1687. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1688. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1689. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1690. Targetting=true
  1691. RocketTarget=ZTarget
  1692. for i=1,Property do
  1693. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1694. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1695. swait()
  1696. end
  1697. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1698. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1699. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1700. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1701. end
  1702. Targetting=false
  1703. RocketTarget=nil
  1704. targetgui.Parent=nil
  1705. cam.CameraType="Custom"
  1706. end
  1707. end
  1708. debounce=Instance.new("BoolValue")
  1709. debounce.Name="DebounceHit"
  1710. debounce.Parent=hit.Parent
  1711. debounce.Value=true
  1712. game:GetService("Debris"):AddItem(debounce,Delay)
  1713. c=Instance.new("ObjectValue")
  1714. c.Name="creator"
  1715. c.Value=Player
  1716. c.Parent=h
  1717. game:GetService("Debris"):AddItem(c,.5)
  1718. CRIT=false
  1719. hitDeb=true
  1720. AttackPos=6
  1721. end
  1722. end
  1723.  
  1724. showDamage=function(Char,Dealt,du,Color)
  1725. m=Instance.new("Model")
  1726. m.Name=tostring(Dealt)
  1727. h=Instance.new("Humanoid")
  1728. h.Health=0
  1729. h.MaxHealth=0
  1730. h.Parent=m
  1731. c=Instance.new("Part")
  1732. c.Transparency=0
  1733. c.BrickColor=Color
  1734. c.Name="Head"
  1735. c.TopSurface=0
  1736. c.BottomSurface=0
  1737. c.formFactor="Plate"
  1738. c.Size=Vector3.new(1,.4,1)
  1739. ms=Instance.new("CylinderMesh")
  1740. ms.Scale=Vector3.new(.8,.8,.8)
  1741. if CRIT==true then
  1742. ms.Scale=Vector3.new(1,1.25,1)
  1743. end
  1744. ms.Parent=c
  1745. c.Reflectance=0
  1746. Instance.new("BodyGyro").Parent=c
  1747. c.Parent=m
  1748. if Char:findFirstChild("Head")~=nil then
  1749. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1750. elseif Char.Parent:findFirstChild("Head")~=nil then
  1751. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1752. end
  1753. f=Instance.new("BodyPosition")
  1754. f.P=2000
  1755. f.D=100
  1756. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1757. f.position=c.Position+Vector3.new(0,3,0)
  1758. f.Parent=c
  1759. game:GetService("Debris"):AddItem(m,.5+du)
  1760. c.CanCollide=false
  1761. m.Parent=workspace
  1762. c.CanCollide=false
  1763. end
  1764.  
  1765. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1766. local msh1 = it("SpecialMesh")
  1767. msh1.Scale = vt(0.5,0.5,0.5)
  1768. msh1.MeshType = "Sphere"
  1769. local S=it("Part")
  1770. S.Name="Effect"
  1771. S.formFactor=0
  1772. S.Size=vt(x1,y1,z1)
  1773. S.BrickColor=color
  1774. S.Reflectance = 0
  1775. S.TopSurface=0
  1776. S.BottomSurface=0
  1777. S.Transparency=0
  1778. S.Anchored=true
  1779. S.CanCollide=false
  1780. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  1781. S.Parent=workspace
  1782. msh1.Parent = S
  1783. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1784. end
  1785.  
  1786. function SummonSword(Part,cframe1,cframe2)
  1787. coroutine.resume(coroutine.create(function()
  1788.  
  1789. local sword=part(1,workspace,0,0.5,TorsoColor,"Sword",vt(2,2,2))
  1790. sword.Anchored=true
  1791. --con1=sword.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  1792. local smesh=mesh("SpecialMesh",sword,"FileMesh","http://www.roblox.com/asset/?id=50798664",vt(0,0,0),vt(3,3,3))
  1793. --smesh.Parent=nil
  1794. smesh.VertexColor=Vector3.new(0, 0, 0)
  1795. sword.CFrame=Part.CFrame*cframe1
  1796. con1=sword.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(5,10),"Normal",RootPart,.2,1) end)
  1797. so("http://roblox.com/asset/?id=231917788",sword,0.5,1)
  1798. hitconasdf = sword.Touched:connect(function(hit)
  1799. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1800. if hum12 and not hum12:IsDescendantOf(Character) then
  1801. so('http://roblox.com/asset/?id=220025675',sword,1,3)
  1802. hitconasdf:disconnect()
  1803. end
  1804. end)
  1805. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,TorsoColor)
  1806. for i=0,1,0.2 do
  1807. wait()
  1808. local dir = sword.CFrame.lookVector*-1
  1809. hit2,pos = rayCast(sword.Position,dir,5,Character)
  1810. if hit2~=nil then
  1811. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  1812. hum = hit2.Parent.Humanoid
  1813. --Damagefunc2(hit2,5,1)
  1814. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  1815. hum = hit2.Parent.Parent.Humanoid
  1816. --Damagefunc2(hit2,5,1)
  1817. end
  1818. end
  1819. sword.CFrame=sword.CFrame*cframe2
  1820. end
  1821. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,TorsoColor)
  1822. sword.Parent=nil
  1823. pcall(function()
  1824. hitconasdf:disconnect()
  1825. end)
  1826. con1:disconnect()
  1827. end))
  1828. end
  1829.  
  1830. rings=Instance.new('Model',Character)
  1831.  
  1832. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  1833. local rng = Instance.new("Part", rings)
  1834. rng.Anchored = true
  1835. rng.BrickColor = BrickColor.new("Bright blue")
  1836. rng.CanCollide = false
  1837. rng.FormFactor = 3
  1838. rng.Name = "Ring"
  1839. rng.Size = Vector3.new(1, 1, 1)
  1840. rng.Transparency = .5
  1841. rng.TopSurface = 0
  1842. rng.BottomSurface = 0
  1843. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  1844. local rngm = Instance.new("SpecialMesh", rng)
  1845. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1846. rngm.Scale = vector--10,10,1
  1847. for i = 1, 20, 1 do
  1848. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  1849. rng.Transparency = i/20
  1850. swait()
  1851. end
  1852. wait()
  1853. rng:destroy''
  1854. end
  1855.  
  1856. player=game.Players.localPlayer
  1857. char=player.Character
  1858. Effects={}
  1859. vt=Vector3.new
  1860. cf=CFrame.new
  1861. euler=CFrame.fromEulerAnglesXYZ
  1862. m=Instance.new("Model",char)
  1863.  
  1864. function atktype(s, e)
  1865. coroutine.resume(coroutine.create(function()
  1866. attacktype = e
  1867. swait(80)
  1868. attacktype = s
  1869. end))
  1870. end
  1871.  
  1872. mouse.Button1Down:connect(function()
  1873. if equipped==true and hand==false then
  1874. if attacktype==1 then
  1875. attackone()
  1876. elseif attacktype==2 then
  1877. attacktwo()
  1878. end
  1879. end
  1880. end)
  1881.  
  1882. keypress = false
  1883. input=""
  1884.  
  1885. mouse.KeyDown:connect(function(k)
  1886. k=k:lower()
  1887. if k=='f' then
  1888. if attack==false and mana>=10 then
  1889. VoidGrip()
  1890. end
  1891. elseif k=='0' and antirun == false then
  1892. if attack==false then
  1893. Humanoid.WalkSpeed = 32
  1894. end
  1895. elseif k=='x' then
  1896. if attack==false and mana>=20 then
  1897. VoidHook()
  1898. end
  1899. elseif k=='c' then
  1900. if attack==false and mana>=75 then
  1901. Implosion()
  1902. end
  1903. elseif k == 's' or 'w' and attack == false then
  1904. input=input..k
  1905. print(input)
  1906. coroutine.resume(coroutine.create(function()
  1907. while keypress==true do
  1908. swait()
  1909. end
  1910. for i=1,50 do
  1911. if keypress==false then
  1912. swait()
  1913. end
  1914. end
  1915. input=''
  1916. end))
  1917. end
  1918. if input=='ssw' and attack==false then
  1919. LockOnStrike()
  1920. end
  1921. end)
  1922.  
  1923. function spin()
  1924. attack=true
  1925. mana=mana-40
  1926. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1927. for i=0,1,0.1 do
  1928. swait()
  1929. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  1930. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  1931. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  1932. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  1933. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  1934. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  1935. end
  1936. for i=0,1,0.15 do
  1937. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  1938. swait()
  1939. for i=0,1,0.1 do
  1940. swait()
  1941. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  1942. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  1943. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  1944. end
  1945. end
  1946. con1:disconnect()
  1947. attack=false
  1948. end
  1949.  
  1950.  
  1951. function attackone()
  1952. if attack==false and attacktype==1 then
  1953. attacktype=2
  1954. attack=true
  1955. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1956. for i=0,1,0.1 do
  1957. swait()
  1958. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.3)
  1959. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1960. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.3)
  1961. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1962. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.3)
  1963. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  1964. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1965. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1966. end
  1967. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1968. hitconasdf = hitbox.Touched:connect(function(hit)
  1969. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1970. if hum12 and not hum12:IsDescendantOf(Character) then
  1971. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  1972. hitconasdf:disconnect()
  1973. end
  1974. end)
  1975. for i=0,1,0.2 do
  1976. swait()
  1977. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1978. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1979. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(0,0,0)*euler(0,0,0),.3)
  1980. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1981. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1982. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1983. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1984. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1985. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1986. end
  1987. for i=0,1,0.1 do
  1988. swait()
  1989. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1990. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1991. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.3)
  1992. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1993. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1994. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1995. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1996. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1997. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1998. end
  1999. con1:disconnect()
  2000. hitconasdf:disconnect()
  2001. attack=false
  2002. atktype(1, 2)
  2003. end
  2004. end
  2005.  
  2006. function attacktwo()
  2007. if attack==false and attacktype==2 then
  2008. attacktype=1
  2009. attack=true
  2010. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  2011. for i=0,1,0.75 do
  2012. swait()
  2013. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0.5)),.3)
  2014. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2015. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-60), math.rad(0), math.rad(10)), 0.3)
  2016. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), 0.3)
  2017. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(50),math.rad(-10),math.rad(0)),.3)
  2018. end
  2019. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  2020. hitconasdf = hitbox.Touched:connect(function(hit)
  2021. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2022. if hum12 and not hum12:IsDescendantOf(Character) then
  2023. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  2024. hitconasdf:disconnect()
  2025. end
  2026. end)
  2027. for i=0,1,0.2 do
  2028. swait()
  2029. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.3)
  2030. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  2031. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.3)
  2032. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2033. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.3)
  2034. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2035. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  2036. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  2037. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  2038. end
  2039. for i=0,1,0.1 do
  2040. swait()
  2041. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0.5)),.3)
  2042. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-.5)),.3)
  2043. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  2044. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  2045. corw.C0=clerp(corw.C0,cf(0,-2,-1)*angles(math.rad(-90),math.rad(10),math.rad(0)),.3)
  2046. end
  2047. attack=false
  2048. atktype(1, 1)
  2049. con1:disconnect()
  2050. hitconasdf:disconnect()
  2051. end
  2052. end
  2053.  
  2054.  
  2055. function LockOnStrike()
  2056. mana=mana-10
  2057. if Targetting==true then
  2058. Targetting=false
  2059. else
  2060. if attack==false then
  2061. attack=true
  2062. con1 = hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,0,"Target",600,1,2) end)
  2063. for i=0,1,0.075 do
  2064. swait()
  2065. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.3)
  2066. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.3)
  2067. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.3)
  2068. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2069. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.3)
  2070. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2071. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.3)
  2072. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.3)
  2073. end
  2074. so("http://roblox.com/asset/?id=234365549",hitbox,1,0.6)
  2075. hitconasdf = hitbox.Touched:connect(function(hit)
  2076. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2077. if hum12 and not hum12:IsDescendantOf(Character) then
  2078. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  2079. hitconasdf:disconnect()
  2080. end
  2081. end)
  2082. for i=0,1,0.075 do
  2083. swait()
  2084. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  2085. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  2086. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  2087. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2088. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  2089. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2090. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  2091. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  2092. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  2093. end
  2094. attack=false
  2095. con1:disconnect()
  2096. hitconasdf:disconnect()
  2097. end
  2098. end
  2099. end
  2100.  
  2101. local charging = false
  2102.  
  2103. function Implosion()
  2104. mana=mana-75
  2105. attack=true
  2106. so("http://www.roblox.com/asset/?id=199145659",Torso,1,1)
  2107. charging = true
  2108. coroutine.wrap(function()
  2109. while charging==true and wait() do
  2110.  
  2111. local FireColors = {'Dark indigo', 'Royal purple', 'Really black'}
  2112. local p = Instance.new('Part', hitbox)
  2113. p.BrickColor = BrickColor.new(FireColors[math.random(1,#FireColors)])
  2114. p.FormFactor = 'Custom'
  2115. p.Material = 'Neon'
  2116. p.Size = Vector3.new(2, 2, 2)
  2117. p.CanCollide = false
  2118. p.Anchored = true
  2119. p.Locked = true
  2120. p.CFrame = hitbox.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3))
  2121. Instance.new('BlockMesh', p)
  2122. coroutine.wrap(function()
  2123. for i = 1, 10 do
  2124. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1)
  2125. p.CFrame = p.CFrame * CFrame.new(0, .35, 0)
  2126. wait()
  2127. end
  2128. end)()
  2129. game:service'Debris':AddItem(p, .55)
  2130. end
  2131. end)()
  2132. for i=0,1,0.075 do
  2133. swait()
  2134. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2135. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-0.4)*euler(0.4+(0.4/2),0,-0.4),.3)
  2136. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4/2,0,0.4),.3)
  2137. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(150),math.rad(-90)),.3)
  2138. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  2139. RH.C0=clerp(RH.C0,cf(1,-1,-0.4)*euler(-0.2-(0.4/2),1.57,0),.3)
  2140. LH.C0=clerp(LH.C0,cf(-1,-.5+0.4,0)*euler(0.5+(0.4/2),-1.2,0)*euler(-.2,0,0),.3)
  2141. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  2142. end
  2143. wait(1)
  2144. for i=0,1,0.075 do
  2145. swait()
  2146. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2147. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2.5,0,0)*euler(0,0,0),.3)
  2148. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2149. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-0.5,0,0)*euler(0,0,0),.3)
  2150. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2151. RH.C0=clerp(RH.C0,cf(1,-0.85,0.1)*euler(0,1.57,0)*euler(0,0,0),.3)
  2152. LH.C0=clerp(LH.C0,cf(-1,-0.9,-0.1)*euler(0,-1.57,0)*euler(0,0,0),.3)
  2153. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  2154. end
  2155. wait(0.1)
  2156. charging=false
  2157. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.2)
  2158. so("http://www.roblox.com/asset/?id=183763506",Torso,2,.6)
  2159. so("http://roblox.com/asset/?id=228343408",Torso,1,1.4)
  2160. MagniDamage(hitbox,hitbox,40,0,0,0,"Knockdown")
  2161. MagniDamage(hitbox,hitbox,40,25,45,0,"Plat")
  2162. MagicCircle(BrickColor.new("Dark indigo"),Torso.CFrame - Vector3.new(0,3,0),3,0.1,3,5,0.1,5,0.01)
  2163. MagicCircle(BrickColor.new("Institutional white"),hitbox.CFrame,3,3,3,15,15,15,0.1)
  2164. for i=0,1,0.075 do
  2165. swait()
  2166. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  2167. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  2168. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  2169. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2170. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  2171. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  2172. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  2173. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  2174. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  2175. end
  2176.  
  2177. attack=false
  2178. end
  2179.  
  2180. local Grabbing = false
  2181.  
  2182. function VoidHook()
  2183. mana=mana-20
  2184. Humanoid.JumpPower = 0
  2185. attack=true
  2186. mana=mana-10
  2187. if Grabbing == false then
  2188. gp = nil
  2189. con1=hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  2190. if Targetting == true then --Make shift lock more pleasant when targeting a player
  2191. Character.Torso.Anchored = true
  2192. elseif Targetting == false then
  2193. end
  2194. local ht = hit.Parent
  2195. local hum1=ht:FindFirstChild('Humanoid')
  2196. if hum1 ~= nil then
  2197. coroutine.resume(coroutine.create(function()
  2198. hum1.PlatformStand=true
  2199. wait(3)
  2200. hum1.PlatformStand=false
  2201. end))
  2202. gp = ht
  2203. Grabbing = true
  2204.  
  2205. coroutine.wrap(function()
  2206. while Grabbing==true and wait() do
  2207.  
  2208. local FireColors = {'Dark indigo', 'Royal purple', 'Really black'}
  2209. local p = Instance.new('Part', ht:FindFirstChild("Torso"))
  2210. p.BrickColor = BrickColor.new(FireColors[math.random(1,#FireColors)])
  2211. p.FormFactor = 'Custom'
  2212. p.Material = 'Neon'
  2213. p.Size = Vector3.new(2, 2, 2)
  2214. p.CanCollide = false
  2215. p.Anchored = true
  2216. p.Locked = true
  2217. p.CFrame = ht:FindFirstChild("Torso").CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3))
  2218. Instance.new('BlockMesh', p)
  2219. coroutine.wrap(function()
  2220. for i = 1, 10 do
  2221. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1)
  2222. p.CFrame = p.CFrame * CFrame.new(0, .35, 0)
  2223. wait()
  2224. end
  2225. end)()
  2226. game:service'Debris':AddItem(p, .55)
  2227. end
  2228. end)()
  2229.  
  2230. so("http://www.roblox.com/asset/?id=200632821", Torso, 1, .8)
  2231. local asd=weld2(hitbox,hitbox,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  2232. asd.Parent = RightArm
  2233. asd.Name = "asd"
  2234. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2235. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  2236. elseif hum1 == nil then
  2237. con1:disconnect()
  2238. wait() return
  2239. end
  2240. end)
  2241. end
  2242. hitboxemitter.Enabled = true
  2243. for i=0,1,0.05 do
  2244. swait()
  2245. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  2246. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  2247. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-170),math.rad(6.5),math.rad(31)),.3)
  2248. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2249. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  2250. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2251. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(3 / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(3 / 7))), .3)
  2252. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(3 / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(3 / 7))), .3)
  2253. --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2254. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2255. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  2256. end
  2257. so("http://roblox.com/asset/?id=231917871",hitbox,1,0.8)
  2258. hitconasdf = hitbox.Touched:connect(function(hit)
  2259. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2260. if hum12 and not hum12:IsDescendantOf(Character) then
  2261. hitconasdf:disconnect()
  2262. end
  2263. end)
  2264. for i=0,0.5,2 do
  2265. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2266. swait()
  2267. so("http://roblox.com/asset/?id=199145761", Torso, 1, math.random(75, 125) / 100)
  2268.  
  2269. for i=0,1,0.025 do
  2270. swait()
  2271. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2272. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2273. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(31)),.3)
  2274. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2275. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  2276. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2277. --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2278. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2279. corw.C0=clerp(corw.C0,cf(0,0-50*i,0)*angles(math.rad(-90),math.rad(0),math.rad(-100*i)),.3)
  2280. end
  2281. end
  2282.  
  2283. for i=0,0.5,2 do
  2284. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2285. swait()
  2286. for i=0,1,0.025 do
  2287. swait()
  2288. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2289. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2290. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(31)),.3)
  2291. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2292. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  2293. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2294. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2295. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2296. corw.C0=clerp(corw.C0,cf(0,-50+50*i,0)*angles(math.rad(-90),math.rad(0),math.rad(100*i)),.3)
  2297. end
  2298. end
  2299.  
  2300. if Targetting == true then
  2301. Character.Torso.Anchored = true
  2302. elseif Targetting == false then
  2303. Character.Torso.Anchored = false
  2304. end
  2305.  
  2306. if Grabbing == false then
  2307.  
  2308. Character.Torso.Anchored = false
  2309.  
  2310. for i=0,1,0.1 do
  2311. swait()
  2312. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  2313. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  2314. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-170),math.rad(6.5),math.rad(31)),.3)
  2315. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2316. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  2317. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2318. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2319. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2320. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  2321. end
  2322.  
  2323. else
  2324.  
  2325. if Targetting == true then
  2326. Character.Torso.Anchored = true
  2327. elseif Targetting == false then
  2328. Character.Torso.Anchored = false
  2329. end
  2330.  
  2331. if Targetting ~= true then
  2332.  
  2333.  
  2334.  
  2335. for i = 0, 1, 0.15 do
  2336. swait()
  2337. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2338. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2339. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2340. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2341. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2342. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2343. end
  2344.  
  2345.  
  2346.  
  2347. for i=0,1,0.05 do
  2348. swait()
  2349. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(20),math.rad(-50)),.3)
  2350. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  2351. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(-150),math.rad(-90)),.3)
  2352. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2353. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2354. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2355. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2356. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2357. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2358. end
  2359.  
  2360.  
  2361.  
  2362. for i=0,1,0.05 do
  2363. swait()
  2364. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-80),math.rad(80),math.rad(-90)),.3)
  2365. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-0.4)*euler(0.4+(0.4/2),0,-0.4),.3)
  2366. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4/2,0,0.4),.3)
  2367. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(-150),math.rad(-90)),.3)
  2368. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  2369. RH.C0=clerp(RH.C0,cf(1,-1,-0.4)*euler(-0.2-(0.4/2),1.57,0),.3)
  2370. LH.C0=clerp(LH.C0,cf(-1,-.5+0.4,0)*euler(0.5+(0.4/2),-1.2,0)*euler(-.2,0,0),.3)
  2371. end
  2372.  
  2373. else
  2374. end
  2375.  
  2376.  
  2377. so("http://www.roblox.com/asset/?id=183763506",Torso,5,.7)
  2378. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.7)
  2379. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.9)
  2380. MagniDamage(hitbox,hitbox,6,30,40,0,"Up")
  2381. MagicCircle(BrickColor.new("Really black"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  2382. MagicCircle(BrickColor.new("Dark indigo"),RightArm.CFrame,2,2,2,4,4,4,0.05)
  2383. BlastEffect(BrickColor.new("Really black"),Torso.CFrame,1,1,1,.7,.7,.7)
  2384. BlastEffect(BrickColor.new("Dark indigo"),Torso.CFrame,.9,.9,.9,.6,.6,.6)
  2385.  
  2386. for i,v in pairs(RightArm:GetChildren()) do
  2387. if v.Name == "asd" and v:IsA("Weld") then
  2388. v:Remove()
  2389.  
  2390. end
  2391. end
  2392.  
  2393. for i = 0, 1, 0.1 do
  2394. swait()
  2395. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2396. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2397. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2398. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2399. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2400. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2401. end
  2402. end
  2403. for i,v in pairs(RightArm:GetChildren()) do
  2404. if v.Name == "asd" and v:IsA("Weld") then
  2405. v:Remove()
  2406.  
  2407. end
  2408. end
  2409.  
  2410. Character.Torso.Anchored = false
  2411.  
  2412. hitboxemitter.Enabled = false
  2413. Grabbing=false
  2414. attack=false
  2415. Humanoid.JumpPower = 50
  2416. con1:disconnect()
  2417. hitconasdf:disconnect()
  2418. end
  2419.  
  2420. function VoidGrip()
  2421. mana=mana-10
  2422. attack = true
  2423. so("http://roblox.com/asset/?id=200632211",hitbox,1,0.5)
  2424. so("http://roblox.com/asset/?id=161006212",hitbox,1,math.random(75, 125) / 100)
  2425. if Grabbing == false then
  2426. gp = nil
  2427. con1=hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  2428. local ht = hit.Parent
  2429. local hum1=ht:FindFirstChild('Humanoid')
  2430. if hum1 ~= nil then
  2431. coroutine.resume(coroutine.create(function()
  2432. hum1.PlatformStand=true
  2433. wait(3)
  2434. hum1.PlatformStand=false
  2435. end))
  2436. gp = ht
  2437. Grabbing = true
  2438. so("http://www.roblox.com/asset/?id=200632821", Torso, 1, .8)
  2439. local asd=weld2(hitbox,hitbox,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  2440. asd.Parent = RightArm
  2441. asd.Name = "asd"
  2442. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2443. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  2444. elseif hum1 == nil then
  2445. con1:disconnect()
  2446. wait() return
  2447. end
  2448. end)
  2449. end
  2450. if Grabbing == false then
  2451. for i = 0,1,0.05 do
  2452. swait()
  2453. Torso.Velocity = Head.CFrame.lookVector * 50
  2454. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  2455. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(-90)), .3)
  2456. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  2457. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-60)), 0.3)
  2458. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2459. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2460. corw.C0=clerp(corw.C0,cf(0,-2,-1)*angles(math.rad(-90),math.rad(10),math.rad(0)),.3)
  2461. end
  2462. end
  2463. if Grabbing == true then
  2464. for i = 0, 1, 0.1 do
  2465. swait()
  2466. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2467. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2468. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2469. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2470. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2471. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2472.  
  2473. end
  2474.  
  2475. for i = 1, 2 do
  2476. RootPart.Velocity = RootPart.CFrame.lookVector * 50
  2477. so("http://roblox.com/asset/?id=320557563", Torso, 1, 0.7)
  2478. so("http://roblox.com/asset/?id=203691492", Torso, 1, 1)
  2479. for i = 0, 1, 0.04 do
  2480. swait()
  2481. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.2) * angles(math.rad(0), math.rad(0), -8 * i), .1)
  2482. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .1)
  2483. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.3) * angles(math.rad(0), math.rad(130), math.rad(80)), .2)
  2484. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-130), math.rad(-80)), .2)
  2485. RH.C0 = clerp(RH.C0, cn(1, -1, -0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), .1)
  2486. LH.C0 = clerp(LH.C0, cn(-1, -1, -0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-30)), .1)
  2487. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3)
  2488. end
  2489. end
  2490.  
  2491. so("http://roblox.com/asset/?id=157878578",hitbox,.6,1.5)
  2492. MagniDamage(hitbox,hitbox,5,30,80,0,"Plat")
  2493. MagicCircle(BrickColor.new("Really black"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  2494. MagicCircle(BrickColor.new("Dark indigo"),RightArm.CFrame,2,2,2,4,4,4,0.05)
  2495. BlastEffect(BrickColor.new("Really black"),Torso.CFrame,1,1,1,.3,.3,.3)
  2496. BlastEffect(BrickColor.new("Dark indigo"),Torso.CFrame,.2,.2,.2,-.1,-.1,-.1)
  2497. for i = 0, 1, 0.1 do
  2498. swait()
  2499. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2500. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2501. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2502. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2503. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2504. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2505. end
  2506. end
  2507. for i,v in pairs(RightArm:GetChildren()) do
  2508. if v.Name == "asd" and v:IsA("Weld") then
  2509. v:Remove()
  2510.  
  2511. end
  2512. end
  2513. con1:disconnect()
  2514. Grabbing = false
  2515. attack = false
  2516. end
  2517.  
  2518. local function CFrameFromTopBack(at, top, back)
  2519. local right = top:Cross(back)
  2520. return CFrame.new(at.x, at.y, at.z,
  2521. right.x, top.x, back.x,
  2522. right.y, top.y, back.y,
  2523. right.z, top.z, back.z)
  2524. end
  2525.  
  2526. function Triangle(a, b, c)
  2527. local edg1 = (c-a):Dot((b-a).unit)
  2528. local edg2 = (a-b):Dot((c-b).unit)
  2529. local edg3 = (b-c):Dot((a-c).unit)
  2530. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2531. a, b, c = a, b, c
  2532. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2533. a, b, c = b, c, a
  2534. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2535. a, b, c = c, a, b
  2536. else
  2537. assert(false, "unreachable")
  2538. end
  2539.  
  2540. local len1 = (c-a):Dot((b-a).unit)
  2541. local len2 = (b-a).magnitude - len1
  2542. local width = (a + (b-a).unit*len1 - c).magnitude
  2543.  
  2544. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2545.  
  2546. local list = {}
  2547.  
  2548. if len1 > 0.01 then
  2549. local w1 = Instance.new('WedgePart', m)
  2550. game:GetService("Debris"):AddItem(w1,5)
  2551. w1.Material = "SmoothPlastic"
  2552. w1.FormFactor = 'Custom'
  2553. w1.BrickColor = TorsoColor
  2554. w1.Transparency = 0
  2555. w1.Reflectance = 0
  2556. w1.Material = "SmoothPlastic"
  2557. w1.CanCollide = false
  2558. NoOutline(w1)
  2559. local sz = Vector3.new(0.2, width, len1)
  2560. w1.Size = sz
  2561. local sp = Instance.new("SpecialMesh",w1)
  2562. sp.MeshType = "Wedge"
  2563. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2564. w1:BreakJoints()
  2565. w1.Anchored = true
  2566. w1.Parent = workspace
  2567. w1.Transparency = 0.7
  2568. table.insert(Effects,{w1,"Disappear",.01})
  2569. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2570. table.insert(list,w1)
  2571. end
  2572.  
  2573. if len2 > 0.01 then
  2574. local w2 = Instance.new('WedgePart', m)
  2575. game:GetService("Debris"):AddItem(w2,5)
  2576. w2.Material = "SmoothPlastic"
  2577. w2.FormFactor = 'Custom'
  2578. w2.BrickColor = TorsoColor
  2579. w2.Transparency = 0
  2580. w2.Reflectance = 0
  2581. w2.Material = "SmoothPlastic"
  2582. w2.CanCollide = false
  2583. NoOutline(w2)
  2584. local sz = Vector3.new(0.2, width, len2)
  2585. w2.Size = sz
  2586. local sp = Instance.new("SpecialMesh",w2)
  2587. sp.MeshType = "Wedge"
  2588. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2589. w2:BreakJoints()
  2590. w2.Anchored = true
  2591. w2.Parent = workspace
  2592. w2.Transparency = 0.7
  2593. table.insert(Effects,{w2,"Disappear",.01})
  2594. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2595. table.insert(list,w2)
  2596. end
  2597. return unpack(list)
  2598. end
  2599.  
  2600. function NoOutline(Part)
  2601. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2602. end
  2603.  
  2604. local sine = 0
  2605. local change = 1
  2606. local val = 0
  2607.  
  2608. if #Effects>0 then
  2609. --table.insert(Effects,{prt,"Block1",delay})
  2610. for e=1,#Effects do
  2611. if Effects[e]~=nil then
  2612. --for j=1,#Effects[e] do
  2613. local Thing=Effects[e]
  2614. if Thing~=nil then
  2615. local Part=Thing[1]
  2616. local Mode=Thing[2]
  2617. local Delay=Thing[3]
  2618. local IncX=Thing[4]
  2619. local IncY=Thing[5]
  2620. local IncZ=Thing[6]
  2621. if Thing[1].Transparency<=1 then
  2622. if Thing[2]=="Block1" then
  2623. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2624. Mesh=Thing[1].Mesh
  2625. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2626. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2627. elseif Thing[2]=="Cylinder" then
  2628. Mesh=Thing[1].Mesh
  2629. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2630. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2631. elseif Thing[2]=="Blood" then
  2632. Mesh=Thing[1].Mesh
  2633. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2634. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2635. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2636. elseif Thing[2]=="Elec" then
  2637. Mesh=Thing[1].Mesh
  2638. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2639. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2640. elseif Thing[2]=="Disappear" then
  2641. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2642. end
  2643. else
  2644. Part.Parent=nil
  2645. table.remove(Effects,e)
  2646. end
  2647. end
  2648. --end
  2649. end
  2650. end
  2651. end
  2652.  
  2653. local mananum=0
  2654. while true do
  2655. swait()
  2656. sine = sine + change
  2657. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2658. local velderp=RootPart.Velocity.y
  2659. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2660. if equipped==true or equipped==false then
  2661. if attack==false then
  2662. idle=idle+1
  2663. else
  2664. idle=0
  2665. end
  2666. if idle>=500 then
  2667. if attack==false then
  2668. --Sheath()
  2669. end
  2670. end
  2671. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2672. Anim="Jump"
  2673. if attack==false then
  2674. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2675. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2676. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  2678. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2679. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2680. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2681. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  2682. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  2683. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2684. end
  2685. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2686. Anim="Fall"
  2687. if attack==false then
  2688. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2689. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2690. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2691. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  2692. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2693. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2694. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2695. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  2696. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  2697. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2698. end
  2699. elseif torvel<1 and hitfloor~=nil then
  2700. Anim="Idle"
  2701. if attack==false then
  2702. Humanoid.WalkSpeed = 12
  2703. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  2704. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30)), .3)
  2705. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(5-2.5*math.cos(sine/40)),math.rad(10),math.rad(85-2.5*math.cos(sine/40))),.3)
  2706. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3)
  2707. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  2708. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  2709. corw.C0=clerp(corw.C0,cf(-0.5,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2710. end
  2711. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2712. Anim="Walk"
  2713. if attack==false then
  2714. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 7)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(2 * math.cos(sine / 10))), .2)
  2715. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-2 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  2716. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(34)), .2)
  2717. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 13)), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2718. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2719. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2720. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2721. end
  2722. elseif torvel>=22 and hitfloor~=nil then
  2723. Anim="Run"
  2724. if attack==false then
  2725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(-30)),.3)
  2726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(-10),math.rad(30)),.3)
  2727. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30-2.5*math.cos(sine/20)),math.rad(-75),math.rad(15+2.5*math.cos(sine/20))),.3)
  2728. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90+2.5*math.cos(sine/20)),math.rad(0),math.rad(45+2.5*math.cos(sine/20))),.3)
  2729. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2730. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2731. end
  2732. end
  2733. end
  2734. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2735. fenbarmana4.Text="[Shadow] <{[ "..mana.." ]}> [Shadow]"
  2736. if mana>=100 then
  2737. mana=100
  2738. else
  2739. if mananum<=8 then
  2740. mananum=mananum+1
  2741. else
  2742. mananum=0
  2743. mana=mana+1
  2744. end
  2745. end
  2746. end
  2747.  
  2748. --[[
  2749. ==================================]}
  2750. //{Base ver: 1
  2751. //{Collection: Phoenix
  2752. ==================================]}
  2753. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement