Advertisement
AgentVK

WOW IDK

Jan 5th, 2018
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.05 KB | None | 0 0
  1. local player = "LocalPlayer"
  2. local Character = game.Players[player].Character
  3. it = Instance.new
  4. vt = Vector3.new
  5. cf = CFrame.new
  6. euler = CFrame.fromEulerAnglesXYZ
  7. angles = CFrame.Angles
  8. mr = math.rad
  9. local decreaseatk = 0
  10. local decreasedef = 0
  11. local decreasemvmt = 0
  12. local Anim = "Idle"
  13. local Effects = {}
  14. local armorparts = {}
  15. local armorwelds = {}
  16. local weaponparts = {}
  17. local weaponwelds = {}
  18. local Hands = {}
  19. local necko = euler(0, 0, 0) * cf(0, 1.3, 0)
  20. local attack = false
  21. local jump = false
  22. local start = false
  23. local move = 10
  24. local hitfloor, posfloor = nil, nil
  25. local run = Instance.new("NumberValue")
  26. run.Name = "DecreaseMvmt"
  27. run.Value = -0.5
  28. local bName = "Manotech"
  29. local MainColor = BrickColor.new("Black")
  30. NoOutline = function(Part)
  31. Part.TopSurface = 10
  32. end
  33. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  34. local fp = it("Part")
  35. fp.formFactor = formfactor
  36. fp.Parent = parent
  37. fp.Reflectance = reflectance
  38. fp.Transparency = transparency
  39. fp.CanCollide = false
  40. fp.Locked = true
  41. fp.BrickColor = brickcolor
  42. fp.Name = name
  43. fp.Size = size
  44. NoOutline(fp)
  45. fp.Material = "SmoothPlastic"
  46. fp:BreakJoints()
  47. return fp
  48. end
  49. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  50. local mesh = it(Mesh)
  51. mesh.Parent = part
  52. if Mesh == "SpecialMesh" then
  53. mesh.MeshType = meshtype
  54. if meshid ~= "nil" then
  55. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  56. end
  57. end
  58. mesh.Offset = offset
  59. mesh.Scale = scale
  60. return mesh
  61. end
  62. weld = function(parent, part0, part1, c0)
  63. local weld = it("Motor6D")
  64. weld.Parent = parent
  65. weld.Part0 = part0
  66. weld.Part1 = part1
  67. weld.C0 = c0
  68. return weld
  69. end
  70. gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image)
  71. local gui = it(GuiType)
  72. gui.Parent = parent
  73. gui.BackgroundTransparency = backtrans
  74. gui.BackgroundColor3 = backcol
  75. gui.SizeConstraint = "RelativeXY"
  76. gui.Position = pos
  77. gui.Size = size
  78. if GuiType == "TextLabel" then
  79. gui.Text = text
  80. gui.TextXAlignment = "Center"
  81. gui.TextYAlignment = "Center"
  82. gui.Font = "SourceSans"
  83. gui.FontSize = "Size14"
  84. gui.TextWrapped = false
  85. gui.TextStrokeTransparency = 0
  86. gui.TextColor = BrickColor.new("White")
  87. else
  88. if GuiType == "ImageLabel" then
  89. gui.Image = "rbxassetid://" .. image
  90. gui.ImageColor3 = backcol
  91. end
  92. end
  93. return gui
  94. end
  95. local handle = nil
  96. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  97. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  98. prt.Material = neon
  99. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  100. wld = weld(handle, prt, wldpar, ceef)
  101. v = it("NumberValue", prt)
  102. v.Value = trans
  103. v.Name = "MainTransparency"
  104. return prt, msh, wld
  105. end
  106. AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare)
  107. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  108. prt.Material = neon
  109. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  110. wld = weld(wldpare, prt, wldpar, ceef)
  111. v = it("NumberValue", prt)
  112. v.Value = trans
  113. v.Name = "MainTransparency"
  114. return prt, msh, wld
  115. end
  116. local modelzorz = Instance.new("Model")
  117. modelzorz.Parent = workspace.CurrentCamera
  118. modelzorz.Name = "ManotechBody"
  119. local Torso = Character.Torso
  120. local LeftArm = Character["Left Arm"]
  121. local RightArm = Character["Right Arm"]
  122. local LeftLeg = Character["Left Leg"]
  123. local RightLeg = Character["Right Leg"]
  124. local Head = Character.Head
  125. local RootPart = Character.HumanoidRootPart
  126. handle = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Handle", vt())
  127. local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7))
  128. Tprt01 = AesthPart(modelzorz, Torso, 0, 0, "Fossil", "Torso Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 12.1, euler(0, mr(-90), 0) * cf(0, 0, 0))
  129. Tprt02 = AesthPart(modelzorz, Tprt01, 0, 0, "Pastel light blue", "Torso Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, -0.84, 0))
  130. Tprt03 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.14, 12.14, 4, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  131. Tprt04 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part04", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.15, 12.15, 2, euler(mr(90), 0, 0) * cf(0, -0.01, 0))
  132. Tprt05 = AesthPart(modelzorz, Tprt01, 0, 0, "Pastel light blue", "Torso Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 12.2, 4, euler(mr(90), 0, 0) * cf(0, 0.83, 0))
  133. Tprt06 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part06", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 12.5, 2, euler(mr(90), 0, 0) * cf(0, 1.03, 0))
  134. Tprt07 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part07", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 12.6, 1, euler(mr(90), 0, 0) * cf(0, 1.14, 0))
  135. Tprt08 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part08", "SmoothPlastic", "SpecialMesh", "Cylinder", "nil", 1, 5, 5, euler(mr(90), 0, 0) * cf(-0.562, 0.82, 0))
  136. Tprt09 = AesthPart(modelzorz, Tprt01, 0, 0, "Institutional white", "Torso Part09", "Neon", "SpecialMesh", "Cylinder", "nil", 1, 4, 4, euler(mr(90), 0, 0) * cf(-0.572, 0.82, 0))
  137. Tprt10 = AesthPart(modelzorz, Tprt01, 0, 0, "Medium blue", "Torso Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.2, 1, 0.4, euler(mr(90), 0, 0) * cf(-0.662, 0.82, 0))
  138. Tprt11 = AesthPart(modelzorz, Tprt01, 0, 0, "Institutional white", "Torso Part11", "Neon", "SpecialMesh", "Sphere", "nil", 1, 0.4, 2, euler(mr(90), 0, 0) * cf(-0.722, 0.82, 0))
  139. Tprt12 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "26340522", 1, 1, 1.4, euler(0, mr(90), 0) * cf(0, -0.34, 0))
  140. Tprt13 = AesthPart(modelzorz, Tprt01, 0, 0, "Storm blue", "Torso Part13", "SmoothPlastic", "SpecialMesh", "FileMesh", "189759018", 3, 4, 3.5, euler(0, mr(90), 0) * cf(0, -0.55, -0.06))
  141. LAprt01 = AesthPart(modelzorz, LeftArm, 0, 0, "Fossil", "Left Arm Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 6.1, euler(0, mr(-90), 0) * cf(0, 0, 0))
  142. LAprt01a = AesthPart(modelzorz, LAprt01, 0, 0, "Fossil", "Left Arm Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, mr(90), 0) * cf(0, 0, 0))
  143. RAprt01 = AesthPart(modelzorz, RightArm, 0, 0, "Fossil", "Right Arm Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 12.1, 6.1, euler(0, mr(90), 0) * cf(0, 0, 0))
  144. RAprt01a = AesthPart(modelzorz, RAprt01, 0, 0, "Fossil", "Right Arm Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, mr(90), 0) * cf(0, 0, 0))
  145. LLprt01 = AesthPart(modelzorz, LeftLeg, 0, 0, "Fossil", "Left Leg Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 6.1, 12.1, euler(mr(90), 0, 0) * cf(0, 0, 0))
  146. LLprt01a = AesthPart(modelzorz, LLprt01, 0, 0, "Fossil", "Left Leg Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, mr(90)) * cf(0, 0, 0))
  147. RLprt01 = AesthPart(modelzorz, RightLeg, 0, 0, "Fossil", "Right Leg Part01", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.1, 6.1, 12.1, euler(mr(90), 0, 0) * cf(0, 0, 0))
  148. RLprt01a = AesthPart(modelzorz, RLprt01, 0, 0, "Fossil", "Right Leg Part01a", "SmoothPlastic", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, mr(-90)) * cf(0, 0, 0))
  149. local thPart = LAprt01a
  150. local thPart2 = LLprt01a
  151. for i = -1, 1, 2 do
  152. if i == 1 then
  153. thPart = RAprt01a
  154. thPart2 = RLprt01a
  155. end
  156. Aprt02 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 4, 3, euler(mr(90), mr(90), 0) * cf(-0.23, -0.93, 0))
  157. Aprt03 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 3, 7, euler(mr(90), mr(90), 0) * cf(0.43, -0.82, 0))
  158. Aprt04 = AesthPart(modelzorz, thPart, 0, 0, "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))
  159. 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))
  160. 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))
  161. Aprt07 = AesthPart(modelzorz, thPart, 0, 0, "Black", "Arm Part07", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.2, 4, 6.2, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  162. Aprt08 = AesthPart(modelzorz, thPart, 0, 0, "Storm blue", "Arm Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 3, 6.3, euler(0, mr(90), 0) * cf(0, 0.82, 0))
  163. Aprt09 = AesthPart(modelzorz, thPart, 0, 0, "Medium blue", "Arm Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(103.229)) * cf(-0.1, -0.87, 0))
  164. Aprt10 = AesthPart(modelzorz, thPart, 0, 0, "Medium blue", "Arm Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 7, 5, 5, euler(0, mr(90), mr(90)) * cf(0.26, -0.85, 0))
  165. Aprt11 = AesthPart(modelzorz, thPart, 0, 0, "Black", "Arm Part11", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3.5, 7.5, 3.5, euler(mr(90), 0, 0) * cf(0.47, -1.3, 0))
  166. Lprt02 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part02", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.3, 6.3, 3, euler(0, 0, 0) * cf(0, 0, -0.92))
  167. Lprt03 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part03", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.25, 6.25, 3, euler(0, 0, 0) * cf(0, 0, -0.67))
  168. Lprt04 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part04", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(0.53 * i, 0.33, -0.42))
  169. Lprt05 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part05", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(0.53 * i, -0.33, -0.42))
  170. Lprt06 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, mr(180)) * cf(-0.53 * i, 0.33, -0.42))
  171. Lprt07 = AesthPart(modelzorz, thPart2, 0, 0, "Medium blue", "Leg Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 3, 2, euler(0, 0, 0) * cf(-0.53 * i, -0.33, -0.42))
  172. Lprt08 = AesthPart(modelzorz, thPart2, 0, 0, "Storm blue", "Leg Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.6, 6.6, 3, euler(0, 0, 0) * cf(0, 0, 0.37))
  173. Lprt09 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part09", "SmoothPlastic", "BlockMesh", "nil", "nil", 6.5, 6.5, 3, euler(0, 0, 0) * cf(0, 0, 0.91))
  174. Lprt10 = AesthPart(modelzorz, thPart2, 0, 0, "Institutional white", "Leg Part10", "Neon", "BlockMesh", "nil", "nil", 0.5, 1, 3, euler(0, 0, mr(90)) * cf(-0.52 * i, 0, -0.22))
  175. Lprt11 = AesthPart(modelzorz, thPart2, 0, 0, "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))
  176. 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))
  177. 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))
  178. 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))
  179. 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))
  180. 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))
  181. 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))
  182. Lprt18 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part18", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(mr(15), 0, mr(180)) * cf(-0.6 * i, 0.35, 0.35))
  183. Lprt19 = AesthPart(modelzorz, thPart2, 0, 0, "Black", "Leg Part19", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1, 1.5, 4, euler(mr(15), 0, 0) * cf(-0.6 * i, -0.37, 0.35))
  184. end
  185. LAprt12 = AesthPart(modelzorz, LAprt01a, 0, 0, "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))
  186. 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))
  187. 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))
  188. 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))
  189. 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))
  190. 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))
  191. 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))
  192. 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))
  193. 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))
  194. 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))
  195. 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))
  196. 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))
  197. 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))
  198. 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))
  199. for i = 0, 135, 45 do
  200. 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))
  201. end
  202. Hprt01 = AesthPart(modelzorz, Head, 0, 0, "Fossil", "Head Part01", "SmoothPlastic", "SpecialMesh", "Sphere", "nil", 8.5, 9, 9, euler(0, 0, 0) * cf(0, -0.21, 0))
  203. Hprt02 = AesthPart(modelzorz, Hprt01, 0, 0, "Fossil", "Head Part02", "SmoothPlastic", "CylinderMesh", "nil", "nil", 7.5, 0.6, 7.5, euler(0, 0, 0) * cf(0, 0.47, 0))
  204. Hprt03 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part03", "SmoothPlastic", "CylinderMesh", "nil", "nil", 9, 1, 9, euler(mr(9.321), 0, 0) * cf(0, -0.15, 0.03))
  205. Hprt04 = AesthPart(modelzorz, Hprt01, 0, 0, "Pastel blue", "Head Part04", "Neon", "CylinderMesh", "nil", "nil", 9.1, 0.2, 9.1, euler(mr(9.321), 0, 0) * cf(0, -0.15, 0.03))
  206. Hprt05 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part05", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(0.82, -0.07, 0.06))
  207. Hprt06 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part06", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(-90)) * cf(1.02, -0.07, -0.14))
  208. Hprt07 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part07", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(-90)) * cf(1.02, -0.07, 0.26))
  209. Hprt08 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part08", "SmoothPlastic", "BlockMesh", "nil", "nil", 1, 4, 3, euler(mr(90), 0, 0) * cf(-0.81, -0.07, 0.06))
  210. Hprt09 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part09", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, mr(180), mr(90)) * cf(-1.01, -0.07, -0.14))
  211. Hprt10 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part10", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 3, 1, 2, euler(0, 0, mr(90)) * cf(-1.01, -0.07, 0.26))
  212. Hprt11 = AesthPart(modelzorz, Hprt01, 0, 0, "Medium blue", "Head Part11", "SmoothPlastic", "CylinderMesh", "nil", "nil", 3, 1, 3, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  213. Hprt12 = AesthPart(modelzorz, Hprt01, 0, 0, "Institutional white", "Head Part12", "Neon", "CylinderMesh", "nil", "nil", 2, 1.1, 2, euler(mr(90), 0, 0) * cf(0, 0.02, 0.86))
  214. Hprt13 = AesthPart(modelzorz, Hprt01, 0, 0, "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))
  215. 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))
  216.  
  217. --//====================================================\\--
  218. --|| CREATED BY SHACKLUSTER
  219. --\\====================================================//--
  220.  
  221.  
  222.  
  223. wait(0.2)
  224.  
  225.  
  226.  
  227. Player = game:GetService("Players").LocalPlayer
  228. PlayerGui = Player.PlayerGui
  229. Cam = workspace.CurrentCamera
  230. Backpack = Player.Backpack
  231. Character = Player.Character
  232. Humanoid = Character.Humanoid
  233. Mouse = Player:GetMouse()
  234. RootPart = Character["HumanoidRootPart"]
  235. Torso = Character["Torso"]
  236. Head = Character["Head"]
  237. RightArm = Character["Right Arm"]
  238. LeftArm = Character["Left Arm"]
  239. RightLeg = Character["Right Leg"]
  240. LeftLeg = Character["Left Leg"]
  241. RootJoint = RootPart["RootJoint"]
  242. Neck = Torso["Neck"]
  243. RightShoulder = Torso["Right Shoulder"]
  244. LeftShoulder = Torso["Left Shoulder"]
  245. RightHip = Torso["Right Hip"]
  246. LeftHip = Torso["Left Hip"]
  247.  
  248. IT = Instance.new
  249. CF = CFrame.new
  250. VT = Vector3.new
  251. RAD = math.rad
  252. C3 = Color3.new
  253. UD2 = UDim2.new
  254. BRICKC = BrickColor.new
  255. ANGLES = CFrame.Angles
  256. EULER = CFrame.fromEulerAnglesXYZ
  257. COS = math.cos
  258. ACOS = math.acos
  259. SIN = math.sin
  260. ASIN = math.asin
  261. ABS = math.abs
  262. MRANDOM = math.random
  263. FLOOR = math.floor
  264.  
  265. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  266. local NEWMESH = IT(MESH)
  267. if MESH == "SpecialMesh" then
  268. NEWMESH.MeshType = MESHTYPE
  269. if MESHID ~= "nil" and MESHID ~= "" then
  270. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  271. end
  272. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  273. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  274. end
  275. end
  276. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  277. NEWMESH.Scale = SCALE
  278. NEWMESH.Parent = PARENT
  279. return NEWMESH
  280. end
  281.  
  282. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  283. local NEWPART = IT("Part")
  284. NEWPART.formFactor = FORMFACTOR
  285. NEWPART.Reflectance = REFLECTANCE
  286. NEWPART.Transparency = TRANSPARENCY
  287. NEWPART.CanCollide = false
  288. NEWPART.Locked = true
  289. NEWPART.Anchored = true
  290. if ANCHOR == false then
  291. NEWPART.Anchored = false
  292. end
  293. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  294. NEWPART.Name = NAME
  295. NEWPART.Size = SIZE
  296. NEWPART.Position = Torso.Position
  297. NEWPART.Material = MATERIAL
  298. NEWPART:BreakJoints()
  299. NEWPART.Parent = PARENT
  300. return NEWPART
  301. end
  302.  
  303. --//=================================\\
  304. --|| CUSTOMIZATION
  305. --\\=================================//
  306.  
  307. Class_Name = "Immortal curse"
  308. Weapon_Name = "Add-ons"
  309.  
  310. Custom_Colors = {
  311. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  312. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  313.  
  314. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  315. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  316. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  317. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  318. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  319.  
  320. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  321. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  322. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  323. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  324. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  325. }
  326.  
  327.  
  328. Player_Size = 1 --Size of the player.
  329. Animation_Speed = 3
  330. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  331.  
  332. local Speed = 16
  333. local Effects2 = {}
  334.  
  335. --//=================================\\
  336. --|| END OF CUSTOMIZATION
  337. --\\=================================//
  338.  
  339. local function weldBetween(a, b)
  340. local weldd = Instance.new("ManualWeld")
  341. weldd.Part0 = a
  342. weldd.Part1 = b
  343. weldd.C0 = CFrame.new()
  344. weldd.C1 = b.CFrame:inverse() * a.CFrame
  345. weldd.Parent = a
  346. return weldd
  347. end
  348.  
  349. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  350. local acs = Instance.new("Part")
  351. acs.CanCollide = false
  352. acs.Anchored = false
  353. acs.Size = Vector3.new(0,0,0)
  354. acs.CFrame = attachmentpart.CFrame
  355. acs.Parent = Character
  356. acs.BrickColor = color
  357. local meshs = Instance.new("SpecialMesh")
  358. meshs.MeshId = mesh
  359. meshs.TextureId = texture
  360. meshs.Parent = acs
  361. meshs.Scale = scale
  362. meshs.Offset = offset
  363. weldBetween(attachmentpart,acs)
  364. end
  365.  
  366. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  367. if TYPE == "Gem" then
  368. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  369. acs.Anchored = false
  370. acs.CanCollide = false
  371. acs.CFrame = PART.CFrame
  372. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  373. weldBetween(PART,acs)
  374. elseif TYPE == "Skull" then
  375. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  376. acs.Anchored = false
  377. acs.CanCollide = false
  378. acs.CFrame = PART.CFrame
  379. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  380. weldBetween(PART,acs)
  381. elseif TYPE == "Eye" then
  382. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  383. acs.Anchored = false
  384. acs.CanCollide = false
  385. acs.CFrame = PART.CFrame
  386. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  387. weldBetween(PART,acs)
  388. end
  389. end
  390.  
  391. --//=================================\\
  392. --|| USEFUL VALUES
  393. --\\=================================//
  394.  
  395. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  396. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  397. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  398. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  399. local CHANGEDEFENSE = 0
  400. local CHANGEDAMAGE = 0
  401. local CHANGEMOVEMENT = 0
  402. local ANIM = "Idle"
  403. local ATTACK = false
  404. local EQUIPPED = false
  405. local HOLD = false
  406. local COMBO = 1
  407. local Rooted = false
  408. local SINE = 0
  409. local KEYHOLD = false
  410. local CHANGE = 2 / Animation_Speed
  411. local WALKINGANIM = false
  412. local WALK = 0
  413. local VALUE1 = false
  414. local VALUE2 = false
  415. local ROBLOXIDLEANIMATION = IT("Animation")
  416. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  417. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  418. --ROBLOXIDLEANIMATION.Parent = Humanoid
  419. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  420. WEAPONGUI.Name = "Weapon GUI"
  421. local Weapon = IT("Model")
  422. Weapon.Name = Weapon_Name
  423. local Effects = IT("Folder", Weapon)
  424. Effects.Name = "Effects"
  425. local ANIMATOR = Humanoid.Animator
  426. local ANIMATE = Character.Animate
  427. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  428. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  429. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  430. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  431. local UNANCHOR = true
  432.  
  433. local SKILLTEXTCOLOR = C3(0,0,0)
  434.  
  435. --//=================================\\
  436. --\\=================================//
  437.  
  438.  
  439. --//=================================\\
  440. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  441. --\\=================================//
  442.  
  443. ArtificialHB = Instance.new("BindableEvent", script)
  444. ArtificialHB.Name = "ArtificialHB"
  445.  
  446. script:WaitForChild("ArtificialHB")
  447.  
  448. frame = Frame_Speed
  449. tf = 0
  450. allowframeloss = false
  451. tossremainder = false
  452. lastframe = tick()
  453. script.ArtificialHB:Fire()
  454.  
  455. game:GetService("RunService").Heartbeat:connect(function(s, p)
  456. tf = tf + s
  457. if tf >= frame then
  458. if allowframeloss then
  459. script.ArtificialHB:Fire()
  460. lastframe = tick()
  461. else
  462. for i = 1, math.floor(tf / frame) do
  463. script.ArtificialHB:Fire()
  464. end
  465. lastframe = tick()
  466. end
  467. if tossremainder then
  468. tf = 0
  469. else
  470. tf = tf - frame * math.floor(tf / frame)
  471. end
  472. end
  473. end)
  474.  
  475. --//=================================\\
  476. --\\=================================//
  477.  
  478.  
  479.  
  480.  
  481.  
  482. --//=================================\\
  483. --|| SOME FUNCTIONS
  484. --\\=================================//
  485.  
  486. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  487. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  488. end
  489.  
  490. function PositiveAngle(NUMBER)
  491. if NUMBER >= 0 then
  492. NUMBER = 0
  493. end
  494. return NUMBER
  495. end
  496.  
  497. function NegativeAngle(NUMBER)
  498. if NUMBER <= 0 then
  499. NUMBER = 0
  500. end
  501. return NUMBER
  502. end
  503.  
  504. function Swait(NUMBER)
  505. if NUMBER == 0 or NUMBER == nil then
  506. ArtificialHB.Event:wait()
  507. else
  508. for i = 1, NUMBER do
  509. ArtificialHB.Event:wait()
  510. end
  511. end
  512. end
  513.  
  514. function QuaternionFromCFrame(cf)
  515. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  516. local trace = m00 + m11 + m22
  517. if trace > 0 then
  518. local s = math.sqrt(1 + trace)
  519. local recip = 0.5 / s
  520. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  521. else
  522. local i = 0
  523. if m11 > m00 then
  524. i = 1
  525. end
  526. if m22 > (i == 0 and m00 or m11) then
  527. i = 2
  528. end
  529. if i == 0 then
  530. local s = math.sqrt(m00 - m11 - m22 + 1)
  531. local recip = 0.5 / s
  532. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  533. elseif i == 1 then
  534. local s = math.sqrt(m11 - m22 - m00 + 1)
  535. local recip = 0.5 / s
  536. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  537. elseif i == 2 then
  538. local s = math.sqrt(m22 - m00 - m11 + 1)
  539. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  540. end
  541. end
  542. end
  543.  
  544. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  545. local xs, ys, zs = x + x, y + y, z + z
  546. local wx, wy, wz = w * xs, w * ys, w * zs
  547. local xx = x * xs
  548. local xy = x * ys
  549. local xz = x * zs
  550. local yy = y * ys
  551. local yz = y * zs
  552. local zz = z * zs
  553. 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))
  554. end
  555.  
  556. function QuaternionSlerp(a, b, t)
  557. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  558. local startInterp, finishInterp;
  559. if cosTheta >= 0.0001 then
  560. if (1 - cosTheta) > 0.0001 then
  561. local theta = ACOS(cosTheta)
  562. local invSinTheta = 1 / SIN(theta)
  563. startInterp = SIN((1 - t) * theta) * invSinTheta
  564. finishInterp = SIN(t * theta) * invSinTheta
  565. else
  566. startInterp = 1 - t
  567. finishInterp = t
  568. end
  569. else
  570. if (1 + cosTheta) > 0.0001 then
  571. local theta = ACOS(-cosTheta)
  572. local invSinTheta = 1 / SIN(theta)
  573. startInterp = SIN((t - 1) * theta) * invSinTheta
  574. finishInterp = SIN(t * theta) * invSinTheta
  575. else
  576. startInterp = t - 1
  577. finishInterp = t
  578. end
  579. end
  580. 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
  581. end
  582.  
  583. function Clerp(a, b, t)
  584. local qa = {QuaternionFromCFrame(a)}
  585. local qb = {QuaternionFromCFrame(b)}
  586. local ax, ay, az = a.x, a.y, a.z
  587. local bx, by, bz = b.x, b.y, b.z
  588. local _t = 1 - t
  589. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  590. end
  591.  
  592. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  593. local frame = IT("Frame")
  594. frame.BackgroundTransparency = TRANSPARENCY
  595. frame.BorderSizePixel = BORDERSIZEPIXEL
  596. frame.Position = POSITION
  597. frame.Size = SIZE
  598. frame.BackgroundColor3 = COLOR
  599. frame.BorderColor3 = BORDERCOLOR
  600. frame.Name = NAME
  601. frame.Parent = PARENT
  602. return frame
  603. end
  604.  
  605. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  606. local label = IT("TextLabel")
  607. label.BackgroundTransparency = 1
  608. label.Size = UD2(1, 0, 1, 0)
  609. label.Position = UD2(0, 0, 0, 0)
  610. label.TextColor3 = TEXTCOLOR
  611. label.TextStrokeTransparency = STROKETRANSPARENCY
  612. label.TextTransparency = TRANSPARENCY
  613. label.FontSize = TEXTFONTSIZE
  614. label.Font = TEXTFONT
  615. label.BorderSizePixel = BORDERSIZEPIXEL
  616. label.TextScaled = false
  617. label.Text = TEXT
  618. label.Name = NAME
  619. label.Parent = PARENT
  620. return label
  621. end
  622.  
  623. function NoOutlines(PART)
  624. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  625. end
  626.  
  627.  
  628. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  629. local NEWWELD = IT(TYPE)
  630. NEWWELD.Part0 = PART0
  631. NEWWELD.Part1 = PART1
  632. NEWWELD.C0 = C0
  633. NEWWELD.C1 = C1
  634. NEWWELD.Parent = PARENT
  635. return NEWWELD
  636. end
  637.  
  638. function CreateSound(ID, PARENT, VOLUME, PITCH)
  639. local NEWSOUND = nil
  640. coroutine.resume(coroutine.create(function()
  641. NEWSOUND = IT("Sound", PARENT)
  642. NEWSOUND.Volume = VOLUME
  643. NEWSOUND.Pitch = PITCH
  644. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  645. Swait()
  646. NEWSOUND:play()
  647. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  648. end))
  649. return NEWSOUND
  650. end
  651.  
  652. function CFrameFromTopBack(at, top, back)
  653. local right = top:Cross(back)
  654. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  655. end
  656.  
  657. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  658. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  659. local mesh = IT("SpecialMesh",wave)
  660. mesh.MeshType = "FileMesh"
  661. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  662. mesh.Scale = VT(size,size,size)
  663. mesh.Offset = VT(0,0,-size/8)
  664. wave.CFrame = cframe
  665. coroutine.resume(coroutine.create(function(PART)
  666. for i = 1, waitt do
  667. Swait()
  668. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  669. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  670. if doesrotate == true then
  671. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  672. end
  673. wave.Transparency = wave.Transparency + (0.5/waitt)
  674. if wave.Transparency > 0.99 then
  675. wave:remove()
  676. end
  677. end
  678. end))
  679. end
  680.  
  681. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  682. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  683. local mesh = IT("SpecialMesh",wave)
  684. mesh.MeshType = "FileMesh"
  685. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  686. mesh.Scale = VT(size,size,size)
  687. wave.CFrame = cframe
  688. coroutine.resume(coroutine.create(function(PART)
  689. for i = 1, waitt do
  690. Swait()
  691. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  692. if doesrotate == true then
  693. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  694. end
  695. wave.Transparency = wave.Transparency + (0.5/waitt)
  696. if wave.Transparency > 0.99 then
  697. wave:remove()
  698. end
  699. end
  700. end))
  701. end
  702.  
  703. function MakeForm(PART,TYPE)
  704. if TYPE == "Cyl" then
  705. local MSH = IT("CylinderMesh",PART)
  706. elseif TYPE == "Ball" then
  707. local MSH = IT("SpecialMesh",PART)
  708. MSH.MeshType = "Sphere"
  709. elseif TYPE == "Wedge" then
  710. local MSH = IT("SpecialMesh",PART)
  711. MSH.MeshType = "Wedge"
  712. end
  713. end
  714.  
  715. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  716. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  717. local mesh = IT("SpecialMesh",wave)
  718. mesh.MeshType = "FileMesh"
  719. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  720. mesh.Scale = VT(size,size,size)
  721. wave.CFrame = cframe
  722. coroutine.resume(coroutine.create(function(PART)
  723. for i = 1, waitt do
  724. Swait()
  725. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  726. if doesrotate == true then
  727. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  728. end
  729. wave.Transparency = wave.Transparency + (0.5/waitt)
  730. if wave.Transparency > 0.99 then
  731. wave:remove()
  732. end
  733. end
  734. end))
  735. end
  736.  
  737. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  738. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  739. local mesh = IT("SpecialMesh",wave)
  740. mesh.MeshType = "FileMesh"
  741. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  742. mesh.Scale = VT(size,size,size)
  743. mesh.Offset = VT(0,0,0)
  744. wave.CFrame = cframe
  745. coroutine.resume(coroutine.create(function(PART)
  746. for i = 1, waitt do
  747. Swait()
  748. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  749. if doesrotate == true then
  750. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  751. end
  752. wave.Transparency = wave.Transparency + (0.5/waitt)
  753. if wave.Transparency > 0.99 then
  754. wave:remove()
  755. end
  756. end
  757. end))
  758. end
  759.  
  760. function MagicSphere(size,waitt,cframe,color)
  761. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1), true)
  762. local mesh = IT("SpecialMesh",wave)
  763. mesh.MeshType = "Sphere"
  764. mesh.Scale = VT(size,size,size)
  765. mesh.Offset = VT(0,0,0)
  766. wave.CFrame = cframe
  767. coroutine.resume(coroutine.create(function(PART)
  768. for i = 1, waitt do
  769. Swait()
  770. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  771. wave.Transparency = wave.Transparency + (1/waitt)
  772. if wave.Transparency > 0.99 then
  773. wave:remove()
  774. end
  775. end
  776. end))
  777. end
  778.  
  779. function MagicSphere2(size,waitt,cframe,color)
  780. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1), true)
  781. local mesh = IT("SpecialMesh",wave)
  782. mesh.MeshType = "Sphere"
  783. mesh.Scale = VT(size,size,size)
  784. mesh.Offset = VT(0,0,0)
  785. wave.CFrame = cframe
  786. coroutine.resume(coroutine.create(function(PART)
  787. for i = 1, waitt do
  788. Swait()
  789. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  790. wave.Transparency = wave.Transparency - (1/waitt)
  791. end
  792. wave:remove()
  793. end))
  794. end
  795.  
  796. function MagicBlock(size,waitt,cframe,color)
  797. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size), true)
  798. local mesh = IT("BlockMesh",wave)
  799. wave.CFrame = cframe
  800. coroutine.resume(coroutine.create(function(PART)
  801. for i = 1, waitt do
  802. Swait()
  803. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  804. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  805. wave.Transparency = wave.Transparency + (1/waitt)
  806. if wave.Transparency > 0.99 then
  807. wave:remove()
  808. end
  809. end
  810. end))
  811. end
  812.  
  813. function MagicBlock2(size,waitt,cframe,color)
  814. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(size,size,size), true)
  815. local mesh = IT("BlockMesh",wave)
  816. wave.CFrame = cframe
  817. coroutine.resume(coroutine.create(function(PART)
  818. for i = 1, waitt do
  819. Swait()
  820. mesh.Scale = mesh.Scale - VT(1/waitt,1/waitt,1/waitt)
  821. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  822. wave.Transparency = wave.Transparency - (1/waitt)
  823. end
  824. wave:Destroy()
  825. end))
  826. end
  827.  
  828. function MagicBlock(size,waitt,cframe,color)
  829. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  830. local mesh = IT("BlockMesh",wave)
  831. wave.CFrame = cframe
  832. coroutine.resume(coroutine.create(function(PART)
  833. for i = 1, waitt do
  834. Swait()
  835. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  836. wave.CFrame = CF(wave.Position) * ANGLES(RAD(math(-360,360)),RAD(math(-360,360)),RAD(math(-360,360)))
  837. wave.Transparency = wave.Transparency + (1/waitt)
  838. if wave.Transparency > 0.99 then
  839. wave:remove()
  840. end
  841. end
  842. end))
  843. end
  844.  
  845. function CheckTableForString(Table, String)
  846. for i, v in pairs(Table) do
  847. if string.find(string.lower(String), string.lower(v)) then
  848. return true
  849. end
  850. end
  851. return false
  852. end
  853.  
  854. function CheckIntangible(Hit)
  855. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  856. if Hit and Hit.Parent then
  857. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  858. return true
  859. end
  860. end
  861. return false
  862. end
  863.  
  864. Debris = game:GetService("Debris")
  865.  
  866. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  867. local Direction = CFrame.new(StartPos, Vec).lookVector
  868. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  869. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  870. if RayHit and CheckIntangible(RayHit) then
  871. if DelayIfHit then
  872. wait()
  873. end
  874. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  875. end
  876. return RayHit, RayPos, RayNormal
  877. end
  878.  
  879. function turnto(position)
  880. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  881. end
  882.  
  883. --//=================================\\
  884. --|| WEAPON CREATION
  885. --\\=================================//
  886.  
  887. for _, c in pairs(Weapon:GetChildren()) do
  888. if c.ClassName == "Part" then
  889. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  890. end
  891. end
  892.  
  893. Weapon.Parent = Character
  894.  
  895. Humanoid.Died:connect(function()
  896. ATTACK = true
  897. end)
  898.  
  899. print(Class_Name.." loaded.")
  900.  
  901. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  902. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[X] Toggle [ON]", SKILLTEXTCOLOR, 8, "SciFi", 0, 2, 1, "Text 1")
  903.  
  904. --//=================================\\
  905. --|| DAMAGE FUNCTIONS
  906. --\\=================================//
  907.  
  908. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  909. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  910. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  911. local BODYGYRO = IT("BodyGyro", STATPART)
  912. local BODYPOSITION = IT("BodyPosition", STATPART)
  913. BODYPOSITION.P = 2000
  914. BODYPOSITION.D = 100
  915. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  916. if LABELTYPE == "Normal" then
  917. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  918. elseif LABELTYPE == "Debuff" then
  919. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  920. elseif LABELTYPE == "Interruption" then
  921. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  922. end
  923. game:GetService("Debris"):AddItem(STATPART ,5)
  924. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  925. BILLBOARDGUI.Adornee = STATPART
  926. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  927. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  928. BILLBOARDGUI.AlwaysOnTop = false
  929. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  930. TEXTLABEL.BackgroundTransparency = 1
  931. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  932. TEXTLABEL.Text = TEXT
  933. TEXTLABEL.Font = "SciFi"
  934. TEXTLABEL.FontSize="Size42"
  935. TEXTLABEL.TextColor3 = COLOR
  936. TEXTLABEL.TextStrokeTransparency = 1
  937. TEXTLABEL.TextScaled = true
  938. TEXTLABEL.TextWrapped = true
  939. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  940. wait(0.2)
  941. for i=1, 5 do
  942. wait()
  943. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  944. end
  945. wait(1.2)
  946. for i=1, 5 do
  947. wait()
  948. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  949. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  950. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  951. end
  952. THEPART.Parent = nil
  953. end),STATPART, BODYPOSITION, TEXTLABEL)
  954. end
  955.  
  956.  
  957. --//=================================\\
  958. --|| DAMAGING
  959. --\\=================================//
  960.  
  961. function GoDeeper(object,position,range,maxstrength,hasdugdeep)
  962. if object ~= Character and object~= Effects then
  963. local body = object:GetChildren()
  964. for part = 1, #body do
  965. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") then
  966. if (body[part].Position - position).Magnitude < range then
  967. if body[part]:FindFirstChild("OOF") == nil then
  968. CastBlast(range/2)
  969. local defence = Instance.new("BoolValue",body[part])
  970. defence.Name = ("OOF")
  971. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  972. end
  973. if hasdugdeep == true then
  974. body[part]:Destroy()
  975. end
  976. end
  977. elseif body[part].ClassName == "Model" or body[part].ClassName == "Folder" then
  978. GoDeeper(body[part],position,range,maxstrength,true)
  979. end
  980. end
  981. end
  982. end
  983.  
  984. function CastEffective(position,range,maxstrength)
  985. for i,v in ipairs(workspace:GetChildren()) do
  986. GoDeeper(v,position,range,maxstrength,false)
  987. local body = v:GetChildren()
  988. for part = 1, #body do
  989. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  990. if(body[part].Position - position).Magnitude < range then
  991. if v.ClassName == "Model" then
  992. v:BreakJoints()
  993. end
  994. if body[part]:FindFirstChild("OOF") == nil then
  995. CastBlast(range/2)
  996. local defence = Instance.new("BoolValue",body[part])
  997. defence.Name = ("OOF")
  998. end
  999. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1000. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1001. end
  1002. end
  1003. end
  1004. if v.ClassName == "Part" then
  1005. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1006. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1007. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1008. end
  1009. end
  1010. end
  1011. end
  1012.  
  1013. --//=================================\\
  1014. --|| ATTACK FUNCTIONS AND STUFF
  1015. --\\=================================//
  1016.  
  1017. function CastBlast(size)
  1018. coroutine.resume(coroutine.create(function()
  1019. for i = 1, 3 do
  1020. CreateSwirl(0,size*0.8,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Pear")
  1021. end
  1022. local wave = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Pearl"), "Effect", VT(1,1,1))
  1023. local mesh = IT("SpecialMesh",wave)
  1024. mesh.MeshType = "Sphere"
  1025. mesh.Scale = VT(size,size,size)
  1026. mesh.Offset = VT(0,0,0)
  1027. wave.CFrame = Torso.CFrame
  1028. coroutine.resume(coroutine.create(function(PART)
  1029. for i = 1, 25 do
  1030. Swait()
  1031. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1032. wave.Transparency = wave.Transparency + (0.2/25)
  1033. end
  1034. wave:remove()
  1035. end))
  1036. end))
  1037. end
  1038.  
  1039. --//=================================\\
  1040. --|| ASSIGN THINGS TO KEYS
  1041. --\\=================================//
  1042.  
  1043. function MouseDown(Mouse)
  1044. if ATTACK == false then
  1045. end
  1046. end
  1047.  
  1048. function MouseUp(Mouse)
  1049. HOLD = false
  1050. end
  1051.  
  1052. function KeyDown(Key)
  1053. KEYHOLD = true
  1054. if Key == "x" and ATTACK == false then
  1055. if VALUE1 == true then
  1056. VALUE1 = false
  1057. SKILL1TEXT.Text = "[X] Toggle [OFF]"
  1058. elseif VALUE1 == false then
  1059. VALUE1 = true
  1060. SKILL1TEXT.Text = "[X] Toggle [ON]"
  1061. end
  1062. end
  1063. end
  1064.  
  1065. function KeyUp(Key)
  1066. KEYHOLD = false
  1067. end
  1068.  
  1069. Mouse.Button1Down:connect(function(NEWKEY)
  1070. MouseDown(NEWKEY)
  1071. end)
  1072. Mouse.Button1Up:connect(function(NEWKEY)
  1073. MouseUp(NEWKEY)
  1074. end)
  1075. Mouse.KeyDown:connect(function(NEWKEY)
  1076. KeyDown(NEWKEY)
  1077. end)
  1078. Mouse.KeyUp:connect(function(NEWKEY)
  1079. KeyUp(NEWKEY)
  1080. end)
  1081.  
  1082. --//=================================\\
  1083. --\\=================================//
  1084.  
  1085.  
  1086. function unanchor()
  1087. if UNANCHOR == true then
  1088. g = Character:GetChildren()
  1089. for i = 1, #g do
  1090. if g[i].ClassName == "Part" then
  1091. g[i].Anchored = false
  1092. end
  1093. end
  1094. end
  1095. end
  1096.  
  1097. local ff = IT("ForceField",Character)
  1098. ff.Visible = false
  1099.  
  1100. --//=================================\\
  1101. --|| WRAP THE WHOLE SCRIPT UP
  1102. --\\=================================//
  1103.  
  1104. Humanoid.HealthChanged:connect(function()
  1105. if Humanoid.Health ~= "inf" then
  1106. Humanoid.Health = "inf"
  1107. end
  1108. if Humanoid.MaxHealth ~= "inf" then
  1109. Humanoid.MaxHealth = "inf"
  1110. end
  1111. end)
  1112.  
  1113.  
  1114. VALUE1 = true
  1115.  
  1116. while true do
  1117. Swait()
  1118. if #Effects2>0 then
  1119. for e=1,#Effects2 do
  1120. if Effects2[e]~=nil then
  1121. local Thing=Effects2[e]
  1122. if Thing~=nil then
  1123. local Part=Thing[1]
  1124. local Mode=Thing[2]
  1125. local Delay=Thing[3]
  1126. local IncX=Thing[4]
  1127. local IncY=Thing[5]
  1128. local IncZ=Thing[6]
  1129. local Part2=Thing[8]
  1130. if Thing[1].Transparency<=1 then
  1131. if Thing[2]=="Block1" then
  1132. Thing[1].CFrame=Thing[1].CFrame
  1133. Mesh=Thing[1].Mesh
  1134. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1135. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1136. elseif Thing[2]=="Cylinder" then
  1137. Mesh=Thing[1].Mesh
  1138. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1139. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1140. elseif Thing[2]=="Blood" then
  1141. Mesh=Thing[7]
  1142. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1143. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1144. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1145. elseif Thing[2]=="Elec" then
  1146. Mesh=Thing[1].Mesh
  1147. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1148. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1149. elseif Thing[2]=="Disappear" then
  1150. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1151. end
  1152. else
  1153. Part.Parent=nil
  1154. table.remove(Effects2,e)
  1155. end
  1156. end
  1157. end
  1158. end
  1159. end
  1160. unanchor()
  1161. Humanoid.MaxHealth = "inf"
  1162. Humanoid.Health = "inf"
  1163. if VALUE1 == true then
  1164. CastEffective(Torso.Position,10,100)
  1165. end
  1166. local MATHS = {"A","C","E","G","I","K","N","P"}
  1167. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1168. end
  1169.  
  1170. --//=================================\\
  1171. --\\=================================//
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177. --//====================================================\\--
  1178. --|| END OF SCRIPT
  1179. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement