Advertisement
Guest User

Untitled

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