Advertisement
DoggoClan

LON

Jun 1st, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.17 KB | None | 0 0
  1. --//====================================================\\--
  2. -- CREATED BY SHACKLUSTER -- EDITED BY ZAKD211006
  3. --\\====================================================//-- -- Ello
  4. --This was fixed by MRSHEEPY123. Here are some of the things I did/removed in the script (sorry if it upsets you)
  5. --The move "X" is basically a suicide move in this version as it makes you vanish and you do not come back
  6. --Removed Fire Particles. They broke and I did not have a solution to fix that issue.
  7. --Removed the package your character would have. It now uses your own character's current package.
  8. --Added Text like the working one Shackluster used.
  9. --I sadly had to remove some moves as they would not work. :(
  10. --Enjoy it anyways :) (No way am i tradeing)
  11. wait(1)
  12.  
  13. Player = game:GetService("Players").LocalPlayer
  14. PlayerGui = Player.PlayerGui
  15. Cam = workspace.CurrentCamera
  16. Backpack = Player.Backpack
  17. repeat wait() until Player.Character
  18. Character = Player.Character
  19. repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
  20. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35.  
  36. IT = Instance.new
  37. CF = CFrame.new
  38. VT = Vector3.new
  39. RAD = math.rad
  40. C3 = Color3.new
  41. UD2 = UDim2.new
  42. BRICKC = BrickColor.new
  43. ANGLES = CFrame.Angles
  44. EULER = CFrame.fromEulerAnglesXYZ
  45. COS = math.cos
  46. ACOS = math.acos
  47. SIN = math.sin
  48. ASIN = math.asin
  49. ABS = math.abs
  50. MRANDOM = math.random
  51. FLOOR = math.floor
  52.  
  53. local naeeym2 = Instance.new("BillboardGui",Character)
  54. naeeym2.AlwaysOnTop = true
  55. naeeym2.Size = UDim2.new(7,35,3,15)
  56. naeeym2.StudsOffset = Vector3.new(0,2,0)
  57. naeeym2.MaxDistance = 75
  58. naeeym2.Adornee = Character.Head
  59. naeeym2.Name = "Name2"
  60. local tecks2 = Instance.new("TextLabel",naeeym2)
  61. tecks2.BackgroundTransparency = 1
  62. tecks2.TextScaled = true
  63. tecks2.BorderSizePixel = 0
  64. tecks2.Text = "NoobyPotato The Lord"
  65. tecks2.Font = "Bodoni"
  66. tecks2.TextSize = 30
  67. tecks2.TextStrokeTransparency = 0
  68. tecks2.TextColor3 = Color3.fromRGB(255,255,0)
  69. tecks2.TextStrokeColor3 = Color3.fromRGB(0,255,0)
  70. tecks2.Size = UDim2.new(1,0,0.5,0)
  71. tecks2.Parent = naeeym2
  72.  
  73. local naeeym3 = Instance.new("BillboardGui",Character)
  74. naeeym3.AlwaysOnTop = true
  75. naeeym3.Size = UDim2.new(7,35,3,15)
  76. naeeym3.StudsOffset = Vector3.new(2,3,0)
  77. naeeym3.MaxDistance = 75
  78. naeeym3.Adornee = Character.Head
  79. naeeym3.Name = "Name3"
  80. local tecks3 = Instance.new("TextLabel",naeeym2)
  81. tecks3.BackgroundTransparency = 1
  82. tecks3.TextScaled = true
  83. tecks3.BorderSizePixel = 0
  84. tecks3.Text = "NoobyPotato"
  85. tecks3.Font = "SciFi"
  86. tecks3.TextSize = 30
  87. tecks3.TextStrokeTransparency = 0
  88. tecks3.TextColor3 = Color3.fromRGB(140, 140, 140)
  89. tecks3.TextStrokeColor3 = Color3.fromRGB(140, 140, 140)
  90. tecks3.Size = UDim2.new(0.5,0,0.2,0)
  91. tecks3.Parent = naeeym3
  92.  
  93. --//=================================\\
  94. --|| USEFUL VALUES
  95. --\\=================================//
  96.  
  97. Animation_Speed = 3
  98. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  99. local Speed = 16
  100. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  101. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  102. local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  103. local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  104. local DAMAGEMULTIPLIER = 1
  105. local ANIM = "Idle"
  106. local ATTACK = false
  107. local EQUIPPED = false
  108. local HOLD = false
  109. local COMBO = 1
  110. local Rooted = false
  111. local SINE = 0
  112. local KEYHOLD = false
  113. local CHANGE = 2 / Animation_Speed
  114. local WALKINGANIM = false
  115. local VALUE1 = false
  116. local VALUE2 = false
  117. local ROBLOXIDLEANIMATION = IT("Animation")
  118. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  119. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  120. --ROBLOXIDLEANIMATION.Parent = Humanoid
  121. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  122. WEAPONGUI.Name = "Weapon GUI"
  123. local Effects = IT("Folder", Character)
  124. Effects.Name = "Effects"
  125. local SpecialEffects = IT("Folder", Character)
  126. SpecialEffects.Name = "SpecialEffects"
  127. local ANIMATOR = Humanoid.Animator
  128. local ANIMATE = Character.Animate
  129. local UNANCHOR = true
  130. local REGENRATE = 1
  131. local FULLREGEN = false
  132. local POSEIDON = false
  133. local EXPLOSIONSMALLSOUND = 439342426
  134. local EXPLOSIONMEDIUMSOUND = 605005842
  135. local EXPLOSIONLARGESOUND = 565538688
  136. local CHARGE = 278641993
  137. local POSEIDONSOUND = 374289727
  138. local FIREBALLSOUND = 414517770
  139. local BURNSOUND = 565777213
  140. local FIREFIELD = false
  141. local SEARING = false
  142. local BODYPOS = nil
  143. local GYRO = nil
  144. local DIRECTTURN = false
  145. local APPLYGYRO = true
  146. local SONGS = {1604593557,1534958855,614032233}
  147. local CHOSENSONG = MRANDOM(1,#SONGS)
  148.  
  149. --//=================================\\
  150. --\\=================================//
  151.  
  152.  
  153. --//=================================\\
  154. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  155. --\\=================================//
  156.  
  157. ArtificialHB = Instance.new("BindableEvent", script)
  158. ArtificialHB.Name = "ArtificialHB"
  159.  
  160. script:WaitForChild("ArtificialHB")
  161.  
  162. frame = Frame_Speed
  163. tf = 0
  164. allowframeloss = false
  165. tossremainder = false
  166. lastframe = tick()
  167. script.ArtificialHB:Fire()
  168.  
  169. game:GetService("RunService").Heartbeat:connect(function(s, p)
  170. tf = tf + s
  171. if tf >= frame then
  172. if allowframeloss then
  173. script.ArtificialHB:Fire()
  174. lastframe = tick()
  175. else
  176. for i = 1, math.floor(tf / frame) do
  177. script.ArtificialHB:Fire()
  178. end
  179. lastframe = tick()
  180. end
  181. if tossremainder then
  182. tf = 0
  183. else
  184. tf = tf - frame * math.floor(tf / frame)
  185. end
  186. end
  187. end)
  188.  
  189. --//=================================\\
  190. --\\=================================//
  191.  
  192. --//=================================\\
  193. --|| SOME FUNCTIONS
  194. --\\=================================//
  195.  
  196. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  197. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  198. end
  199.  
  200. function PositiveAngle(NUMBER)
  201. if NUMBER >= 0 then
  202. NUMBER = 0
  203. end
  204. return NUMBER
  205. end
  206.  
  207. function NegativeAngle(NUMBER)
  208. if NUMBER <= 0 then
  209. NUMBER = 0
  210. end
  211. return NUMBER
  212. end
  213.  
  214. function Swait(NUMBER)
  215. if NUMBER == 0 or NUMBER == nil then
  216. ArtificialHB.Event:wait()
  217. else
  218. for i = 1, NUMBER do
  219. ArtificialHB.Event:wait()
  220. end
  221. end
  222. end
  223.  
  224. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  225. local NEWMESH = IT(MESH)
  226. if MESH == "SpecialMesh" then
  227. NEWMESH.MeshType = MESHTYPE
  228. if MESHID ~= "nil" and MESHID ~= "" then
  229. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  230. end
  231. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  232. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  233. end
  234. end
  235. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  236. NEWMESH.Scale = SCALE
  237. NEWMESH.Parent = PARENT
  238. return NEWMESH
  239. end
  240.  
  241. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  242. local NEWPART = IT("Part")
  243. NEWPART.formFactor = FORMFACTOR
  244. NEWPART.Reflectance = REFLECTANCE
  245. NEWPART.Transparency = TRANSPARENCY
  246. NEWPART.CanCollide = false
  247. NEWPART.Locked = true
  248. NEWPART.Anchored = true
  249. if ANCHOR == false then
  250. NEWPART.Anchored = false
  251. end
  252. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  253. NEWPART.Name = NAME
  254. NEWPART.Size = SIZE
  255. NEWPART.Position = Torso.Position
  256. NEWPART.Material = MATERIAL
  257. NEWPART:BreakJoints()
  258. NEWPART.Parent = PARENT
  259. return NEWPART
  260. end
  261.  
  262. local function weldBetween(a, b)
  263. local weldd = Instance.new("ManualWeld")
  264. weldd.Part0 = a
  265. weldd.Part1 = b
  266. weldd.C0 = CFrame.new()
  267. weldd.C1 = b.CFrame:inverse() * a.CFrame
  268. weldd.Parent = a
  269. return weldd
  270. end
  271.  
  272.  
  273. function QuaternionFromCFrame(cf)
  274. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  275. local trace = m00 + m11 + m22
  276. if trace > 0 then
  277. local s = math.sqrt(1 + trace)
  278. local recip = 0.5 / s
  279. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  280. else
  281. local i = 0
  282. if m11 > m00 then
  283. i = 1
  284. end
  285. if m22 > (i == 0 and m00 or m11) then
  286. i = 2
  287. end
  288. if i == 0 then
  289. local s = math.sqrt(m00 - m11 - m22 + 1)
  290. local recip = 0.5 / s
  291. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  292. elseif i == 1 then
  293. local s = math.sqrt(m11 - m22 - m00 + 1)
  294. local recip = 0.5 / s
  295. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  296. elseif i == 2 then
  297. local s = math.sqrt(m22 - m00 - m11 + 1)
  298. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  299. end
  300. end
  301. end
  302.  
  303. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  304. local xs, ys, zs = x + x, y + y, z + z
  305. local wx, wy, wz = w * xs, w * ys, w * zs
  306. local xx = x * xs
  307. local xy = x * ys
  308. local xz = x * zs
  309. local yy = y * ys
  310. local yz = y * zs
  311. local zz = z * zs
  312. 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))
  313. end
  314.  
  315. function QuaternionSlerp(a, b, t)
  316. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  317. local startInterp, finishInterp;
  318. if cosTheta >= 0.0001 then
  319. if (1 - cosTheta) > 0.0001 then
  320. local theta = ACOS(cosTheta)
  321. local invSinTheta = 1 / SIN(theta)
  322. startInterp = SIN((1 - t) * theta) * invSinTheta
  323. finishInterp = SIN(t * theta) * invSinTheta
  324. else
  325. startInterp = 1 - t
  326. finishInterp = t
  327. end
  328. else
  329. if (1 + cosTheta) > 0.0001 then
  330. local theta = ACOS(-cosTheta)
  331. local invSinTheta = 1 / SIN(theta)
  332. startInterp = SIN((t - 1) * theta) * invSinTheta
  333. finishInterp = SIN(t * theta) * invSinTheta
  334. else
  335. startInterp = t - 1
  336. finishInterp = t
  337. end
  338. end
  339. 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
  340. end
  341.  
  342. function Clerp(a, b, t)
  343. local qa = {QuaternionFromCFrame(a)}
  344. local qb = {QuaternionFromCFrame(b)}
  345. local ax, ay, az = a.x, a.y, a.z
  346. local bx, by, bz = b.x, b.y, b.z
  347. local _t = 1 - t
  348. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  349. end
  350.  
  351. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  352. local frame = IT("Frame")
  353. frame.BackgroundTransparency = TRANSPARENCY
  354. frame.BorderSizePixel = BORDERSIZEPIXEL
  355. frame.Position = POSITION
  356. frame.Size = SIZE
  357. frame.BackgroundColor3 = COLOR
  358. frame.BorderColor3 = BORDERCOLOR
  359. frame.Name = NAME
  360. frame.Parent = PARENT
  361. return frame
  362. end
  363.  
  364. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  365. local label = IT("TextLabel")
  366. label.BackgroundTransparency = 1
  367. label.Size = UD2(1, 0, 1, 0)
  368. label.Position = UD2(0, 0, 0, 0)
  369. label.TextColor3 = TEXTCOLOR
  370. label.TextStrokeTransparency = STROKETRANSPARENCY
  371. label.TextTransparency = TRANSPARENCY
  372. label.FontSize = TEXTFONTSIZE
  373. label.Font = TEXTFONT
  374. label.BorderSizePixel = BORDERSIZEPIXEL
  375. label.TextScaled = false
  376. label.Text = TEXT
  377. label.Name = NAME
  378. label.Parent = PARENT
  379. return label
  380. end
  381.  
  382. function NoOutlines(PART)
  383. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  384. end
  385.  
  386. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  387. local NEWWELD = IT(TYPE)
  388. NEWWELD.Part0 = PART0
  389. NEWWELD.Part1 = PART1
  390. NEWWELD.C0 = C0
  391. NEWWELD.C1 = C1
  392. NEWWELD.Parent = PARENT
  393. return NEWWELD
  394. end
  395.  
  396. local S = IT("Sound")
  397. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  398. local NEWSOUND = nil
  399. coroutine.resume(coroutine.create(function()
  400. NEWSOUND = S:Clone()
  401. NEWSOUND.Parent = PARENT
  402. NEWSOUND.Volume = VOLUME
  403. NEWSOUND.Pitch = PITCH
  404. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  405. NEWSOUND:play()
  406. if DOESLOOP == true then
  407. NEWSOUND.Looped = true
  408. else
  409. repeat wait(1) until NEWSOUND.Playing == false
  410. NEWSOUND:remove()
  411. end
  412. end))
  413. return NEWSOUND
  414. end
  415.  
  416. function CFrameFromTopBack(at, top, back)
  417. local right = top:Cross(back)
  418. 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)
  419. end
  420.  
  421. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  422. function WACKYEFFECT(Table)
  423. local TYPE = (Table.EffectType or "Sphere")
  424. local SIZE = (Table.Size or VT(1,1,1))
  425. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  426. local TRANSPARENCY = (Table.Transparency or 0)
  427. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  428. local CFRAME = (Table.CFrame or Torso.CFrame)
  429. local MOVEDIRECTION = (Table.MoveToPos or nil)
  430. local ROTATION1 = (Table.RotationX or 0)
  431. local ROTATION2 = (Table.RotationY or 0)
  432. local ROTATION3 = (Table.RotationZ or 0)
  433. local MATERIAL = (Table.Material or "Neon")
  434. local COLOR = (Table.Color or C3(1,1,1))
  435. local TIME = (Table.Time or 45)
  436. local SOUNDID = (Table.SoundID or nil)
  437. local SOUNDPITCH = (Table.SoundPitch or nil)
  438. local SOUNDVOLUME = (Table.SoundVolume or nil)
  439. coroutine.resume(coroutine.create(function()
  440. local PLAYSSOUND = false
  441. local SOUND = nil
  442. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  443. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  444. PLAYSSOUND = true
  445. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  446. end
  447. EFFECT.Color = COLOR
  448. local MSH = nil
  449. if TYPE == "Sphere" then
  450. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  451. elseif TYPE == "Block" then
  452. MSH = IT("BlockMesh",EFFECT)
  453. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  454. elseif TYPE == "Wave" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  456. elseif TYPE == "Ring" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  458. elseif TYPE == "Slash" then
  459. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  460. elseif TYPE == "Round Slash" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  462. elseif TYPE == "Swirl" then
  463. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  464. elseif TYPE == "Skull" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  466. elseif TYPE == "Crystal" then
  467. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  468. end
  469. if MSH ~= nil then
  470. local MOVESPEED = nil
  471. if MOVEDIRECTION ~= nil then
  472. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  473. end
  474. local GROWTH = SIZE - ENDSIZE
  475. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  476. if TYPE == "Block" then
  477. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  478. else
  479. EFFECT.CFrame = CFRAME
  480. end
  481. for LOOP = 1, TIME+1 do
  482. Swait()
  483. MSH.Scale = MSH.Scale - GROWTH/TIME
  484. if TYPE == "Wave" then
  485. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  486. end
  487. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  488. if TYPE == "Block" then
  489. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  490. else
  491. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  492. end
  493. if MOVEDIRECTION ~= nil then
  494. local ORI = EFFECT.Orientation
  495. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  496. EFFECT.Orientation = ORI
  497. end
  498. end
  499. if PLAYSSOUND == false then
  500. EFFECT:remove()
  501. else
  502. repeat Swait() until SOUND.Playing == false
  503. EFFECT:remove()
  504. end
  505. else
  506. if PLAYSSOUND == false then
  507. EFFECT:remove()
  508. else
  509. repeat Swait() until SOUND.Playing == false
  510. EFFECT:remove()
  511. end
  512. end
  513. end))
  514. end
  515.  
  516. function MakeForm(PART,TYPE)
  517. if TYPE == "Cyl" then
  518. local MSH = IT("CylinderMesh",PART)
  519. elseif TYPE == "Ball" then
  520. local MSH = IT("SpecialMesh",PART)
  521. MSH.MeshType = "Sphere"
  522. elseif TYPE == "Wedge" then
  523. local MSH = IT("SpecialMesh",PART)
  524. MSH.MeshType = "Wedge"
  525. end
  526. end
  527.  
  528. Debris = game:GetService("Debris")
  529.  
  530. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  531. local DIRECTION = CF(StartPos,EndPos).lookVector
  532. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  533. end
  534.  
  535. --//=================================\\
  536. --|| WEAPON CREATION
  537. --\\=================================//
  538.  
  539.  
  540. local REGENSOUND = 487215897
  541. for _, c in pairs(Character:GetDescendants()) do
  542. if c and c.Parent then
  543. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  544. local ACCESSORY = c.Parent
  545. c.Parent = Character
  546. if c then
  547. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  548. weldBetween(Head,c)
  549. else
  550. weldBetween(Torso,c)
  551. end
  552. end
  553. ACCESSORY:remove()
  554. end
  555. end
  556. end
  557. wait()
  558. local BODY = {}
  559. for _, c in pairs(Character:GetDescendants()) do
  560. if c:IsA("BasePart") then
  561. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  562. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  563. end
  564. local REGENVALUE = IT("BoolValue",c)
  565. REGENVALUE.Name = "IsRegening"
  566. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
  567. elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
  568. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
  569. end
  570. end
  571. function FullBodyRegen()
  572. if FULLREGEN == false then
  573. FULLREGEN = true
  574. Character.Parent = workspace
  575. CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
  576. UNANCHOR = false
  577. for e = 1, #BODY do
  578. if BODY[e] ~= nil then
  579. local STUFF = BODY[e]
  580. local PART = STUFF[1]
  581. local PARENT = STUFF[2]
  582. local MATERIAL = STUFF[3]
  583. local COLOR = STUFF[4]
  584. local TRANSPARENCY = STUFF[5]
  585. local SIZE = STUFF[6]
  586. local NAME = STUFF[7]
  587. local VALUE = STUFF[8]
  588. PART.Parent = PARENT
  589. Humanoid.MaxHealth = "inf"
  590. Humanoid.Health = "inf"
  591. Humanoid.Parent = nil
  592. Humanoid = IT("Humanoid",Character)
  593. Humanoid.Died:Connect(FullBodyRegen)
  594. PART.Parent = PARENT
  595. if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
  596. VALUE.Value = true
  597. coroutine.resume(coroutine.create(function()
  598. PART.Transparency = 1
  599. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
  600. local REGEN = script.Regen:Clone()
  601. REGEN.Parent = PART
  602. REGEN.Speed = NumberRange.new(30)
  603. REGEN:Emit(100)
  604. local REGENING = script.Regen:Clone()
  605. REGENING.Parent = PART
  606. REGENING.Enabled = true
  607. REGENING.Speed = NumberRange.new(35)
  608. wait()
  609. local RANGE = 35
  610. for i = 1, math.ceil(REGENRATE*25) do
  611. wait()
  612. ApplyAoE(PART.Position,6,1,1,0,false)
  613. REGENING.Speed = NumberRange.new(RANGE)
  614. RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
  615. end
  616. REGEN.Speed = NumberRange.new(6)
  617. REGEN:Emit(60)
  618. wait(REGENRATE/3)
  619. RootPart.Velocity = VT(0,0,0)
  620. UNANCHOR = true
  621. PART.Transparency = 0
  622. REGEN.Rate = 50
  623. REGEN.Enabled = true
  624. REGENING.Enabled = false
  625. wait(REGENRATE/1.5)
  626. VALUE.Value = false
  627. Debris:AddItem(REGENING,5)
  628. FULLREGEN = false
  629. REGEN.Enabled = false
  630. Debris:AddItem(REGEN,5)
  631. end))
  632. end
  633. end
  634. end
  635. end
  636. end
  637.  
  638. function Regen()
  639. Character.Parent = workspace
  640. for e = 1, #BODY do
  641. if BODY[e] ~= nil then
  642. local STUFF = BODY[e]
  643. local PART = STUFF[1]
  644. local PARENT = STUFF[2]
  645. local MATERIAL = STUFF[3]
  646. local COLOR = STUFF[4]
  647. local TRANSPARENCY = STUFF[5]
  648. --local SIZE = STUFF[6]
  649. local NAME = STUFF[7]
  650. local VALUE = STUFF[8]
  651. if PART.ClassName == "Part" and PART ~= RootPart then
  652. PART.Material = MATERIAL
  653. PART.Name = NAME
  654. end
  655. if PART.Parent ~= PARENT then
  656. PART.Parent = PARENT
  657. if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
  658. if VALUE.Value == false then
  659. VALUE.Value = true
  660. coroutine.resume(coroutine.create(function()
  661. PART.Transparency = 1
  662. wait(REGENRATE)
  663. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
  664. local REGENING = script.Regen:Clone()
  665. REGENING.Parent = PART
  666. REGENING.Enabled = true
  667. for i = 1, math.ceil(REGENRATE*10) do
  668. wait()
  669. ApplyAoE(PART.Position,6,1,1,0,false)
  670. end
  671. wait(REGENRATE)
  672. PART.Transparency = 0
  673. wait(REGENRATE/5)
  674. REGENING.Enabled = false
  675. VALUE.Value = false
  676. Debris:AddItem(REGENING,5)
  677. end))
  678. end
  679. elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
  680. local VALUE = PARENT.IsRegening
  681. if VALUE == false then
  682. VALUE.Value = true
  683. local PART = PART.Part1
  684. coroutine.resume(coroutine.create(function()
  685. PART.Transparency = 1
  686. wait(REGENRATE)
  687. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
  688. local REGENING = script.Regen:Clone()
  689. REGENING.Parent = PART
  690. REGENING.Enabled = true
  691. for i = 1, math.ceil(REGENRATE*10) do
  692. wait()
  693. ApplyAoE(PART.Position,6,1,1,0,false)
  694. end
  695. wait(REGENRATE)
  696. PART.Transparency = 1
  697. wait(REGENRATE/5)
  698. REGENING.Enabled = true
  699. VALUE.Value = false
  700. end))
  701. end
  702. end
  703. end
  704. end
  705. end
  706. end
  707.  
  708. local b = IT("BodyForce",RootPart)
  709. b.Name = "LowGrav"
  710. b.force = Vector3.new(0,1500,0)
  711.  
  712. local SKILLTEXTCOLOR = C3(0,0,0)
  713. local SKILLFONT = "Fantasy"
  714. local SKILLTEXTSIZE = 7
  715.  
  716. local BACKATTACHMENT1 = IT("Attachment",Torso)
  717. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  718. local BACKATTACHMENT2 = IT("Attachment",Torso)
  719. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  720.  
  721. Humanoid.Died:Connect(FullBodyRegen)
  722.  
  723. --//=================================\\
  724. --|| DAMAGING
  725. --\\=================================//
  726.  
  727. function ApplyDamage(Humanoid,Damage)
  728. if Humanoid.Health == math.huge then
  729. Humanoid.Parent:BreakJoints()
  730. else
  731. local MULTIPLY = Humanoid.MaxHealth/100
  732. Damage = Damage * DAMAGEMULTIPLIER
  733. if Humanoid.Health ~= 0 then
  734. Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
  735. end
  736. end
  737. end
  738.  
  739. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
  740. local CHILDREN = workspace:GetDescendants()
  741. for index, CHILD in pairs(CHILDREN) do
  742. if CHILD.ClassName == "Model" and CHILD ~= Character then
  743. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  744. if HUM then
  745. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  746. if TORSO then
  747. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  748. if INSTAKILL == true or HUM.MaxHealth == math.huge then
  749. CHILD:BreakJoints()
  750. else
  751. local DMG = MRANDOM(MINDMG,MAXDMG)
  752. ApplyDamage(HUM,DMG)
  753. end
  754. if FLING > 0 then
  755. for _, c in pairs(CHILD:GetChildren()) do
  756. if c:IsA("BasePart") then
  757. local bv = Instance.new("BodyVelocity")
  758. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  759. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  760. bv.Parent = c
  761. Debris:AddItem(bv,0.05)
  762. end
  763. end
  764. end
  765. end
  766. end
  767. end
  768. end
  769. end
  770. end
  771.  
  772. --//=================================\\
  773. --|| ATTACK FUNCTIONS AND STUFF
  774. --\\=================================//
  775.  
  776. function Fireball()
  777. ATTACK = true
  778. Rooted = true
  779. local GYRO = IT("BodyGyro",RootPart)
  780. GYRO.D = 20
  781. GYRO.P = 4000
  782. GYRO.MaxTorque = VT(40000,40000,40000)
  783. local POSITION = IT("BodyPosition",RootPart)
  784. POSITION.Position = RootPart.Position+VT(0,2,0)
  785. POSITION.D = 450
  786. POSITION.P = 40000
  787. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  788. CreateSound(CHARGE,RightArm,6,1,false)
  789. coroutine.resume(coroutine.create(function()
  790. repeat
  791. Swait()
  792. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  793. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  794. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  797. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  798. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  799. until ATTACK == false
  800. GYRO:remove()
  801. POSITION:remove()
  802. end))
  803. wait(1)
  804. repeat
  805. coroutine.resume(coroutine.create(function()
  806. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10))
  807. FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  808. CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
  809. for i = 1, 250 do
  810. Swait()
  811. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
  812. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
  813. if HIT then
  814. ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  815. for i = 1, 3 do
  816. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  817. end
  818. for i = 1, 3 do
  819. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  820. end
  821. for i = 1, 5 do
  822. WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  823. end
  824. break
  825. end
  826. end
  827. Debris:AddItem(FIREBALL,7)
  828. end))
  829. wait(0.1)
  830. until KEYHOLD == false
  831. wait(0.2)
  832. ATTACK = false
  833. Rooted = false
  834. end
  835.  
  836. function SearingOrb()
  837. ATTACK = true
  838. Rooted = true
  839. local POSITION = IT("BodyPosition",RootPart)
  840. POSITION.Position = RootPart.Position+VT(0,2,0)
  841. POSITION.D = 450
  842. POSITION.P = 40000
  843. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  844. CreateSound(CHARGE,Torso,6,1,false)
  845. local NEWANIM = false
  846. coroutine.resume(coroutine.create(function()
  847. repeat
  848. Swait()
  849. 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)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  855. until ATTACK == false or NEWANIM == true
  856. if NEWANIM == true then
  857. local GYRO = IT("BodyGyro",RootPart)
  858. GYRO.D = 20
  859. GYRO.P = 4000
  860. GYRO.MaxTorque = VT(40000,40000,40000)
  861. repeat
  862. Swait()
  863. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  864. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  868. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  869. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  870. until ATTACK == false
  871. GYRO:remove()
  872. end
  873. POSITION:remove()
  874. end))
  875. local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("New yeller"), "Orb", VT(0,0,0), true)
  876. MakeForm(ORB,"Ball")
  877. ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
  878. local A = IT("Attachment",ORB)
  879. local LOOP = 0
  880. for i = 1, 500 do
  881. Swait()
  882. LOOP = LOOP + 1
  883. if LOOP >= 30 then
  884. LOOP = 0
  885. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  886. end
  887. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  888. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  889. end
  890. wait(1)
  891. if KEYHOLD == false then
  892. coroutine.resume(coroutine.create(function()
  893. ORB.Transparency = 1
  894. Debris:AddItem(ORB,10)
  895. ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  896. CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
  897. CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
  898. for i = 1, 3 do
  899. WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  900. end
  901. for i = 1, 3 do
  902. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  903. end
  904. for i = 1, 15 do
  905. WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  906. end
  907. end))
  908. else
  909. for i = 1, 100 do
  910. Swait()
  911. ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
  912. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  913. end
  914. ORB.Transparency = 1
  915. Debris:AddItem(ORB,10)
  916. CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
  917. for _, c in pairs(Character:GetChildren()) do
  918. if c:IsA("BasePart") then
  919. end
  920. end
  921. NEWANIM = true
  922. wait(0.5)
  923. for i = 1, 15 do
  924. wait(0.1)
  925. coroutine.resume(coroutine.create(function()
  926. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Flight", VT(2,2,2))
  927. FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  928. CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
  929. for i = 1, 250 do
  930. Swait()
  931. local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
  932. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  933. if HIT then
  934. CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
  935. local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("New yeller"), "Fire", VT(75,0,75), true)
  936. local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Forest green"), "Fire", VT(75,0,75), true)
  937. FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  938. FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
  939. coroutine.resume(coroutine.create(function()
  940. for i = 1, 15 do
  941. wait(1)
  942. ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  943. end
  944. Debris:AddItem(FIELD,5)
  945. Debris:AddItem(FIELD2,5)
  946. end))
  947. break
  948. end
  949. end
  950. Debris:AddItem(FIREBALL,7)
  951. end))
  952. end
  953. end
  954. wait(0.3)
  955. ATTACK = false
  956. Rooted = false
  957. end
  958.  
  959. function Shroud()
  960. if Mouse.Target ~= nil then
  961. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  962. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  963. local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  964. if TORSO and HUM.Health > 0 then
  965. local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
  966. if DISTANCE < 100 then
  967. ATTACK = true
  968. POSEIDON = false
  969. Rooted = true
  970. local GYRO = IT("BodyGyro",RootPart)
  971. GYRO.D = 20
  972. GYRO.P = 4000
  973. GYRO.MaxTorque = VT(40000,40000,40000)
  974. local POSITION = IT("BodyPosition",RootPart)
  975. POSITION.Position = RootPart.Position+VT(0,2,0)
  976. POSITION.D = 450
  977. POSITION.P = 40000
  978. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  979. local TARGETTING = true
  980. local HIT = false
  981.  
  982. CreateSound(CHARGE,Torso,6,1,false)
  983. coroutine.resume(coroutine.create(function()
  984. repeat
  985. GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
  986. Swait()
  987. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  991. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  992. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  993. until TARGETTING == false
  994. repeat
  995. GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
  996. POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
  997. DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
  998. Swait()
  999. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1001. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1002. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1003. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1004. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1005. until HIT == true
  1006. POSITION:remove()
  1007. GYRO:remove()
  1008. end))
  1009. wait(0.5)
  1010. repeat wait() until HOLD == true
  1011. for _, c in pairs(Character:GetChildren()) do
  1012. if c:IsA("BasePart") then
  1013.  
  1014. end
  1015. end
  1016. for _, c in pairs(Character:GetChildren()) do
  1017. if c:IsA("BasePart") then
  1018. c.Transparency = 1
  1019. end
  1020. end
  1021. TARGETTING = false
  1022. for i = 1, 100 do
  1023. wait()
  1024. if DISTANCE < 5 or DISTANCE >= 200 then
  1025. break
  1026. end
  1027. end
  1028. HIT = true
  1029. end
  1030. for _, c in pairs(HUM.Parent:GetChildren()) do
  1031. end
  1032. end
  1033. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1034. RootPart.CFrame = TORSO.CFrame
  1035. local WELD = weldBetween(RootPart,TORSO)
  1036. repeat wait() until HOLD == true
  1037. CreateSound(416328540,Torso,6,1,false)
  1038. WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1039. local bv = Instance.new("BodyVelocity")
  1040. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1041. bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
  1042. bv.Parent = TORSO
  1043. for i = 1, 70 do
  1044. wait(0.1)
  1045. if TORSO.Parent == nil then
  1046. break
  1047. end
  1048. WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1049. end
  1050. UNANCHOR = false
  1051. bv:remove()
  1052. wait(1)
  1053. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1054. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1055. UNANCHOR = true
  1056. local bv = Instance.new("BodyVelocity")
  1057. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1058. bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
  1059. bv.Parent = TORSO
  1060. local LANDED = false
  1061. for i = 1, 500 do
  1062. wait()
  1063. Ignore = {Character,HUM.Parent}
  1064. WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1065. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1066. local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
  1067. if HITFLOOR or FULLREGEN == true then
  1068. LANDED = true
  1069. break
  1070. end
  1071. if TORSO.Parent == nil then
  1072. break
  1073. end
  1074. end
  1075. if TORSO.Parent ~= nil then
  1076. UNANCHOR = false
  1077. bv:remove()
  1078. wait(1)
  1079. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest Green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1080. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1081. UNANCHOR = true
  1082. local bv = Instance.new("BodyVelocity")
  1083. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1084. bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
  1085. bv.Parent = TORSO
  1086. local LANDED = false
  1087. for i = 1, 500 do
  1088. wait()
  1089. Ignore = {Character,HUM.Parent}
  1090. WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.9, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1091. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1092. local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
  1093. if HITFLOOR or FULLREGEN == true then
  1094. LANDED = true
  1095. break
  1096. end
  1097. if TORSO.Parent == nil then
  1098. break
  1099. end
  1100. end
  1101. bv:remove()
  1102. if LANDED == true then
  1103. UNANCHOR = false
  1104. for i = 1, 10 do
  1105. ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1106. end
  1107. CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
  1108. CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
  1109. for i = 1, 15 do
  1110. WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1111. end
  1112. WELD:remove()
  1113. wait(0.3)
  1114. UNANCHOR = true
  1115. else
  1116. WELD:remove()
  1117. end
  1118. end
  1119. end
  1120. for _, c in pairs(Character:GetChildren()) do
  1121. if c:IsA("BasePart") and c ~= RootPart then
  1122. c.Transparency = 0
  1123. end
  1124. end
  1125. RootPart.Velocity = VT(0,0,0)
  1126. ATTACK = false
  1127. Rooted = false
  1128. end
  1129. end
  1130.  
  1131. function Spitter()
  1132. ATTACK = true
  1133. Rooted = true
  1134. local GYRO = IT("BodyGyro",RootPart)
  1135. GYRO.D = 20
  1136. GYRO.P = 4000
  1137. GYRO.MaxTorque = VT(40000,40000,40000)
  1138. local POSITION = IT("BodyPosition",RootPart)
  1139. POSITION.Position = RootPart.Position+VT(0,2,0)
  1140. POSITION.D = 450
  1141. POSITION.P = 40000
  1142. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1143. CreateSound(CHARGE,RightArm,6,0.8,false)
  1144. coroutine.resume(coroutine.create(function()
  1145. repeat
  1146. Swait()
  1147. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1148. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1152. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1154. until ATTACK == false
  1155. GYRO:remove()
  1156. POSITION:remove()
  1157. end))
  1158. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
  1159. MakeForm(FIREBALL,"Ball")
  1160. FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
  1161. local CORE = IT("Attachment",FIREBALL)
  1162. local LOOP = 0
  1163. repeat
  1164. Swait()
  1165. LOOP = LOOP + 1
  1166. if LOOP == 20 then
  1167. LOOP = 0
  1168. WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1169. end
  1170. if FIREBALL.Size.X < 20 then
  1171. FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
  1172. end
  1173. FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
  1174. until KEYHOLD == false and FIREBALL.Size.X >= 10
  1175. CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
  1176. coroutine.resume(coroutine.create(function()
  1177. FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
  1178. local RANGE = 75
  1179. for i = 1, 600 do
  1180. LOOP = LOOP + 1
  1181. if LOOP == 20 then
  1182. LOOP = 0
  1183. ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
  1184. WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1185. end
  1186. Swait()
  1187. FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
  1188. local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
  1189. if HIT then
  1190. ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1191. CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
  1192. CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
  1193. for i = 1, 3 do
  1194. WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1195. end
  1196. for i = 1, 3 do
  1197. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1198. end
  1199. for i = 1, 15 do
  1200. WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1201. end
  1202. break
  1203. end
  1204. end
  1205. for i = 1, 10 do
  1206. Swait()
  1207. FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
  1208. end
  1209. Debris:AddItem(FIREBALL,5)
  1210. end))
  1211. wait(0.5)
  1212. ATTACK = false
  1213. Rooted = false
  1214. end
  1215.  
  1216. function Devastor()
  1217. ATTACK = true
  1218. Rooted = true
  1219. local POSITION = IT("BodyPosition",RootPart)
  1220. POSITION.Position = RootPart.Position+VT(0,2,0)
  1221. POSITION.D = 450
  1222. POSITION.P = 40000
  1223. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1224. CreateSound(CHARGE,Torso,6,1,false)
  1225. local NEWANIM = false
  1226. coroutine.resume(coroutine.create(function()
  1227. repeat
  1228. Swait()
  1229. 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)
  1230. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1231. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1232. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1233. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1234. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1235. until ATTACK == false or NEWANIM == true
  1236. if NEWANIM == true then
  1237. local GYRO = IT("BodyGyro",RootPart)
  1238. GYRO.D = 20
  1239. GYRO.P = 4000
  1240. GYRO.MaxTorque = VT(40000,40000,40000)
  1241. repeat
  1242. Swait()
  1243. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1244. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1248. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1250. until ATTACK == false
  1251. GYRO:remove()
  1252. end
  1253. POSITION:remove()
  1254. end))
  1255. local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("New yeller"), "Orb", VT(0,0,0), true)
  1256. MakeForm(ORB,"Ball")
  1257. ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
  1258. local A = IT("Attachment",ORB)
  1259. local LOOP = 0
  1260. for i = 1, 200 do
  1261. Swait()
  1262. LOOP = LOOP + 1
  1263. if LOOP >= 30 then
  1264. LOOP = 0
  1265. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1266. end
  1267. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1268. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1269. end
  1270. RightArm.Transparency = 1
  1271. LeftArm.Transparency = 1
  1272. for _, c in pairs(Character:GetChildren()) do
  1273. if c:IsA("BasePart") then
  1274. end
  1275. end
  1276. CreateSound(CHARGE,Torso,6,0.5,false)
  1277. for i = 1, 200 do
  1278. Swait()
  1279. LOOP = LOOP + 1
  1280. if LOOP >= 30 then
  1281. LOOP = 0
  1282. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1283. end
  1284. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1285. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1286. end
  1287. for _, c in pairs(Character:GetChildren()) do
  1288. if c:IsA("BasePart") then
  1289. c.Transparency = 1
  1290. end
  1291. end
  1292. for i = 1, 400 do
  1293. Swait()
  1294. LOOP = LOOP + 1
  1295. if LOOP >= 30 then
  1296. LOOP = 0
  1297. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1298. end
  1299. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1300. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1301. end
  1302. wait(0.5)
  1303. CreateSound(FIREBALLSOUND,Effects,4,1,false)
  1304. coroutine.resume(coroutine.create(function()
  1305. ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
  1306. for i = 1, 1200 do
  1307. Swait()
  1308. ORB.CFrame = ORB.CFrame*CF(0,0,-1)
  1309. local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
  1310. if HIT then
  1311. break
  1312. end
  1313. end
  1314. for i = 1, 6 do
  1315. ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1316. CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
  1317. CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
  1318. for i = 1, 3 do
  1319. WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1320. end
  1321. for i = 1, 3 do
  1322. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1323. end
  1324. for i = 1, 15 do
  1325. WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Neon orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1326. end
  1327. wait(1)
  1328. end
  1329. for i = 1, 10 do
  1330. Swait()
  1331. ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
  1332. end
  1333. Debris:AddItem(ORB,5)
  1334. end))
  1335. wait(1)
  1336. FullBodyRegen()
  1337. ATTACK = false
  1338. Rooted = false
  1339. end
  1340.  
  1341. --//=================================\\
  1342. --|| MISC
  1343. --\\=================================//
  1344.  
  1345. function Jupiter()
  1346. ATTACK = true
  1347. Rooted = true
  1348. local POSITION = IT("BodyPosition",RootPart)
  1349. POSITION.Position = RootPart.Position+VT(0,0.2,0)
  1350. POSITION.D = 450
  1351. POSITION.P = 40000
  1352. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1353. coroutine.resume(coroutine.create(function()
  1354. repeat
  1355. Swait()
  1356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1360. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  1362. until ATTACK == false
  1363. end))
  1364. wait(0.5)
  1365. repeat wait() until KEYHOLD == false
  1366. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
  1367. POSITION:remove()
  1368. RootPart.Velocity = VT(0,150,0)
  1369. ATTACK = false
  1370. Rooted = false
  1371. end
  1372.  
  1373. function Taunt()
  1374. ATTACK = true
  1375. Rooted = true
  1376. local TAUNT = CreateSound(137473066,Torso,10,1,false)
  1377. coroutine.resume(coroutine.create(function()
  1378. repeat
  1379. Swait()
  1380. 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)
  1381. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1382. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1383. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1384. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1385. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1386. until ATTACK == false
  1387. end))
  1388. repeat wait() until TAUNT.Playing == false
  1389. ATTACK = false
  1390. Rooted = false
  1391. end
  1392.  
  1393. --//=================================\\
  1394. --|| ASSIGN THINGS TO KEYS
  1395. --\\=================================//
  1396.  
  1397. function MouseDown(Mouse)
  1398. HOLD = true
  1399. if ATTACK == false then
  1400. end
  1401. end
  1402.  
  1403. function MouseUp(Mouse)
  1404. HOLD = false
  1405. end
  1406.  
  1407. local MUSIC = CreateSound(285883918,Character,3,1,true)
  1408.  
  1409. function KeyDown(Key)
  1410. KEYHOLD = true
  1411. if ATTACK == false and FULLREGEN == false then
  1412. if Key == "z" then
  1413. Fireball()
  1414. end
  1415.  
  1416. if Key == "v" and SEARING == false then
  1417. SearingOrb()
  1418. end
  1419.  
  1420. if Key == "q" and SEARING == false then
  1421. Shroud()
  1422. end
  1423.  
  1424. if Key == "x" and SEARING == false then
  1425. Jupiter()
  1426. wait(2)
  1427. Devastor()
  1428. end
  1429.  
  1430. if Key == "e" then
  1431. Spitter()
  1432. end
  1433.  
  1434. if Key == "j" then
  1435. Jupiter()
  1436. end
  1437.  
  1438. if Key == "t" and SEARING == false then
  1439. Taunt()
  1440. end
  1441.  
  1442. if Key == "h" then
  1443. if POSEIDON == false then
  1444. POSEIDON = true
  1445. CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
  1446. else
  1447. POSEIDON = false
  1448. end
  1449. end
  1450. end
  1451.  
  1452. if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
  1453. repeat
  1454. VALUE2 = true
  1455. Swait()
  1456. BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
  1457. until KEYHOLD == false
  1458. VALUE2 = false
  1459. end
  1460.  
  1461. if string.byte(Key) == 50 and ATTACK == false then
  1462. if Speed == 16 then
  1463. Speed = 45
  1464. elseif Speed == 45 then
  1465. Speed = 16
  1466. end
  1467. end
  1468.  
  1469. if Key == "1" then
  1470. MUSIC:Play()
  1471. CHOSENSONG = CHOSENSONG + 1
  1472. if CHOSENSONG > #SONGS then
  1473. CHOSENSONG = 1
  1474. end
  1475. end
  1476. end
  1477.  
  1478. function KeyUp(Key)
  1479. KEYHOLD = false
  1480. end
  1481.  
  1482. Mouse.Button1Down:connect(function(NEWKEY)
  1483. MouseDown(NEWKEY)
  1484. end)
  1485. Mouse.Button1Up:connect(function(NEWKEY)
  1486. MouseUp(NEWKEY)
  1487. end)
  1488. Mouse.KeyDown:connect(function(NEWKEY)
  1489. KeyDown(NEWKEY)
  1490. end)
  1491. Mouse.KeyUp:connect(function(NEWKEY)
  1492. KeyUp(NEWKEY)
  1493. end)
  1494.  
  1495. --//=================================\\
  1496. --\\=================================//
  1497.  
  1498. function unanchor()
  1499. if UNANCHOR == true then
  1500. for _, c in pairs(Character:GetChildren()) do
  1501. if c:IsA("BasePart") then
  1502. c.Anchored = false
  1503. end
  1504. end
  1505. else
  1506. for _, c in pairs(Character:GetChildren()) do
  1507. if c:IsA("BasePart") then
  1508. c.Anchored = true
  1509. end
  1510. end
  1511. end
  1512. end
  1513.  
  1514. --//=================================\\
  1515. --|| WRAP THE WHOLE SCRIPT UP
  1516. --\\=================================//
  1517.  
  1518. Humanoid.Changed:connect(function(Jump)
  1519. if Jump == "Jump" and (Disable_Jump == true) then
  1520. Humanoid.Jump = false
  1521. end
  1522. end)
  1523.  
  1524. local LOOP = 0
  1525.  
  1526. while true do
  1527. Swait()
  1528. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1529. Humanoid = IT("Humanoid",Character)
  1530. end
  1531. Effects.Parent = Character
  1532. script.Parent = WEAPONGUI
  1533. ANIMATE.Parent = nil
  1534. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1535. v:Stop();
  1536. end
  1537. SINE = SINE + CHANGE
  1538. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1539. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1540. Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
  1541. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1542. local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
  1543. local WALKSPEEDVALUE = 5
  1544. if SEARING == false then
  1545. if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
  1546. if Humanoid.WalkSpeed <= 20 then
  1547. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1548. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1549. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1550. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 +0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1551. elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
  1552. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1553. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / (2*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1554. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1555. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1556. end
  1557. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
  1558. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1559. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1560. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1561. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1562. end
  1563. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1564. ANIM = "Jump"
  1565. if ATTACK == false then
  1566. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1572. end
  1573. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1574. ANIM = "Fall"
  1575. if ATTACK == false then
  1576. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(8*COS(SINE / 6))), 1 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-8*COS(SINE / 6))), 1 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1582. end
  1583. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1584. ANIM = "Idle"
  1585. if ATTACK == false then
  1586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 1 * COS(SINE / 12)), RAD(25), RAD(20 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1592. end
  1593. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1594. ANIM = "Walk"
  1595. if ATTACK == false then
  1596. if Humanoid.WalkSpeed <= 20 then
  1597. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
  1600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
  1601. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1603. elseif Humanoid.WalkSpeed > 20 then
  1604. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1606. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1607. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1608. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
  1609. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
  1610. end
  1611. end
  1612. end
  1613. elseif SEARING == true then
  1614. if APPLYGYRO == true then
  1615. if VALUE2 == false and DIRECTTURN == false then
  1616. if GYRO ~= nil then
  1617. GYRO.MaxTorque = VT(0,40000,0)
  1618. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1619. end
  1620. else
  1621. if GYRO ~= nil then
  1622. GYRO.MaxTorque = VT(80000,40000,80000)
  1623. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1624. end
  1625. end
  1626. end
  1627. if VALUE2 == false and ATTACK == false then
  1628. ANIM = "IdleFlight"
  1629. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1630. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1631. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1632. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1633. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1634. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1635. elseif VALUE2 == true and ATTACK == false then
  1636. ANIM = "Flight"
  1637. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  1638. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1639. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1640. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1641. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1642. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1643. end
  1644. end
  1645. unanchor()
  1646. Humanoid.MaxHealth = "inf"
  1647. Humanoid.Health = "inf"
  1648. if Rooted == false then
  1649. Disable_Jump = false
  1650. Humanoid.WalkSpeed = Speed
  1651. elseif Rooted == true then
  1652. Disable_Jump = true
  1653. Humanoid.WalkSpeed = 0
  1654. end
  1655. Regen()
  1656. if Head:FindFirstChild("face") then
  1657. Head.face.Texture = "rbxassetid://608798717"
  1658. Head.face.Transparency = Head.Transparency
  1659. end
  1660. for _, c in pairs(Character:GetDescendants()) do
  1661. if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
  1662. c:remove()
  1663. end
  1664. if c and c.Parent then
  1665. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1666. local ACCESSORY = c.Parent
  1667. c.Parent = Character
  1668. local REGENVALUE = IT("BoolValue",c)
  1669. REGENVALUE.Name = "IsRegening"
  1670. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
  1671. if c then
  1672. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1673. local WELD = weldBetween(Head,c)
  1674. table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
  1675. else
  1676. local WELD = weldBetween(Torso,c)
  1677. table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
  1678. end
  1679. end
  1680. ACCESSORY:remove()
  1681. end
  1682. end
  1683. end
  1684. for _, c in pairs(Character:GetChildren()) do
  1685. if SEARING == true and c:IsA("BasePart") then
  1686. c.Transparency = 1
  1687. end
  1688. end
  1689. MUSIC.Parent = Character
  1690. MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
  1691. MUSIC.Pitch = 1
  1692. if CHOSENSONG ~= 5 then
  1693. MUSIC.Volume = 2
  1694. else
  1695. MUSIC.Volume = 4
  1696. end
  1697. MUSIC.Playing = true
  1698. if POSEIDON == true and FULLREGEN == false then
  1699. LOOP = LOOP + 1
  1700. local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
  1701. FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
  1702. FLOOR.CanCollide = true
  1703. Debris:AddItem(FLOOR,0.2)
  1704. local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
  1705. FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
  1706. FLOOR.CanCollide = true
  1707. Debris:AddItem(FLOOR,0.2)
  1708. if LOOP >= 5 then
  1709. LOOP = 0
  1710. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1711. end
  1712. end
  1713. RootJoint.Parent = RootPart
  1714. Humanoid.DisplayDistanceType = "None"
  1715. Humanoid.Name = "LordOfNoobs"
  1716. end
  1717.  
  1718. --//=================================\\
  1719. --\\=================================//
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725. --//====================================================\\--
  1726. --|| END OF SCRIPT
  1727. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement