wanTH092

ORANGEFOX

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