Advertisement
EmeraldIT

aurora

Mar 24th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.96 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER, EDITED BY EMERALDIT
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://1117396305"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. local A1 = IT("Attachment",Head)
  56. A1.Position = Vector3.new(0, 0.5, 0)
  57. local A2 = IT("Attachment",Torso)
  58. A2.Position = Vector3.new(0, -0.5, 0)
  59. local Trail = IT("Trail",Torso)
  60. Trail.LightEmission = 1
  61. Trail.FaceCamera = true
  62. Trail.Texture = "rbxassetid://945758042"
  63. Trail.Attachment0 = A1
  64. Trail.Attachment1 = A2
  65. Trail.Lifetime = 2
  66. Trail.MinLength = 0
  67. Trail.Transparency = NumberSequence.new(0, 1)
  68. Trail.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(102, 51, 153))
  69.  
  70. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  71. local NEWMESH = IT(MESH)
  72. if MESH == "SpecialMesh" then
  73. NEWMESH.MeshType = MESHTYPE
  74. if MESHID ~= "nil" and MESHID ~= "" then
  75. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  76. end
  77. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  78. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  79. end
  80. end
  81. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  82. NEWMESH.Scale = SCALE
  83. NEWMESH.Parent = PARENT
  84. return NEWMESH
  85. end
  86.  
  87. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  88. local NEWPART = IT("Part")
  89. NEWPART.formFactor = FORMFACTOR
  90. NEWPART.Reflectance = REFLECTANCE
  91. NEWPART.Transparency = TRANSPARENCY
  92. NEWPART.CanCollide = false
  93. NEWPART.Locked = true
  94. NEWPART.Anchored = true
  95. if ANCHOR == false then
  96. NEWPART.Anchored = false
  97. end
  98. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  99. NEWPART.Name = NAME
  100. NEWPART.Size = SIZE
  101. NEWPART.Position = Torso.Position
  102. NEWPART.Material = MATERIAL
  103. NEWPART:BreakJoints()
  104. NEWPART.Parent = PARENT
  105. return NEWPART
  106. end
  107.  
  108. --//=================================\\
  109. --|| CUSTOMIZATION
  110. --\\=================================//
  111.  
  112. Class_Name = "Template"
  113. Weapon_Name = "Add-ons"
  114.  
  115. Custom_Colors = {
  116. Custom_Color_1 = BRICKC("Royal purple"); --1st color for the weapon.
  117. Custom_Color_2 = BRICKC("Lime green"); --2nd color for the weapon.
  118.  
  119. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  120. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  121. Custom_Color_5 = BRICKC("Lime green"); --Color for the mana bar.
  122. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  123. Custom_Color_7 = BRICKC("Toothpaste"); --Color for the stun bar.
  124.  
  125. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  126. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  127. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  128. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  129. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  130. }
  131.  
  132.  
  133. Player_Size = 1 --Size of the player.
  134. Animation_Speed = 3
  135. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  136.  
  137. local Speed = 75
  138. local Effects2 = {}
  139.  
  140. --//=================================\\
  141. --|| END OF CUSTOMIZATION
  142. --\\=================================//
  143.  
  144. function chatfunc(text, waitt)
  145. local chat = coroutine.wrap(function()
  146. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  147. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  148. end
  149. local naeeym2 = Instance.new("BillboardGui", Character)
  150. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  151. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  152. naeeym2.Adornee = Character.Head
  153. naeeym2.Name = "TalkingBillBoard"
  154. naeeym2.AlwaysOnTop = true
  155. local tecks2 = Instance.new("TextLabel", naeeym2)
  156. tecks2.BackgroundTransparency = 1
  157. tecks2.BorderSizePixel = 0
  158. tecks2.Text = ""
  159. tecks2.Font = "Antique"
  160. tecks2.TextSize = 30
  161. tecks2.TextStrokeTransparency = 1
  162. tecks2.TextColor3 = SKILLTEXTCOLOR
  163. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  164. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  165. for i = 1, string.len(text) do
  166. if naeeym2.Parent ~= nil then
  167. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  168. end
  169. tecks2.Text = string.sub(text, 1, i)
  170. Swait(3)
  171. end
  172. wait(waitt / 10)
  173. coroutine.resume(coroutine.create(function()
  174. for i = 1, 10 do
  175. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  176. Swait()
  177. end
  178. naeeym2:Destroy()
  179. end))
  180. end)
  181. chat()
  182. end
  183.  
  184. local function weldBetween(a, b)
  185. local weldd = Instance.new("ManualWeld")
  186. weldd.Part0 = a
  187. weldd.Part1 = b
  188. weldd.C0 = CFrame.new()
  189. weldd.C1 = b.CFrame:inverse() * a.CFrame
  190. weldd.Parent = a
  191. return weldd
  192. end
  193.  
  194. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  195. local acs = Instance.new("Part")
  196. acs.CanCollide = false
  197. acs.Anchored = false
  198. acs.Size = Vector3.new(0,0,0)
  199. acs.CFrame = attachmentpart.CFrame
  200. acs.Parent = Character
  201. acs.BrickColor = color
  202. local meshs = Instance.new("SpecialMesh")
  203. meshs.MeshId = mesh
  204. meshs.TextureId = texture
  205. meshs.Parent = acs
  206. meshs.Scale = scale
  207. meshs.Offset = offset
  208. weldBetween(attachmentpart,acs)
  209. end
  210.  
  211. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  212. if TYPE == "Gem" then
  213. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  214. acs.Anchored = false
  215. acs.CanCollide = false
  216. acs.CFrame = PART.CFrame
  217. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  218. weldBetween(PART,acs)
  219. elseif TYPE == "Skull" then
  220. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  221. acs.Anchored = false
  222. acs.CanCollide = false
  223. acs.CFrame = PART.CFrame
  224. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  225. weldBetween(PART,acs)
  226. elseif TYPE == "Eye" then
  227. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  228. acs.Anchored = false
  229. acs.CanCollide = false
  230. acs.CFrame = PART.CFrame
  231. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  232. weldBetween(PART,acs)
  233. end
  234. end
  235.  
  236. --//=================================\\
  237. --|| USEFUL VALUES
  238. --\\=================================//
  239.  
  240. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  241. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  242. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  243. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  244. local CHANGEDEFENSE = 0
  245. local CHANGEDAMAGE = 0
  246. local CHANGEMOVEMENT = 0
  247. local ANIM = "Idle"
  248. local ATTACK = false
  249. local EQUIPPED = false
  250. local HOLD = false
  251. local COMBO = 1
  252. local Rooted = false
  253. local SINE = 0
  254. local KEYHOLD = false
  255. local CHANGE = 2 / Animation_Speed
  256. local WALKINGANIM = false
  257. local WALK = 0
  258. local VALUE1 = false
  259. local VALUE2 = false
  260. local ROBLOXIDLEANIMATION = IT("Animation")
  261. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  262. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  263. --ROBLOXIDLEANIMATION.Parent = Humanoid
  264. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  265. WEAPONGUI.Name = "Weapon GUI"
  266. local Weapon = IT("Model")
  267. Weapon.Name = Weapon_Name
  268. local Effects = IT("Folder", Weapon)
  269. Effects.Name = "Effects"
  270. local ANIMATOR = Humanoid.Animator
  271. local ANIMATE = Character.Animate
  272. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  273. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  274. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  275. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  276. local UNANCHOR = true
  277.  
  278. local SKILLTEXTCOLOR = C3(0,255,0)
  279.  
  280. --//=================================\\
  281. --\\=================================//
  282.  
  283.  
  284. --//=================================\\
  285. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  286. --\\=================================//
  287.  
  288. ArtificialHB = Instance.new("BindableEvent", script)
  289. ArtificialHB.Name = "ArtificialHB"
  290.  
  291. script:WaitForChild("ArtificialHB")
  292.  
  293. frame = Frame_Speed
  294. tf = 0
  295. allowframeloss = false
  296. tossremainder = false
  297. lastframe = tick()
  298. script.ArtificialHB:Fire()
  299.  
  300. game:GetService("RunService").Heartbeat:connect(function(s, p)
  301. tf = tf + s
  302. if tf >= frame then
  303. if allowframeloss then
  304. script.ArtificialHB:Fire()
  305. lastframe = tick()
  306. else
  307. for i = 1, math.floor(tf / frame) do
  308. script.ArtificialHB:Fire()
  309. end
  310. lastframe = tick()
  311. end
  312. if tossremainder then
  313. tf = 0
  314. else
  315. tf = tf - frame * math.floor(tf / frame)
  316. end
  317. end
  318. end)
  319.  
  320. --//=================================\\
  321. --\\=================================//
  322.  
  323. CV="Lime green"
  324. p = game.Players.LocalPlayer
  325. char = p.Character
  326. local txt = Instance.new("BillboardGui", char)
  327. txt.Adornee = char .Head
  328. txt.Name = "_status"
  329. txt.Size = UDim2.new(2, 0, 1.2, 0)
  330. txt.StudsOffset = Vector3.new(-9, 8, 0)
  331. local text = Instance.new("TextLabel", txt)
  332. text.Size = UDim2.new(10, 0, 7, 0)
  333. text.FontSize = "Size24"
  334. text.TextScaled = true
  335. text.TextTransparency = 0
  336. text.BackgroundTransparency = 1
  337. text.TextTransparency = 0
  338. text.TextStrokeTransparency = 0
  339. text.Font = "Cartoon"
  340. text.TextStrokeColor3 = Color3.new(0,255,0)
  341.  
  342. v=Instance.new("Part")
  343. v.Name = "ColorBrick"
  344. v.Parent=p.Character
  345. v.FormFactor="Symmetric"
  346. v.Anchored=true
  347. v.CanCollide=false
  348. v.BottomSurface="Smooth"
  349. v.TopSurface="Smooth"
  350. v.Size=Vector3.new(10,5,3)
  351. v.Transparency=1
  352. v.CFrame=char.Torso.CFrame
  353. v.BrickColor=BrickColor.new(CV)
  354. v.Transparency=1
  355. text.TextColor3 = Color3.new(255,255,255)
  356. v.Shape="Block"
  357. text.Text = "Aurora God"
  358.  
  359.  
  360. function chatfunc(text)
  361. local chat = coroutine.wrap(function()
  362. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  363. Character:FindFirstChild("TalkingBillBoard"):destroy()
  364. end
  365. local naeeym2 = Instance.new("BillboardGui",Character)
  366. naeeym2.Size = UDim2.new(0,100,0,40)
  367. naeeym2.StudsOffset = Vector3.new(0,3,0)
  368. naeeym2.Adornee = Character.Head
  369. naeeym2.Name = "TalkingBillBoard"
  370. local tecks2 = Instance.new("TextLabel",naeeym2)
  371. tecks2.BackgroundTransparency = 1
  372. tecks2.BorderSizePixel = 0
  373. tecks2.Text = ""
  374. tecks2.Font = "SciFi"
  375. tecks2.TextSize = 30
  376. tecks2.TextStrokeTransparency = 0
  377. tecks2.TextColor3 = Color3.new(255,255,255)
  378. tecks2.TextStrokeColor3 = Color3.new(255,255,255)
  379. tecks2.Size = UDim2.new(1,0,0.5,0)
  380. local tecks3 = Instance.new("TextLabel",naeeym2)
  381. tecks3.BackgroundTransparency = 1
  382. tecks3.BorderSizePixel = 0
  383. tecks3.Text = ""
  384. tecks3.Font = "SciFi"
  385. tecks3.TextSize = 30
  386. tecks3.TextStrokeTransparency = 0
  387. tecks3.TextColor3 = Color3.new(255,255,255)
  388. tecks3.TextStrokeColor3 = Color3.new(0,255,0)
  389. tecks3.Size = UDim2.new(1,0,0.5,0)
  390. for i = 1,string.len(text),1 do
  391. tecks2.Text = string.sub(text,1,i)
  392. tecks3.Text = string.sub(text,1,i)
  393. wait(0.01)
  394. end
  395. wait(2)
  396. for i = 1, 50 do
  397. Swait()
  398. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  399. tecks2.Rotation = tecks2.Rotation - .8
  400. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  401. tecks2.TextTransparency = tecks2.TextTransparency + .04
  402. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  403. tecks3.Rotation = tecks2.Rotation + .8
  404. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  405. tecks3.TextTransparency = tecks2.TextTransparency + .04
  406. end
  407. naeeym2:Destroy()
  408. end)
  409. chat()
  410. end
  411. function onChatted(msg)
  412. chatfunc(msg)
  413. end
  414. Player.Chatted:connect(onChatted)
  415.  
  416. --//=================================\\
  417. --|| SOME FUNCTIONS
  418. --\\=================================//
  419.  
  420. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  421. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  422. end
  423.  
  424. function PositiveAngle(NUMBER)
  425. if NUMBER >= 0 then
  426. NUMBER = 0
  427. end
  428. return NUMBER
  429. end
  430.  
  431. function NegativeAngle(NUMBER)
  432. if NUMBER <= 0 then
  433. NUMBER = 0
  434. end
  435. return NUMBER
  436. end
  437.  
  438. function Swait(NUMBER)
  439. if NUMBER == 0 or NUMBER == nil then
  440. ArtificialHB.Event:wait()
  441. else
  442. for i = 1, NUMBER do
  443. ArtificialHB.Event:wait()
  444. end
  445. end
  446. end
  447.  
  448. function QuaternionFromCFrame(cf)
  449. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  450. local trace = m00 + m11 + m22
  451. if trace > 0 then
  452. local s = math.sqrt(1 + trace)
  453. local recip = 0.5 / s
  454. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  455. else
  456. local i = 0
  457. if m11 > m00 then
  458. i = 1
  459. end
  460. if m22 > (i == 0 and m00 or m11) then
  461. i = 2
  462. end
  463. if i == 0 then
  464. local s = math.sqrt(m00 - m11 - m22 + 1)
  465. local recip = 0.5 / s
  466. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  467. elseif i == 1 then
  468. local s = math.sqrt(m11 - m22 - m00 + 1)
  469. local recip = 0.5 / s
  470. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  471. elseif i == 2 then
  472. local s = math.sqrt(m22 - m00 - m11 + 1)
  473. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  474. end
  475. end
  476. end
  477.  
  478. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  479. local xs, ys, zs = x + x, y + y, z + z
  480. local wx, wy, wz = w * xs, w * ys, w * zs
  481. local xx = x * xs
  482. local xy = x * ys
  483. local xz = x * zs
  484. local yy = y * ys
  485. local yz = y * zs
  486. local zz = z * zs
  487. 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))
  488. end
  489.  
  490. function QuaternionSlerp(a, b, t)
  491. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  492. local startInterp, finishInterp;
  493. if cosTheta >= 0.0001 then
  494. if (1 - cosTheta) > 0.0001 then
  495. local theta = ACOS(cosTheta)
  496. local invSinTheta = 1 / SIN(theta)
  497. startInterp = SIN((1 - t) * theta) * invSinTheta
  498. finishInterp = SIN(t * theta) * invSinTheta
  499. else
  500. startInterp = 1 - t
  501. finishInterp = t
  502. end
  503. else
  504. if (1 + cosTheta) > 0.0001 then
  505. local theta = ACOS(-cosTheta)
  506. local invSinTheta = 1 / SIN(theta)
  507. startInterp = SIN((t - 1) * theta) * invSinTheta
  508. finishInterp = SIN(t * theta) * invSinTheta
  509. else
  510. startInterp = t - 1
  511. finishInterp = t
  512. end
  513. end
  514. 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
  515. end
  516.  
  517. function Clerp(a, b, t)
  518. local qa = {QuaternionFromCFrame(a)}
  519. local qb = {QuaternionFromCFrame(b)}
  520. local ax, ay, az = a.x, a.y, a.z
  521. local bx, by, bz = b.x, b.y, b.z
  522. local _t = 1 - t
  523. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  524. end
  525.  
  526. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  527. local frame = IT("Frame")
  528. frame.BackgroundTransparency = TRANSPARENCY
  529. frame.BorderSizePixel = BORDERSIZEPIXEL
  530. frame.Position = POSITION
  531. frame.Size = SIZE
  532. frame.BackgroundColor3 = COLOR
  533. frame.BorderColor3 = BORDERCOLOR
  534. frame.Name = NAME
  535. frame.Parent = PARENT
  536. return frame
  537. end
  538.  
  539. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  540. local label = IT("TextLabel")
  541. label.BackgroundTransparency = 1
  542. label.Size = UD2(1, 0, 1, 0)
  543. label.Position = UD2(0, 0, 0, 0)
  544. label.TextColor3 = TEXTCOLOR
  545. label.TextStrokeTransparency = STROKETRANSPARENCY
  546. label.TextTransparency = TRANSPARENCY
  547. label.FontSize = TEXTFONTSIZE
  548. label.Font = TEXTFONT
  549. label.BorderSizePixel = BORDERSIZEPIXEL
  550. label.TextScaled = false
  551. label.Text = TEXT
  552. label.Name = NAME
  553. label.Parent = PARENT
  554. return label
  555. end
  556.  
  557. function NoOutlines(PART)
  558. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  559. end
  560.  
  561.  
  562. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  563. local NEWWELD = IT(TYPE)
  564. NEWWELD.Part0 = PART0
  565. NEWWELD.Part1 = PART1
  566. NEWWELD.C0 = C0
  567. NEWWELD.C1 = C1
  568. NEWWELD.Parent = PARENT
  569. return NEWWELD
  570. end
  571.  
  572. function CreateSound(ID, PARENT, VOLUME, PITCH)
  573. local NEWSOUND = nil
  574. coroutine.resume(coroutine.create(function()
  575. NEWSOUND = IT("Sound", PARENT)
  576. NEWSOUND.Volume = VOLUME
  577. NEWSOUND.Pitch = PITCH
  578. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  579. Swait()
  580. NEWSOUND:play()
  581. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  582. end))
  583. return NEWSOUND
  584. end
  585.  
  586. function CFrameFromTopBack(at, top, back)
  587. local right = top:Cross(back)
  588. 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)
  589. end
  590.  
  591. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  592. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Lime green"), "Effect", VT(0,0,0))
  593. local mesh = IT("SpecialMesh",wave)
  594. mesh.MeshType = "FileMesh"
  595. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  596. mesh.Scale = SIZE
  597. mesh.Offset = VT(0,0,-SIZE.X/8)
  598. wave.CFrame = CFRAME
  599. coroutine.resume(coroutine.create(function(PART)
  600. for i = 1, WAIT do
  601. Swait()
  602. mesh.Scale = mesh.Scale + GROW
  603. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  604. if DOESROT == true then
  605. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  606. end
  607. wave.Transparency = wave.Transparency + (0.5/WAIT)
  608. if wave.Transparency > 0.99 then
  609. wave:remove()
  610. end
  611. end
  612. end))
  613. end
  614.  
  615. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  616. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  617. local mesh = IT("SpecialMesh",wave)
  618. mesh.MeshType = "FileMesh"
  619. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  620. mesh.Scale = SIZE
  621. mesh.Offset = VT(0,0,-SIZE.X/8)
  622. wave.CFrame = CFRAME
  623. coroutine.resume(coroutine.create(function(PART)
  624. for i = 1, WAIT do
  625. Swait()
  626. mesh.Scale = mesh.Scale + GROW
  627. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  628. if DOESROT == true then
  629. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  630. end
  631. wave.Transparency = wave.Transparency + (0.5/WAIT)
  632. if wave.Transparency > 0.99 then
  633. wave:remove()
  634. end
  635. end
  636. end))
  637. end
  638.  
  639. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  640. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  641. local mesh = IT("SpecialMesh",wave)
  642. mesh.MeshType = "FileMesh"
  643. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  644. mesh.Scale = SIZE
  645. mesh.Offset = VT(0,0,-SIZE.X/8)
  646. wave.CFrame = CFRAME
  647. coroutine.resume(coroutine.create(function(PART)
  648. for i = 1, WAIT do
  649. Swait()
  650. mesh.Scale = mesh.Scale + GROW
  651. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  652. if DOESROT == true then
  653. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  654. end
  655. wave.Transparency = wave.Transparency + (0.5/WAIT)
  656. if wave.Transparency > 0.99 then
  657. wave:remove()
  658. end
  659. end
  660. end))
  661. end
  662.  
  663. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  664. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  665. local mesh = IT("SpecialMesh",wave)
  666. mesh.MeshType = "FileMesh"
  667. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  668. mesh.Scale = SIZE
  669. mesh.Offset = VT(0,0,-SIZE.X/8)
  670. wave.CFrame = CFRAME
  671. coroutine.resume(coroutine.create(function(PART)
  672. for i = 1, WAIT do
  673. Swait()
  674. mesh.Scale = mesh.Scale + GROW
  675. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  676. if DOESROT == true then
  677. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  678. end
  679. wave.Transparency = wave.Transparency + (0.5/WAIT)
  680. if wave.Transparency > 0.99 then
  681. wave:remove()
  682. end
  683. end
  684. end))
  685. end
  686.  
  687. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  688. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  689. local mesh = IT("SpecialMesh",wave)
  690. mesh.MeshType = "FileMesh"
  691. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  692. mesh.Scale = SIZE
  693. wave.CFrame = CFRAME
  694. coroutine.resume(coroutine.create(function(PART)
  695. for i = 1, WAIT do
  696. Swait()
  697. mesh.Scale = mesh.Scale + GROW
  698. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  699. if DOESROT == true then
  700. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  701. end
  702. wave.Transparency = wave.Transparency + (0.5/WAIT)
  703. if wave.Transparency > 0.99 then
  704. wave:remove()
  705. end
  706. end
  707. end))
  708. end
  709.  
  710. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  711. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  712. local mesh = IT("SpecialMesh",wave)
  713. mesh.MeshType = "FileMesh"
  714. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  715. mesh.Scale = SIZE
  716. wave.CFrame = CFRAME
  717. coroutine.resume(coroutine.create(function(PART)
  718. for i = 1, WAIT do
  719. Swait()
  720. mesh.Scale = mesh.Scale + GROW
  721. if DOESROT == true then
  722. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  723. end
  724. wave.Transparency = wave.Transparency + (0.5/WAIT)
  725. if wave.Transparency > 0.99 then
  726. wave:remove()
  727. end
  728. end
  729. end))
  730. end
  731.  
  732. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  733. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  734. local mesh = IT("SpecialMesh",wave)
  735. mesh.MeshType = "FileMesh"
  736. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  737. mesh.Scale = SIZE
  738. mesh.Offset = VT(0,0,0)
  739. wave.CFrame = CFRAME
  740. coroutine.resume(coroutine.create(function(PART)
  741. for i = 1, WAIT do
  742. Swait()
  743. mesh.Scale = mesh.Scale + GROW
  744. if DOESROT == true then
  745. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  746. end
  747. wave.Transparency = wave.Transparency + (0.5/WAIT)
  748. if wave.Transparency > 0.99 then
  749. wave:remove()
  750. end
  751. end
  752. end))
  753. end
  754.  
  755. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  756. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  757. local mesh = IT("SpecialMesh",wave)
  758. mesh.MeshType = "Sphere"
  759. mesh.Scale = SIZE
  760. mesh.Offset = VT(0,0,0)
  761. wave.CFrame = CFRAME
  762. coroutine.resume(coroutine.create(function(PART)
  763. for i = 1, WAIT do
  764. Swait()
  765. mesh.Scale = mesh.Scale + GROW
  766. wave.Transparency = wave.Transparency + (1/WAIT)
  767. if wave.Transparency > 0.99 then
  768. wave:remove()
  769. end
  770. end
  771. end))
  772. return wave
  773. end
  774.  
  775. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  776. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  777. local mesh = IT("BlockMesh",wave)
  778. wave.CFrame = CFRAME
  779. coroutine.resume(coroutine.create(function(PART)
  780. for i = 1, WAIT do
  781. Swait()
  782. mesh.Scale = mesh.Scale + GROW
  783. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  784. wave.Transparency = wave.Transparency + (1/WAIT)
  785. if wave.Transparency > 0.99 then
  786. wave:remove()
  787. end
  788. end
  789. end))
  790. end
  791.  
  792. function MakeForm(PART,TYPE)
  793. if TYPE == "Cyl" then
  794. local MSH = IT("CylinderMesh",PART)
  795. elseif TYPE == "Ball" then
  796. local MSH = IT("SpecialMesh",PART)
  797. MSH.MeshType = "Sphere"
  798. elseif TYPE == "Wedge" then
  799. local MSH = IT("SpecialMesh",PART)
  800. MSH.MeshType = "Wedge"
  801. end
  802. end
  803.  
  804. function Debree(POS, SWAIT)
  805. coroutine.resume(coroutine.create(function()
  806. local HOLDER = IT("Model", Effects)
  807. HOLDER.Name = "Debree"
  808. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  809. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Lime green", VT(0, 0, 0))
  810. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Pearl", VT(0, 0, 0))
  811. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Lime green", VT(0, 0, 0))
  812. repeat
  813. Swait()
  814. until HITFLOOR ~= nil
  815. local O = 0
  816. for i = 1, 18 do
  817. do
  818. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  819. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  820. O = O - 2.25 + i / 4
  821. coroutine.resume(coroutine.create(function()
  822. Swait(SWAIT)
  823. for i = 1, 60 do
  824. Swait()
  825. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  826. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  827. end
  828. for i = 1, 50 do
  829. Swait()
  830. Part.Size = Part.Size * 0.9
  831. end
  832. end))
  833. end
  834. end
  835. local O = 0
  836. for i = 1, 18 do
  837. do
  838. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  839. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  840. O = O + 2.25 - i / 4
  841. coroutine.resume(coroutine.create(function()
  842. Swait(SWAIT)
  843. for i = 1, 60 do
  844. Swait()
  845. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  846. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  847. end
  848. for i = 1, 50 do
  849. Swait()
  850. Part.Size = Part.Size * 0.9
  851. end
  852. end))
  853. end
  854. end
  855. Swait(SWAIT + 110)
  856. HOLDER:remove()
  857. end))
  858. end
  859.  
  860. function CheckTableForString(Table, String)
  861. for i, v in pairs(Table) do
  862. if string.find(string.lower(String), string.lower(v)) then
  863. return true
  864. end
  865. end
  866. return false
  867. end
  868.  
  869. function CheckIntangible(Hit)
  870. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  871. if Hit and Hit.Parent then
  872. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  873. return true
  874. end
  875. end
  876. return false
  877. end
  878.  
  879. Debris = game:GetService("Debris")
  880.  
  881. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  882. local Direction = CFrame.new(StartPos, Vec).lookVector
  883. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  884. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  885. if RayHit and CheckIntangible(RayHit) then
  886. if DelayIfHit then
  887. wait()
  888. end
  889. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  890. end
  891. return RayHit, RayPos, RayNormal
  892. end
  893.  
  894. function turnto(position)
  895. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  896. end
  897.  
  898. --//=================================\\
  899. --|| SPEECH
  900. --\\=================================//
  901.  
  902.  
  903. --//=================================\\
  904. --|| WEAPON CREATION
  905. --\\=================================//
  906.  
  907. for _, c in pairs(Weapon:GetChildren()) do
  908. if c.ClassName == "Part" then
  909. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  910. end
  911. end
  912.  
  913. Weapon.Parent = Character
  914.  
  915. Humanoid.Died:connect(function()
  916. ATTACK = true
  917. end)
  918.  
  919. local MANA = 600
  920. local MAXMANA = 600
  921.  
  922. print(Class_Name.." loaded.")
  923.  
  924. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  925. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  926. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  927.  
  928. local MANABAR = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0),"Mana Bar")
  929. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(0,0,0), C3(0, 0, 0),"Mana Cover")
  930. local MANATEXT = CreateLabel(MANABAR, "ENERGY ["..FLOOR(MANA).."]", C3(1, 1, 1), "Size32", "SciFi", 1, 2, 1, "Mana Text")
  931.  
  932. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Aurora essence", SKILLTEXTCOLOR, 3, "Legacy", 0, 2, 1, "Text 1")
  933. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Aurora Drop", SKILLTEXTCOLOR, 3, "Legacy", 0, 2, 1, "Text 2")
  934. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V] Northern lights", SKILLTEXTCOLOR, 3, "Legacy", 0, 2, 1, "Text 3")
  935. SKILL3TEXT.TextTransparency = 1
  936.  
  937. --//=================================\\
  938. --|| DAMAGE FUNCTIONS
  939. --\\=================================//
  940.  
  941. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  942. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "White", "Effect", VT())
  943. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  944. local BODYGYRO = IT("BodyGyro", STATPART)
  945. local BODYPOSITION = IT("BodyPosition", STATPART)
  946. BODYPOSITION.P = 2000
  947. BODYPOSITION.D = 100
  948. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  949. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  950. game:GetService("Debris"):AddItem(STATPART ,5)
  951. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  952. BILLBOARDGUI.Adornee = STATPART
  953. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  954. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  955. BILLBOARDGUI.AlwaysOnTop = false
  956. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  957. TEXTLABEL.BackgroundTransparency = 1
  958. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  959. TEXTLABEL.Text = TEXT
  960. TEXTLABEL.Font = "SciFi"
  961. TEXTLABEL.FontSize="Size42"
  962. TEXTLABEL.TextColor3 = COLOR
  963. TEXTLABEL.TextStrokeTransparency = 1
  964. TEXTLABEL.TextScaled = true
  965. TEXTLABEL.TextWrapped = true
  966. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  967. if LABELTYPE == "Normal" then
  968. for i = 1, 20 do
  969. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  970. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  971. end
  972. elseif LABELTYPE == "Debuff" then
  973. for i = 1, 20 do
  974. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  975. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  976. end
  977. elseif LABELTYPE == "Shock" then
  978. local ORIGIN = STATPART.Position
  979. for i = 1, 20 do
  980. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  981. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  982. end
  983. end
  984. THEPART.Parent = nil
  985. end),STATPART, BODYPOSITION, TEXTLABEL)
  986. end
  987.  
  988.  
  989. --//=================================\\
  990. --|| DAMAGING
  991. --\\=================================//
  992.  
  993. function AddMana(amount)
  994. MANA = MANA + amount
  995. end
  996.  
  997. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesPoison)
  998. local dmg = math.random(min,max)
  999. for i,v in ipairs(workspace:GetChildren()) do
  1000. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1001. local body = v:GetChildren()
  1002. for part = 1, #body do
  1003. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1004. if(body[part].Position - position).Magnitude < radius then
  1005. if v.ClassName == "Model" then
  1006. if v:FindFirstChild("Humanoid") then
  1007. if v.Humanoid.Health ~= 0 then
  1008. if CanBeDodgedByJumping == true then
  1009. if body[part].Position.Y < position.Y+5 then
  1010. if math.random(1,100) < critrate+1 then
  1011. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1012. AddMana(dmg*critmultiplier)
  1013. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1014. else
  1015. v.Humanoid.Health = v.Humanoid.Health - dmg
  1016. AddMana(dmg)
  1017. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1018. end
  1019. local defence = Instance.new("BoolValue",v)
  1020. defence.Name = ("HitBy"..Player.Name)
  1021. game:GetService("Debris"):AddItem(defence, 0.005)
  1022. end
  1023. else
  1024. if beserk == true then
  1025. v.Humanoid.Health = 0
  1026. end
  1027. if math.random(1,100) < critrate+1 then
  1028. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1029. AddMana(dmg*critmultiplier)
  1030. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1031. else
  1032. v.Humanoid.Health = v.Humanoid.Health - dmg
  1033. AddMana(dmg)
  1034. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1035. end
  1036. local defence = Instance.new("BoolValue",v)
  1037. defence.Name = ("HitBy"..Player.Name)
  1038. game:GetService("Debris"):AddItem(defence, 0.005)
  1039. end
  1040. end
  1041. end
  1042. end
  1043. if DoesPoison == true then
  1044. if v:FindFirstChildOfClass("Humanoid") then
  1045. Poison(v:FindFirstChildOfClass("Humanoid"),MRANDOM(7,23)*2,1)
  1046. end
  1047. end
  1048. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1049. end
  1050. end
  1051. end
  1052. if v.ClassName == "Part" then
  1053. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1054. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1055. end
  1056. end
  1057. end
  1058. end
  1059. end
  1060.  
  1061. function Poison(HUMANOID,LAST,DAMAGE)
  1062. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  1063. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1064. defence.Name = ("PoisonedBy"..Player.Name)
  1065. game:GetService("Debris"):AddItem(defence, LAST)
  1066. coroutine.resume(coroutine.create(function()
  1067. for i = 1, LAST/2 do
  1068. if HUMANOID.Parent:FindFirstChild("Head") then
  1069. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  1070. end
  1071. Swait(2)
  1072. AddMana(DAMAGE)
  1073. HUMANOID.Health = HUMANOID.Health - DAMAGE
  1074. end
  1075. end))
  1076. end
  1077. end
  1078.  
  1079. --//=================================\\
  1080. --|| ATTACK FUNCTIONS AND STUFF
  1081. --\\=================================//
  1082.  
  1083. function clerp(a, b, t)
  1084. return a:lerp(b, t)
  1085. end
  1086.  
  1087. function newBezier(startpos, pos2, pos3, endpos, t)
  1088. local A = clerp(startpos, pos2, t)
  1089. local B = clerp(pos2, pos3, t)
  1090. local C = clerp(pos3, endpos, t)
  1091. local lerp1 = clerp(A, B, t)
  1092. local lerp2 = clerp(B, C, t)
  1093. local cubic = clerp(lerp1, lerp2, t)
  1094. return cubic
  1095. end
  1096.  
  1097. function JumpUp()
  1098. ATTACK = true
  1099. --Rooted = true
  1100. for i=0, 2, 0.1 / Animation_Speed do
  1101. Swait()
  1102. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1105. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1106. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1107. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1108. end
  1109. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1110. CreateWave(0,3.5,true,0.2,150,RootPart,-2)
  1111. CreateWave(0,5,true,-0.2,150,RootPart,-2)
  1112. local bv = Instance.new("BodyVelocity")
  1113. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1114. bv.velocity = Vector3.new(0,300,0)
  1115. bv.Parent = Torso
  1116. bv.Name = "DASH"
  1117. ATTACK = false
  1118. --Rooted = false
  1119. game:GetService("Debris"):AddItem(bv, 0.5)
  1120. coroutine.resume(coroutine.create(function()
  1121. Swait(50)
  1122. HASJUMPED = false
  1123. end))
  1124. end
  1125.  
  1126. function BloodArrow(Target)
  1127. chatfunc("Aurora essence!")
  1128. ATTACK = true
  1129. ATTACK = false
  1130. local newball = Instance.new("Part", workspace)
  1131. newball.Anchored = true
  1132. newball.Shape = "Ball"
  1133. newball.Material = "Neon"
  1134. newball.Size = Vector3.new(0,0,0)
  1135. newball.CanCollide = false
  1136. newball.CFrame = CF(Target)
  1137. newball.BrickColor = BRICKC"Lime green"
  1138. newball.Transparency = 1
  1139. local POS = Mouse.Hit.p
  1140. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(0,0,0)
  1141. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(0,0,0)
  1142. local A1 = IT("Attachment",newball)
  1143. A1.Position = Vector3.new(0, 0.5, 0)
  1144. local A2 = IT("Attachment",newball)
  1145. A2.Position = Vector3.new(0, -0.5, 0)
  1146. local Trail = IT("Trail",newball)
  1147. Trail.LightEmission = 1
  1148. Trail.FaceCamera = true
  1149. Trail.Texture = "rbxassetid://945758042"
  1150. Trail.Attachment0 = A1
  1151. Trail.Attachment1 = A2
  1152. Trail.Lifetime = 2
  1153. Trail.MinLength = 0
  1154. Trail.Transparency = NumberSequence.new(0, 1)
  1155. Trail.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(102, 51, 153))
  1156. coroutine.resume(coroutine.create(function()
  1157. for i = 0, 1, 0.07 do
  1158. Swait()
  1159. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  1160. end
  1161. newball.Transparency = 1
  1162. CreateSound("514867425", newball, 3, 1)
  1163. AoEDamage(newball.Position,5,15,25,5,false,2,2,false,false)
  1164. MagicSphere(VT(30,30,30),55,newball.CFrame,"Lime green",VT(0.2,0.2,0.2))
  1165. MagicSphere(VT(20,20,20),55,newball.CFrame,"Pearl",VT(0.2,0.2,0.2))
  1166. game:GetService("Debris"):AddItem(newball, 5)
  1167. end))
  1168. end
  1169.  
  1170. function WarpVector()
  1171. chatfunc("hehe.")
  1172. ATTACK = true
  1173. for i = 0, 1, 0.1 / Animation_Speed do
  1174. Swait()
  1175. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1176. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1177. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1178. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1179. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1180. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1181. end
  1182. Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  1183. UNANCHOR = false
  1184. RootPart.Anchored = true
  1185. for i = 0, 2, 0.1 / Animation_Speed do
  1186. Swait()
  1187. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1188. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1191. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1192. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1193. end
  1194. local POS = RootPart.Position
  1195. RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  1196. Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  1197. for i = 0, 2, 0.1 / Animation_Speed do
  1198. Swait()
  1199. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1200. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1203. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1204. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1205. end
  1206. ATTACK = false
  1207. end
  1208.  
  1209. function AuroraDash()
  1210. chatfunc("CHARGE!")
  1211. ATTACK = true
  1212. Torso.Transparency = 1
  1213. LeftArm.Transparency = 1
  1214. RightArm.Transparency = 1
  1215. LeftLeg.Transparency = 1
  1216. RightLeg.Transparency = 1
  1217. Head.Transparency = 1
  1218. local Speed = 200
  1219. Swait(60)
  1220. ATTACK = false
  1221. Torso.Transparency = 0
  1222. LeftArm.Transparency = 0
  1223. RightArm.Transparency = 0
  1224. LeftLeg.Transparency = 0
  1225. RightLeg.Transparency = 0
  1226. Head.Transparency = 0
  1227. local Speed = 75
  1228. end
  1229.  
  1230. function BloodPillar()
  1231. chatfunc("Aurora drop!")
  1232. ATTACK = true
  1233. coroutine.resume(coroutine.create(function()
  1234. local CFRAME = CF(Mouse.Hit.p)
  1235. MagicSphere(VT(20,6500,20),55,CF(Mouse.Hit.p),"Lime green",VT(-15/55,0,-15/55))
  1236. MagicSphere(VT(14,6500,14),55,CF(Mouse.Hit.p),"Pearl",VT(-14/55,0,-14/55))
  1237. Swait(55)
  1238. AoEDamage(Mouse.Hit.p,5,15,25,5,false,2,2,false,false)
  1239. local aaaa = MagicSphere(VT(30,30,30),55,CFRAME,"Lime green",VT(0.2,0.2,0.2))
  1240. MagicSphere(VT(20,20,20),55,CFRAME,"Pearl",VT(0.2,0.2,0.2))
  1241. CreateSound("514867425", aaaa, 3, 1)
  1242. end))
  1243. ATTACK = false
  1244. end
  1245.  
  1246. function Violence()
  1247. chatfunc("FINAL ATTACK!! NORTHERN LIGHTS!!")
  1248. ATTACK = true
  1249. coroutine.resume(coroutine.create(function()
  1250. local CFRAME = CF(Mouse.Hit.p)
  1251. MagicSphere(VT(35,6500,35),155,CF(Mouse.Hit.p),"Lime green",VT(-35/155,0,-35/155))
  1252. MagicSphere(VT(34,6500,34),155,CF(Mouse.Hit.p),"Pearl",VT(-29/155,0,-29/155))
  1253. ATTACK = false
  1254. Swait(155)
  1255. AoEDamage(Mouse.Hit.p,65,1500,2500,45,false,2,2,false,false)
  1256. local aaaa = MagicSphere(VT(62,62,62),155,CFRAME,"Lime green",VT(2,2,2))
  1257. MagicSphere(VT(57,57,57),155,CFRAME,"Pearl",VT(2,2,2))
  1258. CreateSound("514867425", aaaa, 16, 0.85)
  1259. MANA = 0
  1260. end))
  1261. end
  1262.  
  1263. --//=================================\\
  1264. --|| ASSIGN THINGS TO KEYS
  1265. --\\=================================//
  1266.  
  1267. function MouseDown(Mouse)
  1268. if ATTACK == false then
  1269. end
  1270. end
  1271.  
  1272. function MouseUp(Mouse)
  1273. HOLD = false
  1274. end
  1275.  
  1276. function KeyDown(Key)
  1277. KEYHOLD = true
  1278. if Key == "z" and ATTACK == false then
  1279. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1280. wait(0.1)
  1281. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1282. wait(0.1)
  1283. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1284. wait(0.1)
  1285. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1286. wait(0.1)
  1287. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1288. end
  1289.  
  1290. if Key == "b" and ATTACK == false then
  1291. BloodPillar()
  1292. end
  1293.  
  1294. if Key == "c" and ATTACK == false then
  1295. WarpVector()
  1296. end
  1297.  
  1298. if Key == "v" and ATTACK == false and MANA >= MAXMANA then
  1299. Violence()
  1300. wait(0.1)
  1301. Violence()
  1302. wait(0.1)
  1303. Violence()
  1304. wait(0.1)
  1305. Violence()
  1306. wait(0.1)
  1307. Violence()
  1308. wait(0.1)
  1309. Violence()
  1310. wait(0.1)
  1311. Violence()
  1312. wait(0.1)
  1313. Violence()
  1314. wait(0.1)
  1315. Violence()
  1316. end
  1317. end
  1318.  
  1319. function KeyUp(Key)
  1320. KEYHOLD = false
  1321. end
  1322.  
  1323. Mouse.Button1Down:connect(function(NEWKEY)
  1324. MouseDown(NEWKEY)
  1325. end)
  1326. Mouse.Button1Up:connect(function(NEWKEY)
  1327. MouseUp(NEWKEY)
  1328. end)
  1329. Mouse.KeyDown:connect(function(NEWKEY)
  1330. KeyDown(NEWKEY)
  1331. end)
  1332. Mouse.KeyUp:connect(function(NEWKEY)
  1333. KeyUp(NEWKEY)
  1334. end)
  1335.  
  1336. function onChatted(msg)
  1337. if msg == "Aurora drop" and ATTACK == false then
  1338. BloodPillar()
  1339. elseif msg == "Aurora barage" and ATTACK == false then
  1340. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1341. wait(0.1)
  1342. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1343. wait(0.1)
  1344. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1345. wait(0.1)
  1346. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1347. wait(0.1)
  1348. BloodArrow(Torso.CFrame*CF(0,1,0).p)
  1349. elseif msg == "Aurora dash" and ATTACK == false then
  1350. AuroraDash()
  1351. elseif msg == "Aurora warp" and ATTACK == false then
  1352. WarpVector()
  1353. elseif msg == "Aurora leap" and ATTACK == false then
  1354. JumpUp()
  1355. elseif msg == "NORTHERN LIGHTS!" and ATTACK == false and MANA >= MAXMANA then
  1356. Violence()
  1357. wait(0.1)
  1358. Violence()
  1359. wait(0.1)
  1360. Violence()
  1361. wait(0.1)
  1362. Violence()
  1363. wait(0.1)
  1364. Violence()
  1365. wait(0.1)
  1366. Violence()
  1367. wait(0.1)
  1368. Violence()
  1369. wait(0.1)
  1370. Violence()
  1371. wait(0.1)
  1372. Violence()
  1373. elseif msg == "Mana" then
  1374. MANA = MAXMANA
  1375. end
  1376. end
  1377. Player.Chatted:connect(onChatted)
  1378.  
  1379. --//=================================\\
  1380. --\\=================================//
  1381.  
  1382.  
  1383. function unanchor()
  1384. if UNANCHOR == true then
  1385. g = Character:GetChildren()
  1386. for i = 1, #g do
  1387. if g[i].ClassName == "Part" then
  1388. g[i].Anchored = false
  1389. end
  1390. end
  1391. end
  1392. end
  1393.  
  1394.  
  1395. --//=================================\\
  1396. --|| WRAP THE WHOLE SCRIPT UP
  1397. --\\=================================//
  1398.  
  1399. Humanoid.Changed:connect(function(Jump)
  1400. if Jump == "Jump" and (Disable_Jump == true) then
  1401. Humanoid.Jump = false
  1402. end
  1403. end)
  1404.  
  1405. while true do
  1406. Swait()
  1407. ANIMATE.Parent = nil
  1408. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1409. IDLEANIMATION:Play()
  1410. SINE = SINE + CHANGE
  1411. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1412. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1413. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1414. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1415. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1416. if TORSOVELOCITY < 1 then
  1417. ANIM = "Idle"
  1418. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1424. elseif TORSOVELOCITY > 1 then
  1425. ANIM = "Walk"
  1426. WALK = WALK + 1 / Animation_Speed
  1427. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1428. WALK = 0
  1429. if WALKINGANIM == true then
  1430. WALKINGANIM = false
  1431. elseif WALKINGANIM == false then
  1432. WALKINGANIM = true
  1433. end
  1434. end
  1435. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1436. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1437. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1438. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-7.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1439. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1440. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1441. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1442. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1443. end
  1444. if #Effects2>0 then
  1445. for e=1,#Effects2 do
  1446. if Effects2[e]~=nil then
  1447. local Thing=Effects2[e]
  1448. if Thing~=nil then
  1449. local Part=Thing[1]
  1450. local Mode=Thing[2]
  1451. local Delay=Thing[3]
  1452. local IncX=Thing[4]
  1453. local IncY=Thing[5]
  1454. local IncZ=Thing[6]
  1455. local Part2=Thing[8]
  1456. if Thing[1].Transparency<=1 then
  1457. if Thing[2]=="Block1" then
  1458. Thing[1].CFrame=Thing[1].CFrame
  1459. Mesh=Thing[1].Mesh
  1460. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1461. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1462. elseif Thing[2]=="Cylinder" then
  1463. Mesh=Thing[1].Mesh
  1464. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1465. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1466. elseif Thing[2]=="Blood" then
  1467. Mesh=Thing[7]
  1468. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1469. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1470. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1471. elseif Thing[2]=="Elec" then
  1472. Mesh=Thing[1].Mesh
  1473. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1474. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1475. elseif Thing[2]=="Disappear" then
  1476. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1477. end
  1478. else
  1479. Part.Parent=nil
  1480. table.remove(Effects2,e)
  1481. end
  1482. end
  1483. end
  1484. end
  1485. end
  1486. unanchor()
  1487. Humanoid.MaxHealth = "inf"
  1488. Humanoid.Health = "inf"
  1489. if Rooted == false then
  1490. Disable_Jump = false
  1491. Humanoid.WalkSpeed = Speed
  1492. elseif Rooted == true then
  1493. Disable_Jump = true
  1494. Humanoid.WalkSpeed = 0
  1495. end
  1496. if Head:FindFirstChild("face") then
  1497. Head.face:remove()
  1498. end
  1499. if Head:FindFirstChildOfClass("Sound") then
  1500. Head:FindFirstChildOfClass("Sound"):remove()
  1501. end
  1502. MANACOVER:TweenSize(UD2(1 * (MANA / MAXMANA), 0, 1, 0), "Out", "Quad", 0.1, 0.1)
  1503. MANATEXT.Text = "ENERGY ["..FLOOR(MANA).."]"
  1504. if MANA >= MAXMANA then
  1505. MANACOVER.Transparency = 1
  1506. SKILL3TEXT.TextTransparency = 0
  1507. else
  1508. MANACOVER.Transparency = 0
  1509. SKILL3TEXT.TextTransparency = 1
  1510. end
  1511. end
  1512.  
  1513. --//=================================\\
  1514. --\\=================================//
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520. --//====================================================\\--
  1521. --|| END OF SCRIPT
  1522. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement