WagnerJunio07

Hooded Archangel

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