Advertisement
Guest User

emperor

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