Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. LocalScript0 = Instance.new("LocalScript")
  19. ParticleEmitter1 = Instance.new("ParticleEmitter")
  20. ParticleEmitter2 = Instance.new("ParticleEmitter")
  21. BillboardGui3 = Instance.new("BillboardGui")
  22. TextLabel4 = Instance.new("TextLabel")
  23. TextLabel5 = Instance.new("TextLabel")
  24. ParticleEmitter6 = Instance.new("ParticleEmitter")
  25. LocalScript7 = Instance.new("LocalScript")
  26. NumberValue8 = Instance.new("NumberValue")
  27. NumberValue9 = Instance.new("NumberValue")
  28. BoolValue10 = Instance.new("BoolValue")
  29. ParticleEmitter11 = Instance.new("ParticleEmitter")
  30. ParticleEmitter12 = Instance.new("ParticleEmitter")
  31. ParticleEmitter13 = Instance.new("ParticleEmitter")
  32. ParticleEmitter14 = Instance.new("ParticleEmitter")
  33. ParticleEmitter15 = Instance.new("ParticleEmitter")
  34. ParticleEmitter16 = Instance.new("ParticleEmitter")
  35. ParticleEmitter17 = Instance.new("ParticleEmitter")
  36. ParticleEmitter18 = Instance.new("ParticleEmitter")
  37. ParticleEmitter19 = Instance.new("ParticleEmitter")
  38. ParticleEmitter20 = Instance.new("ParticleEmitter")
  39. Part21 = Instance.new("Part")
  40. SpecialMesh22 = Instance.new("SpecialMesh")
  41. Folder23 = Instance.new("Folder")
  42. CharacterMesh24 = Instance.new("CharacterMesh")
  43. CharacterMesh25 = Instance.new("CharacterMesh")
  44. CharacterMesh26 = Instance.new("CharacterMesh")
  45. CharacterMesh27 = Instance.new("CharacterMesh")
  46. CharacterMesh28 = Instance.new("CharacterMesh")
  47. Part29 = Instance.new("Part")
  48. SpecialMesh30 = Instance.new("SpecialMesh")
  49. LocalScript0.Name = "SearingEmperor"
  50. LocalScript0.Parent = ModuleScript2
  51. table.insert(cors,sandbox(LocalScript0,function()
  52. --//====================================================\\--
  53. --|| CREATED BY SHACKLUSTER
  54. --\\====================================================//--
  55.  
  56. wait(1)
  57.  
  58. Player = game:GetService("Players").LocalPlayer
  59. PlayerGui = Player.PlayerGui
  60. Cam = workspace.CurrentCamera
  61. Backpack = Player.Backpack
  62. repeat wait() until Player.Character
  63. Character = Player.Character
  64. repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
  65. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  66. Mouse = Player:GetMouse()
  67. RootPart = Character["HumanoidRootPart"]
  68. Torso = Character["Torso"]
  69. Head = Character["Head"]
  70. RightArm = Character["Right Arm"]
  71. LeftArm = Character["Left Arm"]
  72. RightLeg = Character["Right Leg"]
  73. LeftLeg = Character["Left Leg"]
  74. RootJoint = RootPart["RootJoint"]
  75. Neck = Torso["Neck"]
  76. RightShoulder = Torso["Right Shoulder"]
  77. LeftShoulder = Torso["Left Shoulder"]
  78. RightHip = Torso["Right Hip"]
  79. LeftHip = Torso["Left Hip"]
  80.  
  81. IT = Instance.new
  82. CF = CFrame.new
  83. VT = Vector3.new
  84. RAD = math.rad
  85. C3 = Color3.new
  86. UD2 = UDim2.new
  87. BRICKC = BrickColor.new
  88. ANGLES = CFrame.Angles
  89. EULER = CFrame.fromEulerAnglesXYZ
  90. COS = math.cos
  91. ACOS = math.acos
  92. SIN = math.sin
  93. ASIN = math.asin
  94. ABS = math.abs
  95. MRANDOM = math.random
  96. FLOOR = math.floor
  97.  
  98. --//=================================\\
  99. --|| USEFUL VALUES
  100. --\\=================================//
  101.  
  102. Animation_Speed = 3
  103. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  104. local Speed = 16
  105. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  106. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  107. local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  108. local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  109. local DAMAGEMULTIPLIER = 1
  110. local ANIM = "Idle"
  111. local ATTACK = false
  112. local EQUIPPED = false
  113. local HOLD = false
  114. local COMBO = 1
  115. local Rooted = false
  116. local SINE = 0
  117. local KEYHOLD = false
  118. local CHANGE = 2 / Animation_Speed
  119. local WALKINGANIM = false
  120. local VALUE1 = false
  121. local VALUE2 = false
  122. local ROBLOXIDLEANIMATION = IT("Animation")
  123. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  124. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  125. --ROBLOXIDLEANIMATION.Parent = Humanoid
  126. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  127. WEAPONGUI.Name = "Weapon GUI"
  128. local Effects = IT("Folder", Character)
  129. Effects.Name = "Effects"
  130. local SpecialEffects = IT("Folder", Character)
  131. SpecialEffects.Name = "SpecialEffects"
  132. local ANIMATOR = Humanoid.Animator
  133. local ANIMATE = Character.Animate
  134. local UNANCHOR = true
  135. local REGENRATE = 1
  136. local FULLREGEN = false
  137. local POSEIDON = false
  138. local EXPLOSIONSMALLSOUND = 439342426
  139. local EXPLOSIONMEDIUMSOUND = 605005842
  140. local EXPLOSIONLARGESOUND = 565538688
  141. local CHARGE = 278641993
  142. local POSEIDONSOUND = 374289727
  143. local FIREBALLSOUND = 414517770
  144. local BURNSOUND = 565777213
  145. local FIREFIELD = false
  146. local SEARING = false
  147. local BODYPOS = nil
  148. local GYRO = nil
  149. local DIRECTTURN = false
  150. local APPLYGYRO = true
  151. local SONGS = {448290268,285883918,562367125,720006240,1604593557,306586318}
  152. local CHOSENSONG = MRANDOM(1,#SONGS)
  153.  
  154. --//=================================\\
  155. --\\=================================//
  156.  
  157.  
  158. --//=================================\\
  159. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  160. --\\=================================//
  161.  
  162. ArtificialHB = Instance.new("BindableEvent", script)
  163. ArtificialHB.Name = "ArtificialHB"
  164.  
  165. script:WaitForChild("ArtificialHB")
  166.  
  167. frame = Frame_Speed
  168. tf = 0
  169. allowframeloss = false
  170. tossremainder = false
  171. lastframe = tick()
  172. script.ArtificialHB:Fire()
  173.  
  174. game:GetService("RunService").Heartbeat:connect(function(s, p)
  175. tf = tf + s
  176. if tf >= frame then
  177. if allowframeloss then
  178. script.ArtificialHB:Fire()
  179. lastframe = tick()
  180. else
  181. for i = 1, math.floor(tf / frame) do
  182. script.ArtificialHB:Fire()
  183. end
  184. lastframe = tick()
  185. end
  186. if tossremainder then
  187. tf = 0
  188. else
  189. tf = tf - frame * math.floor(tf / frame)
  190. end
  191. end
  192. end)
  193.  
  194. --//=================================\\
  195. --\\=================================//
  196.  
  197. --//=================================\\
  198. --|| SOME FUNCTIONS
  199. --\\=================================//
  200.  
  201. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  202. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  203. end
  204.  
  205. function PositiveAngle(NUMBER)
  206. if NUMBER >= 0 then
  207. NUMBER = 0
  208. end
  209. return NUMBER
  210. end
  211.  
  212. function NegativeAngle(NUMBER)
  213. if NUMBER <= 0 then
  214. NUMBER = 0
  215. end
  216. return NUMBER
  217. end
  218.  
  219. function Swait(NUMBER)
  220. if NUMBER == 0 or NUMBER == nil then
  221. ArtificialHB.Event:wait()
  222. else
  223. for i = 1, NUMBER do
  224. ArtificialHB.Event:wait()
  225. end
  226. end
  227. end
  228.  
  229. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  230. local NEWMESH = IT(MESH)
  231. if MESH == "SpecialMesh" then
  232. NEWMESH.MeshType = MESHTYPE
  233. if MESHID ~= "nil" and MESHID ~= "" then
  234. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  235. end
  236. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  237. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  238. end
  239. end
  240. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  241. NEWMESH.Scale = SCALE
  242. NEWMESH.Parent = PARENT
  243. return NEWMESH
  244. end
  245.  
  246. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  247. local NEWPART = IT("Part")
  248. NEWPART.formFactor = FORMFACTOR
  249. NEWPART.Reflectance = REFLECTANCE
  250. NEWPART.Transparency = TRANSPARENCY
  251. NEWPART.CanCollide = false
  252. NEWPART.Locked = true
  253. NEWPART.Anchored = true
  254. if ANCHOR == false then
  255. NEWPART.Anchored = false
  256. end
  257. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  258. NEWPART.Name = NAME
  259. NEWPART.Size = SIZE
  260. NEWPART.Position = Torso.Position
  261. NEWPART.Material = MATERIAL
  262. NEWPART:BreakJoints()
  263. NEWPART.Parent = PARENT
  264. return NEWPART
  265. end
  266.  
  267. local function weldBetween(a, b)
  268. local weldd = Instance.new("ManualWeld")
  269. weldd.Part0 = a
  270. weldd.Part1 = b
  271. weldd.C0 = CFrame.new()
  272. weldd.C1 = b.CFrame:inverse() * a.CFrame
  273. weldd.Parent = a
  274. return weldd
  275. end
  276.  
  277.  
  278. function QuaternionFromCFrame(cf)
  279. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  280. local trace = m00 + m11 + m22
  281. if trace > 0 then
  282. local s = math.sqrt(1 + trace)
  283. local recip = 0.5 / s
  284. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  285. else
  286. local i = 0
  287. if m11 > m00 then
  288. i = 1
  289. end
  290. if m22 > (i == 0 and m00 or m11) then
  291. i = 2
  292. end
  293. if i == 0 then
  294. local s = math.sqrt(m00 - m11 - m22 + 1)
  295. local recip = 0.5 / s
  296. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  297. elseif i == 1 then
  298. local s = math.sqrt(m11 - m22 - m00 + 1)
  299. local recip = 0.5 / s
  300. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  301. elseif i == 2 then
  302. local s = math.sqrt(m22 - m00 - m11 + 1)
  303. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  304. end
  305. end
  306. end
  307.  
  308. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  309. local xs, ys, zs = x + x, y + y, z + z
  310. local wx, wy, wz = w * xs, w * ys, w * zs
  311. local xx = x * xs
  312. local xy = x * ys
  313. local xz = x * zs
  314. local yy = y * ys
  315. local yz = y * zs
  316. local zz = z * zs
  317. 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))
  318. end
  319.  
  320. function QuaternionSlerp(a, b, t)
  321. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  322. local startInterp, finishInterp;
  323. if cosTheta >= 0.0001 then
  324. if (1 - cosTheta) > 0.0001 then
  325. local theta = ACOS(cosTheta)
  326. local invSinTheta = 1 / SIN(theta)
  327. startInterp = SIN((1 - t) * theta) * invSinTheta
  328. finishInterp = SIN(t * theta) * invSinTheta
  329. else
  330. startInterp = 1 - t
  331. finishInterp = t
  332. end
  333. else
  334. if (1 + cosTheta) > 0.0001 then
  335. local theta = ACOS(-cosTheta)
  336. local invSinTheta = 1 / SIN(theta)
  337. startInterp = SIN((t - 1) * theta) * invSinTheta
  338. finishInterp = SIN(t * theta) * invSinTheta
  339. else
  340. startInterp = t - 1
  341. finishInterp = t
  342. end
  343. end
  344. 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
  345. end
  346.  
  347. function Clerp(a, b, t)
  348. local qa = {QuaternionFromCFrame(a)}
  349. local qb = {QuaternionFromCFrame(b)}
  350. local ax, ay, az = a.x, a.y, a.z
  351. local bx, by, bz = b.x, b.y, b.z
  352. local _t = 1 - t
  353. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  354. end
  355.  
  356. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  357. local frame = IT("Frame")
  358. frame.BackgroundTransparency = TRANSPARENCY
  359. frame.BorderSizePixel = BORDERSIZEPIXEL
  360. frame.Position = POSITION
  361. frame.Size = SIZE
  362. frame.BackgroundColor3 = COLOR
  363. frame.BorderColor3 = BORDERCOLOR
  364. frame.Name = NAME
  365. frame.Parent = PARENT
  366. return frame
  367. end
  368.  
  369. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  370. local label = IT("TextLabel")
  371. label.BackgroundTransparency = 1
  372. label.Size = UD2(1, 0, 1, 0)
  373. label.Position = UD2(0, 0, 0, 0)
  374. label.TextColor3 = TEXTCOLOR
  375. label.TextStrokeTransparency = STROKETRANSPARENCY
  376. label.TextTransparency = TRANSPARENCY
  377. label.FontSize = TEXTFONTSIZE
  378. label.Font = TEXTFONT
  379. label.BorderSizePixel = BORDERSIZEPIXEL
  380. label.TextScaled = false
  381. label.Text = TEXT
  382. label.Name = NAME
  383. label.Parent = PARENT
  384. return label
  385. end
  386.  
  387. function NoOutlines(PART)
  388. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  389. end
  390.  
  391. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  392. local NEWWELD = IT(TYPE)
  393. NEWWELD.Part0 = PART0
  394. NEWWELD.Part1 = PART1
  395. NEWWELD.C0 = C0
  396. NEWWELD.C1 = C1
  397. NEWWELD.Parent = PARENT
  398. return NEWWELD
  399. end
  400.  
  401. local S = IT("Sound")
  402. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  403. local NEWSOUND = nil
  404. coroutine.resume(coroutine.create(function()
  405. NEWSOUND = S:Clone()
  406. NEWSOUND.Parent = PARENT
  407. NEWSOUND.Volume = VOLUME
  408. NEWSOUND.Pitch = PITCH
  409. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  410. NEWSOUND:play()
  411. if DOESLOOP == true then
  412. NEWSOUND.Looped = true
  413. else
  414. repeat wait(1) until NEWSOUND.Playing == false
  415. NEWSOUND:remove()
  416. end
  417. end))
  418. return NEWSOUND
  419. end
  420.  
  421. function CFrameFromTopBack(at, top, back)
  422. local right = top:Cross(back)
  423. 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)
  424. end
  425.  
  426. --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})
  427. function WACKYEFFECT(Table)
  428. local TYPE = (Table.EffectType or "Sphere")
  429. local SIZE = (Table.Size or VT(1,1,1))
  430. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  431. local TRANSPARENCY = (Table.Transparency or 0)
  432. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  433. local CFRAME = (Table.CFrame or Torso.CFrame)
  434. local MOVEDIRECTION = (Table.MoveToPos or nil)
  435. local ROTATION1 = (Table.RotationX or 0)
  436. local ROTATION2 = (Table.RotationY or 0)
  437. local ROTATION3 = (Table.RotationZ or 0)
  438. local MATERIAL = (Table.Material or "Neon")
  439. local COLOR = (Table.Color or C3(1,1,1))
  440. local TIME = (Table.Time or 45)
  441. local SOUNDID = (Table.SoundID or nil)
  442. local SOUNDPITCH = (Table.SoundPitch or nil)
  443. local SOUNDVOLUME = (Table.SoundVolume or nil)
  444. coroutine.resume(coroutine.create(function()
  445. local PLAYSSOUND = false
  446. local SOUND = nil
  447. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  448. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  449. PLAYSSOUND = true
  450. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  451. end
  452. EFFECT.Color = COLOR
  453. local MSH = nil
  454. if TYPE == "Sphere" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  456. elseif TYPE == "Block" then
  457. MSH = IT("BlockMesh",EFFECT)
  458. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  459. elseif TYPE == "Wave" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  461. elseif TYPE == "Ring" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  463. elseif TYPE == "Slash" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  465. elseif TYPE == "Round Slash" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  467. elseif TYPE == "Swirl" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  469. elseif TYPE == "Skull" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  471. elseif TYPE == "Crystal" then
  472. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  473. end
  474. if MSH ~= nil then
  475. local MOVESPEED = nil
  476. if MOVEDIRECTION ~= nil then
  477. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  478. end
  479. local GROWTH = SIZE - ENDSIZE
  480. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  481. if TYPE == "Block" then
  482. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  483. else
  484. EFFECT.CFrame = CFRAME
  485. end
  486. for LOOP = 1, TIME+1 do
  487. Swait()
  488. MSH.Scale = MSH.Scale - GROWTH/TIME
  489. if TYPE == "Wave" then
  490. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  491. end
  492. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  493. if TYPE == "Block" then
  494. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  495. else
  496. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  497. end
  498. if MOVEDIRECTION ~= nil then
  499. local ORI = EFFECT.Orientation
  500. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  501. EFFECT.Orientation = ORI
  502. end
  503. end
  504. if PLAYSSOUND == false then
  505. EFFECT:remove()
  506. else
  507. repeat Swait() until SOUND.Playing == false
  508. EFFECT:remove()
  509. end
  510. else
  511. if PLAYSSOUND == false then
  512. EFFECT:remove()
  513. else
  514. repeat Swait() until SOUND.Playing == false
  515. EFFECT:remove()
  516. end
  517. end
  518. end))
  519. end
  520.  
  521. function MakeForm(PART,TYPE)
  522. if TYPE == "Cyl" then
  523. local MSH = IT("CylinderMesh",PART)
  524. elseif TYPE == "Ball" then
  525. local MSH = IT("SpecialMesh",PART)
  526. MSH.MeshType = "Sphere"
  527. elseif TYPE == "Wedge" then
  528. local MSH = IT("SpecialMesh",PART)
  529. MSH.MeshType = "Wedge"
  530. end
  531. end
  532.  
  533. Debris = game:GetService("Debris")
  534.  
  535. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  536. local DIRECTION = CF(StartPos,EndPos).lookVector
  537. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  538. end
  539.  
  540. function Particles(Which,Parent,Enabled)
  541. if script:FindFirstChild(Which) then
  542. local PARTICLES = script:FindFirstChild(Which):Clone()
  543. PARTICLES.Parent = Parent
  544. PARTICLES.Name = "CurseParticles"
  545. if Enabled ~= true then
  546. PARTICLES:Emit(Enabled)
  547. Debris:AddItem(PARTICLES,10)
  548. else
  549. PARTICLES.Enabled = true
  550. return PARTICLES
  551. end
  552. end
  553. end
  554.  
  555. --//=================================\\
  556. --|| WEAPON CREATION
  557. --\\=================================//
  558.  
  559. local GUI = script.NameGui
  560. GUI.Parent = RootPart
  561. GUI.PlayerToHideFrom = Player
  562. Humanoid.DisplayDistanceType = "None"
  563. GUI.Enabled = true
  564. local juedox = script.juedox
  565. juedox.Parent = Character
  566. juedox.CFrame = Torso.CFrame
  567. local WELD = weldBetween(Torso,juedox)
  568. juedox.Anchored = false
  569. juedox.Transparency = 0.1
  570. local FLINTLOCK = script.Flintlock
  571. FLINTLOCK.Parent = Character
  572. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  573.  
  574. local REGENSOUND = 487215897
  575. for _, c in pairs(Character:GetDescendants()) do
  576. if c and c.Parent then
  577. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  578. local ACCESSORY = c.Parent
  579. c.Parent = Character
  580. if c then
  581. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  582. weldBetween(Head,c)
  583. else
  584. weldBetween(Torso,c)
  585. end
  586. end
  587. ACCESSORY:remove()
  588. end
  589. end
  590. end
  591. wait()
  592. local BODY = {}
  593. for _, c in pairs(Character:GetDescendants()) do
  594. if c:IsA("BasePart") then
  595. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  596. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  597. end
  598. local REGENVALUE = IT("BoolValue",c)
  599. REGENVALUE.Name = "IsRegening"
  600. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
  601. elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
  602. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
  603. end
  604. end
  605. function FullBodyRegen()
  606. if FULLREGEN == false then
  607. FULLREGEN = true
  608. Character.Parent = workspace
  609. GUI.Enabled = false
  610. CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
  611. UNANCHOR = false
  612. for e = 1, #BODY do
  613. if BODY[e] ~= nil then
  614. local STUFF = BODY[e]
  615. local PART = STUFF[1]
  616. local PARENT = STUFF[2]
  617. local MATERIAL = STUFF[3]
  618. local COLOR = STUFF[4]
  619. local TRANSPARENCY = STUFF[5]
  620. --local SIZE = STUFF[6]
  621. local NAME = STUFF[7]
  622. local VALUE = STUFF[8]
  623. PART.Parent = PARENT
  624. Humanoid.MaxHealth = "inf"
  625. Humanoid.Health = "inf"
  626. Humanoid.Parent = nil
  627. Humanoid = IT("Humanoid",Character)
  628. Humanoid.Died:Connect(FullBodyRegen)
  629. PART.Parent = PARENT
  630. if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
  631. VALUE.Value = true
  632. coroutine.resume(coroutine.create(function()
  633. PART.Transparency = 1
  634. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
  635. local REGEN = script.Regen:Clone()
  636. REGEN.Parent = PART
  637. REGEN.Speed = NumberRange.new(30)
  638. REGEN:Emit(100)
  639. local REGENING = script.Regen2:Clone()
  640. REGENING.Parent = PART
  641. REGENING.Enabled = true
  642. REGENING.Speed = NumberRange.new(35)
  643. wait()
  644. local RANGE = 35
  645. for i = 1, math.ceil(REGENRATE*25) do
  646. wait()
  647. ApplyAoE(PART.Position,6,1,1,0,false)
  648. REGENING.Speed = NumberRange.new(RANGE)
  649. RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
  650. end
  651. REGEN.Speed = NumberRange.new(6)
  652. REGEN:Emit(60)
  653. wait(REGENRATE/3)
  654. RootPart.Velocity = VT(0,0,0)
  655. UNANCHOR = true
  656. GUI.Enabled = true
  657. PART.Transparency = 0
  658. REGEN.Rate = 50
  659. REGEN.Enabled = true
  660. REGENING.Enabled = false
  661. wait(REGENRATE/1.5)
  662. VALUE.Value = false
  663. Debris:AddItem(REGENING,5)
  664. FULLREGEN = false
  665. REGEN.Enabled = false
  666. Debris:AddItem(REGEN,5)
  667. end))
  668. end
  669. end
  670. end
  671. end
  672. end
  673. function Regen()
  674. Character.Parent = workspace
  675. for e = 1, #BODY do
  676. if BODY[e] ~= nil then
  677. local STUFF = BODY[e]
  678. local PART = STUFF[1]
  679. local PARENT = STUFF[2]
  680. local MATERIAL = STUFF[3]
  681. local COLOR = STUFF[4]
  682. local TRANSPARENCY = STUFF[5]
  683. --local SIZE = STUFF[6]
  684. local NAME = STUFF[7]
  685. local VALUE = STUFF[8]
  686. if PART.ClassName == "Part" and PART ~= RootPart then
  687. PART.Material = MATERIAL
  688. PART.Name = NAME
  689. end
  690. if PART.Parent ~= PARENT then
  691. PART.Parent = PARENT
  692. if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
  693. if VALUE.Value == false then
  694. VALUE.Value = true
  695. coroutine.resume(coroutine.create(function()
  696. PART.Transparency = 1
  697. wait(REGENRATE)
  698. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
  699. local REGENING = script.Regen:Clone()
  700. REGENING.Parent = PART
  701. REGENING.Enabled = true
  702. for i = 1, math.ceil(REGENRATE*10) do
  703. wait()
  704. ApplyAoE(PART.Position,6,1,1,0,false)
  705. end
  706. wait(REGENRATE)
  707. PART.Transparency = 0
  708. wait(REGENRATE/5)
  709. REGENING.Enabled = false
  710. VALUE.Value = false
  711. Debris:AddItem(REGENING,5)
  712. end))
  713. end
  714. elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
  715. local VALUE = PARENT.IsRegening
  716. if VALUE == false then
  717. VALUE.Value = true
  718. local PART = PART.Part1
  719. coroutine.resume(coroutine.create(function()
  720. PART.Transparency = 1
  721. wait(REGENRATE)
  722. CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
  723. local REGENING = script.Regen:Clone()
  724. REGENING.Parent = PART
  725. REGENING.Enabled = true
  726. for i = 1, math.ceil(REGENRATE*10) do
  727. wait()
  728. ApplyAoE(PART.Position,6,1,1,0,false)
  729. end
  730. wait(REGENRATE)
  731. PART.Transparency = 0
  732. wait(REGENRATE/5)
  733. REGENING.Enabled = false
  734. VALUE.Value = false
  735. end))
  736. end
  737. end
  738. end
  739. end
  740. end
  741. end
  742.  
  743. for _, c in pairs(script.Package:GetChildren()) do
  744. c.Parent = Character
  745. end
  746.  
  747. local b = IT("BodyForce",RootPart)
  748. b.Name = "LowGrav"
  749. b.force = Vector3.new(0,1500,0)
  750.  
  751. local SKILLTEXTCOLOR = C3(0,0,0)
  752. local SKILLFONT = "Fantasy"
  753. local SKILLTEXTSIZE = 7
  754.  
  755. local BACKATTACHMENT1 = IT("Attachment",Torso)
  756. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  757. local BACKATTACHMENT2 = IT("Attachment",Torso)
  758. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  759.  
  760. Humanoid.Died:Connect(FullBodyRegen)
  761.  
  762. --//=================================\\
  763. --|| DAMAGING
  764. --\\=================================//
  765.  
  766. function ApplyDamage(Humanoid,Damage)
  767. if Humanoid.Health == math.huge then
  768. Humanoid.Parent:BreakJoints()
  769. else
  770. local MULTIPLY = Humanoid.MaxHealth/100
  771. Damage = Damage * DAMAGEMULTIPLIER
  772. if Humanoid.Health ~= 0 then
  773. Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
  774. end
  775. end
  776. end
  777.  
  778. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
  779. local CHILDREN = workspace:GetDescendants()
  780. for index, CHILD in pairs(CHILDREN) do
  781. if CHILD.ClassName == "Model" and CHILD ~= Character then
  782. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  783. if HUM then
  784. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  785. if TORSO then
  786. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  787. if INSTAKILL == true or HUM.MaxHealth == math.huge then
  788. CHILD:BreakJoints()
  789. else
  790. local DMG = MRANDOM(MINDMG,MAXDMG)
  791. ApplyDamage(HUM,DMG)
  792. end
  793. if FLING > 0 then
  794. for _, c in pairs(CHILD:GetChildren()) do
  795. if c:IsA("BasePart") then
  796. local bv = Instance.new("BodyVelocity")
  797. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  798. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  799. bv.Parent = c
  800. Debris:AddItem(bv,0.05)
  801. end
  802. end
  803. end
  804. end
  805. end
  806. end
  807. end
  808. end
  809. end
  810.  
  811. --//=================================\\
  812. --|| ATTACK FUNCTIONS AND STUFF
  813. --\\=================================//
  814.  
  815. function Fireball()
  816. ATTACK = true
  817. Rooted = true
  818. local GYRO = IT("BodyGyro",RootPart)
  819. GYRO.D = 20
  820. GYRO.P = 4000
  821. GYRO.MaxTorque = VT(40000,40000,40000)
  822. local POSITION = IT("BodyPosition",RootPart)
  823. POSITION.Position = RootPart.Position+VT(0,2,0)
  824. POSITION.D = 450
  825. POSITION.P = 40000
  826. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  827. local FIRE = Particles("FistFire",RightArm,true)
  828. CreateSound(CHARGE,RightArm,6,1,false)
  829. coroutine.resume(coroutine.create(function()
  830. repeat
  831. Swait()
  832. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  833. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  837. 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)
  838. 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)
  839. until ATTACK == false
  840. FIRE.LockedToPart = false
  841. FIRE.Enabled = false
  842. Debris:AddItem(FIRE,5)
  843. GYRO:remove()
  844. POSITION:remove()
  845. end))
  846. wait(1)
  847. repeat
  848. Particles("ExplosionFire1",RightArm,70)
  849. coroutine.resume(coroutine.create(function()
  850. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10))
  851. FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  852. CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
  853. local FLAME = Particles("FireballFire1",FIREBALL,true)
  854. local FLAME2 = Particles("FireballFire2",FIREBALL,true)
  855. for i = 1, 250 do
  856. Swait()
  857. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
  858. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
  859. if HIT then
  860. Particles("ExplosionFire1",FIREBALL,600)
  861. ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  862. for i = 1, 3 do
  863. 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"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  864. end
  865. for i = 1, 3 do
  866. 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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  867. end
  868. for i = 1, 5 do
  869. 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})
  870. end
  871. break
  872. end
  873. end
  874. FLAME.Enabled = false
  875. FLAME2.Enabled = false
  876. Debris:AddItem(FIREBALL,7)
  877. end))
  878. wait(0.1)
  879. until KEYHOLD == false
  880. wait(0.2)
  881. ATTACK = false
  882. Rooted = false
  883. end
  884.  
  885. function FireField()
  886. ATTACK = true
  887. Rooted = true
  888. local A = false
  889. local POSITION = IT("BodyPosition",RootPart)
  890. POSITION.Position = RootPart.Position+VT(0,2,0)
  891. POSITION.D = 450
  892. POSITION.P = 40000
  893. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  894. coroutine.resume(coroutine.create(function()
  895. repeat
  896. Swait()
  897. 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)
  898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.85, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  901. 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)
  902. 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)
  903. until A == true
  904. repeat
  905. Swait()
  906. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  910. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  911. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  912. until ATTACK == false
  913. POSITION:remove()
  914. end))
  915. local RANGE = 75
  916. local REGENING = script.Regen2:Clone()
  917. REGENING.Parent = Torso
  918. REGENING.Enabled = true
  919. REGENING.Rate = 900
  920. REGENING.Speed = NumberRange.new(RANGE)
  921. wait()
  922. for i = 1, 75 do
  923. wait()
  924. ApplyAoE(Torso.Position,6,1,1,0,false)
  925. REGENING.Speed = NumberRange.new(RANGE)
  926. RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
  927. end
  928. REGENING.Enabled = false
  929. wait(0.5)
  930. for i = 1, 6 do
  931. WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,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})
  932. end
  933. CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
  934. A = true
  935. local FLAME = Particles("Field",Torso,true)
  936. FLAME.Size = NumberSequence.new(0,25)
  937. FIREFIELD = true
  938. local SOUND = CreateSound(BURNSOUND,Torso,10,1,true)
  939. coroutine.resume(coroutine.create(function()
  940. for i = 1, 20 do
  941. wait(1)
  942. SOUND.Parent = Torso
  943. SOUND.Playing = true
  944. ApplyAoE(Torso.Position,100,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  945. for i = 1, 2 do
  946. WACKYEFFECT({Time = 20+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(30,30,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})
  947. end
  948. if SEARING == true then
  949. break
  950. end
  951. end
  952. FIREFIELD = false
  953. FLAME.Enabled = false
  954. Debris:AddItem(FLAME,5)
  955. SOUND:remove()
  956. end))
  957. wait(1)
  958. ATTACK = false
  959. Rooted = false
  960. end
  961.  
  962. function SearingForm()
  963. ATTACK = true
  964. Rooted = true
  965. local POSITION = IT("BodyPosition",RootPart)
  966. POSITION.Position = RootPart.Position+VT(0,2,0)
  967. POSITION.D = 450
  968. POSITION.P = 40000
  969. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  970. coroutine.resume(coroutine.create(function()
  971. repeat
  972. Swait()
  973. 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)
  974. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.8, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  977. 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)
  978. 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)
  979. until ATTACK == false
  980. end))
  981. local FIRES = {}
  982. local RANGE = 75
  983. local REGENING = script.Regen2:Clone()
  984. REGENING.Parent = Torso
  985. REGENING.Enabled = true
  986. REGENING.Rate = 900
  987. REGENING.Speed = NumberRange.new(RANGE)
  988. wait()
  989. for i = 1, 75 do
  990. wait()
  991. ApplyAoE(Torso.Position,6,1,1,0,false)
  992. REGENING.Speed = NumberRange.new(RANGE)
  993. RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
  994. end
  995. REGENING.Enabled = false
  996. wait(0.5)
  997. for i = 1, 6 do
  998. WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,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})
  999. end
  1000. local BUSY = true
  1001. Particles("ExplosionFire1",Torso,100)
  1002. SEARING = true
  1003. local WING1 = Particles("WingFire1",BACKATTACHMENT1,true)
  1004. local WING2 = Particles("WingFire1",BACKATTACHMENT2,true)
  1005. coroutine.resume(coroutine.create(function()
  1006. coroutine.resume(coroutine.create(function()
  1007. repeat
  1008. wait(1)
  1009. ApplyAoE(Torso.Position,20,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1010. until SEARING == false
  1011. end))
  1012. repeat
  1013. Swait()
  1014. local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
  1015. local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
  1016. WING1.Acceleration = ACCEL1
  1017. WING2.Acceleration = ACCEL2
  1018. local HIT,HITPOS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 4, Character)
  1019. if HIT then
  1020. ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1021. CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
  1022. CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
  1023. for i = 1, 3 do
  1024. 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(Torso.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"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1025. end
  1026. for i = 1, 3 do
  1027. 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(Torso.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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1028. end
  1029. Particles("ExplosionFire1",Torso,600)
  1030. BUSY = false
  1031. break
  1032. end
  1033. until SEARING == false
  1034. end))
  1035. for _, c in pairs(Character:GetChildren()) do
  1036. if c:IsA("BasePart") then
  1037. local FLAME = Particles("BodyFire",c,true)
  1038. table.insert(FIRES,FLAME)
  1039. end
  1040. end
  1041. POSITION:remove()
  1042. wait()
  1043. ApplyAoE(Torso.Position,120,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1044. CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
  1045. ATTACK = false
  1046. Rooted = false
  1047. GYRO = IT("BodyGyro",RootPart)
  1048. GYRO.D = 20
  1049. GYRO.P = 4000
  1050. GYRO.MaxTorque = VT(0,40000,0)
  1051. BODYPOS = IT("BodyPosition",RootPart)
  1052. BODYPOS.Position = RootPart.Position+VT(0,2,0)
  1053. BODYPOS.D = 450
  1054. BODYPOS.P = 40000
  1055. BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1056. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1057. if NEWKEY == "c" and ATTACK == false then
  1058. BUSY = false
  1059. end
  1060. end)
  1061. local HUM = Humanoid.Died:Connect(function()
  1062. BUSY = false
  1063. ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1064. CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
  1065. CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
  1066. for i = 1, 3 do
  1067. 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(Torso.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"Steel blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1068. end
  1069. for i = 1, 3 do
  1070. 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(Torso.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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1071. end
  1072. Particles("ExplosionFire1",Torso,600)
  1073. end)
  1074. repeat wait() until BUSY == false
  1075. for i = 1, #FIRES do
  1076. FIRES[i].Enabled = false
  1077. Debris:AddItem(FIRES[i],5)
  1078. end
  1079. HUM:disconnect()
  1080. WING1.Enabled = false
  1081. WING2.Enabled = false
  1082. WING1.LockedToPart = false
  1083. WING2.LockedToPart = false
  1084. Debris:AddItem(WING1,5)
  1085. Debris:AddItem(WING2,5)
  1086. KEYDOWN:disconnect()
  1087. SEARING = false
  1088. GYRO:remove()
  1089. BODYPOS:remove()
  1090. FullBodyRegen()
  1091. end
  1092.  
  1093. function SearingOrb()
  1094. ATTACK = true
  1095. Rooted = true
  1096. local POSITION = IT("BodyPosition",RootPart)
  1097. POSITION.Position = RootPart.Position+VT(0,2,0)
  1098. POSITION.D = 450
  1099. POSITION.P = 40000
  1100. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1101. local FIRE = Particles("FistFire",RightArm,true)
  1102. local FIRE2 = Particles("FistFire",LeftArm,true)
  1103. CreateSound(CHARGE,Torso,6,1,false)
  1104. local NEWANIM = false
  1105. coroutine.resume(coroutine.create(function()
  1106. repeat
  1107. Swait()
  1108. 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)
  1109. 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)
  1110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1112. 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)
  1113. 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)
  1114. until ATTACK == false or NEWANIM == true
  1115. if NEWANIM == true then
  1116. local GYRO = IT("BodyGyro",RootPart)
  1117. GYRO.D = 20
  1118. GYRO.P = 4000
  1119. GYRO.MaxTorque = VT(40000,40000,40000)
  1120. repeat
  1121. Swait()
  1122. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1123. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1127. 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)
  1128. 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)
  1129. until ATTACK == false
  1130. GYRO:remove()
  1131. end
  1132. POSITION:remove()
  1133. FIRE.LockedToPart = false
  1134. FIRE.Enabled = false
  1135. Debris:AddItem(FIRE,5)
  1136. FIRE2.LockedToPart = false
  1137. FIRE2.Enabled = false
  1138. Debris:AddItem(FIRE2,5)
  1139. end))
  1140. local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
  1141. MakeForm(ORB,"Ball")
  1142. ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
  1143. local A = IT("Attachment",ORB)
  1144. local FIRES = Particles("FireballFire1",A,true)
  1145. FIRES.Size = NumberSequence.new(0)
  1146. FIRES.LockedToPart = true
  1147. local LOOP = 0
  1148. for i = 1, 500 do
  1149. Swait()
  1150. LOOP = LOOP + 1
  1151. if LOOP >= 30 then
  1152. LOOP = 0
  1153. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1154. end
  1155. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1156. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1157. FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
  1158. FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
  1159. FIRES.Enabled = true
  1160. end
  1161. wait(1)
  1162. if KEYHOLD == false then
  1163. coroutine.resume(coroutine.create(function()
  1164. ORB.Transparency = 1
  1165. FIRES.Enabled = false
  1166. Debris:AddItem(ORB,10)
  1167. ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1168. CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
  1169. CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
  1170. for i = 1, 3 do
  1171. 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"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1172. end
  1173. for i = 1, 3 do
  1174. 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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1175. end
  1176. Particles("ExplosionFire1",ORB,1200)
  1177. for i = 1, 15 do
  1178. 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})
  1179. end
  1180. end))
  1181. else
  1182. for i = 1, 100 do
  1183. Swait()
  1184. ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
  1185. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1186. FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
  1187. FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
  1188. end
  1189. ORB.Transparency = 1
  1190. FIRES.Enabled = false
  1191. Debris:AddItem(ORB,10)
  1192. CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
  1193. for _, c in pairs(Character:GetChildren()) do
  1194. if c:IsA("BasePart") then
  1195. Particles("ExplosionFire2",c,25)
  1196. end
  1197. end
  1198. NEWANIM = true
  1199. wait(0.5)
  1200. for i = 1, 15 do
  1201. wait(0.1)
  1202. coroutine.resume(coroutine.create(function()
  1203. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2,2,2))
  1204. FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  1205. CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
  1206. local FLAME = Particles("FireballFire3",FIREBALL,true)
  1207. for i = 1, 250 do
  1208. Swait()
  1209. local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
  1210. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  1211. if HIT then
  1212. CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
  1213. local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true)
  1214. local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true)
  1215. FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1216. FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
  1217. coroutine.resume(coroutine.create(function()
  1218. local FLAMES = Particles("DebrisFire",FIELD,true)
  1219. local FLAMES2 = Particles("DebrisFire",FIELD2,true)
  1220. for i = 1, 15 do
  1221. wait(1)
  1222. ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1223. end
  1224. FLAMES.Enabled = false
  1225. FLAMES2.Enabled = false
  1226. Debris:AddItem(FIELD,5)
  1227. Debris:AddItem(FIELD2,5)
  1228. end))
  1229. Particles("ExplosionFire2",FIREBALL,600)
  1230. break
  1231. end
  1232. end
  1233. FLAME.Enabled = false
  1234. Debris:AddItem(FIREBALL,7)
  1235. end))
  1236. end
  1237. end
  1238. wait(0.3)
  1239. ATTACK = false
  1240. Rooted = false
  1241. end
  1242.  
  1243. function Shroud()
  1244. if Mouse.Target ~= nil then
  1245. if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1246. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1247. local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1248. if TORSO and HUM.Health > 0 then
  1249. local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
  1250. if DISTANCE < 100 then
  1251. ATTACK = true
  1252. POSEIDON = false
  1253. Rooted = true
  1254. local GYRO = IT("BodyGyro",RootPart)
  1255. GYRO.D = 20
  1256. GYRO.P = 4000
  1257. GYRO.MaxTorque = VT(40000,40000,40000)
  1258. local POSITION = IT("BodyPosition",RootPart)
  1259. POSITION.Position = RootPart.Position+VT(0,2,0)
  1260. POSITION.D = 450
  1261. POSITION.P = 40000
  1262. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1263. local TARGETTING = true
  1264. local HIT = false
  1265. local FIRES = {}
  1266. for _, c in pairs(Character:GetChildren()) do
  1267. if c:IsA("BasePart") then
  1268. local FLAME = Particles("BodyFire",c,true)
  1269. FLAME.Rate = 15
  1270. table.insert(FIRES,FLAME)
  1271. end
  1272. end
  1273. CreateSound(CHARGE,Torso,6,1,false)
  1274. coroutine.resume(coroutine.create(function()
  1275. repeat
  1276. GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
  1277. Swait()
  1278. 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)
  1279. 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)
  1280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1282. 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)
  1283. 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)
  1284. until TARGETTING == false
  1285. repeat
  1286. GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
  1287. POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
  1288. DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
  1289. Swait()
  1290. 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)
  1291. 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)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1294. 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)
  1295. 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)
  1296. until HIT == true
  1297. POSITION:remove()
  1298. GYRO:remove()
  1299. end))
  1300. wait(0.5)
  1301. repeat wait() until HOLD == true
  1302. for _, c in pairs(Character:GetChildren()) do
  1303. if c:IsA("BasePart") then
  1304. local FLAME = Particles("BodyFire",c,true)
  1305. table.insert(FIRES,FLAME)
  1306. end
  1307. end
  1308. for _, c in pairs(Character:GetChildren()) do
  1309. if c:IsA("BasePart") then
  1310. c.Transparency = 1
  1311. end
  1312. end
  1313. TARGETTING = false
  1314. for i = 1, 100 do
  1315. wait()
  1316. if DISTANCE < 5 or DISTANCE >= 200 then
  1317. break
  1318. end
  1319. end
  1320. HIT = true
  1321. if DISTANCE < 5 then
  1322. for i = 1, #FIRES do
  1323. FIRES[i].Enabled = false
  1324. end
  1325. for _, c in pairs(HUM.Parent:GetChildren()) do
  1326. if c:IsA("BasePart") then
  1327. local FLAME = Particles("BodyFire",c,true)
  1328. table.insert(FIRES,FLAME)
  1329. end
  1330. end
  1331. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1332. RootPart.CFrame = TORSO.CFrame
  1333. local WELD = weldBetween(RootPart,TORSO)
  1334. repeat wait() until HOLD == true
  1335. CreateSound(416328540,Torso,6,1,false)
  1336. 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"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1337. local bv = Instance.new("BodyVelocity")
  1338. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1339. bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
  1340. bv.Parent = TORSO
  1341. for i = 1, 70 do
  1342. wait(0.1)
  1343. if TORSO.Parent == nil then
  1344. break
  1345. end
  1346. 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"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1347. end
  1348. UNANCHOR = false
  1349. bv:remove()
  1350. wait(1)
  1351. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1352. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1353. UNANCHOR = true
  1354. local bv = Instance.new("BodyVelocity")
  1355. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1356. bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
  1357. bv.Parent = TORSO
  1358. local LANDED = false
  1359. for i = 1, 500 do
  1360. wait()
  1361. Ignore = {Character,HUM.Parent}
  1362. 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"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1363. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1364. local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
  1365. if HITFLOOR or FULLREGEN == true then
  1366. LANDED = true
  1367. break
  1368. end
  1369. if TORSO.Parent == nil then
  1370. break
  1371. end
  1372. end
  1373. if TORSO.Parent ~= nil then
  1374. UNANCHOR = false
  1375. bv:remove()
  1376. wait(1)
  1377. 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"Dark indigo".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1378. CreateSound(FIREBALLSOUND,Torso,6,1,false)
  1379. UNANCHOR = true
  1380. local bv = Instance.new("BodyVelocity")
  1381. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1382. bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
  1383. bv.Parent = TORSO
  1384. local LANDED = false
  1385. for i = 1, 500 do
  1386. wait()
  1387. Ignore = {Character,HUM.Parent}
  1388. 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 black".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1389. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1390. local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
  1391. if HITFLOOR or FULLREGEN == true then
  1392. LANDED = true
  1393. break
  1394. end
  1395. if TORSO.Parent == nil then
  1396. break
  1397. end
  1398. end
  1399. bv:remove()
  1400. if LANDED == true then
  1401. UNANCHOR = false
  1402. for i = 1, 10 do
  1403. ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1404. end
  1405. CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
  1406. CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
  1407. Particles("ExplosionFire1",TORSO,120)
  1408. for i = 1, 15 do
  1409. 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})
  1410. end
  1411. WELD:remove()
  1412. wait(0.3)
  1413. UNANCHOR = true
  1414. else
  1415. WELD:remove()
  1416. end
  1417. end
  1418. end
  1419. for i = 1, #FIRES do
  1420. FIRES[i].Enabled = false
  1421. Debris:AddItem(FIRES[i],5)
  1422. end
  1423. for _, c in pairs(Character:GetChildren()) do
  1424. if c:IsA("BasePart") and c ~= RootPart then
  1425. c.Transparency = 0
  1426. end
  1427. end
  1428. RootPart.Velocity = VT(0,0,0)
  1429. ATTACK = false
  1430. Rooted = false
  1431. end
  1432. end
  1433. end
  1434. end
  1435. end
  1436.  
  1437. function Spitter()
  1438. ATTACK = true
  1439. Rooted = true
  1440. local GYRO = IT("BodyGyro",RootPart)
  1441. GYRO.D = 20
  1442. GYRO.P = 4000
  1443. GYRO.MaxTorque = VT(40000,40000,40000)
  1444. local POSITION = IT("BodyPosition",RootPart)
  1445. POSITION.Position = RootPart.Position+VT(0,2,0)
  1446. POSITION.D = 450
  1447. POSITION.P = 40000
  1448. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1449. local FIRE = Particles("FistFire",RightArm,true)
  1450. CreateSound(CHARGE,RightArm,6,0.8,false)
  1451. coroutine.resume(coroutine.create(function()
  1452. repeat
  1453. Swait()
  1454. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1455. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1459. 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)
  1460. 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)
  1461. until ATTACK == false
  1462. FIRE.LockedToPart = false
  1463. FIRE.Enabled = false
  1464. Debris:AddItem(FIRE,5)
  1465. GYRO:remove()
  1466. POSITION:remove()
  1467. end))
  1468. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
  1469. MakeForm(FIREBALL,"Ball")
  1470. FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
  1471. local CORE = IT("Attachment",FIREBALL)
  1472. local FIRES = Particles("FireballFire1",CORE,true)
  1473. FIRES.Size = NumberSequence.new(0)
  1474. FIRES.LockedToPart = true
  1475. local LOOP = 0
  1476. repeat
  1477. Swait()
  1478. LOOP = LOOP + 1
  1479. if LOOP == 20 then
  1480. LOOP = 0
  1481. 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"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1482. end
  1483. if FIREBALL.Size.X < 20 then
  1484. FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
  1485. FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5)
  1486. FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2)
  1487. end
  1488. FIRES.Enabled = true
  1489. FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
  1490. until KEYHOLD == false and FIREBALL.Size.X >= 10
  1491. CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
  1492. coroutine.resume(coroutine.create(function()
  1493. FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
  1494. local RANGE = 75
  1495. local FLAME = Particles("Field",CORE,true)
  1496. FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5)
  1497. FLAME.Size = NumberSequence.new(0,25)
  1498. for i = 1, 600 do
  1499. LOOP = LOOP + 1
  1500. if LOOP == 20 then
  1501. LOOP = 0
  1502. ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
  1503. 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"Royal purple".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1504. end
  1505. Swait()
  1506. FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
  1507. local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
  1508. if HIT then
  1509. ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1510. CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
  1511. CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
  1512. for i = 1, 3 do
  1513. 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"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1514. end
  1515. for i = 1, 3 do
  1516. 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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1517. end
  1518. Particles("ExplosionFire1",FIREBALL,1200)
  1519. for i = 1, 15 do
  1520. 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})
  1521. end
  1522. break
  1523. end
  1524. end
  1525. FLAME.Enabled = false
  1526. FIRES.Enabled = false
  1527. for i = 1, 10 do
  1528. Swait()
  1529. FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
  1530. end
  1531. Debris:AddItem(FIREBALL,5)
  1532. end))
  1533. wait(0.5)
  1534. ATTACK = false
  1535. Rooted = false
  1536. end
  1537.  
  1538. function Devastor()
  1539. ATTACK = true
  1540. Rooted = true
  1541. local POSITION = IT("BodyPosition",RootPart)
  1542. POSITION.Position = RootPart.Position+VT(0,2,0)
  1543. POSITION.D = 450
  1544. POSITION.P = 40000
  1545. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1546. local FIRE = Particles("FistFire",RightArm,true)
  1547. local FIRE2 = Particles("FistFire",LeftArm,true)
  1548. CreateSound(CHARGE,Torso,6,1,false)
  1549. local NEWANIM = false
  1550. coroutine.resume(coroutine.create(function()
  1551. repeat
  1552. Swait()
  1553. 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)
  1554. 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)
  1555. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1556. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1557. 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)
  1558. 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)
  1559. until ATTACK == false or NEWANIM == true
  1560. if NEWANIM == true then
  1561. local GYRO = IT("BodyGyro",RootPart)
  1562. GYRO.D = 20
  1563. GYRO.P = 4000
  1564. GYRO.MaxTorque = VT(40000,40000,40000)
  1565. repeat
  1566. Swait()
  1567. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1568. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1569. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1570. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1571. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1572. 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)
  1573. 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)
  1574. until ATTACK == false
  1575. GYRO:remove()
  1576. end
  1577. POSITION:remove()
  1578. FIRE.LockedToPart = false
  1579. FIRE.Enabled = false
  1580. Debris:AddItem(FIRE,5)
  1581. FIRE2.LockedToPart = false
  1582. FIRE2.Enabled = false
  1583. Debris:AddItem(FIRE2,5)
  1584. end))
  1585. local FIRETABLE = {}
  1586. local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
  1587. MakeForm(ORB,"Ball")
  1588. ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
  1589. local A = IT("Attachment",ORB)
  1590. local FIRES = Particles("FireballFire1",A,true)
  1591. FIRES.Size = NumberSequence.new(0)
  1592. FIRES.LockedToPart = true
  1593. local LOOP = 0
  1594. for i = 1, 200 do
  1595. Swait()
  1596. LOOP = LOOP + 1
  1597. if LOOP >= 30 then
  1598. LOOP = 0
  1599. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1600. end
  1601. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1602. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1603. FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
  1604. FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
  1605. FIRES.Enabled = true
  1606. end
  1607. RightArm.Transparency = 1
  1608. LeftArm.Transparency = 1
  1609. FIRE.Enabled = false
  1610. FIRE2.Enabled = false
  1611. for _, c in pairs(Character:GetChildren()) do
  1612. if c:IsA("BasePart") then
  1613. local FLAME = Particles("BodyFire",c,true)
  1614. table.insert(FIRETABLE,FLAME)
  1615. end
  1616. end
  1617. CreateSound(CHARGE,Torso,6,0.5,false)
  1618. for i = 1, 200 do
  1619. Swait()
  1620. LOOP = LOOP + 1
  1621. if LOOP >= 30 then
  1622. LOOP = 0
  1623. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1624. end
  1625. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1626. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1627. FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
  1628. FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
  1629. FIRES.Enabled = true
  1630. end
  1631. for _, c in pairs(Character:GetChildren()) do
  1632. if c:IsA("BasePart") then
  1633. c.Transparency = 1
  1634. end
  1635. end
  1636. for i = 1, #FIRETABLE do
  1637. FIRETABLE[i].Enabled = false
  1638. Debris:AddItem(FIRETABLE[i],5)
  1639. end
  1640. for i = 1, 400 do
  1641. Swait()
  1642. LOOP = LOOP + 1
  1643. if LOOP >= 30 then
  1644. LOOP = 0
  1645. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1646. end
  1647. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1648. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1649. FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
  1650. FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
  1651. FIRES.Enabled = true
  1652. end
  1653. wait(0.5)
  1654. FIRES.Lifetime = NumberRange.new(2,5)
  1655. FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)})
  1656. FIRES.LockedToPart = false
  1657. CreateSound(FIREBALLSOUND,Effects,4,1,false)
  1658. coroutine.resume(coroutine.create(function()
  1659. ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
  1660. for i = 1, 1200 do
  1661. Swait()
  1662. ORB.CFrame = ORB.CFrame*CF(0,0,-1)
  1663. local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
  1664. if HIT then
  1665. break
  1666. end
  1667. end
  1668. for i = 1, 6 do
  1669. ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
  1670. CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
  1671. CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
  1672. for i = 1, 3 do
  1673. 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"Alder".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1674. end
  1675. for i = 1, 3 do
  1676. 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"Royal purple".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1677. end
  1678. for i = 1, 15 do
  1679. 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"Steel blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1680. end
  1681. wait(1)
  1682. end
  1683. FIRES.Enabled = false
  1684. for i = 1, 10 do
  1685. Swait()
  1686. ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
  1687. end
  1688. Debris:AddItem(ORB,5)
  1689. end))
  1690. wait(1)
  1691. FullBodyRegen()
  1692. ATTACK = false
  1693. Rooted = false
  1694. end
  1695.  
  1696. --//=================================\\
  1697. --|| MISC
  1698. --\\=================================//
  1699.  
  1700. function Lock()
  1701. ATTACK = true
  1702. Rooted = true
  1703. local GYRO = IT("BodyGyro",RootPart)
  1704. GYRO.D = 50
  1705. GYRO.P = 4000
  1706. GYRO.MaxTorque = VT(40000,40000,40000)
  1707. local POSITION = IT("BodyPosition",RootPart)
  1708. POSITION.Position = RootPart.Position+VT(0,1,0)
  1709. POSITION.D = 450
  1710. POSITION.P = 40000
  1711. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1712. local FLINT = FLINTLOCK:Clone()
  1713. FLINTLOCK.Transparency = 1
  1714. FLINT.Parent = Character
  1715. local SHOT = false
  1716. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, FLINT, CF(-0.05,-1.65,0) * ANGLES(RAD(180),RAD(0),RAD(0)), CF(0, 0, 0))
  1717. coroutine.resume(coroutine.create(function()
  1718. repeat
  1719. Swait()
  1720. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1721. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1725. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1727. until SHOT == true
  1728. CreateSound(213603013,RightArm,4,1,false)
  1729. local FROM = FLINT.CFrame*CF(0,1.043,0.231).p
  1730. local Ignore = Character
  1731. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1732. local TO = Mouse.Hit.p
  1733. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Ignore)
  1734. if AIMHIT ~= nil then
  1735. if AIMHIT.Parent ~= Character then
  1736. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1737. local HUM = AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1738. if HUM then
  1739. ApplyDamage(HUM,MRANDOM(70,90))
  1740. end
  1741. end
  1742. end
  1743. end
  1744. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
  1745. MakeForm(TRAIL,"Cyl")
  1746. local DIST = (FLINT.CFrame*CF(0,1.043,0.231).p - AIMPOS).Magnitude
  1747. TRAIL.Size = VT(0.1,DIST,0.1)
  1748. TRAIL.CFrame = CF(FLINT.CFrame*CF(0,1.043,0.231).p, AIMPOS) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1749. coroutine.resume(coroutine.create(function()
  1750. for i = 1, 5 do
  1751. Swait()
  1752. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1753. end
  1754. TRAIL:remove()
  1755. end))
  1756. repeat
  1757. Swait()
  1758. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1760. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1762. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1763. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1764. until ATTACK == false
  1765. GYRO:remove()
  1766. POSITION:remove()
  1767. FLINT:remove()
  1768. FLINTLOCK.Transparency = 0
  1769. end))
  1770. wait(0.3)
  1771. SHOT = true
  1772. wait(0.5)
  1773. ATTACK = false
  1774. Rooted = false
  1775. end
  1776.  
  1777. function Jupiter()
  1778. ATTACK = true
  1779. Rooted = true
  1780. local POSITION = IT("BodyPosition",RootPart)
  1781. POSITION.Position = RootPart.Position+VT(0,0.2,0)
  1782. POSITION.D = 450
  1783. POSITION.P = 40000
  1784. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1785. coroutine.resume(coroutine.create(function()
  1786. repeat
  1787. Swait()
  1788. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1789. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1790. 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)
  1791. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1792. 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)
  1793. 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)
  1794. until ATTACK == false
  1795. end))
  1796. wait(0.5)
  1797. repeat wait() until KEYHOLD == false
  1798. 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})
  1799. POSITION:remove()
  1800. RootPart.Velocity = VT(0,150,0)
  1801. ATTACK = false
  1802. Rooted = false
  1803. end
  1804.  
  1805. function Taunt()
  1806. ATTACK = true
  1807. Rooted = true
  1808. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  1809. coroutine.resume(coroutine.create(function()
  1810. repeat
  1811. Swait()
  1812. 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)
  1813. 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)
  1814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1816. 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)
  1817. 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)
  1818. until ATTACK == false
  1819. end))
  1820. repeat wait() until TAUNT.Playing == false
  1821. ATTACK = false
  1822. Rooted = false
  1823. end
  1824.  
  1825. --//=================================\\
  1826. --|| ASSIGN THINGS TO KEYS
  1827. --\\=================================//
  1828.  
  1829. function MouseDown(Mouse)
  1830. HOLD = true
  1831. if ATTACK == false then
  1832. end
  1833. end
  1834.  
  1835. function MouseUp(Mouse)
  1836. HOLD = false
  1837. end
  1838.  
  1839. local MUSIC = CreateSound(285883918,Character,3,1,true)
  1840.  
  1841. function KeyDown(Key)
  1842. KEYHOLD = true
  1843. if ATTACK == false and FULLREGEN == false then
  1844. if Key == "z" then
  1845. Fireball()
  1846. end
  1847.  
  1848. if Key == "b" and FIREFIELD == false and SEARING == false then
  1849. FireField()
  1850. end
  1851.  
  1852. if Key == "c" and SEARING == false then
  1853. SearingForm()
  1854. end
  1855.  
  1856. if Key == "v" and SEARING == false then
  1857. SearingOrb()
  1858. end
  1859.  
  1860. if Key == "q" and SEARING == false then
  1861. Shroud()
  1862. end
  1863.  
  1864. if Key == "x" and SEARING == false then
  1865. Jupiter()
  1866. wait(2)
  1867. Devastor()
  1868. end
  1869.  
  1870. if Key == "e" then
  1871. Spitter()
  1872. end
  1873.  
  1874. if Key == "g" then
  1875. Lock()
  1876. end
  1877.  
  1878. if Key == "j" then
  1879. Jupiter()
  1880. end
  1881.  
  1882. if Key == "t" and SEARING == false then
  1883. Taunt()
  1884. end
  1885.  
  1886. if Key == "h" then
  1887. if POSEIDON == false then
  1888. POSEIDON = true
  1889. CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
  1890. else
  1891. POSEIDON = false
  1892. end
  1893. end
  1894. end
  1895.  
  1896. if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
  1897. repeat
  1898. VALUE2 = true
  1899. Swait()
  1900. BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
  1901. until KEYHOLD == false
  1902. VALUE2 = false
  1903. end
  1904.  
  1905. if string.byte(Key) == 50 and ATTACK == false then
  1906. if Speed == 16 then
  1907. Speed = 45
  1908. elseif Speed == 45 then
  1909. Speed = 16
  1910. end
  1911. end
  1912.  
  1913. if Key == "1" then
  1914. MUSIC:Play()
  1915. CHOSENSONG = CHOSENSONG + 1
  1916. if CHOSENSONG > #SONGS then
  1917. CHOSENSONG = 1
  1918. end
  1919. end
  1920. end
  1921.  
  1922. function KeyUp(Key)
  1923. KEYHOLD = false
  1924. end
  1925.  
  1926. Mouse.Button1Down:connect(function(NEWKEY)
  1927. MouseDown(NEWKEY)
  1928. end)
  1929. Mouse.Button1Up:connect(function(NEWKEY)
  1930. MouseUp(NEWKEY)
  1931. end)
  1932. Mouse.KeyDown:connect(function(NEWKEY)
  1933. KeyDown(NEWKEY)
  1934. end)
  1935. Mouse.KeyUp:connect(function(NEWKEY)
  1936. KeyUp(NEWKEY)
  1937. end)
  1938.  
  1939. --//=================================\\
  1940. --\\=================================//
  1941.  
  1942. function unanchor()
  1943. if UNANCHOR == true then
  1944. for _, c in pairs(Character:GetChildren()) do
  1945. if c:IsA("BasePart") then
  1946. c.Anchored = false
  1947. end
  1948. end
  1949. else
  1950. for _, c in pairs(Character:GetChildren()) do
  1951. if c:IsA("BasePart") then
  1952. c.Anchored = true
  1953. end
  1954. end
  1955. end
  1956. end
  1957.  
  1958. --//=================================\\
  1959. --|| WRAP THE WHOLE SCRIPT UP
  1960. --\\=================================//
  1961.  
  1962. Humanoid.Changed:connect(function(Jump)
  1963. if Jump == "Jump" and (Disable_Jump == true) then
  1964. Humanoid.Jump = false
  1965. end
  1966. end)
  1967.  
  1968. local LOOP = 0
  1969.  
  1970. while true do
  1971. Swait()
  1972. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1973. Humanoid = IT("Humanoid",Character)
  1974. end
  1975. Effects.Parent = Character
  1976. script.Parent = WEAPONGUI
  1977. ANIMATE.Parent = nil
  1978. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1979. v:Stop();
  1980. end
  1981. SINE = SINE + CHANGE
  1982. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1983. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1984. Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
  1985. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1986. local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
  1987. local WALKSPEEDVALUE = 5
  1988. if SEARING == false then
  1989. if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
  1990. if Humanoid.WalkSpeed <= 20 then
  1991. 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)
  1992. 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)
  1993. 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)
  1994. 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)
  1995. elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
  1996. 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)
  1997. 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)
  1998. 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)
  1999. 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)
  2000. end
  2001. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
  2002. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2003. 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)
  2004. 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)
  2005. 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)
  2006. end
  2007. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2008. ANIM = "Jump"
  2009. if ATTACK == false then
  2010. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2014. 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)
  2015. 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)
  2016. end
  2017. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2018. ANIM = "Fall"
  2019. if ATTACK == false then
  2020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(8*COS(SINE / 6))), 1 / Animation_Speed)
  2021. 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)
  2022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2024. 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)
  2025. 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)
  2026. end
  2027. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2028. ANIM = "Idle"
  2029. if ATTACK == false then
  2030. 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)
  2031. 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)
  2032. 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)
  2033. 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)
  2034. 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)
  2035. 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)
  2036. end
  2037. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2038. ANIM = "Walk"
  2039. if ATTACK == false then
  2040. if Humanoid.WalkSpeed <= 20 then
  2041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2043. 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)
  2044. 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)
  2045. 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)
  2046. 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)
  2047. elseif Humanoid.WalkSpeed > 20 then
  2048. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2049. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2050. 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)
  2051. 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)
  2052. 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)
  2053. 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)
  2054. end
  2055. end
  2056. end
  2057. elseif SEARING == true then
  2058. if APPLYGYRO == true then
  2059. if VALUE2 == false and DIRECTTURN == false then
  2060. if GYRO ~= nil then
  2061. GYRO.MaxTorque = VT(0,40000,0)
  2062. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2063. end
  2064. else
  2065. if GYRO ~= nil then
  2066. GYRO.MaxTorque = VT(80000,40000,80000)
  2067. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2068. end
  2069. end
  2070. end
  2071. if VALUE2 == false and ATTACK == false then
  2072. ANIM = "IdleFlight"
  2073. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2077. 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)
  2078. 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)
  2079. elseif VALUE2 == true and ATTACK == false then
  2080. ANIM = "Flight"
  2081. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  2082. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  2084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2085. 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)
  2086. 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)
  2087. end
  2088. end
  2089. unanchor()
  2090. Humanoid.MaxHealth = "inf"
  2091. Humanoid.Health = "inf"
  2092. if Rooted == false then
  2093. Disable_Jump = false
  2094. Humanoid.WalkSpeed = Speed
  2095. elseif Rooted == true then
  2096. Disable_Jump = true
  2097. Humanoid.WalkSpeed = 0
  2098. end
  2099. Regen()
  2100. if Head:FindFirstChild("face") then
  2101. Head.face.Texture = "rbxassetid://608798717"
  2102. Head.face.Transparency = Head.Transparency
  2103. end
  2104. for _, c in pairs(Character:GetDescendants()) do
  2105. if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
  2106. c:remove()
  2107. end
  2108. if c.ClassName == "ParticleEmitter" then
  2109. if c.Name ~= "Regen" and c.Name ~= "Regen2" and c.Name ~= "CurseParticles" and c.Parent.Parent == Character then
  2110. c:remove()
  2111. end
  2112. end
  2113. if c and c.Parent then
  2114. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  2115. local ACCESSORY = c.Parent
  2116. c.Parent = Character
  2117. local REGENVALUE = IT("BoolValue",c)
  2118. REGENVALUE.Name = "IsRegening"
  2119. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
  2120. if c then
  2121. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  2122. local WELD = weldBetween(Head,c)
  2123. table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
  2124. else
  2125. local WELD = weldBetween(Torso,c)
  2126. table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
  2127. end
  2128. end
  2129. ACCESSORY:remove()
  2130. end
  2131. end
  2132. end
  2133. for _, c in pairs(Character:GetChildren()) do
  2134. if SEARING == true and c:IsA("BasePart") then
  2135. c.Transparency = 1
  2136. end
  2137. end
  2138. MUSIC.Parent = Character
  2139. MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
  2140. MUSIC.Pitch = 1
  2141. if CHOSENSONG ~= 5 then
  2142. MUSIC.Volume = 2
  2143. else
  2144. MUSIC.Volume = 4
  2145. end
  2146. MUSIC.Playing = true
  2147. if POSEIDON == true and FULLREGEN == false then
  2148. LOOP = LOOP + 1
  2149. local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
  2150. FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
  2151. FLOOR.CanCollide = true
  2152. Debris:AddItem(FLOOR,0.2)
  2153. local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
  2154. FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
  2155. FLOOR.CanCollide = true
  2156. Debris:AddItem(FLOOR,0.2)
  2157. if LOOP >= 5 then
  2158. LOOP = 0
  2159. 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})
  2160. end
  2161. end
  2162. RootJoint.Parent = RootPart
  2163. Humanoid.DisplayDistanceType = "None"
  2164. Humanoid.Name = "Searing Emperor"
  2165. end
  2166.  
  2167. --//=================================\\
  2168. --\\=================================//
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174. --//====================================================\\--
  2175. --|| END OF SCRIPT
  2176. --\\====================================================//--
  2177. end))
  2178. ParticleEmitter1.Name = "Regen"
  2179. ParticleEmitter1.Parent = LocalScript0
  2180. ParticleEmitter1.Speed = NumberRange.new(1, 1)
  2181. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  2182. ParticleEmitter1.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2183. ParticleEmitter1.Enabled = false
  2184. ParticleEmitter1.LightEmission = 0.89999997615814
  2185. ParticleEmitter1.Texture = "rbxassetid://296874871"
  2186. ParticleEmitter1.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2187. ParticleEmitter1.ZOffset = 1
  2188. ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2189. ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0)
  2190. ParticleEmitter1.Drag = 3
  2191. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  2192. ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
  2193. ParticleEmitter1.Rate = 300
  2194. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  2195. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  2196. ParticleEmitter1.VelocitySpread = 360
  2197. ParticleEmitter2.Name = "Regen2"
  2198. ParticleEmitter2.Parent = LocalScript0
  2199. ParticleEmitter2.Speed = NumberRange.new(1, 1)
  2200. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  2201. ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2202. ParticleEmitter2.Enabled = false
  2203. ParticleEmitter2.LightEmission = 0.89999997615814
  2204. ParticleEmitter2.Texture = "rbxassetid://296874871"
  2205. ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1)
  2206. ParticleEmitter2.ZOffset = 1
  2207. ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0)
  2208. ParticleEmitter2.Drag = 5
  2209. ParticleEmitter2.EmissionDirection = Enum.NormalId.Right
  2210. ParticleEmitter2.Lifetime = NumberRange.new(1, 1)
  2211. ParticleEmitter2.Rate = 70
  2212. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  2213. ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
  2214. ParticleEmitter2.VelocitySpread = 360
  2215. BillboardGui3.Name = "NameGui"
  2216. BillboardGui3.Parent = LocalScript0
  2217. BillboardGui3.Enabled = false
  2218. BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0)
  2219. BillboardGui3.AlwaysOnTop = true
  2220. BillboardGui3.MaxDistance = 70
  2221. BillboardGui3.SizeOffset = Vector2.new(0, 4)
  2222. TextLabel4.Name = "PlayerName"
  2223. TextLabel4.Parent = BillboardGui3
  2224. TextLabel4.Transparency = 1
  2225. TextLabel4.Size = UDim2.new(1, 0, 1, 0)
  2226. TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
  2227. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  2228. TextLabel4.BackgroundTransparency = 1
  2229. TextLabel4.BorderColor = BrickColor.new("Institutional white")
  2230. TextLabel4.BorderColor3 = Color3.new(1, 1, 1)
  2231. TextLabel4.BorderSizePixel = 0
  2232. TextLabel4.Font = Enum.Font.Antique
  2233. TextLabel4.FontSize = Enum.FontSize.Size14
  2234. TextLabel4.Text = "Shackluster"
  2235. TextLabel4.TextColor = BrickColor.new("Sand violet metallic")
  2236. TextLabel4.TextColor3 = Color3.new(0.580392, 0.580392, 0.580392)
  2237. TextLabel4.TextScaled = true
  2238. TextLabel4.TextSize = 14
  2239. TextLabel4.TextStrokeColor3 = Color3.new(0.337255, 0.337255, 0.337255)
  2240. TextLabel4.TextStrokeTransparency = 0
  2241. TextLabel4.TextWrap = true
  2242. TextLabel4.TextWrapped = true
  2243. TextLabel5.Name = "Title"
  2244. TextLabel5.Parent = BillboardGui3
  2245. TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0)
  2246. TextLabel5.Transparency = 1
  2247. TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0)
  2248. TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
  2249. TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
  2250. TextLabel5.BackgroundTransparency = 1
  2251. TextLabel5.BorderColor = BrickColor.new("Institutional white")
  2252. TextLabel5.BorderColor3 = Color3.new(1, 1, 1)
  2253. TextLabel5.BorderSizePixel = 0
  2254. TextLabel5.Font = Enum.Font.Antique
  2255. TextLabel5.FontSize = Enum.FontSize.Size14
  2256. TextLabel5.Text = "The Searing Emperor"
  2257. TextLabel5.TextColor = BrickColor.new("Alder")
  2258. TextLabel5.TextColor3 = Color3.new(0.666667, 0.333333, 1)
  2259. TextLabel5.TextScaled = true
  2260. TextLabel5.TextSize = 14
  2261. TextLabel5.TextStrokeColor3 = Color3.new(0.666667, 0, 1)
  2262. TextLabel5.TextStrokeTransparency = 0
  2263. TextLabel5.TextWrap = true
  2264. TextLabel5.TextWrapped = true
  2265. ParticleEmitter6.Name = "FistFire"
  2266. ParticleEmitter6.Parent = LocalScript0
  2267. ParticleEmitter6.Speed = NumberRange.new(3, 3)
  2268. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  2269. ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2270. ParticleEmitter6.Enabled = false
  2271. ParticleEmitter6.LightEmission = 0.89999997615814
  2272. ParticleEmitter6.Texture = "rbxassetid://296874871"
  2273. ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2274. ParticleEmitter6.ZOffset = 1
  2275. ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0)
  2276. ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0)
  2277. ParticleEmitter6.Drag = 1
  2278. ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom
  2279. ParticleEmitter6.Lifetime = NumberRange.new(2, 2)
  2280. ParticleEmitter6.LockedToPart = true
  2281. ParticleEmitter6.Rate = 300
  2282. ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
  2283. ParticleEmitter6.SpreadAngle = Vector2.new(45, 45)
  2284. ParticleEmitter6.VelocitySpread = 45
  2285. LocalScript7.Name = "CamShake"
  2286. LocalScript7.Parent = LocalScript0
  2287. table.insert(cors,sandbox(LocalScript7,function()
  2288. wait()
  2289. VT = Vector3.new
  2290. MRANDOM = math.random
  2291. local A = nil
  2292. local B = nil
  2293. local C = nil
  2294. local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
  2295. for _, c in pairs(script:GetChildren()) do
  2296. if c.Name == "Timer" then
  2297. A = c.Value
  2298. elseif c.Name == "Shake" then
  2299. B = c.Value*5
  2300. elseif c.Name == "DoesFade" then
  2301. C = c.Value
  2302. end
  2303. end
  2304. local TIMER = A or 35
  2305. local SHAKE = B or 5
  2306. local FADE = C or true
  2307. if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
  2308. if FADE == true then
  2309. local FADER = SHAKE/TIMER
  2310. for i = 1, TIMER do
  2311. wait()
  2312. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  2313. end
  2314. HUMANOID.CameraOffset = VT(0,0,0)
  2315. else
  2316. for i = 1, TIMER do
  2317. wait()
  2318. HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10)
  2319. end
  2320. HUMANOID.CameraOffset = VT(0,0,0)
  2321. end
  2322. end
  2323. script:remove()
  2324. end))
  2325. LocalScript7.Disabled = true
  2326. NumberValue8.Name = "Timer"
  2327. NumberValue8.Parent = LocalScript7
  2328. NumberValue8.Value = 35
  2329. NumberValue9.Name = "Shake"
  2330. NumberValue9.Parent = LocalScript7
  2331. NumberValue9.Value = 5
  2332. BoolValue10.Name = "DoesFade"
  2333. BoolValue10.Parent = LocalScript7
  2334. ParticleEmitter11.Name = "FireballFire2"
  2335. ParticleEmitter11.Parent = LocalScript0
  2336. ParticleEmitter11.Rotation = NumberRange.new(0, 360)
  2337. ParticleEmitter11.Color = ColorSequence.new(Color3.new(0.14902, 0.886275, 1),Color3.new(0, 0.666667, 1))
  2338. ParticleEmitter11.Enabled = false
  2339. ParticleEmitter11.LightEmission = 0.89999997615814
  2340. ParticleEmitter11.Texture = "rbxassetid://296874871"
  2341. ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2342. ParticleEmitter11.ZOffset = 2
  2343. ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0)
  2344. ParticleEmitter11.Drag = 1
  2345. ParticleEmitter11.EmissionDirection = Enum.NormalId.Right
  2346. ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5)
  2347. ParticleEmitter11.Rate = 9999
  2348. ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56)
  2349. ParticleEmitter11.SpreadAngle = Vector2.new(360, 360)
  2350. ParticleEmitter11.VelocitySpread = 360
  2351. ParticleEmitter12.Name = "ExplosionFire2"
  2352. ParticleEmitter12.Parent = LocalScript0
  2353. ParticleEmitter12.Speed = NumberRange.new(7, 270)
  2354. ParticleEmitter12.Rotation = NumberRange.new(0, 360)
  2355. ParticleEmitter12.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2356. ParticleEmitter12.Enabled = false
  2357. ParticleEmitter12.LightEmission = 0.89999997615814
  2358. ParticleEmitter12.Texture = "rbxassetid://296874871"
  2359. ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2360. ParticleEmitter12.ZOffset = 1
  2361. ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0)
  2362. ParticleEmitter12.Drag = 8
  2363. ParticleEmitter12.EmissionDirection = Enum.NormalId.Right
  2364. ParticleEmitter12.Lifetime = NumberRange.new(2, 4)
  2365. ParticleEmitter12.Rate = 300
  2366. ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56)
  2367. ParticleEmitter12.SpreadAngle = Vector2.new(360, 360)
  2368. ParticleEmitter12.VelocitySpread = 360
  2369. ParticleEmitter13.Name = "Field"
  2370. ParticleEmitter13.Parent = LocalScript0
  2371. ParticleEmitter13.Speed = NumberRange.new(20, 50)
  2372. ParticleEmitter13.Rotation = NumberRange.new(0, 360)
  2373. ParticleEmitter13.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2374. ParticleEmitter13.Enabled = false
  2375. ParticleEmitter13.LightEmission = 0.89999997615814
  2376. ParticleEmitter13.Texture = "rbxassetid://296874871"
  2377. ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1)
  2378. ParticleEmitter13.ZOffset = 1
  2379. ParticleEmitter13.Size = NumberSequence.new(0,10)
  2380. ParticleEmitter13.EmissionDirection = Enum.NormalId.Right
  2381. ParticleEmitter13.Lifetime = NumberRange.new(2, 4)
  2382. ParticleEmitter13.Rate = 999
  2383. ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56)
  2384. ParticleEmitter13.SpreadAngle = Vector2.new(360, 360)
  2385. ParticleEmitter13.VelocitySpread = 360
  2386. ParticleEmitter14.Name = "BodyFire"
  2387. ParticleEmitter14.Parent = LocalScript0
  2388. ParticleEmitter14.Speed = NumberRange.new(1, 1)
  2389. ParticleEmitter14.Rotation = NumberRange.new(0, 360)
  2390. ParticleEmitter14.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2391. ParticleEmitter14.Enabled = false
  2392. ParticleEmitter14.LightEmission = 0.89999997615814
  2393. ParticleEmitter14.Texture = "rbxassetid://296874871"
  2394. ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
  2395. ParticleEmitter14.ZOffset = 1
  2396. ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2397. ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0)
  2398. ParticleEmitter14.Drag = 3
  2399. ParticleEmitter14.EmissionDirection = Enum.NormalId.Right
  2400. ParticleEmitter14.Lifetime = NumberRange.new(1, 1)
  2401. ParticleEmitter14.Rate = 300
  2402. ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
  2403. ParticleEmitter14.SpreadAngle = Vector2.new(360, 360)
  2404. ParticleEmitter14.VelocitySpread = 360
  2405. ParticleEmitter15.Name = "WingFire1"
  2406. ParticleEmitter15.Parent = LocalScript0
  2407. ParticleEmitter15.Speed = NumberRange.new(8, 8)
  2408. ParticleEmitter15.Rotation = NumberRange.new(0, 360)
  2409. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2410. ParticleEmitter15.Enabled = false
  2411. ParticleEmitter15.LightEmission = 0.89999997615814
  2412. ParticleEmitter15.Texture = "rbxassetid://296874871"
  2413. ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2414. ParticleEmitter15.ZOffset = 1
  2415. ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
  2416. ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7)
  2417. ParticleEmitter15.EmissionDirection = Enum.NormalId.Back
  2418. ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5)
  2419. ParticleEmitter15.LockedToPart = true
  2420. ParticleEmitter15.Rate = 300
  2421. ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
  2422. ParticleEmitter15.SpreadAngle = Vector2.new(15, 5)
  2423. ParticleEmitter15.VelocitySpread = 15
  2424. ParticleEmitter16.Name = "WingFire2"
  2425. ParticleEmitter16.Parent = LocalScript0
  2426. ParticleEmitter16.Speed = NumberRange.new(8, 8)
  2427. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  2428. ParticleEmitter16.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2429. ParticleEmitter16.Enabled = false
  2430. ParticleEmitter16.LightEmission = 0.89999997615814
  2431. ParticleEmitter16.Texture = "rbxassetid://296874871"
  2432. ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2433. ParticleEmitter16.ZOffset = 1
  2434. ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
  2435. ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7)
  2436. ParticleEmitter16.EmissionDirection = Enum.NormalId.Back
  2437. ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5)
  2438. ParticleEmitter16.LockedToPart = true
  2439. ParticleEmitter16.Rate = 300
  2440. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  2441. ParticleEmitter16.SpreadAngle = Vector2.new(15, 5)
  2442. ParticleEmitter16.VelocitySpread = 15
  2443. ParticleEmitter17.Name = "ExplosionFire1"
  2444. ParticleEmitter17.Parent = LocalScript0
  2445. ParticleEmitter17.Speed = NumberRange.new(7, 670)
  2446. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  2447. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2448. ParticleEmitter17.Enabled = false
  2449. ParticleEmitter17.LightEmission = 0.89999997615814
  2450. ParticleEmitter17.Texture = "rbxassetid://296874871"
  2451. ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2452. ParticleEmitter17.ZOffset = 1
  2453. ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0)
  2454. ParticleEmitter17.Drag = 5
  2455. ParticleEmitter17.EmissionDirection = Enum.NormalId.Right
  2456. ParticleEmitter17.Lifetime = NumberRange.new(2, 4)
  2457. ParticleEmitter17.Rate = 300
  2458. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  2459. ParticleEmitter17.SpreadAngle = Vector2.new(360, 360)
  2460. ParticleEmitter17.VelocitySpread = 360
  2461. ParticleEmitter18.Name = "FireballFire1"
  2462. ParticleEmitter18.Parent = LocalScript0
  2463. ParticleEmitter18.Rotation = NumberRange.new(0, 360)
  2464. ParticleEmitter18.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2465. ParticleEmitter18.Enabled = false
  2466. ParticleEmitter18.LightEmission = 0.89999997615814
  2467. ParticleEmitter18.Texture = "rbxassetid://296874871"
  2468. ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2469. ParticleEmitter18.ZOffset = 1
  2470. ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0)
  2471. ParticleEmitter18.Drag = 1
  2472. ParticleEmitter18.EmissionDirection = Enum.NormalId.Right
  2473. ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5)
  2474. ParticleEmitter18.Rate = 9999
  2475. ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
  2476. ParticleEmitter18.SpreadAngle = Vector2.new(360, 360)
  2477. ParticleEmitter18.VelocitySpread = 360
  2478. ParticleEmitter19.Name = "FireballFire3"
  2479. ParticleEmitter19.Parent = LocalScript0
  2480. ParticleEmitter19.Rotation = NumberRange.new(0, 360)
  2481. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2482. ParticleEmitter19.Enabled = false
  2483. ParticleEmitter19.LightEmission = 0.89999997615814
  2484. ParticleEmitter19.Texture = "rbxassetid://296874871"
  2485. ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2486. ParticleEmitter19.ZOffset = 1
  2487. ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0)
  2488. ParticleEmitter19.Drag = 1
  2489. ParticleEmitter19.EmissionDirection = Enum.NormalId.Right
  2490. ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5)
  2491. ParticleEmitter19.Rate = 9999
  2492. ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
  2493. ParticleEmitter19.SpreadAngle = Vector2.new(360, 360)
  2494. ParticleEmitter19.VelocitySpread = 360
  2495. ParticleEmitter20.Name = "DebrisFire"
  2496. ParticleEmitter20.Parent = LocalScript0
  2497. ParticleEmitter20.Speed = NumberRange.new(2, 2)
  2498. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  2499. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0.333333, 1),Color3.new(0.458824, 0.227451, 0.686275),Color3.new(0, 1, 1))
  2500. ParticleEmitter20.Enabled = false
  2501. ParticleEmitter20.LightEmission = 0.89999997615814
  2502. ParticleEmitter20.Texture = "rbxassetid://296874871"
  2503. ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
  2504. ParticleEmitter20.ZOffset = 1
  2505. ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0)
  2506. ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0)
  2507. ParticleEmitter20.Drag = 3
  2508. ParticleEmitter20.EmissionDirection = Enum.NormalId.Right
  2509. ParticleEmitter20.Lifetime = NumberRange.new(0, 3)
  2510. ParticleEmitter20.Rate = 300
  2511. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  2512. ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
  2513. ParticleEmitter20.VelocitySpread = 360
  2514.  
  2515. for i,v in pairs(mas:GetChildren()) do
  2516. v.Parent = workspace
  2517. pcall(function() v:MakeJoints() end)
  2518. end
  2519. mas:Destroy()
  2520. for i,v in pairs(cors) do
  2521. spawn(function()
  2522. pcall(v)
  2523. end)
  2524. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement