McRoblox132

Arch Angel Edit(non FE)

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