Advertisement
Dark_EccentricYT

Untitled

Dec 8th, 2016
2,918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.94 KB | None | 0 0
  1. --[[
  2. ==================================]}
  3. //{Script: Zen (WORK IN PROGRESS)
  4. //{User: Solavenge (Citrus)
  5. //{Model credit: NightOwlAce
  6. ==================================]}
  7. //{Controls:
  8. // Z - Megaton Smash
  9. // X - Gravity Well
  10. // C - Skewer Trap
  11. // V - Aether Beam
  12. ==================================]}
  13. //-----[{ PHOENIX WEAPONRY }]-----]}
  14. ==================================]}
  15. --]]
  16.  
  17. -- Moves/Move names subject to change --
  18.  
  19. local player = "LocalPlayer"
  20. local Character = game.Players[player].Character
  21. it = Instance.new
  22. vt = Vector3.new
  23. cf = CFrame.new
  24. euler = CFrame.fromEulerAnglesXYZ
  25. angles = CFrame.Angles
  26. mr = math.rad
  27. local decreaseatk = 0
  28. local decreasedef = 0
  29. local decreasemvmt = 0
  30. local Anim = "Idle"
  31. local Effects = {}
  32. local armorparts = {}
  33. local armorwelds = {}
  34. local weaponparts = {}
  35. local weaponwelds = {}
  36. local Hands = {}
  37. local necko = euler(0, 0, 0) * cf(0, 1.3, 0)
  38. local attack = false
  39. local jump = false
  40. local start = false
  41. local move = 10
  42. local hitfloor, posfloor = nil, nil
  43. local run = Instance.new("NumberValue")
  44. run.Name = "DecreaseMvmt"
  45. run.Value = -0.5
  46. local bName = "Manotech"
  47. local MainColor = BrickColor.new("Black")
  48. NoOutline = function(Part)
  49. Part.TopSurface = 10
  50. end
  51. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  52. local fp = it("Part")
  53. fp.formFactor = formfactor
  54. fp.Parent = parent
  55. fp.Reflectance = reflectance
  56. fp.Transparency = transparency
  57. fp.CanCollide = false
  58. fp.Locked = true
  59. fp.BrickColor = brickcolor
  60. fp.Name = name
  61. fp.Size = size
  62. NoOutline(fp)
  63. fp.Material = "SmoothPlastic"
  64. fp:BreakJoints()
  65. return fp
  66. end
  67. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  68. local mesh = it(Mesh)
  69. mesh.Parent = part
  70. if Mesh == "SpecialMesh" then
  71. mesh.MeshType = meshtype
  72. if meshid ~= "nil" then
  73. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  74. end
  75. end
  76. mesh.Offset = offset
  77. mesh.Scale = scale
  78. return mesh
  79. end
  80. weld = function(parent, part0, part1, c0)
  81. local weld = it("Motor6D")
  82. weld.Parent = parent
  83. weld.Part0 = part0
  84. weld.Part1 = part1
  85. weld.C0 = c0
  86. return weld
  87. end
  88. gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image)
  89. local gui = it(GuiType)
  90. gui.Parent = parent
  91. gui.BackgroundTransparency = backtrans
  92. gui.BackgroundColor3 = backcol
  93. gui.SizeConstraint = "RelativeXY"
  94. gui.Position = pos
  95. gui.Size = size
  96. if GuiType == "TextLabel" then
  97. gui.Text = text
  98. gui.TextXAlignment = "Center"
  99. gui.TextYAlignment = "Center"
  100. gui.Font = "SourceSans"
  101. gui.FontSize = "Size14"
  102. gui.TextWrapped = false
  103. gui.TextStrokeTransparency = 0
  104. gui.TextColor = BrickColor.new("White")
  105. else
  106. if GuiType == "ImageLabel" then
  107. gui.Image = "rbxassetid://" .. image
  108. gui.ImageColor3 = backcol
  109. end
  110. end
  111. return gui
  112. end
  113. local handle = nil
  114. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  115. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  116. prt.Material = neon
  117. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  118. wld = weld(handle, prt, wldpar, ceef)
  119. v = it("NumberValue", prt)
  120. v.Value = trans
  121. v.Name = "MainTransparency"
  122. return prt, msh, wld
  123. end
  124. AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare)
  125. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  126. prt.Material = neon
  127. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  128. wld = weld(wldpare, prt, wldpar, ceef)
  129. v = it("NumberValue", prt)
  130. v.Value = trans
  131. v.Name = "MainTransparency"
  132. return prt, msh, wld
  133. end
  134. local modelzorz = Instance.new("Model")
  135. modelzorz.Parent = workspace.CurrentCamera
  136. modelzorz.Name = "ManotechBody"
  137. local Torso = Character.Torso
  138. local LeftArm = Character["Left Arm"]
  139. local RightArm = Character["Right Arm"]
  140. local LeftLeg = Character["Left Leg"]
  141. local RightLeg = Character["Right Leg"]
  142. local Head = Character.Head
  143. local RootPart = Character.HumanoidRootPart
  144. handle = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Handle", vt())
  145. local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7))
  146. 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))
  147. Tprt02 = AesthPart(modelzorz, Tprt01, 0, 0, "Pastel light blue", "Torso Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, -0.84, 0))
  148. Tprt03 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.14, 12.14, 4, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  149. Tprt04 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part04", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.15, 12.15, 2, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  150. Tprt05 = AesthPart(modelzorz, Tprt01, 0, 0, "Pastel light blue", "Torso Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, 0.83, 0))
  151. Tprt06 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part06", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 12.5, 2, euler(mr(90), 0, 0) * cf(0, 1.03, 0))
  152. Tprt07 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part07", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 12.6, 1, euler(mr(90), 0, 0) * cf(0, 1.14, 0))
  153. Tprt08 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part08", "SmoothPlastic", "SpecialMesh", "Cylinder", "nil", 1, 5, 5, euler(mr(90), 0, 0) * cf(-0.562, 0.82, 0))
  154. Tprt09 = AesthPart(modelzorz, Tprt01, 0, 0, "Institutional white", "Torso Part09", "Neon", "SpecialMesh", "Cylinder", "nil", 1, 4, 4, euler(mr(90), 0, 0) * cf(-0.572, 0.82, 0))
  155. Tprt10 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.2, 1, 0.4, euler(mr(90), 0, 0) * cf(-0.662, 0.82, 0))
  156. Tprt11 = AesthPart(modelzorz, Tprt01, 0, 0, "Institutional white", "Torso Part11", "Neon", "SpecialMesh", "Sphere", "nil", 1, 0.4, 2, euler(mr(90), 0, 0) * cf(-0.722, 0.82, 0))
  157. Tprt12 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "26340522", 1, 1, 1.4, euler(0, mr(90), 0) * cf(0, -0.34, 0))
  158. Tprt13 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part13", "SmoothPlastic", "SpecialMesh", "FileMesh", "189759018", 3, 4, 3.5, euler(0, mr(90), 0) * cf(0, -0.55, -0.06))
  159. 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))
  160. 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))
  161. 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))
  162. 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))
  163. 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))
  164. 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))
  165. 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))
  166. 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))
  167. local thPart = LAprt01a
  168. local thPart2 = LLprt01a
  169. for i = -1, 1, 2 do
  170. if i == 1 then
  171. thPart = RAprt01a
  172. thPart2 = RLprt01a
  173. end
  174. Aprt02 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 4, 3, euler(mr(90), mr(90), 0) * cf(-0.23, -0.93, 0))
  175. Aprt03 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 3, 7, euler(mr(90), mr(90), 0) * cf(0.43, -0.82, 0))
  176. Aprt04 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part04", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(59.815)) * cf(0.23, 0.01, 0))
  177. Aprt05 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part05", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(90)) * cf(0.43, 0.18, 0))
  178. Aprt06 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6.5, 3, 3, euler(mr(-90), mr(-90), mr(32.321)) * cf(0.05, -0.2, 0))
  179. 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))
  180. Aprt08 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 3, 6.3, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  181. Aprt09 = AesthPart(modelzorz, thPart, 0, 0, "Medium blue", "Arm Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(103.229)) * cf(-0.1, -0.87, 0))
  182. Aprt10 = AesthPart(modelzorz, thPart, 0, 0, "Medium blue", "Arm Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(90)) * cf(0.26, -0.85, 0))
  183. 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))
  184. Lprt02 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 6.3, 3, euler(0, 0, 0) * cf(0, 0, -0.92))
  185. 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))
  186. Lprt04 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part04", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(0.53 * i, 0.33, -0.42))
  187. Lprt05 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part05", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(0.53 * i, -0.33, -0.42))
  188. Lprt06 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(-0.53 * i, 0.33, -0.42))
  189. Lprt07 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(-0.53 * i, -0.33, -0.42))
  190. Lprt08 = AesthPart(modelzorz, thPart2, 0, 0, "Storm blue", "Leg Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 6.6, 3, euler(0, 0, 0) * cf(0, 0, 0.37))
  191. 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))
  192. Lprt10 = AesthPart(modelzorz, thPart2, 0, 0, "Institutional white", "Leg Part10", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, 0, mr(90)) * cf(-0.52 * i, 0, -0.22))
  193. Lprt11 = AesthPart(modelzorz, thPart2, 0, 0, "Institutional white", "Leg Part11", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, mr(-30), mr(90)) * cf(-0.52 * i, 0.2, -0.22))
  194. Lprt12 = AesthPart(modelzorz, thPart2, 0, 0, "Institutional white", "Leg Part12", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, mr(30), mr(90)) * cf(-0.52 * i, -0.2, -0.22))
  195. Lprt13 = AesthPart(modelzorz, thPart2, 0, 0, "Storm blue", "Leg Part13", "SmoothPlastic", "CylinderMesh", "nil", "nil", 2, 1, 2, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  196. Lprt14 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part14", "SmoothPlastic", "CylinderMesh", "nil", "nil", 1.7, 1.1, 1.7, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  197. Lprt15 = AesthPart(modelzorz, thPart2, 0, 0, "Institutional white", "Leg Part15", "Neon", "CylinderMesh", "nil", "nil", 1, 1.2, 1, euler(0, 0, mr(90)) * cf(-0.62 * i, 0, 0.03))
  198. Lprt16 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part16", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(0, 0, mr(180)) * cf(-0.6 * i, 0.14, 0.35))
  199. Lprt17 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part17", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(0, 0, 0) * cf(-0.6 * i, -0.16, 0.35))
  200. 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))
  201. 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))
  202. end
  203. LAprt12 = AesthPart(modelzorz, LAprt01a, 0, 0, "Medium blue", "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))
  204. LAprt13 = AesthPart(modelzorz, LAprt01a, 0, 0, "Medium blue", "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))
  205. RAprt12 = AesthPart(modelzorz, RAprt01a, 0, 0, "Medium blue", "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))
  206. RAprt13 = AesthPart(modelzorz, RAprt01a, 0, 0, "Medium blue", "Right Arm Part13", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 6, 3, 6, euler(mr(180), mr(90), mr(-10.361)) * cf(1.108, -1.116, 0))
  207. RAprt14 = AesthPart(modelzorz, RAprt01a, 0, 0, "Medium blue", "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))
  208. RAprt15 = AesthPart(modelzorz, RAprt01a, 0, 0, "Institutional white", "Right Arm Part15", "Neon", "BlockMesh", "nil", "nil", 6.5, 0.2, 6.5, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  209. RAprt16 = AesthPart(modelzorz, RAprt01a, 0, 0, "Institutional white", "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))
  210. RAprt17 = AesthPart(modelzorz, RAprt01a, 0, 0, "Institutional white", "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))
  211. RAprt18 = AesthPart(modelzorz, RAprt01a, 0, 0, "Steel blue", "Right Arm Part18", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.4, 0.6, 6.4, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  212. RAprt19 = AesthPart(modelzorz, RAprt01a, 0, 0, "Steel blue", "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))
  213. RAprt20 = AesthPart(modelzorz, RAprt01a, 0, 0, "Steel blue", "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))
  214. RAprt21 = AesthPart(modelzorz, RAprt01a, 0, 0, "Storm blue", "Right Arm Part21", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3.5, 1, 3.5, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  215. RAprt22 = AesthPart(modelzorz, RAprt01a, 0, 0, "Steel blue", "Right Arm Part22", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3, 1.1, 3, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  216. RAprt23 = AesthPart(modelzorz, RAprt01a, 0, 0, "Institutional white", "Right Arm Part23", "Neon", "CylinderMesh", "nil", "nil", 1, 1.2, 1, euler(mr(90), mr(90), 0) * cf(0.55, 0.82, 0))
  217. for i = 0, 135, 45 do
  218. RAprt24 = AesthPart(modelzorz, RAprt01a, 0, 0, "Institutional white", "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))
  219. end
  220. 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))
  221. 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))
  222. Hprt03 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part03", "SmoothPlastic", "CylinderMesh", "nil", "nil", 9, 1, 9, euler(mr(9.321), 0, 0) * cf(0, -0.15, 0.03))
  223. 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))
  224. Hprt05 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(0.82, -0.07, 0.06))
  225. Hprt06 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(-90)) * cf(1.02, -0.07, -0.14))
  226. Hprt07 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(-90)) * cf(1.02, -0.07, 0.26))
  227. Hprt08 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(-0.81, -0.07, 0.06))
  228. Hprt09 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(90)) * cf(-1.01, -0.07, -0.14))
  229. Hprt10 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(90)) * cf(-1.01, -0.07, 0.26))
  230. Hprt11 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part11", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3, 1, 3, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  231. Hprt12 = AesthPart(modelzorz, Hprt01, 0, 0, "Institutional white", "Head Part12", "Neon", "CylinderMesh", "nil", "nil", 2, 1.1, 2, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  232. Hprt13 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part13", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1, 4, euler(mr(90), mr(-90), 0) * cf(0.1, 0.59, 0.91))
  233. Hprt14 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part14", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1, 4, euler(mr(90), mr(90), 0) * cf(-0.1, 0.59, 0.91))
  234.  
  235.  
  236. Player=game:GetService("Players").LocalPlayer
  237. Character=Player.Character
  238. PlayerGui=Player.PlayerGui
  239. Backpack=Player.Backpack
  240. Torso=Character.Torso
  241. z = Instance.new("Sound", Torso)
  242. z.SoundId = "159665268" -- Put Music ID Here.
  243. z.Looped = true
  244. z.Pitch = 1
  245. z.Volume = 1
  246. wait(.1)
  247. z:Play()
  248. Head=Character.Head
  249. Humanoid=Character.Humanoid
  250. m=Instance.new('Model',Character)
  251. LeftArm=Character["Left Arm"]
  252. LeftLeg=Character["Left Leg"]
  253. RightArm=Character["Right Arm"]
  254. RightLeg=Character["Right Leg"]
  255. LS=Torso["Left Shoulder"]
  256. LH=Torso["Left Hip"]
  257. RS=Torso["Right Shoulder"]
  258. RH=Torso["Right Hip"]
  259. Neck=Torso.Neck
  260. it=Instance.new
  261. attacktype=1
  262. vt=Vector3.new
  263. cf=CFrame.new
  264. euler=CFrame.fromEulerAnglesXYZ
  265. angles=CFrame.Angles
  266. local necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  267. local necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  268. local LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  269. local LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  270. local RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  271. local RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  272. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  273. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  274. RootPart=Character.HumanoidRootPart
  275. RootJoint=RootPart.RootJoint
  276. RootCF=euler(-1.57,0,3.14)
  277. attack = false
  278. attackdebounce = false
  279. deb=false
  280. equipped=true
  281. hand=false
  282. MMouse=nil
  283. combo=0
  284. mana=0
  285. cam=workspace.CurrentCamera
  286. RocketTarget=nil
  287. Targetting=false
  288. trispeed=.2
  289. attackmode='none'
  290. local idle=0
  291. local Anim="Idle"
  292. local Effects={}
  293. local gun=false
  294. local shoot=false
  295. local keys={}
  296. local Trapping = false
  297.  
  298. player=nil
  299. mouse=Player:GetMouse()
  300. --save shoulders
  301. RSH, LSH=nil, nil
  302. --welds
  303. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  304. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  305. LH=Torso["Left Hip"]
  306. RH=Torso["Right Hip"]
  307. TorsoColor=Torso.BrickColor
  308. function NoOutline(Part)
  309. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  310. end
  311. player=Player
  312. ch=Character
  313. RSH=ch.Torso["Right Shoulder"]
  314. LSH=ch.Torso["Left Shoulder"]
  315. --
  316. RSH.Parent=nil
  317. LSH.Parent=nil
  318. --
  319. RW.Name="Right Shoulder"
  320. RW.Part0=ch.Torso
  321. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  322. RW.C1=cf(0, 0.5, 0)
  323. RW.Part1=ch["Right Arm"]
  324. RW.Parent=ch.Torso
  325. --
  326. LW.Name="Left Shoulder"
  327. LW.Part0=ch.Torso
  328. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  329. LW.C1=cf(0, 0.5, 0)
  330. LW.Part1=ch["Left Arm"]
  331. LW.Parent=ch.Torso
  332.  
  333. local Stats=Instance.new("BoolValue")
  334. Stats.Name="Stats"
  335. Stats.Parent=Character
  336. local Atk=Instance.new("NumberValue")
  337. Atk.Name="Damage"
  338. Atk.Parent=Stats
  339. Atk.Value=1
  340. local Def=Instance.new("NumberValue")
  341. Def.Name="Defense"
  342. Def.Parent=Stats
  343. Def.Value=1
  344. local Speed=Instance.new("NumberValue")
  345. Speed.Name="Speed"
  346. Speed.Parent=Stats
  347. Speed.Value=1
  348. local Mvmt=Instance.new("NumberValue")
  349. Mvmt.Name="Movement"
  350. Mvmt.Parent=Stats
  351. Mvmt.Value=1
  352.  
  353. local donum=0
  354.  
  355. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  356. local fp=it("Part")
  357. fp.formFactor=formfactor
  358. fp.Parent=parent
  359. fp.Reflectance=reflectance
  360. fp.Transparency=transparency
  361. fp.CanCollide=false
  362. fp.Locked=true
  363. fp.BrickColor=brickcolor
  364. fp.Name=name
  365. fp.Size=size
  366. fp.Position=Torso.Position
  367. NoOutline(fp)
  368. fp.Material="SmoothPlastic"
  369. fp:BreakJoints()
  370. return fp
  371. end
  372.  
  373. function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  374. local fp = Instance.new("Part")
  375. fp.formFactor = formfactor
  376. fp.Parent = parent
  377. fp.Reflectance = reflectance
  378. fp.Transparency = transparency
  379. fp.CanCollide = false
  380. fp.Locked = true
  381. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  382. fp.Name = name
  383. fp.Size = size
  384. fp.Position = Character.Torso.Position
  385. fp.Material = material
  386.  
  387. NoOutline(fp)
  388. return fp
  389. end
  390.  
  391. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  392. local mesh=it(Mesh)
  393. mesh.Parent=part
  394. if Mesh=="SpecialMesh" then
  395. mesh.MeshType=meshtype
  396. mesh.MeshId=meshid
  397. end
  398. mesh.Offset=offset
  399. mesh.Scale=scale
  400. return mesh
  401. end
  402.  
  403. function weld(parent,part0,part1,c0)
  404. local weld=it("Weld")
  405. weld.Parent=parent
  406. weld.Part0=part0
  407. weld.Part1=part1
  408. weld.C0=c0
  409. return weld
  410. end
  411.  
  412. function weld2(parent, part0, part1, c0, c1)
  413. local Weld = Instance.new("Weld")
  414. Weld.Parent = parent
  415. Weld.Part0 = part0
  416. Weld.Part1 = part1
  417. Weld.C0 = c0
  418. Weld.C1 = c1
  419.  
  420. return Weld
  421. end
  422.  
  423. local Color1=Torso.BrickColor
  424.  
  425. local bodvel=Instance.new("BodyVelocity")
  426. local bg=Instance.new("BodyGyro")
  427.  
  428.  
  429. --[[Credit to SazErenos for Artificial Heartbeat]]--
  430.  
  431. ArtificialHB = Instance.new("BindableEvent", script)
  432. ArtificialHB.Name = "Heartbeat"
  433.  
  434. script:WaitForChild("Heartbeat")
  435.  
  436. frame = 1 /40
  437. tf = 0
  438. allowframeloss = true
  439. tossremainder = false
  440. lastframe = tick()
  441. script.Heartbeat:Fire()
  442.  
  443. game:GetService("RunService").Heartbeat:connect(function(s, p)
  444. tf = tf + s
  445. if tf >= frame then
  446. if allowframeloss then
  447. script.Heartbeat:Fire()
  448. lastframe = tick()
  449. else
  450. for i = 1, math.floor(tf / frame) do
  451. script.Heartbeat:Fire()
  452. end
  453. lastframe = tick()
  454. end
  455. if tossremainder then
  456. tf = 0
  457. else
  458. tf = tf - frame * math.floor(tf / frame)
  459. end
  460. end
  461. end)
  462.  
  463. function swait(num)
  464. if num == 0 or num == nil then
  465. ArtificialHB.Event:wait()
  466. else
  467. for i = 0, num do
  468. ArtificialHB.Event:wait()
  469. end
  470. end
  471. end
  472.  
  473.  
  474. so = function(id,par,vol,pit)
  475. coroutine.resume(coroutine.create(function()
  476. local sou = Instance.new("Sound",par or workspace)
  477. sou.Volume=vol
  478. sou.Pitch=pit or 1
  479. sou.SoundId=id
  480. swait()
  481. sou:play()
  482. game:GetService("Debris"):AddItem(sou,6)
  483. end))
  484. end
  485.  
  486. function clerp(a,b,t)
  487. local qa = {QuaternionFromCFrame(a)}
  488. local qb = {QuaternionFromCFrame(b)}
  489. local ax, ay, az = a.x, a.y, a.z
  490. local bx, by, bz = b.x, b.y, b.z
  491. local _t = 1-t
  492. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  493. end
  494.  
  495. function QuaternionFromCFrame(cf)
  496. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  497. local trace = m00 + m11 + m22
  498. if trace > 0 then
  499. local s = math.sqrt(1 + trace)
  500. local recip = 0.5/s
  501. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  502. else
  503. local i = 0
  504. if m11 > m00 then
  505. i = 1
  506. end
  507. if m22 > (i == 0 and m00 or m11) then
  508. i = 2
  509. end
  510. if i == 0 then
  511. local s = math.sqrt(m00-m11-m22+1)
  512. local recip = 0.5/s
  513. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  514. elseif i == 1 then
  515. local s = math.sqrt(m11-m22-m00+1)
  516. local recip = 0.5/s
  517. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  518. elseif i == 2 then
  519. local s = math.sqrt(m22-m00-m11+1)
  520. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  521. end
  522. end
  523. end
  524.  
  525. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  526. local xs, ys, zs = x + x, y + y, z + z
  527. local wx, wy, wz = w*xs, w*ys, w*zs
  528. local xx = x*xs
  529. local xy = x*ys
  530. local xz = x*zs
  531. local yy = y*ys
  532. local yz = y*zs
  533. local zz = z*zs
  534. 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))
  535. end
  536.  
  537. function QuaternionSlerp(a, b, t)
  538. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  539. local startInterp, finishInterp;
  540. if cosTheta >= 0.0001 then
  541. if (1 - cosTheta) > 0.0001 then
  542. local theta = math.acos(cosTheta)
  543. local invSinTheta = 1/math.sin(theta)
  544. startInterp = math.sin((1-t)*theta)*invSinTheta
  545. finishInterp = math.sin(t*theta)*invSinTheta
  546. else
  547. startInterp = 1-t
  548. finishInterp = t
  549. end
  550. else
  551. if (1+cosTheta) > 0.0001 then
  552. local theta = math.acos(-cosTheta)
  553. local invSinTheta = 1/math.sin(theta)
  554. startInterp = math.sin((t-1)*theta)*invSinTheta
  555. finishInterp = math.sin(t*theta)*invSinTheta
  556. else
  557. startInterp = t-1
  558. finishInterp = t
  559. end
  560. end
  561. 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
  562. end
  563.  
  564. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  565. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  566. end
  567.  
  568. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  569. if hit.Parent == nil then
  570. return
  571. end
  572. local h = hit.Parent:FindFirstChild("Humanoid")
  573. for _, v in pairs(hit.Parent:children()) do
  574. if v:IsA("Humanoid") then
  575. h = v
  576. end
  577. end
  578. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  579. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  580. if hit.Parent.DebounceHit.Value == true then
  581. return
  582. end
  583. end
  584. if h.MaxHealth >= math.huge then
  585. hit:BreakJoints()
  586. end
  587. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  588. return
  589. end]]
  590. -- hs(hit,1.2)
  591. local c = Instance.new("ObjectValue")
  592. c.Name = "creator"
  593. c.Value = game:service("Players").LocalPlayer
  594. c.Parent = h
  595.  
  596. game:GetService("Debris"):AddItem(c, .5)
  597. if HitSound ~= nil and HitPitch ~= nil then
  598. so(HitSound, hit, 1, HitPitch)
  599. end
  600. local Damage = math.random(minim, maxim)
  601. -- h:TakeDamage(Damage)
  602. local blocked = false
  603. local block = hit.Parent:findFirstChild("Block")
  604. if block ~= nil then
  605. if block.className == "IntValue" then
  606. if block.Value > 0 then
  607. blocked = true
  608. block.Value = block.Value - 1
  609. print(block.Value)
  610. end
  611. end
  612. end
  613. if blocked == false then
  614. -- h:TakeDamage(Damage)
  615. h.Health = h.Health - Damage
  616. if Damage ~= 0 then
  617. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  618. end
  619. else
  620. h.Health = h.Health - (Damage / 2)
  621. if Damage ~=0 then
  622. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  623. end
  624. end
  625. if Type == "Knockdown" then
  626. local hum = hit.Parent.Humanoid
  627. hum.PlatformStand = true
  628. coroutine.resume(coroutine.create(function(HHumanoid)
  629. swait(1)
  630. HHumanoid.PlatformStand = false
  631. end), hum)
  632. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  633. local bodvol = Instance.new("BodyVelocity")
  634. bodvol.velocity = angle * knockback
  635. bodvol.P = 5000
  636. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  637. bodvol.Parent = hit
  638.  
  639. local rl = Instance.new("BodyAngularVelocity")
  640. rl.P = 3000
  641. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  642. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  643. rl.Parent = hit
  644.  
  645. game:GetService("Debris"):AddItem(bodvol, .5)
  646. game:GetService("Debris"):AddItem(rl, .5)
  647. elseif Type == "Plat" then
  648. local hum = hit.Parent.Humanoid
  649. hum.PlatformStand = true
  650. coroutine.resume(coroutine.create(function(HHumanoid)
  651. swait(2)
  652. HHumanoid.PlatformStand = false
  653. end), hum)
  654.  
  655. local rl = Instance.new("BodyAngularVelocity")
  656. rl.P = 3000
  657. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  658. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  659. rl.Parent = hit
  660.  
  661. game:GetService("Debris"):AddItem(rl, .5)
  662. elseif Type == "Normal" then
  663. local vp = Instance.new("BodyVelocity")
  664. vp.P = 500
  665. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  666. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  667.  
  668. if knockback > 0 then
  669. vp.Parent = hit.Parent.Torso
  670. end
  671. game:GetService("Debris"):AddItem(vp, .5)
  672. elseif Type == "Gravitate" then
  673. local tor = hit.Parent.Torso
  674. local bp = Instance.new("BodyPosition",tor)
  675. bp.P = 500
  676. bp.maxForce = Vector3.new(4000, 1000, 4000)
  677. bp.Position = Character.Torso.Position
  678. game:GetService("Debris"):AddItem(bp, Delay)
  679. elseif Type == "Up" then
  680. local bodyVelocity = Instance.new("BodyVelocity")
  681. bodyVelocity.velocity = vt(0, 20, 0)
  682. bodyVelocity.P = 5000
  683. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  684. bodyVelocity.Parent = hit
  685.  
  686. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  687. elseif Type == "Snare" then
  688. local bp = Instance.new("BodyPosition")
  689. bp.P = 2000
  690. bp.D = 100
  691. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  692. bp.position = hit.Parent.Torso.Position
  693. bp.Parent = hit.Parent.Torso
  694. game:GetService("Debris"):AddItem(bp, 1)
  695.  
  696. elseif Type == "Freeze" then
  697. local BodPos = Instance.new("BodyPosition")
  698. BodPos.P = 50000
  699. BodPos.D = 1000
  700. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  701. BodPos.position = hit.Parent.Torso.Position
  702. BodPos.Parent = hit.Parent.Torso
  703.  
  704. local BodGy = Instance.new("BodyGyro")
  705. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  706. BodGy.P = 20e+003
  707. BodGy.Parent = hit.Parent.Torso
  708. BodGy.cframe = hit.Parent.Torso.CFrame
  709.  
  710. hit.Parent.Torso.Anchored = true
  711. coroutine.resume(coroutine.create(function(Part)
  712. swait(1.5)
  713. Part.Anchored = false
  714. end), hit.Parent.Torso)
  715. game:GetService("Debris"):AddItem(BodPos, 3)
  716. game:GetService("Debris"):AddItem(BodGy, 3)
  717.  
  718.  
  719. elseif Type=="Target" then
  720. if Targetting==false then
  721. ZTarget=hit.Parent.Torso
  722. coroutine.resume(coroutine.create(function(Part)
  723. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  724. swait(5)
  725. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  726. end),ZTarget)
  727. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  728. targetgui=Instance.new("BillboardGui")
  729. targetgui.Parent=ZTarget
  730. targetgui.Size=UDim2.new(10,100,10,100)
  731. targ=Instance.new("ImageLabel")
  732. targ.Parent=targetgui
  733. targ.BackgroundTransparency=1
  734. targ.Image="rbxassetid://4834067"
  735. targ.Size=UDim2.new(1,0,1,0)
  736. cam.CameraType="Scriptable"
  737. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  738. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  739. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  740. Targetting=true
  741. RocketTarget=ZTarget
  742. for i=1,Property do
  743. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  744. swait()
  745. end
  746. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  747. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  748. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  749. end
  750. Targetting=false
  751. RocketTarget=nil
  752. targetgui.Parent=nil
  753. cam.CameraType="Custom"
  754. end
  755. end
  756.  
  757. local debounce = Instance.new("BoolValue")
  758. debounce.Name = "DebounceHit"
  759. debounce.Parent = hit.Parent
  760. debounce.Value = true
  761. game:GetService("Debris"):AddItem(debounce, Delay)
  762. c = Instance.new("ObjectValue")
  763. c.Name = "creator"
  764. c.Value = Player
  765. c.Parent = h
  766. game:GetService("Debris"):AddItem(c, .5)
  767. end
  768. end
  769.  
  770. function Showdamage(Pos, Text, Time, Color)
  771. local Rate = (1 / 30)
  772. local Pos = (Pos or Vector3.new(0, 0, 0))
  773. local Text = (Text or "")
  774. local Time = (Time or 2)
  775. local Color = (Color or Color3.new(1, 0, 0))
  776. local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  777. EffectPart.Anchored = true
  778. local BillboardGui = Instance.new("BillboardGui")
  779. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  780. BillboardGui.Adornee = EffectPart
  781. BillboardGui.Parent = EffectPart
  782.  
  783. local TextLabel = Instance.new("TextLabel")
  784. TextLabel.BackgroundTransparency = 1
  785. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  786. TextLabel.Text = Text
  787. TextLabel.TextColor3 = Color
  788. TextLabel.TextScaled = true
  789. TextLabel.Font = Enum.Font.ArialBold
  790. TextLabel.Parent = BillboardGui
  791.  
  792. game.Debris:AddItem(EffectPart, (Time + 0.1))
  793. EffectPart.Parent = game:GetService("Workspace")
  794. delay(0, function()
  795. local Frames = (Time / Rate)
  796. for Frame = 1, Frames do
  797. wait(Rate)
  798. local Percent = (Frame / Frames)
  799. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  800. TextLabel.TextTransparency = Percent
  801. end
  802. if EffectPart and EffectPart.Parent then
  803. EffectPart:Destroy()
  804. end
  805. end)
  806. end
  807.  
  808. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  809. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  810. prt.Anchored = true
  811. prt.CFrame = cframe
  812. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  813. coroutine.resume(coroutine.create(function()
  814. for i = 0, 1, 0.05 do
  815. wait()
  816. prt.Transparency = i
  817. msh.Scale = msh.Scale + vt(x2, y2, z2)
  818. end
  819. prt.Parent = nil
  820. end))
  821. end
  822.  
  823. function weld(parent, part0, part1, c0, c1)
  824. local Weld = Instance.new("Weld")
  825. Weld.Parent = parent
  826. Weld.Part0 = part0
  827. Weld.Part1 = part1
  828. Weld.C0 = c0
  829. Weld.C1 = c1
  830.  
  831. return Weld
  832. end
  833.  
  834. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  835. for _, c in pairs(workspace:children()) do
  836. local hum = c:findFirstChild("Humanoid")
  837. if hum ~= nil then
  838. local head = c:findFirstChild("Torso")
  839. if head ~= nil then
  840. local targ = head.Position - Part.Position
  841. local mag = targ.magnitude
  842. if mag <= magni and c.Name ~= Player.Name then
  843. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  844. end
  845. end
  846. end
  847. end
  848. end
  849.  
  850. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, lifetime)
  851. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  852. prt.Anchored = true
  853. prt.CFrame = cframe
  854. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  855. game:GetService("Debris"):AddItem(prt, lifetime)
  856. coroutine.resume(coroutine.create(function(Part, Mesh)
  857. for i = 0, 1, delay do
  858. swait()
  859. Part.CFrame = Part.CFrame
  860. Part.Transparency = i
  861. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  862. end
  863. Part.Parent = nil
  864. end), prt, msh)
  865. end
  866.  
  867. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  868. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  869. prt.Anchored=true
  870. prt.CFrame=cframe
  871. local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  872. game:GetService("Debris"):AddItem(prt,2)
  873. coroutine.resume(coroutine.create(function(Part,Mesh)
  874. for i=0,1,delay do
  875. swait()
  876. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  877. Part.Transparency=i
  878. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  879. end
  880. Part.Parent=nil
  881. end),prt,msh)
  882. end
  883.  
  884. --C
  885. function SpellCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,lifetime)
  886. local spng = true
  887. local prt=part2(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  888. prt.Anchored=true
  889. prt.CFrame=cframe
  890. prt.Transparency=1
  891. local dec = Instance.new("Decal",prt)
  892. dec.Texture = "http://www.roblox.com/asset/?id=504647035"
  893. dec.Face = "Top"
  894. local dec2 = Instance.new("Decal",prt)
  895. dec2.Texture = "http://www.roblox.com/asset/?id=504647035"
  896. dec2.Face = "Bottom"
  897. game:GetService("Debris"):AddItem(prt,lifetime)
  898. coroutine.resume(coroutine.create(function()
  899. for i=0,1,delay do
  900. swait()
  901. prt.CFrame=prt.CFrame*euler(0,i,0)
  902. prt.Size=prt.Size+vt(x3,y3,z3)
  903. end
  904. prt.Parent=nil
  905. end))
  906. end
  907. --C
  908.  
  909. user=game:service'Players'.localPlayer
  910. char=user.Character
  911. mouse=user:GetMouse()
  912. zen=Instance.new('Model',char)
  913. zen.Name = "Zen"
  914.  
  915. local grip = Instance.new("Part", zen)
  916. grip.FormFactor = Enum.FormFactor.Custom
  917. grip.CanCollide = false
  918. grip.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  919. grip.Material = Enum.Material.Neon
  920. grip.Size = Vector3.new(0.47, 2.6, 0.44)
  921. grip.Name = "Grip"
  922. grip.CFrame = CFrame.new(-93.277, 182.77, -46.392) * CFrame.Angles(0.00021399257821031, -3.1005700293463e-005, -3.0992428946774e-005)
  923. grip.BrickColor = BrickColor.new("Bright bluish green")
  924. grip.Friction = 0.3
  925. grip.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  926.  
  927. local maincore = Instance.new("Part", zen)
  928. maincore.FormFactor = Enum.FormFactor.Custom
  929. maincore.CanCollide = false
  930. maincore.Reflectance = 0.6
  931. maincore.Material = Enum.Material.Neon
  932. maincore.Size = Vector3.new(0.2, 0.2, 0.4)
  933. maincore.Name = "MainCore"
  934. maincore.CFrame = CFrame.new(-93.212, 185.57, -43.912) * CFrame.Angles(-0.78519427776337, -1.652482933423e-005, -4.0553699363954e-005)
  935. maincore.BrickColor = BrickColor.new("Bright bluish green")
  936. maincore.Friction = 0.3
  937.  
  938. local mesh_7 = Instance.new("SpecialMesh", maincore)
  939. mesh_7.Scale = Vector3.new(0.4, 1.774, 0.45)
  940. mesh_7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  941. mesh_7.TextureId = "rbxassetid://5808536"
  942. mesh_7.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  943. mesh_7.MeshType = Enum.MeshType.FileMesh
  944.  
  945. local weld = Instance.new("ManualWeld", maincore)
  946. weld.Part1 = grip
  947. weld.Name = "Weld"
  948. weld.C1 = CFrame.new(0.065, 2.8, 2.479) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  949. weld.Part0 = maincore
  950. weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0.78519433736801, 4.0357146644965e-005, 1.6999225408654e-005)
  951.  
  952. local maincore_8 = Instance.new("Part", zen)
  953. maincore_8.FormFactor = Enum.FormFactor.Custom
  954. maincore_8.CanCollide = false
  955. maincore_8.Reflectance = 0.6
  956. maincore_8.Material = Enum.Material.Neon
  957. maincore_8.Size = Vector3.new(0.2, 0.2, 0.4)
  958. maincore_8.Name = "MainCore"
  959. maincore_8.CFrame = CFrame.new(-93.212, 185.571, -48.911) * CFrame.Angles(-2.3560318946838, 1.7195610780618e-005, -3.9879607356852e-005)
  960. maincore_8.BrickColor = BrickColor.new("Bright bluish green")
  961. maincore_8.Friction = 0.3
  962.  
  963. local mesh_8 = Instance.new("SpecialMesh", maincore_8)
  964. mesh_8.Scale = Vector3.new(0.4, 1.774, 0.45)
  965. mesh_8.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  966. mesh_8.TextureId = "rbxassetid://5808536"
  967. mesh_8.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  968. mesh_8.MeshType = Enum.MeshType.FileMesh
  969.  
  970. local weld_2 = Instance.new("ManualWeld", maincore_8)
  971. weld_2.Part1 = grip
  972. weld_2.Name = "Weld"
  973. weld_2.C1 = CFrame.new(0.065, 2.8, -2.52) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  974. weld_2.Part0 = maincore_8
  975. weld_2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(2.3560318946838, 4.03608828492e-005, -1.6033427527873e-005)
  976.  
  977. local maincore_9 = Instance.new("Part", zen)
  978. maincore_9.FormFactor = Enum.FormFactor.Custom
  979. maincore_9.CanCollide = false
  980. maincore_9.Reflectance = 0.6
  981. maincore_9.Material = Enum.Material.Neon
  982. maincore_9.Size = Vector3.new(0.2, 0.2, 0.6)
  983. maincore_9.Name = "MainCore"
  984. maincore_9.CFrame = CFrame.new(-93.212, 184.67, -46.382) * CFrame.Angles(-3.1413786411285, 3.1000115995994e-005, -3.0041814170545e-005)
  985. maincore_9.BrickColor = BrickColor.new("Bright bluish green")
  986. maincore_9.Friction = 0.3
  987.  
  988. local mesh_9 = Instance.new("SpecialMesh", maincore_9)
  989. mesh_9.Scale = Vector3.new(0.4, 0.486, 0.264)
  990. mesh_9.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  991. mesh_9.TextureId = "rbxassetid://5808536"
  992. mesh_9.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  993. mesh_9.MeshType = Enum.MeshType.FileMesh
  994.  
  995. local weld_3 = Instance.new("ManualWeld", maincore_9)
  996. weld_3.Part1 = grip
  997. weld_3.Name = "Weld"
  998. weld_3.C1 = CFrame.new(0.065, 1.9, 0.009) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  999. weld_3.Part0 = maincore_9
  1000. weld_3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.1006537028588e-005, -3.003515121236e-005)
  1001.  
  1002. local part_9 = Instance.new("Part", zen)
  1003. part_9.FormFactor = Enum.FormFactor.Custom
  1004. part_9.CanCollide = false
  1005. part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1006. part_9.Material = Enum.Material.Neon
  1007. part_9.Size = Vector3.new(0.4, 3, 0.4)
  1008. part_9.CFrame = CFrame.new(-93.282, 185.303, -47.042) * CFrame.Angles(-0.52338141202927, -2.1764006305602e-005, -3.8031364965718e-005)
  1009. part_9.BrickColor = BrickColor.new("Light stone grey")
  1010. part_9.Friction = 0.3
  1011. part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1012.  
  1013. local weld_4 = Instance.new("ManualWeld", part_9)
  1014. weld_4.Part1 = grip
  1015. weld_4.Name = "Weld"
  1016. weld_4.C1 = CFrame.new(-0.005, 2.533, -0.651) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1017. weld_4.Part0 = part_9
  1018. weld_4.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0.52338141202927, 3.7859299482079e-005, 2.2061974959797e-005)
  1019.  
  1020. local part_10 = Instance.new("Part", zen)
  1021. part_10.FormFactor = Enum.FormFactor.Custom
  1022. part_10.CanCollide = false
  1023. part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1024. part_10.Material = Enum.Material.Neon
  1025. part_10.Size = Vector3.new(0.4, 3, 0.4)
  1026. part_10.CFrame = CFrame.new(-93.282, 185.304, -45.741) * CFrame.Angles(0.52375590801239, -3.8037556805648e-005, -2.1747335267719e-005)
  1027. part_10.BrickColor = BrickColor.new("Light stone grey")
  1028. part_10.Friction = 0.3
  1029. part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1030.  
  1031. local weld_5 = Instance.new("ManualWeld", part_10)
  1032. weld_5.Part1 = grip
  1033. weld_5.Name = "Weld"
  1034. weld_5.C1 = CFrame.new(-0.005, 2.534, 0.65) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1035. weld_5.Part0 = part_10
  1036. weld_5.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.52375590801239, 2.2061027266318e-005, 3.7856505514355e-005)
  1037.  
  1038. local maincore_11 = Instance.new("Part", zen)
  1039. maincore_11.FormFactor = Enum.FormFactor.Custom
  1040. maincore_11.CanCollide = false
  1041. maincore_11.Reflectance = 0.6
  1042. maincore_11.Material = Enum.Material.Neon
  1043. maincore_11.Size = Vector3.new(0.2, 2.6, 0.8)
  1044. maincore_11.Name = "MainCore"
  1045. maincore_11.CFrame = CFrame.new(-93.242, 182.77, -46.173) * CFrame.Angles(-3.1413333415985, -1.5707963705063, 0)
  1046. maincore_11.BrickColor = BrickColor.new("Bright bluish green")
  1047. maincore_11.Friction = 0.3
  1048.  
  1049. local mesh_11 = Instance.new("SpecialMesh", maincore_11)
  1050. mesh_11.Scale = Vector3.new(0.19, 1.678, 0.264)
  1051. mesh_11.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1052. mesh_11.TextureId = "rbxassetid://5808536"
  1053. mesh_11.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1054. mesh_11.MeshType = Enum.MeshType.FileMesh
  1055.  
  1056. local weld_6 = Instance.new("ManualWeld", maincore_11)
  1057. weld_6.Part1 = grip
  1058. weld_6.Name = "Weld"
  1059. weld_6.C1 = CFrame.new(0.035, 0, 0.219) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1060. weld_6.Part0 = maincore_11
  1061. weld_6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1415491104126, -1.5707963705063, 0)
  1062.  
  1063. local maincore_10 = Instance.new("Part", zen)
  1064. maincore_10.FormFactor = Enum.FormFactor.Custom
  1065. maincore_10.CanCollide = false
  1066. maincore_10.Reflectance = 0.6
  1067. maincore_10.Material = Enum.Material.Neon
  1068. maincore_10.Size = Vector3.new(0.2, 2.6, 0.8)
  1069. maincore_10.Name = "MainCore"
  1070. maincore_10.CFrame = CFrame.new(-93.512, 182.77, -46.372) * CFrame.Angles(-3.1413786411285, 3.1000115995994e-005, -3.0041814170545e-005)
  1071. maincore_10.BrickColor = BrickColor.new("Bright bluish green")
  1072. maincore_10.Friction = 0.3
  1073.  
  1074. local mesh_10 = Instance.new("SpecialMesh", maincore_10)
  1075. mesh_10.Scale = Vector3.new(0.19, 1.678, 0.264)
  1076. mesh_10.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1077. mesh_10.TextureId = "rbxassetid://5808536"
  1078. mesh_10.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1079. mesh_10.MeshType = Enum.MeshType.FileMesh
  1080.  
  1081. local weld_7 = Instance.new("ManualWeld", maincore_10)
  1082. weld_7.Part1 = grip
  1083. weld_7.Name = "Weld"
  1084. weld_7.C1 = CFrame.new(-0.235, 0, 0.02) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1085. weld_7.Part0 = maincore_10
  1086. weld_7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.1006537028588e-005, -3.003515121236e-005)
  1087.  
  1088. local maincore_13 = Instance.new("Part", zen)
  1089. maincore_13.FormFactor = Enum.FormFactor.Custom
  1090. maincore_13.CanCollide = false
  1091. maincore_13.Reflectance = 0.6
  1092. maincore_13.Material = Enum.Material.Neon
  1093. maincore_13.Size = Vector3.new(0.2, 2.6, 0.8)
  1094. maincore_13.Name = "MainCore"
  1095. maincore_13.CFrame = CFrame.new(-93.042, 182.77, -46.372) * CFrame.Angles(-3.1413786411285, 3.1000115995994e-005, -3.0041814170545e-005)
  1096. maincore_13.BrickColor = BrickColor.new("Bright bluish green")
  1097. maincore_13.Friction = 0.3
  1098.  
  1099. local mesh_13 = Instance.new("SpecialMesh", maincore_13)
  1100. mesh_13.Scale = Vector3.new(0.19, 1.678, 0.264)
  1101. mesh_13.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1102. mesh_13.TextureId = "rbxassetid://5808536"
  1103. mesh_13.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1104. mesh_13.MeshType = Enum.MeshType.FileMesh
  1105.  
  1106. local weld_8 = Instance.new("ManualWeld", maincore_13)
  1107. weld_8.Part1 = grip
  1108. weld_8.Name = "Weld"
  1109. weld_8.C1 = CFrame.new(0.235, 0, 0.02) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1110. weld_8.Part0 = maincore_13
  1111. weld_8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.1006537028588e-005, -3.003515121236e-005)
  1112.  
  1113. local maincore_12 = Instance.new("Part", zen)
  1114. maincore_12.FormFactor = Enum.FormFactor.Custom
  1115. maincore_12.CanCollide = false
  1116. maincore_12.Reflectance = 0.6
  1117. maincore_12.Material = Enum.Material.Neon
  1118. maincore_12.Size = Vector3.new(0.2, 2.6, 0.8)
  1119. maincore_12.Name = "MainCore"
  1120. maincore_12.CFrame = CFrame.new(-93.242, 182.771, -46.572) * CFrame.Angles(-3.1413333415985, -1.5707963705063, 0)
  1121. maincore_12.BrickColor = BrickColor.new("Bright bluish green")
  1122. maincore_12.Friction = 0.3
  1123.  
  1124. local mesh_12 = Instance.new("SpecialMesh", maincore_12)
  1125. mesh_12.Scale = Vector3.new(0.19, 1.678, 0.264)
  1126. mesh_12.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1127. mesh_12.TextureId = "rbxassetid://5808536"
  1128. mesh_12.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1129. mesh_12.MeshType = Enum.MeshType.FileMesh
  1130.  
  1131. local weld_9 = Instance.new("ManualWeld", maincore_12)
  1132. weld_9.Part1 = grip
  1133. weld_9.Name = "Weld"
  1134. weld_9.C1 = CFrame.new(0.035, 0.001, -0.18) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1135. weld_9.Part0 = maincore_12
  1136. weld_9.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1415491104126, -1.5707963705063, 0)
  1137.  
  1138. local maincore_14 = Instance.new("Part", zen)
  1139. maincore_14.FormFactor = Enum.FormFactor.Custom
  1140. maincore_14.CanCollide = false
  1141. maincore_14.Reflectance = 0.6
  1142. maincore_14.Material = Enum.Material.Neon
  1143. maincore_14.Size = Vector3.new(0.2, 0.2, 0.6)
  1144. maincore_14.Name = "MainCore"
  1145. maincore_14.CFrame = CFrame.new(-93.502, 178.671, -46.383) * CFrame.Angles(-3.1413786411285, 3.1000119633973e-005, -3.0041814170545e-005)
  1146. maincore_14.BrickColor = BrickColor.new("Bright bluish green")
  1147. maincore_14.Friction = 0.3
  1148.  
  1149. local mesh_14 = Instance.new("SpecialMesh", maincore_14)
  1150. mesh_14.Scale = Vector3.new(0.19, 0.722, 0.264)
  1151. mesh_14.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1152. mesh_14.TextureId = "rbxassetid://5808536"
  1153. mesh_14.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1154. mesh_14.MeshType = Enum.MeshType.FileMesh
  1155.  
  1156. local weld_10 = Instance.new("ManualWeld", maincore_14)
  1157. weld_10.Part1 = grip
  1158. weld_10.Name = "Weld"
  1159. weld_10.C1 = CFrame.new(-0.225, -4.1, 0.01) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1160. weld_10.Part0 = maincore_14
  1161. weld_10.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.100653339061e-005, -3.003515121236e-005)
  1162.  
  1163. local part_11 = Instance.new("Part", zen)
  1164. part_11.FormFactor = Enum.FormFactor.Custom
  1165. part_11.CanCollide = false
  1166. part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1167. part_11.Material = Enum.Material.Neon
  1168. part_11.Size = Vector3.new(0.4, 5, 0.4)
  1169. part_11.CFrame = CFrame.new(-93.282, 181.77, -46.392) * CFrame.Angles(0.00021399914112408, -3.1006638891995e-005, -3.0993338441476e-005)
  1170. part_11.BrickColor = BrickColor.new("Light stone grey")
  1171. part_11.Friction = 0.3
  1172. part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1173.  
  1174. local weld_11 = Instance.new("ManualWeld", part_11)
  1175. weld_11.Part1 = grip
  1176. weld_11.Name = "Weld"
  1177. weld_11.C1 = CFrame.new(-0.005, -1, 0) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1178. weld_11.Part0 = part_11
  1179. weld_11.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.00021399999968708, 3.0999992304714e-005, 3.1000010494608e-005)
  1180.  
  1181. local maincore_15 = Instance.new("Part", zen)
  1182. maincore_15.FormFactor = Enum.FormFactor.Custom
  1183. maincore_15.CanCollide = false
  1184. maincore_15.Reflectance = 0.6
  1185. maincore_15.Material = Enum.Material.Neon
  1186. maincore_15.Size = Vector3.new(0.2, 0.2, 0.6)
  1187. maincore_15.Name = "MainCore"
  1188. maincore_15.CFrame = CFrame.new(-93.072, 178.671, -46.383) * CFrame.Angles(-3.1413786411285, 3.1000119633973e-005, -3.0041814170545e-005)
  1189. maincore_15.BrickColor = BrickColor.new("Bright bluish green")
  1190. maincore_15.Friction = 0.3
  1191.  
  1192. local mesh_15 = Instance.new("SpecialMesh", maincore_15)
  1193. mesh_15.Scale = Vector3.new(0.19, 0.722, 0.264)
  1194. mesh_15.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1195. mesh_15.TextureId = "rbxassetid://5808536"
  1196. mesh_15.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1197. mesh_15.MeshType = Enum.MeshType.FileMesh
  1198.  
  1199. local weld_12 = Instance.new("ManualWeld", maincore_15)
  1200. weld_12.Part1 = grip
  1201. weld_12.Name = "Weld"
  1202. weld_12.C1 = CFrame.new(0.205, -4.1, 0.01) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1203. weld_12.Part0 = maincore_15
  1204. weld_12.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.100653339061e-005, -3.003515121236e-005)
  1205.  
  1206. local part_13 = Instance.new("Part", zen)
  1207. part_13.FormFactor = Enum.FormFactor.Custom
  1208. part_13.CanCollide = false
  1209. part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1210. part_13.Material = Enum.Material.Neon
  1211. part_13.Size = Vector3.new(1.11, 0.43, 1.26)
  1212. part_13.CFrame = CFrame.new(-93.287, 178.645, -46.383) * CFrame.Angles(0.00025933136930689, -4.3659179937094e-005, 1.5707423686981)
  1213. part_13.BrickColor = BrickColor.new("Light stone grey")
  1214. part_13.Friction = 0.3
  1215. part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1216.  
  1217. local mesh_17 = Instance.new("CylinderMesh", part_13)
  1218.  
  1219. local weld_13 = Instance.new("ManualWeld", part_13)
  1220. weld_13.Part1 = grip
  1221. weld_13.Name = "Weld"
  1222. weld_13.C1 = CFrame.new(-0.01, -4.125, 0.01) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1223. weld_13.Part0 = part_13
  1224. weld_13.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(4.3645191908581e-005, 0.00025933363940567, -1.5707423686981)
  1225.  
  1226. local part_12 = Instance.new("Part", zen)
  1227. part_12.FormFactor = Enum.FormFactor.Custom
  1228. part_12.CanCollide = false
  1229. part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1230. part_12.Material = Enum.Material.Neon
  1231. part_12.Size = Vector3.new(1.27, 0.4, 1.64)
  1232. part_12.CFrame = CFrame.new(-93.282, 178.635, -46.373) * CFrame.Angles(0.00025933136930689, -4.3659179937094e-005, 1.5707423686981)
  1233. part_12.BrickColor = BrickColor.new("Bright bluish green")
  1234. part_12.Friction = 0.3
  1235. part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1236.  
  1237. local mesh_16 = Instance.new("CylinderMesh", part_12)
  1238.  
  1239. local weld_14 = Instance.new("ManualWeld", part_12)
  1240. weld_14.Part1 = grip
  1241. weld_14.Name = "Weld"
  1242. weld_14.C1 = CFrame.new(-0.005, -4.135, 0.02) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1243. weld_14.Part0 = part_12
  1244. weld_14.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(4.3645191908581e-005, 0.00025933363940567, -1.5707423686981)
  1245.  
  1246. local part = Instance.new("Part", zen)
  1247. part.FormFactor = Enum.FormFactor.Custom
  1248. part.CanCollide = false
  1249. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1250. part.Material = Enum.Material.Neon
  1251. part.Size = Vector3.new(0.4, 2, 0.4)
  1252. part.CFrame = CFrame.new(-93.242, 189.37, -45.371) * CFrame.Angles(2.3564615249634, 3.9876555092633e-005, -1.5840341802686e-005)
  1253. part.BrickColor = BrickColor.new("Light stone grey")
  1254. part.Friction = 0.3
  1255. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1256.  
  1257. local weld_15 = Instance.new("ManualWeld", part)
  1258. weld_15.Part1 = grip
  1259. weld_15.Name = "Weld"
  1260. weld_15.C1 = CFrame.new(0.035, 6.6, 1.02) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1261. weld_15.Part0 = part
  1262. weld_15.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-2.3564615249634, 1.7006688722176e-005, -3.9393224142259e-005)
  1263.  
  1264. local maincore_2 = Instance.new("Part", zen)
  1265. maincore_2.FormFactor = Enum.FormFactor.Custom
  1266. maincore_2.CanCollide = false
  1267. maincore_2.Reflectance = 0.6
  1268. maincore_2.Material = Enum.Material.Neon
  1269. maincore_2.Size = Vector3.new(0.2, 0.2, 0.72)
  1270. maincore_2.Name = "MainCore"
  1271. maincore_2.CFrame = CFrame.new(-93.212, 190.171, -46.351) * CFrame.Angles(-3.1413786411285, 3.1000119633973e-005, -3.0041814170545e-005)
  1272. maincore_2.BrickColor = BrickColor.new("Bright bluish green")
  1273. maincore_2.Friction = 0.3
  1274.  
  1275. local mesh = Instance.new("SpecialMesh", maincore_2)
  1276. mesh.Scale = Vector3.new(0.448, 1.774, 0.664)
  1277. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1278. mesh.TextureId = "rbxassetid://5808536"
  1279. mesh.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1280. mesh.MeshType = Enum.MeshType.FileMesh
  1281.  
  1282. local weld_16 = Instance.new("ManualWeld", maincore_2)
  1283. weld_16.Part1 = grip
  1284. weld_16.Name = "Weld"
  1285. weld_16.C1 = CFrame.new(0.065, 7.401, 0.04) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1286. weld_16.Part0 = maincore_2
  1287. weld_16.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.100653339061e-005, -3.003515121236e-005)
  1288.  
  1289. local maincore_3 = Instance.new("Part", zen)
  1290. maincore_3.FormFactor = Enum.FormFactor.Custom
  1291. maincore_3.CanCollide = false
  1292. maincore_3.Reflectance = 0.6
  1293. maincore_3.Material = Enum.Material.Neon
  1294. maincore_3.Size = Vector3.new(0.2, 0.2, 0.4)
  1295. maincore_3.Name = "MainCore"
  1296. maincore_3.CFrame = CFrame.new(-93.212, 188.67, -45.111) * CFrame.Angles(-1.8324282169342, 6.2179042288335e-006, -4.313464887673e-005)
  1297. maincore_3.BrickColor = BrickColor.new("Bright bluish green")
  1298. maincore_3.Friction = 0.3
  1299.  
  1300. local mesh_2 = Instance.new("SpecialMesh", maincore_3)
  1301. mesh_2.Scale = Vector3.new(0.4, 1.774, 0.45)
  1302. mesh_2.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1303. mesh_2.TextureId = "rbxassetid://5808536"
  1304. mesh_2.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1305. mesh_2.MeshType = Enum.MeshType.FileMesh
  1306.  
  1307. local weld_17 = Instance.new("ManualWeld", maincore_3)
  1308. weld_17.Part1 = grip
  1309. weld_17.Name = "Weld"
  1310. weld_17.C1 = CFrame.new(0.065, 5.9, 1.28) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1311. weld_17.Part0 = maincore_3
  1312. weld_17.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.8324282169342, 4.3275031202938e-005, -5.1507608986867e-006)
  1313.  
  1314. local part_2 = Instance.new("Part", zen)
  1315. part_2.FormFactor = Enum.FormFactor.Custom
  1316. part_2.CanCollide = false
  1317. part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. part_2.Material = Enum.Material.Neon
  1319. part_2.Size = Vector3.new(0.4, 2, 0.4)
  1320. part_2.CFrame = CFrame.new(-93.242, 187.771, -47.771) * CFrame.Angles(2.880030632019, 3.4582724765642e-005, -2.5689705580589e-005)
  1321. part_2.BrickColor = BrickColor.new("Light stone grey")
  1322. part_2.Friction = 0.3
  1323. part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1324.  
  1325. local weld_18 = Instance.new("ManualWeld", part_2)
  1326. weld_18.Part1 = grip
  1327. weld_18.Name = "Weld"
  1328. weld_18.C1 = CFrame.new(0.035, 5.001, -1.38) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1329. weld_18.Part0 = part_2
  1330. weld_18.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-2.880030632019, 2.676337135199e-005, -3.3758635254344e-005)
  1331.  
  1332. local part_3 = Instance.new("Part", zen)
  1333. part_3.FormFactor = Enum.FormFactor.Custom
  1334. part_3.CanCollide = false
  1335. part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1336. part_3.Material = Enum.Material.Neon
  1337. part_3.Size = Vector3.new(0.4, 2, 0.4)
  1338. part_3.CFrame = CFrame.new(-93.242, 189.371, -47.37) * CFrame.Angles(-2.3560318946838, 1.7195608961629e-005, -3.9879607356852e-005)
  1339. part_3.BrickColor = BrickColor.new("Light stone grey")
  1340. part_3.Friction = 0.3
  1341. part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1342.  
  1343. local weld_19 = Instance.new("ManualWeld", part_3)
  1344. weld_19.Part1 = grip
  1345. weld_19.Name = "Weld"
  1346. weld_19.C1 = CFrame.new(0.035, 6.6, -0.98) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1347. weld_19.Part0 = part_3
  1348. weld_19.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(2.3560318946838, 4.03608828492e-005, -1.6033423889894e-005)
  1349.  
  1350. local maincore_4 = Instance.new("Part", zen)
  1351. maincore_4.FormFactor = Enum.FormFactor.Custom
  1352. maincore_4.CanCollide = false
  1353. maincore_4.Reflectance = 0.6
  1354. maincore_4.Material = Enum.Material.Neon
  1355. maincore_4.Size = Vector3.new(0.2, 0.2, 0.4)
  1356. maincore_4.Name = "MainCore"
  1357. maincore_4.CFrame = CFrame.new(-93.212, 188.671, -47.711) * CFrame.Angles(-1.3088328838348, -5.300061275193e-006, -4.3381543946452e-005)
  1358. maincore_4.BrickColor = BrickColor.new("Bright bluish green")
  1359. maincore_4.Friction = 0.3
  1360.  
  1361. local mesh_3 = Instance.new("SpecialMesh", maincore_4)
  1362. mesh_3.Scale = Vector3.new(0.4, 1.774, 0.45)
  1363. mesh_3.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1364. mesh_3.TextureId = "rbxassetid://5808536"
  1365. mesh_3.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1366. mesh_3.MeshType = Enum.MeshType.FileMesh
  1367.  
  1368. local weld_20 = Instance.new("ManualWeld", maincore_4)
  1369. weld_20.Part1 = grip
  1370. weld_20.Name = "Weld"
  1371. weld_20.C1 = CFrame.new(0.065, 5.9, -1.321) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1372. weld_20.Part0 = maincore_4
  1373. weld_20.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.3088328838348, 4.3274096242385e-005, 6.1156251831562e-006)
  1374.  
  1375. local maincore_5 = Instance.new("Part", zen)
  1376. maincore_5.FormFactor = Enum.FormFactor.Custom
  1377. maincore_5.CanCollide = false
  1378. maincore_5.Reflectance = 0.6
  1379. maincore_5.Material = Enum.Material.Neon
  1380. maincore_5.Size = Vector3.new(0.2, 0.2, 0.6)
  1381. maincore_5.Name = "MainCore"
  1382. maincore_5.CFrame = CFrame.new(-93.212, 186.681, -46.371) * CFrame.Angles(-3.1413786411285, 3.1000119633973e-005, -3.0041814170545e-005)
  1383. maincore_5.BrickColor = BrickColor.new("Bright bluish green")
  1384. maincore_5.Friction = 0.3
  1385.  
  1386. local mesh_4 = Instance.new("SpecialMesh", maincore_5)
  1387. mesh_4.Scale = Vector3.new(0.4, 0.486, 0.264)
  1388. mesh_4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1389. mesh_4.TextureId = "rbxassetid://5808536"
  1390. mesh_4.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1391. mesh_4.MeshType = Enum.MeshType.FileMesh
  1392.  
  1393. local weld_21 = Instance.new("ManualWeld", maincore_5)
  1394. weld_21.Part1 = grip
  1395. weld_21.Name = "Weld"
  1396. weld_21.C1 = CFrame.new(0.065, 3.91, 0.02) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1397. weld_21.Part0 = maincore_5
  1398. weld_21.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(3.1413786411285, 3.100653339061e-005, -3.003515121236e-005)
  1399.  
  1400. local part_4 = Instance.new("Part", zen)
  1401. part_4.FormFactor = Enum.FormFactor.Custom
  1402. part_4.CanCollide = false
  1403. part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1404. part_4.Material = Enum.Material.Neon
  1405. part_4.Size = Vector3.new(0.4, 2, 0.4)
  1406. part_4.CFrame = CFrame.new(-93.242, 186.471, -45.972) * CFrame.Angles(2.6182346343994, 3.7555360904662e-005, -2.0926678189426e-005)
  1407. part_4.BrickColor = BrickColor.new("Light stone grey")
  1408. part_4.Friction = 0.3
  1409. part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1410.  
  1411. local weld_22 = Instance.new("ManualWeld", part_4)
  1412. weld_22.Part1 = grip
  1413. weld_22.Name = "Weld"
  1414. weld_22.C1 = CFrame.new(0.035, 3.7, 0.419) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1415. weld_22.Part0 = part_4
  1416. weld_22.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-2.6182346343994, 2.2069436454331e-005, -3.6895373341395e-005)
  1417.  
  1418. local part_5 = Instance.new("Part", zen)
  1419. part_5.FormFactor = Enum.FormFactor.Custom
  1420. part_5.CanCollide = false
  1421. part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1422. part_5.Material = Enum.Material.Neon
  1423. part_5.Size = Vector3.new(0.4, 2, 0.4)
  1424. part_5.CFrame = CFrame.new(-93.242, 186.47, -46.771) * CFrame.Angles(-2.6178369522095, 2.2236754375626e-005, -3.7206133129075e-005)
  1425. part_5.BrickColor = BrickColor.new("Light stone grey")
  1426. part_5.Friction = 0.3
  1427. part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1428.  
  1429. local weld_23 = Instance.new("ManualWeld", part_5)
  1430. weld_23.Part1 = grip
  1431. weld_23.Name = "Weld"
  1432. weld_23.C1 = CFrame.new(0.035, 3.7, -0.38) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1433. weld_23.Part0 = part_5
  1434. weld_23.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(2.6178369522095, 3.7863967008889e-005, -2.1097104763612e-005)
  1435.  
  1436. local part_6 = Instance.new("Part", zen)
  1437. part_6.FormFactor = Enum.FormFactor.Custom
  1438. part_6.CanCollide = false
  1439. part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1440. part_6.Material = Enum.Material.Neon
  1441. part_6.Size = Vector3.new(0.4, 2, 0.4)
  1442. part_6.CFrame = CFrame.new(-93.242, 187.77, -44.972) * CFrame.Angles(-2.8795969486237, 2.6863865059568e-005, -3.3906086173374e-005)
  1443. part_6.BrickColor = BrickColor.new("Light stone grey")
  1444. part_6.Friction = 0.3
  1445. part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1446.  
  1447. local weld_24 = Instance.new("ManualWeld", part_6)
  1448. weld_24.Part1 = grip
  1449. weld_24.Name = "Weld"
  1450. weld_24.C1 = CFrame.new(0.035, 5, 1.419) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1451. weld_24.Part0 = part_6
  1452. weld_24.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(2.8795969486237, 3.4729095204966e-005, -2.5791048756219e-005)
  1453.  
  1454. local part_7 = Instance.new("Part", zen)
  1455. part_7.FormFactor = Enum.FormFactor.Custom
  1456. part_7.CanCollide = false
  1457. part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1458. part_7.Material = Enum.Material.Neon
  1459. part_7.Size = Vector3.new(0.4, 2, 0.4)
  1460. part_7.CFrame = CFrame.new(-93.242, 186.27, -44.571) * CFrame.Angles(-0.78519427776337, -1.652482933423e-005, -4.0553695725976e-005)
  1461. part_7.BrickColor = BrickColor.new("Light stone grey")
  1462. part_7.Friction = 0.3
  1463. part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1464.  
  1465. local weld_25 = Instance.new("ManualWeld", part_7)
  1466. weld_25.Part1 = grip
  1467. weld_25.Name = "Weld"
  1468. weld_25.C1 = CFrame.new(0.035, 3.5, 1.82) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1469. weld_25.Part0 = part_7
  1470. weld_25.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0.78519433736801, 4.0357146644965e-005, 1.6999229046633e-005)
  1471.  
  1472. local maincore_7 = Instance.new("Part", zen)
  1473. maincore_7.FormFactor = Enum.FormFactor.Custom
  1474. maincore_7.CanCollide = false
  1475. maincore_7.Reflectance = 0.6
  1476. maincore_7.Material = Enum.Material.Neon
  1477. maincore_7.Size = Vector3.new(0.2, 0.2, 0.4)
  1478. maincore_7.Name = "MainCore"
  1479. maincore_7.CFrame = CFrame.new(-93.212, 185.671, -46.912) * CFrame.Angles(-1.5706560611725, 4.7674936354269e-007, -4.3644846300595e-005)
  1480. maincore_7.BrickColor = BrickColor.new("Bright bluish green")
  1481. maincore_7.Friction = 0.3
  1482.  
  1483. local mesh_6 = Instance.new("SpecialMesh", maincore_7)
  1484. mesh_6.Scale = Vector3.new(0.4, 0.486, 0.264)
  1485. mesh_6.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1486. mesh_6.TextureId = "rbxassetid://5808536"
  1487. mesh_6.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1488. mesh_6.MeshType = Enum.MeshType.FileMesh
  1489.  
  1490. local weld_26 = Instance.new("ManualWeld", maincore_7)
  1491. weld_26.Part1 = grip
  1492. weld_26.Name = "Weld"
  1493. weld_26.C1 = CFrame.new(0.065, 2.901, -0.52) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1494. weld_26.Part0 = maincore_7
  1495. weld_26.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5706560611725, 4.3644766265061e-005, 4.8289967935489e-007)
  1496.  
  1497. local part_8 = Instance.new("Part", zen)
  1498. part_8.FormFactor = Enum.FormFactor.Custom
  1499. part_8.CanCollide = false
  1500. part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1501. part_8.Material = Enum.Material.Neon
  1502. part_8.Size = Vector3.new(0.4, 2, 0.4)
  1503. part_8.CFrame = CFrame.new(-93.242, 186.271, -48.172) * CFrame.Angles(-2.3560318946838, 1.7195608961629e-005, -3.9879607356852e-005)
  1504. part_8.BrickColor = BrickColor.new("Light stone grey")
  1505. part_8.Friction = 0.3
  1506. part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1507.  
  1508. local weld_27 = Instance.new("ManualWeld", part_8)
  1509. weld_27.Part1 = grip
  1510. weld_27.Name = "Weld"
  1511. weld_27.C1 = CFrame.new(0.035, 3.5, -1.78) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1512. weld_27.Part0 = part_8
  1513. weld_27.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(2.3560318946838, 4.03608828492e-005, -1.6033423889894e-005)
  1514.  
  1515. local maincore_6 = Instance.new("Part", zen)
  1516. maincore_6.FormFactor = Enum.FormFactor.Custom
  1517. maincore_6.CanCollide = false
  1518. maincore_6.Reflectance = 0.6
  1519. maincore_6.Material = Enum.Material.Neon
  1520. maincore_6.Size = Vector3.new(0.2, 0.2, 0.4)
  1521. maincore_6.Name = "MainCore"
  1522. maincore_6.CFrame = CFrame.new(-93.212, 185.671, -45.912) * CFrame.Angles(-1.5706560611725, 4.7674936354269e-007, -4.3644846300595e-005)
  1523. maincore_6.BrickColor = BrickColor.new("Bright bluish green")
  1524. maincore_6.Friction = 0.3
  1525.  
  1526. local mesh_5 = Instance.new("SpecialMesh", maincore_6)
  1527. mesh_5.Scale = Vector3.new(0.4, 0.486, 0.264)
  1528. mesh_5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1529. mesh_5.TextureId = "rbxassetid://5808536"
  1530. mesh_5.VertexColor = Vector3.new(0.1, 0.6, 0.5)
  1531. mesh_5.MeshType = Enum.MeshType.FileMesh
  1532.  
  1533. local weld_28 = Instance.new("ManualWeld", maincore_6)
  1534. weld_28.Part1 = grip
  1535. weld_28.Name = "Weld"
  1536. weld_28.C1 = CFrame.new(0.065, 2.901, 0.479) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1537. weld_28.Part0 = maincore_6
  1538. weld_28.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5706560611725, 4.3644766265061e-005, 4.8289967935489e-007)
  1539.  
  1540. local hbx = Instance.new("Part", zen)
  1541. hbx.FormFactor = Enum.FormFactor.Custom
  1542. hbx.CanCollide = false
  1543. hbx.Transparency = 1
  1544. hbx.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1545. hbx.Material = Enum.Material.Neon
  1546. hbx.Size = Vector3.new(0.4, 4.1, 6.5)
  1547. hbx.Name = "hbx"
  1548. hbx.CFrame = CFrame.new(-93.242, 187.386, -46.38) * CFrame.Angles(1.5710632801056, 3.9004538848531e-005, 1.6989586583804e-005)
  1549. hbx.BrickColor = BrickColor.new("Light stone grey")
  1550. hbx.Friction = 0.3
  1551. hbx.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1552.  
  1553. local weld_29 = Instance.new("ManualWeld", hbx)
  1554. weld_29.Part1 = grip
  1555. weld_29.Name = "Weld"
  1556. weld_29.C1 = CFrame.new(0.035, 4.616, 0.01) * CFrame.Angles(-0.00021399348042905, 3.0999068258097e-005, 3.0999075534055e-005)
  1557. weld_29.Part0 = hbx
  1558. weld_29.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5710632801056, 1.700000029814e-005, -3.8999998650979e-005)
  1559.  
  1560. zen.Parent = char
  1561. zen:MakeJoints()
  1562. print("Zen loaded.")
  1563.  
  1564. gripweld = Instance.new("Weld", char.Zen)
  1565. gripweld.Part0 = RightArm
  1566. gripweld.Part1 = grip
  1567. gripweld.C0 = CFrame.new(0, -1.1, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1568.  
  1569. local function weldBetween(a, b, name)
  1570. local weld = Instance.new("ManualWeld")
  1571. weld.Part0 = a
  1572. weld.Part1 = b
  1573. weld.C0 = CFrame.new()
  1574. weld.C1 = b.CFrame:inverse() * a.CFrame
  1575. weld.Parent = a
  1576. weld.Name=name or 'weldb1'
  1577. weld.Parent=m
  1578. return weld;
  1579. end
  1580.  
  1581. Asset = "http://www.roblox.com/asset/?id="
  1582. local mhitsounds = {199149137,199149186,199149221,199149235,199149269,199149297}
  1583. local magicshots = {263609809,263609836,263609864,263609874,263609898}
  1584. local ptches = {0.9, 0.95, 1, 1.05}
  1585.  
  1586. rings=Instance.new('Model',Character)
  1587.  
  1588. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  1589. local rng = Instance.new("Part", rings)
  1590. rng.Anchored = true
  1591. rng.BrickColor = BrickColor.new("Bright blue")
  1592. rng.CanCollide = false
  1593. rng.FormFactor = 3
  1594. rng.Name = "Ring"
  1595. rng.Size = Vector3.new(1, 1, 1)
  1596. rng.Transparency = .5
  1597. rng.TopSurface = 0
  1598. rng.BottomSurface = 0
  1599. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  1600. local rngm = Instance.new("SpecialMesh", rng)
  1601. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1602. rngm.Scale = vector--10,10,1
  1603. for i = 1, 20, 1 do
  1604. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  1605. rng.Transparency = i/20
  1606. swait()
  1607. end
  1608. wait()
  1609. rng:destroy''
  1610. end
  1611.  
  1612. player=game.Players.localPlayer
  1613. char=player.Character
  1614. Effects={}
  1615. vt=Vector3.new
  1616. cf=CFrame.new
  1617. euler=CFrame.fromEulerAnglesXYZ
  1618. m=Instance.new("Model",char)
  1619.  
  1620. function atktype(s, e)
  1621. coroutine.resume(coroutine.create(function()
  1622. attacktype = e
  1623. swait(80)
  1624. attacktype = s
  1625. end))
  1626. end
  1627.  
  1628. mouse.Button1Down:connect(function()
  1629. if equipped==true and hand==false then
  1630. if attacktype==1 then
  1631. attackone()
  1632. elseif attacktype==2 then
  1633. attacktwo()
  1634. elseif attacktype==3 then
  1635. attackthree()
  1636. end
  1637. end
  1638. end)
  1639.  
  1640. mouse.KeyDown:connect(function(k)
  1641. k=k:lower()
  1642. if k=="z" and attack == false then
  1643. MegatonSmash()
  1644. elseif k=="x" and attack == false then
  1645. GravityWell()
  1646. end
  1647. end)
  1648.  
  1649. function attackone()
  1650. if attack==false and attacktype==1 then
  1651. attacktype=2
  1652. attack=true
  1653.  
  1654. for i=0,1,0.1 do
  1655. swait()
  1656. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.3)
  1657. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(-0.2,0,-.5),.3)
  1658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.3)
  1659. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1660. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(-30,-25,0)*euler(0,-.2,0),.3)
  1661. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  1662. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(-0.2,.5,0),.3)
  1663. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(-0.2,.5,0),.3)
  1664. gripweld.C0=clerp(gripweld.C0,cf(0,-1.1,-3)*angles(math.rad(-90),math.rad(0),math.rad(20)),.2)
  1665. end
  1666. so("http://www.roblox.com/asset/?id=320557563",hbx,1,.8)
  1667. --so(Asset..magicshots[math.random(1,#magicshots)],hbx,1,ptches[math.random(1,#ptches)])
  1668. con1=hbx.Touched:connect(function(hit) Damagefunc(hbx, hit, 10, 30, math.random(1, 5), "Normal", RootPart, .1, Asset..mhitsounds[math.random(1,#mhitsounds)], 1) end)
  1669. for i=0,1,0.2 do
  1670. swait()
  1671. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1672. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1673. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(0,0,0)*euler(0,0,0),.3)
  1674. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1675. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1676. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1677. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1678. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1679. --gripweld.C0 = CFrame.new(0, -1.1, -5) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1680. gripweld.C0=clerp(gripweld.C0,cf(0,-1.1,-5)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
  1681. end
  1682. for i=0,1,0.1 do
  1683. swait()
  1684. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1685. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1686. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.3)
  1687. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1688. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1689. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1690. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1691. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1692. gripweld.C0=clerp(gripweld.C0,cf(0,-1.1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
  1693. end
  1694. con1:disconnect()
  1695. attack=false
  1696. atktype(1, 2)
  1697. end
  1698. end
  1699.  
  1700. function attacktwo()
  1701. if attack==false and attacktype==2 then
  1702. attacktype=3
  1703. attack=true
  1704. for i=0,1,0.75 do
  1705. swait()
  1706. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.3)
  1707. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1708. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.3)
  1709. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1710. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.3)
  1711. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1712. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1713. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1714. gripweld.C0 = CFrame.new(0, -1.1, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1715. end
  1716. for i=0,1,0.1 do
  1717. swait()
  1718. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.7)*euler(.2,0,0),.3)
  1719. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.7),.3)
  1720. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.3)
  1721. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1722. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.3)
  1723. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1724. RH.C0=clerp(RH.C0,cf(.8,-1,.2)*euler(0,1.57,0)*euler(0,-.7,0),.3)
  1725. LH.C0=clerp(LH.C0,cf(-.8,-1,.2)*euler(0,-1.57,0)*euler(0,-.7,0),.3)
  1726. end
  1727. so("http://www.roblox.com/asset/?id=203691492",hbx,1,1)
  1728. --so("http://www.roblox.com/asset/?id=200633077",hbx,1,1)
  1729. --so(Asset..magicshots[math.random(1,#magicshots)],hbx,1,ptches[math.random(1,#ptches)])
  1730. con1=hbx.Touched:connect(function(hit) Damagefunc(hbx, hit, 10, 30, math.random(1, 5), "Normal", RootPart, .1, Asset..mhitsounds[math.random(1,#mhitsounds)], 1) end)
  1731. for i=0,1,0.2 do
  1732. swait()
  1733. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.3)
  1734. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.3)
  1736. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1737. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.3)
  1738. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1739. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1740. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1741. gripweld.C0 = CFrame.new(0, -1.1, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1742. end
  1743. for i=0,1,0.1 do
  1744. swait()
  1745. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(.1,0,0),.3)
  1746. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1747. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.3)
  1748. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1749. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.3)
  1750. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1751. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1752. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1753. gripweld.C0 = CFrame.new(0, -1.1, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1754. end
  1755. attack=false
  1756. atktype(1, 3)
  1757. con1:disconnect()
  1758. end
  1759. end
  1760.  
  1761.  
  1762. function attackthree()
  1763. if attack==false and attacktype==3 then
  1764. attacktype=1
  1765. attack=true
  1766. for i=0,1,0.1 do
  1767. swait()
  1768. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.3)
  1769. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1770. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.3)
  1771. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1772. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.3)
  1773. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  1774. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1775. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1776. end
  1777.  
  1778. so("http://www.roblox.com/asset/?id=320557563",hbx,1,.7)
  1779. for i=0,1,0.2 do
  1780. swait()
  1781. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1782. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1783. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(0,0,0)*euler(0,0,0),.3)
  1784. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1785. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1786. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1787. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1788. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1789. gripweld.C0 = CFrame.new(0, -1.1, -1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1790. end
  1791. so("http://www.roblox.com/asset/?id=231917788",hbx,1,1.4)
  1792. MagniDamage(hbx,hbx,5,10,25,0,"Normal")
  1793. attack=false
  1794. atktype(1, 1)
  1795. end
  1796. end
  1797. --
  1798. function addvel(x,y,z,lv,dur) -- Format: (x, y, z, lookvector velocity..optional, duration)
  1799. coroutine.resume(coroutine.create(function()
  1800. local BV = Instance.new("BodyVelocity", RootPart)
  1801. BV.maxForce = Vector3.new(200000,200000,200000)
  1802. BV.P = 100000
  1803. if lv then
  1804. BV.velocity = RootPart.CFrame.lookVector*lv+Vector3.new(x,y,z)
  1805. else
  1806. BV.velocity = Vector3.new(x,y,z)
  1807. end
  1808. wait(dur)
  1809. BV:Remove()
  1810. end))
  1811. end
  1812. --C
  1813.  
  1814. function MegatonSmash()
  1815. attack=true
  1816. Humanoid.JumpPower=0
  1817. Humanoid.WalkSpeed=9
  1818. for i=0,1,0.075 do
  1819. swait()
  1820. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1821. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1822. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 + 2.5*math.cos(40)),math.rad(10),math.rad(60)),.3)
  1823. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-0.8)*angles(math.rad(5 + 2.5*math.cos(90)),math.rad(50),math.rad(80)),.3)
  1824. RH.C0=clerp(RH.C0,cf(1,-0.9,-0.5)*euler(0,1,0)*euler(0,.5,0.1),.3)
  1825. LH.C0=clerp(LH.C0,cf(-1,-1,-0.1)*euler(0,-1,0)*euler(0,-.5,0.3),.3)
  1826. gripweld.C0=clerp(gripweld.C0,cf(0,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-105)),.3)
  1827. end
  1828. Humanoid.WalkSpeed = 0
  1829. addvel(0,100,0,40,0.2)
  1830. so("http://roblox.com/asset/?id=320557563", Torso, 1, 0.7)
  1831. so("http://roblox.com/asset/?id=203691492", Torso, 1, 1)
  1832. for i=0,1,0.075 do
  1833. swait()
  1834. Neck.C0=clerp(Neck.C0,necko*euler(-0.3,0,0),.3)
  1835. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0-360*(-i))), .3)
  1836. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 + 2.5*math.cos(40)),math.rad(10),math.rad(60)),.3)
  1837. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-0.8)*angles(math.rad(5 + 2.5*math.cos(90)),math.rad(50),math.rad(80)),.3)
  1838. RH.C0=clerp(RH.C0,cf(1,-0.9,-1)*euler(0,1,0)*euler(0,.5,-0.5),.3)
  1839. LH.C0=clerp(LH.C0,cf(-1,-1,-0.1)*euler(0,-1,0)*euler(0,-.5,0.3),.3)
  1840. gripweld.C0=clerp(gripweld.C0,cf(1,2,-0.5)*angles(math.rad(10),math.rad(20),math.rad(-10)),.3)
  1841. end
  1842. con1=hbx.Touched:connect(function(hit)
  1843. Damagefunc(hbx, hit, 10, 30, math.random(1, 5), "Normal", RootPart, .1, Asset..mhitsounds[math.random(1,#mhitsounds)], 1)
  1844. end)
  1845. for i=0,1,0.075 do
  1846. swait()
  1847. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1848. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1849. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0,0,0)*euler(-90,0,0),.3)
  1850. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1851. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-1,0,0)*euler(0,0,0),.3)
  1852. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1853. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(-1,1,0)*euler(0,.5,0),.3)
  1854. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-1,-1,0)*euler(0,-.5,0),.3)
  1855. gripweld.C0=clerp(gripweld.C0,cf(0,-2,-1)*angles(math.rad(-130),math.rad(0),math.rad(0)),.3)
  1856. end
  1857. if hitfloor==nil then
  1858. so("http://roblox.com/asset/?id=234365549",hbx,1,0.6)
  1859. addvel(0,-150,0,40,0.2)
  1860. while hitfloor == nil do
  1861. for i=0,1,0.075 do
  1862. --swait()
  1863. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1864. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.5,0,0),.3)
  1865. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(90,0,-7),.3)
  1866. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1867. LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0.5)*euler(90,0,-5.5),.3)
  1868. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1869. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(1.5,1,0)*euler(0,.5,0),.3)
  1870. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(1.5,-1,0)*euler(0,-.5,0),.3)
  1871. gripweld.C0=clerp(gripweld.C0,cf(2.3,-4.5,0)*angles(math.rad(-180),math.rad(0),math.rad(-40)),.3)
  1872. swait()
  1873. end
  1874. end
  1875. hit,pos=rayCast(RightLeg.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1876. if hit~=nil then
  1877. print("Land")
  1878. so("http://roblox.com/asset/?id=157878578",hbx,.6,1.5)
  1879. MagniDamage(hbx,hbx,15,30,80,0,"Plat")
  1880. MagicCircle(BrickColor.new("Institutional white"),hbx.CFrame*CFrame.new(0,-3,0),2,0.5,2,4,0.5,4,0.05)
  1881. BlastEffect(BrickColor.new("Bright bluish green"),hbx.CFrame*CFrame.new(0,-3,0),.2,.2,.2,1,1,1)
  1882. end
  1883. Humanoid.WalkSpeed = 12
  1884. Humanoid.JumpPower=50
  1885. else
  1886. end
  1887. attack=false
  1888. con1:disconnect()
  1889. end
  1890. --Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1891. --function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1892. function GravityWell()
  1893. attack=true
  1894. so("rbxassetid://506850625",hbx,.6,1.5)
  1895. Humanoid.JumpPower=0
  1896. Humanoid.WalkSpeed=0
  1897. local gravitating = true
  1898.  
  1899. coroutine.resume(coroutine.create(function()
  1900. SpellCircle(BrickColor.new("Institutional white"),cf(Torso.CFrame.x,Torso.CFrame.y,Torso.CFrame.z)*CFrame.new(0,-2.8,0),2,0.05,2,1,0.005,1,0.005,5)
  1901. MagicCircle(BrickColor.new("Institutional white"),cf(Torso.CFrame.x,Torso.CFrame.y,Torso.CFrame.z)*CFrame.new(0,-2.7,0),3,0.1,3,2,0.01,2,0.008,5)
  1902. wait(0.8)
  1903. local PortalSnd = it("Sound",Torso)
  1904. PortalSnd.Volume = 0
  1905. PortalSnd.SoundId = "rbxassetid://506851033"
  1906. PortalSnd.Looped = true
  1907. wait()
  1908. PortalSnd:play()
  1909. for i = 0,1,0.1 do
  1910. wait(0.05)
  1911. PortalSnd.Volume = i
  1912. end
  1913. wait(3)
  1914. so("rbxassetid://506851188",hbx,.6,1.5)
  1915. MagicCircle(BrickColor.new("Institutional white"),cf(Torso.CFrame.x,Torso.CFrame.y,Torso.CFrame.z)*CFrame.new(0,-2,0),200,0.1,200,-2,-0.01,-2,0.008,5)
  1916. MagicCircle(BrickColor.new("Institutional white"),cf(Torso.CFrame.x,Torso.CFrame.y,Torso.CFrame.z)*CFrame.new(0,-2.1,0),300,0.1,300,-2,-0.01,-2,0.008,5)
  1917. wait(0.4)
  1918. MagicCircle(BrickColor.new("Institutional white"),cf(Torso.CFrame.x,Torso.CFrame.y,Torso.CFrame.z)*CFrame.new(0,-1.8,0),400,0.1,400,-3,-0.01,-3,0.01,5)
  1919. for i = 1,0,-0.1 do
  1920. wait(0.05)
  1921. PortalSnd.Volume = i
  1922. end
  1923. PortalSnd:remove()
  1924. gravitating = false
  1925. end))
  1926.  
  1927. while gravitating == true do
  1928.  
  1929. for i=0,1,0.075 do
  1930. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0),.3)
  1931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*euler(0.5,0,0),.3)
  1932. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(90,0,-7),.3)
  1933. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1934. LW.C0=clerp(LW.C0,cf(-1.5,0.5,-0.5)*euler(90,0,-5.5),.3)
  1935. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1936. RH.C0=clerp(RH.C0,cf(1,-1,0.5)*euler(-1,1,0),.3)
  1937. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(1,-1,0),.3)
  1938. gripweld.C0=clerp(gripweld.C0,cf(0,-1.5,0.5)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1939. swait()
  1940. end
  1941. end
  1942.  
  1943. --SpellCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,lifetime)
  1944. --function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, lifetime)
  1945.  
  1946.  
  1947. Humanoid.JumpPower=50
  1948. Humanoid.WalkSpeed=12
  1949. attack=false
  1950. end
  1951.  
  1952. local function CFrameFromTopBack(at, top, back)
  1953. local right = top:Cross(back)
  1954. return CFrame.new(at.x, at.y, at.z,
  1955. right.x, top.x, back.x,
  1956. right.y, top.y, back.y,
  1957. right.z, top.z, back.z)
  1958. end
  1959.  
  1960. function Triangle(a, b, c)
  1961. local edg1 = (c-a):Dot((b-a).unit)
  1962. local edg2 = (a-b):Dot((c-b).unit)
  1963. local edg3 = (b-c):Dot((a-c).unit)
  1964. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1965. a, b, c = a, b, c
  1966. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1967. a, b, c = b, c, a
  1968. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1969. a, b, c = c, a, b
  1970. else
  1971. assert(false, "unreachable")
  1972. end
  1973.  
  1974. local len1 = (c-a):Dot((b-a).unit)
  1975. local len2 = (b-a).magnitude - len1
  1976. local width = (a + (b-a).unit*len1 - c).magnitude
  1977.  
  1978. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1979.  
  1980. local list = {}
  1981.  
  1982. if len1 > 0.01 then
  1983. local w1 = Instance.new('WedgePart', m)
  1984. game:GetService("Debris"):AddItem(w1,5)
  1985. w1.Material = "SmoothPlastic"
  1986. w1.FormFactor = 'Custom'
  1987. w1.BrickColor = TorsoColor
  1988. w1.Transparency = 0
  1989. w1.Reflectance = 0
  1990. w1.Material = "SmoothPlastic"
  1991. w1.CanCollide = false
  1992. NoOutline(w1)
  1993. local sz = Vector3.new(0.2, width, len1)
  1994. w1.Size = sz
  1995. local sp = Instance.new("SpecialMesh",w1)
  1996. sp.MeshType = "Wedge"
  1997. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1998. w1:BreakJoints()
  1999. w1.Anchored = true
  2000. w1.Parent = workspace
  2001. w1.Transparency = 0.7
  2002. table.insert(Effects,{w1,"Disappear",.01})
  2003. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2004. table.insert(list,w1)
  2005. end
  2006.  
  2007. if len2 > 0.01 then
  2008. local w2 = Instance.new('WedgePart', m)
  2009. game:GetService("Debris"):AddItem(w2,5)
  2010. w2.Material = "SmoothPlastic"
  2011. w2.FormFactor = 'Custom'
  2012. w2.BrickColor = TorsoColor
  2013. w2.Transparency = 0
  2014. w2.Reflectance = 0
  2015. w2.Material = "SmoothPlastic"
  2016. w2.CanCollide = false
  2017. NoOutline(w2)
  2018. local sz = Vector3.new(0.2, width, len2)
  2019. w2.Size = sz
  2020. local sp = Instance.new("SpecialMesh",w2)
  2021. sp.MeshType = "Wedge"
  2022. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2023. w2:BreakJoints()
  2024. w2.Anchored = true
  2025. w2.Parent = workspace
  2026. w2.Transparency = 0.7
  2027. table.insert(Effects,{w2,"Disappear",.01})
  2028. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2029. table.insert(list,w2)
  2030. end
  2031. return unpack(list)
  2032. end
  2033.  
  2034. function NoOutline(Part)
  2035. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2036. end
  2037.  
  2038. local sine = 0
  2039. local change = 1
  2040. local val = 0
  2041.  
  2042. if #Effects>0 then
  2043. --table.insert(Effects,{prt,"Block1",delay})
  2044. for e=1,#Effects do
  2045. if Effects[e]~=nil then
  2046. --for j=1,#Effects[e] do
  2047. local Thing=Effects[e]
  2048. if Thing~=nil then
  2049. local Part=Thing[1]
  2050. local Mode=Thing[2]
  2051. local Delay=Thing[3]
  2052. local IncX=Thing[4]
  2053. local IncY=Thing[5]
  2054. local IncZ=Thing[6]
  2055. if Thing[1].Transparency<=1 then
  2056. if Thing[2]=="Block1" then
  2057. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2058. Mesh=Thing[1].Mesh
  2059. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2060. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2061. elseif Thing[2]=="Cylinder" then
  2062. Mesh=Thing[1].Mesh
  2063. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2064. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2065. elseif Thing[2]=="Blood" then
  2066. Mesh=Thing[1].Mesh
  2067. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2068. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2069. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2070. elseif Thing[2]=="Elec" then
  2071. Mesh=Thing[1].Mesh
  2072. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2073. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2074. elseif Thing[2]=="Disappear" then
  2075. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2076. end
  2077. else
  2078. Part.Parent=nil
  2079. table.remove(Effects,e)
  2080. end
  2081. end
  2082. --end
  2083. end
  2084. end
  2085. end
  2086.  
  2087. local mananum=0
  2088. while true do
  2089. swait()
  2090. sine = sine + change
  2091. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2092. local velderp=RootPart.Velocity.y
  2093. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2094. if equipped==true or equipped==false then
  2095. if attack==false then
  2096. idle=idle+1
  2097. else
  2098. idle=0
  2099. end
  2100. if idle>=500 then
  2101. if attack==false then
  2102. --Sheath()
  2103. end
  2104. end
  2105. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2106. Anim="Jump"
  2107. if attack==false then
  2108. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2109. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2110. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2111. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 + 2.5*math.cos(sine/40)),math.rad(-10),math.rad(60)),.3)
  2112. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2114. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2115. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  2116. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  2117. gripweld.C0=clerp(gripweld.C0,cf(0,1,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2118. end
  2119. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2120. Anim="Fall"
  2121. if attack==false then
  2122. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2123. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2124. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2125. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 + 2.5*math.cos(sine/40)),math.rad(-10),math.rad(60)),.3)
  2126. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2127. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2128. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2129. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  2130. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  2131. gripweld.C0=clerp(gripweld.C0,cf(0,1,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2132. end
  2133. elseif torvel<1 and hitfloor~=nil then
  2134. Anim="Idle"
  2135. if attack==false then
  2136. Humanoid.WalkSpeed = 12
  2137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.25)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2138. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6+2.5*math.cos(sine/40)),math.rad(5+2.5*math.cos(sine/40)),math.rad(30)),.3)
  2139. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 + 2.5*math.cos(sine/40)),math.rad(-10),math.rad(60)),.3)
  2140. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5 + 2.5*math.cos(sine/40)),math.rad(0),math.rad(0)),.3)
  2141. RH.C0 = clerp(RH.C0, cf(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)
  2142. LH.C0 = clerp(LH.C0, cf(-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)
  2143. gripweld.C0=clerp(gripweld.C0,cf(0,1,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2144. end
  2145. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2146. Anim="Walk"
  2147. if attack==false then
  2148. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.05 + .1 * math.cos(sine / 5)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 10))), .2)
  2149. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  2150. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(80 * math.cos(1/2)),math.rad(-10),math.rad(60)),.3)
  2151. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 13)), math.rad(0), math.rad(4 * math.cos(sine / 13))), .2)
  2152. RH.C0 = clerp(RH.C0, cf(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2153. LH.C0 = clerp(LH.C0, cf(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2154. gripweld.C0=clerp(gripweld.C0,cf(0,1,-0.5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2155. end
  2156. end
  2157. end
  2158. end
  2159.  
  2160.  
  2161. --[[
  2162. ==================================]}
  2163. //{Base ver: ---
  2164. //{Collection: Phoenix
  2165. ==================================]}
  2166. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement