Advertisement
sneakydodge123

lol

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