Advertisement
Guest User

Untitled

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