Advertisement
Guest User

dsadas

a guest
May 24th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  212. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  213. end
  214. function PositiveAngle(NUMBER)
  215. if NUMBER >= 0 then
  216. NUMBER = 0
  217. end
  218. return NUMBER
  219. end
  220. function NegativeAngle(NUMBER)
  221. if NUMBER <= 0 then
  222. NUMBER = 0
  223. end
  224. return NUMBER
  225. end
  226. function Swait(NUMBER)
  227. if NUMBER == 0 or NUMBER == nil then
  228. ArtificialHB.Event:wait()
  229. else
  230. for i = 1, NUMBER do
  231. ArtificialHB.Event:wait()
  232. end
  233. end
  234. end
  235. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  236. local NEWMESH = IT(MESH)
  237. if MESH == "SpecialMesh" then
  238. NEWMESH.MeshType = MESHTYPE
  239. if MESHID ~= "nil" and MESHID ~= "" then
  240. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  241. end
  242. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  243. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  244. end
  245. end
  246. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  247. NEWMESH.Scale = SCALE
  248. NEWMESH.Parent = PARENT
  249. return NEWMESH
  250. end
  251. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  252. local NEWPART = IT("Part")
  253. NEWPART.formFactor = FORMFACTOR
  254. NEWPART.Reflectance = REFLECTANCE
  255. NEWPART.Transparency = TRANSPARENCY
  256. NEWPART.CanCollide = false
  257. NEWPART.Locked = true
  258. NEWPART.Anchored = true
  259. if ANCHOR == false then
  260. NEWPART.Anchored = false
  261. end
  262. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  263. NEWPART.Name = NAME
  264. NEWPART.Size = SIZE
  265. NEWPART.Position = Torso.Position
  266. NEWPART.Material = MATERIAL
  267. NEWPART:BreakJoints()
  268. NEWPART.Parent = PARENT
  269. return NEWPART
  270. end
  271. local weldBetween = function(a, b)
  272. local weldd = Instance.new("ManualWeld")
  273. weldd.Part0 = a
  274. weldd.Part1 = b
  275. weldd.C0 = CFrame.new()
  276. weldd.C1 = b.CFrame:inverse() * a.CFrame
  277. weldd.Parent = a
  278. return weldd
  279. end
  280. function QuaternionFromCFrame(cf)
  281. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  282. local trace = m00 + m11 + m22
  283. if trace > 0 then
  284. local s = math.sqrt(1 + trace)
  285. local recip = 0.5 / s
  286. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  287. else
  288. local i = 0
  289. if m00 < m11 then
  290. i = 1
  291. end
  292. if m22 > (i == 0 and m00 or m11) then
  293. i = 2
  294. end
  295. if i == 0 then
  296. local s = math.sqrt(m00 - m11 - m22 + 1)
  297. local recip = 0.5 / s
  298. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  299. elseif i == 1 then
  300. local s = math.sqrt(m11 - m22 - m00 + 1)
  301. local recip = 0.5 / s
  302. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  303. elseif i == 2 then
  304. local s = math.sqrt(m22 - m00 - m11 + 1)
  305. local recip = 0.5 / s
  306. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  307. end
  308. end
  309. end
  310. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  311. local xs, ys, zs = x + x, y + y, z + z
  312. local wx, wy, wz = w * xs, w * ys, w * zs
  313. local xx = x * xs
  314. local xy = x * ys
  315. local xz = x * zs
  316. local yy = y * ys
  317. local yz = y * zs
  318. local zz = z * zs
  319. 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))
  320. end
  321. function QuaternionSlerp(a, b, t)
  322. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  323. local startInterp, finishInterp
  324. if cosTheta >= 1.0E-4 then
  325. if 1 - cosTheta > 1.0E-4 then
  326. local theta = ACOS(cosTheta)
  327. local invSinTheta = 1 / SIN(theta)
  328. startInterp = SIN((1 - t) * theta) * invSinTheta
  329. finishInterp = SIN(t * theta) * invSinTheta
  330. else
  331. startInterp = 1 - t
  332. finishInterp = t
  333. end
  334. elseif 1 + cosTheta > 1.0E-4 then
  335. local theta = ACOS(-cosTheta)
  336. local invSinTheta = 1 / SIN(theta)
  337. startInterp = SIN((t - 1) * theta) * invSinTheta
  338. finishInterp = SIN(t * theta) * invSinTheta
  339. else
  340. startInterp = t - 1
  341. finishInterp = t
  342. end
  343. 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
  344. end
  345. function Clerp(a, b, t)
  346. local qa = {
  347. QuaternionFromCFrame(a)
  348. }
  349. local qb = {
  350. QuaternionFromCFrame(b)
  351. }
  352. local ax, ay, az = a.x, a.y, a.z
  353. local bx, by, bz = b.x, b.y, b.z
  354. local _t = 1 - t
  355. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  356. end
  357. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  358. local frame = IT("Frame")
  359. frame.BackgroundTransparency = TRANSPARENCY
  360. frame.BorderSizePixel = BORDERSIZEPIXEL
  361. frame.Position = POSITION
  362. frame.Size = SIZE
  363. frame.BackgroundColor3 = COLOR
  364. frame.BorderColor3 = BORDERCOLOR
  365. frame.Name = NAME
  366. frame.Parent = PARENT
  367. return frame
  368. end
  369. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  370. local label = IT("TextLabel")
  371. label.BackgroundTransparency = 1
  372. label.Size = UD2(1, 0, 1, 0)
  373. label.Position = UD2(0, 0, 0, 0)
  374. label.TextColor3 = TEXTCOLOR
  375. label.TextStrokeTransparency = STROKETRANSPARENCY
  376. label.TextTransparency = TRANSPARENCY
  377. label.FontSize = TEXTFONTSIZE
  378. label.Font = TEXTFONT
  379. label.BorderSizePixel = BORDERSIZEPIXEL
  380. label.TextScaled = false
  381. label.Text = TEXT
  382. label.Name = NAME
  383. label.Parent = PARENT
  384. return label
  385. end
  386. function NoOutlines(PART)
  387. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  388. end
  389. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  390. local NEWWELD = IT(TYPE)
  391. NEWWELD.Part0 = PART0
  392. NEWWELD.Part1 = PART1
  393. NEWWELD.C0 = C0
  394. NEWWELD.C1 = C1
  395. NEWWELD.Parent = PARENT
  396. return NEWWELD
  397. end
  398. local S = IT("Sound")
  399. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  400. local NEWSOUND
  401. coroutine.resume(coroutine.create(function()
  402. NEWSOUND = S:Clone()
  403. NEWSOUND.Parent = PARENT
  404. NEWSOUND.EmitterSize = VOLUME * 3
  405. NEWSOUND.Volume = VOLUME
  406. NEWSOUND.Pitch = PITCH
  407. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  408. NEWSOUND:play()
  409. if DOESLOOP == true then
  410. NEWSOUND.Looped = true
  411. else
  412. repeat
  413. wait(1)
  414. until NEWSOUND.Playing == false
  415. NEWSOUND:remove()
  416. end
  417. end))
  418. return NEWSOUND
  419. end
  420. function CFrameFromTopBack(at, top, back)
  421. local right = top:Cross(back)
  422. 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)
  423. end
  424. function WACKYEFFECT(Table)
  425. local TYPE = Table.EffectType or "Sphere"
  426. local SIZE = Table.Size or VT(1, 1, 1)
  427. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  428. local TRANSPARENCY = Table.Transparency or 0
  429. local ENDTRANSPARENCY = Table.Transparency2 or 1
  430. local CFRAME = Table.CFrame or Torso.CFrame
  431. local MOVEDIRECTION = Table.MoveToPos or nil
  432. local ROTATION1 = Table.RotationX or 0
  433. local ROTATION2 = Table.RotationY or 0
  434. local ROTATION3 = Table.RotationZ or 0
  435. local MATERIAL = Table.Material or "Neon"
  436. local COLOR = Table.Color or C3(1, 1, 1)
  437. local TIME = Table.Time or 45
  438. local SOUNDID = Table.SoundID or nil
  439. local SOUNDPITCH = Table.SoundPitch or nil
  440. local SOUNDVOLUME = Table.SoundVolume or nil
  441. coroutine.resume(coroutine.create(function()
  442. local PLAYSSOUND = false
  443. local SOUND
  444. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  445. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  446. PLAYSSOUND = true
  447. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  448. end
  449. EFFECT.Color = COLOR
  450. local MSH
  451. if TYPE == "Sphere" then
  452. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  453. elseif TYPE == "Block" then
  454. MSH = IT("BlockMesh", EFFECT)
  455. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  456. elseif TYPE == "Wave" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  458. elseif TYPE == "Ring" then
  459. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  460. elseif TYPE == "Slash" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  462. elseif TYPE == "Round Slash" then
  463. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  464. elseif TYPE == "Swirl" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  466. elseif TYPE == "Skull" then
  467. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  468. elseif TYPE == "Crystal" then
  469. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  470. end
  471. if MSH ~= nil then
  472. local MOVESPEED
  473. if MOVEDIRECTION ~= nil then
  474. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  475. end
  476. local GROWTH = SIZE - ENDSIZE
  477. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  478. if TYPE == "Block" then
  479. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  480. else
  481. EFFECT.CFrame = CFRAME
  482. end
  483. for LOOP = 1, TIME + 1 do
  484. Swait()
  485. MSH.Scale = MSH.Scale - GROWTH / TIME
  486. if TYPE == "Wave" then
  487. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  488. end
  489. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  490. if TYPE == "Block" then
  491. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  492. else
  493. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  494. end
  495. if MOVEDIRECTION ~= nil then
  496. local ORI = EFFECT.Orientation
  497. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  498. EFFECT.Orientation = ORI
  499. end
  500. end
  501. if PLAYSSOUND == false then
  502. EFFECT:remove()
  503. else
  504. repeat
  505. Swait()
  506. until SOUND.Playing == false
  507. EFFECT:remove()
  508. end
  509. elseif PLAYSSOUND == false then
  510. EFFECT:remove()
  511. else
  512. repeat
  513. Swait()
  514. until SOUND.Playing == false
  515. EFFECT:remove()
  516. end
  517. end))
  518. end
  519. function MakeForm(PART, TYPE)
  520. if TYPE == "Cyl" then
  521. local MSH = IT("CylinderMesh", PART)
  522. elseif TYPE == "Ball" then
  523. local MSH = IT("SpecialMesh", PART)
  524. MSH.MeshType = "Sphere"
  525. elseif TYPE == "Wedge" then
  526. local MSH = IT("SpecialMesh", PART)
  527. MSH.MeshType = "Wedge"
  528. end
  529. end
  530. Debris = game:GetService("Debris")
  531. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  532. local DIRECTION = CF(StartPos, EndPos).lookVector
  533. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  534. end
  535. function turnto(position)
  536. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  537. end
  538. local DECAL = IT("Decal")
  539. function MakeRing()
  540. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  541. local MSH = IT("BlockMesh", RING)
  542. local TOP = DECAL:Clone()
  543. local BOTTOM = DECAL:Clone()
  544. TOP.Parent = RING
  545. BOTTOM.Parent = RING
  546. TOP.Face = "Top"
  547. BOTTOM.Face = "Bottom"
  548. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  549. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  550. local function REMOVE()
  551. coroutine.resume(coroutine.create(function()
  552. local SIZE = MSH.Scale.X
  553. for i = 1, 35 do
  554. Swait()
  555. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  556. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  557. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  558. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  559. end
  560. RING:remove()
  561. end))
  562. end
  563. return RING, MSH, REMOVE
  564. end
  565. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  566. local TORSO = Torso
  567. local HUM = Humanoid
  568. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  569. coroutine.wrap(function()
  570. VT = Vector3.new
  571. MRANDOM = math.random
  572. local A = TIME
  573. local B = INTENSITY
  574. local C = true
  575. local HUMANOID = Humanoid
  576. local TIMER = A or 35
  577. local SHAKE = B or 5
  578. local FADE = C or true
  579. if HUMANOID then
  580. local FADER = SHAKE / TIMER
  581. for i = 1, TIMER do
  582. wait()
  583. 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)
  584. end
  585. HUMANOID.CameraOffset = VT(0, 0, 0)
  586. end
  587.  
  588. end)()
  589. end
  590. end
  591.  
  592. local SKILLTEXTCOLOR = C3(0, 0, 0)
  593. local SKILLFONT = "SciFi"
  594. local SKILLTEXTSIZE = 7
  595. local WING = Instance.new("Attachment")
  596. local WING1 = WING:Clone()
  597. local WING2 = WING:Clone()
  598. WING1.Parent = Torso
  599. WING2.Parent = Torso
  600. WING1.Position = VT(-1, 0.6, 1)
  601. WING2.Position = VT(1, 0.6, 1)
  602. WING1.Orientation = VT(0, 0, 0)
  603. WING2.Orientation = VT(0, 0, 0)
  604. local WINGS = {}
  605. for i = 1, 5 do
  606. local PARTICLES = script.Wing:Clone()
  607. PARTICLES.Parent = WING1
  608. PARTICLES.Enabled = true
  609. PARTICLES.Acceleration = VT(-i * 10, -5 - i * 1.5, 15)
  610. table.insert(WINGS, {
  611. PARTICLES,
  612. VT(-i * 30, 0, 25)
  613. })
  614. end
  615. for i = 1, 5 do
  616. local PARTICLES = script.Wing:Clone()
  617. PARTICLES.Parent = WING2
  618. PARTICLES.Enabled = true
  619. PARTICLES.Acceleration = VT(i * 10, -5 - i * 1.5, 15)
  620. table.insert(WINGS, {
  621. PARTICLES,
  622. VT(i * 30, 0, 25)
  623. })
  624. end
  625.  
  626. 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),})
  627. Mesh = New("SpecialMesh",Base,"Mesh",{Scale = Vector3.new(1,1,1),})
  628. 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,})
  629. Mesh = New("SpecialMesh",Hood,"Mesh",{MeshId = "rbxassetid://93129244",TextureId = "rbxassetid://94020325",MeshType = Enum.MeshType.FileMesh,})
  630. 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),})
  631.  
  632. CreateWeldOrSnapOrMotor('Weld', Head, Head, Base, CF(), CF())
  633.  
  634. Head.Color = C3(0,0,0)
  635.  
  636. local DParticles = script.Death
  637. DParticles:remove()
  638. DParticles.Name = "ArchangelDeathParticles"
  639. local BODY = {}
  640. for _, c in pairs(Character:GetDescendants()) do
  641. if c:IsA("BasePart") and c.Name ~= "Handle" then
  642. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  643. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  644. end
  645. table.insert(BODY, {
  646. c,
  647. c.Parent,
  648. c.Material,
  649. c.Color,
  650. c.Transparency
  651. })
  652. elseif c:IsA("JointInstance") then
  653. table.insert(BODY, {
  654. c,
  655. c.Parent,
  656. nil,
  657. nil,
  658. nil
  659. })
  660. end
  661. end
  662. for e = 1, #BODY do
  663. if BODY[e] ~= nil then
  664. do
  665. local STUFF = BODY[e]
  666. local PART = STUFF[1]
  667. local PARENT = STUFF[2]
  668. local MATERIAL = STUFF[3]
  669. local COLOR = STUFF[4]
  670. local TRANSPARENCY = STUFF[5]
  671. if PART.ClassName == "Part" and PART ~= RootPart then
  672. PART.Material = MATERIAL
  673. PART.Color = COLOR
  674. PART.Transparency = TRANSPARENCY
  675. end
  676. PART.AncestryChanged:Connect(function()
  677. PART.Parent = PARENT
  678. end)
  679. end
  680. end
  681. end
  682. function refit()
  683. Character.Parent = workspace
  684. for e = 1, #BODY do
  685. if BODY[e] ~= nil then
  686. local STUFF = BODY[e]
  687. local PART = STUFF[1]
  688. local PARENT = STUFF[2]
  689. local MATERIAL = STUFF[3]
  690. local COLOR = STUFF[4]
  691. local TRANSPARENCY = STUFF[5]
  692. if PART:IsA("BasePart") and PART ~= RootPart then
  693. PART.Material = MATERIAL
  694. PART.Color = COLOR
  695. PART.Transparency = TRANSPARENCY
  696. end
  697. if PART.Parent ~= PARENT then
  698. Humanoid:remove()
  699. PART.Parent = PARENT
  700. Humanoid = IT("Humanoid", Character)
  701. end
  702. end
  703. end
  704. end
  705. function ApplyAoE(POSITION, RANGE)
  706. local PARTS = {}
  707. for index, CHILD in pairs(workspace:GetDescendants()) do
  708. if CHILD.ClassName == "Model" and CHILD ~= Character then
  709. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  710. if HUM then
  711. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  712. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  713. CHILD:BreakJoints()
  714. for index, PART in pairs(CHILD:GetChildren()) do
  715. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  716. local P = DParticles:Clone()
  717. P.Parent = PART
  718. P.Enabled = true
  719. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  720. PART.Anchored = true
  721. table.insert(PARTS, {PART, P})
  722. end
  723. end
  724. end
  725. end
  726. 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
  727. local FOLDER = IT("Folder", CHILD)
  728. FOLDER.Name = "ewdfrfgrwefd"
  729. local P = DParticles:Clone()
  730. P.Parent = CHILD
  731. P.Enabled = true
  732. CHILD:BreakJoints()
  733. CHILD.CanCollide = false
  734. CHILD.Anchored = true
  735. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  736. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  737. table.insert(PARTS, {CHILD, P})
  738. end
  739. end
  740. coroutine.resume(coroutine.create(function()
  741. if #PARTS > 0 then
  742. for i = 1, 85 do
  743. Swait()
  744. for E = 1, #PARTS do
  745. local F = PARTS[E]
  746. local A = F[1]
  747. local B = F[2]
  748. A.Transparency = A.Transparency + 0.011764705882352941
  749. B.Rate = math.ceil(B.Rate * 1.2)
  750. for index, E in pairs(A:GetChildren()) do
  751. if E:IsA("Decal") or E:IsA("Texture") then
  752. E.Transparency = E.Transparency + 0.011764705882352941
  753. elseif E:IsA("JointInstance") then
  754. E:remove()
  755. 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
  756. E.Enabled = false
  757. end
  758. end
  759. end
  760. end
  761. for E = 1, #PARTS do
  762. local F = PARTS[E]
  763. local A = F[1]
  764. local B = F[2]
  765. B.Enabled = false
  766. Debris:AddItem(A, 3)
  767. end
  768. end
  769. end))
  770. end
  771. function Smite()
  772. local RING, MESH, DELET = MakeRing()
  773. local POS = Mouse.Hit.p
  774. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  775. for i = 1, 45 do
  776. Swait()
  777. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  778. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  779. end
  780. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  781. if HITFLOOR then
  782. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(0, 0, 0), true)
  783. MakeForm(BEAM, "Cyl")
  784. local DIST = (RING.Position - HITPOS).Magnitude
  785. BEAM.Size = VT(0, DIST, 0)
  786. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  787. for i = 1, 5 do
  788. WACKYEFFECT({
  789. EffectType = "Wave",
  790. Size = VT(25, 0, 25),
  791. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  792. Transparency = 0,
  793. Transparency2 = 1,
  794. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  795. MoveToPos = nil,
  796. RotationX = 0,
  797. RotationY = 3,
  798. RotationZ = 0,
  799. Material = "Neon",
  800. Color = C3(1, 1, 1),
  801. SoundID = nil,
  802. SoundPitch = nil,
  803. SoundVolume = nil
  804. })
  805. WACKYEFFECT({
  806. EffectType = "Round Slash",
  807. Size = VT(3, 0, 3) / 13,
  808. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  809. Transparency = 0,
  810. Transparency2 = 1,
  811. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  812. MoveToPos = nil,
  813. RotationX = 0,
  814. RotationY = 0,
  815. RotationZ = 0,
  816. Material = "Neon",
  817. Color = C3(1, 1, 1),
  818. SoundID = nil,
  819. SoundPitch = nil,
  820. SoundVolume = nil
  821. })
  822. WACKYEFFECT({
  823. Time = 35,
  824. EffectType = "Sphere",
  825. Size = VT(22, 22, 22),
  826. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  827. Transparency = 0,
  828. Transparency2 = 1,
  829. CFrame = CF(HITPOS),
  830. MoveToPos = nil,
  831. RotationX = 0,
  832. RotationY = 0,
  833. RotationZ = 0,
  834. Material = "Neon",
  835. Color = C3(1, 1, 1),
  836. SoundID = 459523898,
  837. SoundPitch = MRANDOM(9, 12) / 10,
  838. SoundVolume = 10
  839. })
  840. end
  841. SHAKECAM(HITPOS, 100, 8, 15)
  842. ApplyAoE(HITPOS, 50)
  843. for i = 1, 25 do
  844. Swait()
  845. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  846. BEAM.Transparency = BEAM.Transparency + 0.04
  847. end
  848. BEAM:remove()
  849. end
  850. wait(0.2)
  851. DELET()
  852. end
  853. function Ravage()
  854. ATTACK = true
  855. Rooted = false
  856. local RING, MESH, DELET = MakeRing()
  857. RING.Anchored = false
  858. RING.CFrame = RightArm.CFrame * CF(0, -1.3, 0)
  859. local WELD = weldBetween(RightArm, RING)
  860. local GYRO = IT("BodyGyro", RootPart)
  861. GYRO.D = 20
  862. GYRO.P = 4000
  863. GYRO.MaxTorque = VT(0, 40000, 0)
  864. coroutine.resume(coroutine.create(function()
  865. repeat
  866. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  867. Swait()
  868. 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)
  869. 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)
  870. 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)
  871. 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)
  872. 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)
  873. 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)
  874. until ATTACK == false
  875. GYRO:remove()
  876. end))
  877. CreateSound(459523787, RING, 8, 1, false)
  878. for i = 1, 45 do
  879. Swait()
  880. MESH.Scale = MESH.Scale + VT(13, 0, 13)
  881. WELD.C0 = WELD.C0 * ANGLES(RAD(0), RAD(5), RAD(0))
  882. end
  883. wait(0.3)
  884. repeat
  885. for i = 1, 25 do
  886. Swait()
  887. WACKYEFFECT({
  888. Time = 15,
  889. EffectType = "Sphere",
  890. Size = VT(4, 4, 4),
  891. Size2 = VT(0, 0, 0),
  892. Transparency = 1,
  893. Transparency2 = 0,
  894. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  895. MoveToPos = RING.Position,
  896. RotationX = 0,
  897. RotationY = 0,
  898. RotationZ = 0,
  899. Material = "Neon",
  900. Color = C3(1, 1, 1),
  901. SoundID = nil,
  902. SoundPitch = nil,
  903. SoundVolume = nil
  904. })
  905. end
  906. WACKYEFFECT({
  907. Time = 35,
  908. EffectType = "Sphere",
  909. Size = VT(25, 2, 25),
  910. Size2 = VT(35, 5, 35),
  911. Transparency = 0,
  912. Transparency2 = 1,
  913. CFrame = RING.CFrame,
  914. MoveToPos = nil,
  915. RotationX = 0,
  916. RotationY = 0,
  917. RotationZ = 0,
  918. Material = "Neon",
  919. Color = C3(1, 1, 1),
  920. SoundID = 459523898,
  921. SoundPitch = MRANDOM(9, 12) / 10,
  922. SoundVolume = 10
  923. })
  924. coroutine.resume(coroutine.create(function()
  925. local PROJECTILE = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(12, 12, 12), true)
  926. MakeForm(PROJECTILE, "Ball")
  927. PROJECTILE.CFrame = RootPart.CFrame * CF(0, 0, -10)
  928. local FIRE = script.Flames:Clone()
  929. FIRE.Parent = PROJECTILE
  930. FIRE.Enabled = true
  931. local SPEED = -0.2
  932. for i = 1, 1000 do
  933. Swait()
  934. SPEED = SPEED - 0.01
  935. local HIT = Raycast(PROJECTILE.Position, PROJECTILE.CFrame.lookVector, 6 + SPEED / 5, Character)
  936. if HIT then
  937. do
  938. local POS = PROJECTILE.Position
  939. ApplyAoE(POS, 100)
  940. SHAKECAM(POS, 150, 12, 15)
  941. coroutine.resume(coroutine.create(function()
  942. for i = 1, 5 do
  943. Swait()
  944. WACKYEFFECT({
  945. Time = 85,
  946. EffectType = "Wave",
  947. Size = VT(25, 0, 25),
  948. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6) * 15,
  949. Transparency = 0,
  950. Transparency2 = 1,
  951. CFrame = CF(POS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  952. MoveToPos = nil,
  953. RotationX = 0,
  954. RotationY = 3,
  955. RotationZ = 0,
  956. Material = "Neon",
  957. Color = C3(1, 1, 1),
  958. SoundID = nil,
  959. SoundPitch = nil,
  960. SoundVolume = nil
  961. })
  962. WACKYEFFECT({
  963. Time = 85,
  964. EffectType = "Round Slash",
  965. Size = VT(3, 0, 3) / 13,
  966. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) * 2,
  967. Transparency = 0,
  968. Transparency2 = 1,
  969. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  970. MoveToPos = nil,
  971. RotationX = 0,
  972. RotationY = 0,
  973. RotationZ = 0,
  974. Material = "Neon",
  975. Color = C3(1, 1, 1),
  976. SoundID = nil,
  977. SoundPitch = nil,
  978. SoundVolume = nil
  979. })
  980. WACKYEFFECT({
  981. Time = 75,
  982. EffectType = "Sphere",
  983. Size = VT(22, 22, 22),
  984. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5) * 7,
  985. Transparency = 0,
  986. Transparency2 = 1,
  987. CFrame = CF(POS),
  988. MoveToPos = nil,
  989. RotationX = 0,
  990. RotationY = 0,
  991. RotationZ = 0,
  992. Material = "Neon",
  993. Color = C3(1, 1, 1),
  994. SoundID = 533636431,
  995. SoundPitch = MRANDOM(9, 12) / 10,
  996. SoundVolume = 10
  997. })
  998. end
  999. end))
  1000. break
  1001. end
  1002. else
  1003. PROJECTILE.CFrame = PROJECTILE.CFrame * CF(0, 0, SPEED)
  1004. for index, CHILD in pairs(workspace:GetDescendants()) do
  1005. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1006. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1007. if HUM then
  1008. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1009. if TORSO and 0 < HUM.Health and 150 > (TORSO.Position - PROJECTILE.Position).Magnitude then
  1010. PROJECTILE.CFrame = Clerp(PROJECTILE.CFrame, CF(PROJECTILE.Position, TORSO.Position), 0.08)
  1011. end
  1012. end
  1013. end
  1014. end
  1015. end
  1016. end
  1017. FIRE.Enabled = false
  1018. PROJECTILE.Transparency = 1
  1019. Debris:AddItem(PROJECTILE, 5)
  1020. end))
  1021. until KEYHOLD == false
  1022. wait(0.1)
  1023. RING.Anchored = true
  1024. WELD:remove()
  1025. DELET()
  1026. ATTACK = false
  1027. Rooted = false
  1028. end
  1029. function Earthquake()
  1030. ATTACK = true
  1031. Rooted = true
  1032. local GYRO = IT("BodyGyro", RootPart)
  1033. GYRO.D = 20
  1034. GYRO.P = 4000
  1035. GYRO.MaxTorque = VT(0, 40000, 0)
  1036. local RING, MESH, DELET = MakeRing()
  1037. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  1038. RING.CFrame = CF(HITPOS)
  1039. for i = 0, 0.6, 0.1 / Animation_Speed do
  1040. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1041. Swait()
  1042. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  1043. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1044. 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)
  1045. 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)
  1046. 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)
  1047. 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)
  1048. 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)
  1049. 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)
  1050. end
  1051. local BLASTS = {468991944, 468991990}
  1052. coroutine.resume(coroutine.create(function()
  1053. local CFRAME = RootPart.CFrame
  1054. for i = 1, 100 do
  1055. CFRAME = CFRAME * CF(0, 0, -35)
  1056. do
  1057. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  1058. if HITFLOOR then
  1059. Swait()
  1060. do
  1061. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  1062. coroutine.resume(coroutine.create(function()
  1063. local RING, MESH, DELET = MakeRing()
  1064. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  1065. for i = 1, 25 do
  1066. Swait()
  1067. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  1068. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1069. end
  1070. ApplyAoE(RING.Position, 65)
  1071. SHAKECAM(RING.Position, 80, 12, 15)
  1072. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  1073. WACKYEFFECT({
  1074. Time = 25,
  1075. EffectType = "Sphere",
  1076. Size = VT(22, 22, 22),
  1077. Size2 = VT(85, 85, 85),
  1078. Transparency = 0,
  1079. Transparency2 = 1,
  1080. CFrame = CF(RING.Position),
  1081. MoveToPos = nil,
  1082. RotationX = 0,
  1083. RotationY = 0,
  1084. RotationZ = 0,
  1085. Material = "Neon",
  1086. Color = C3(1, 1, 1),
  1087. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  1088. SoundPitch = MRANDOM(9, 12) / 10,
  1089. SoundVolume = 10
  1090. })
  1091. for e = 1, 3 do
  1092. WACKYEFFECT({
  1093. EffectType = "Wave",
  1094. Size = VT(25, 0, 25),
  1095. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  1096. Transparency = 0,
  1097. Transparency2 = 1,
  1098. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1099. MoveToPos = nil,
  1100. RotationX = 0,
  1101. RotationY = 3,
  1102. RotationZ = 0,
  1103. Material = "Neon",
  1104. Color = C3(1, 1, 1),
  1105. SoundID = nil,
  1106. SoundPitch = nil,
  1107. SoundVolume = nil
  1108. })
  1109. WACKYEFFECT({
  1110. Time = 35,
  1111. EffectType = "Sphere",
  1112. Size = VT(22, 45, 22),
  1113. Size2 = VT(25, 45 + e * 75, 25),
  1114. Transparency = 0,
  1115. Transparency2 = 1,
  1116. CFrame = CF(RING.Position) * TURN,
  1117. MoveToPos = nil,
  1118. RotationX = 0,
  1119. RotationY = 0,
  1120. RotationZ = 0,
  1121. Material = "Neon",
  1122. Color = C3(1, 1, 1),
  1123. SoundID = nil,
  1124. SoundPitch = MRANDOM(9, 12) / 10,
  1125. SoundVolume = 10
  1126. })
  1127. end
  1128. wait(0.3)
  1129. DELET()
  1130. end))
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end))
  1136. Rooted = false
  1137. for i = 0, 0.2, 0.1 / Animation_Speed do
  1138. Swait()
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. 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)
  1144. 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)
  1145. end
  1146. DELET()
  1147. GYRO:remove()
  1148. ATTACK = false
  1149. Rooted = false
  1150. end
  1151. function Beam()
  1152. ATTACK = true
  1153. Rooted = false
  1154. local GYRO = IT("BodyGyro", RootPart)
  1155. GYRO.D = 20
  1156. GYRO.P = 4000
  1157. GYRO.MaxTorque = VT(0, 40000, 0)
  1158. local RING, MESH, DELET = MakeRing()
  1159. local POS = RootPart.Position + VT(0, 25, 0)
  1160. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  1161. CreateSound(459523787, RING, 8, 1, false)
  1162. local BLASTS = {468991944, 468991990}
  1163. coroutine.resume(coroutine.create(function()
  1164. local E = 0
  1165. repeat
  1166. E = E + 5
  1167. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1168. Swait()
  1169. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  1170. 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)
  1171. 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)
  1172. 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)
  1173. 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)
  1174. 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)
  1175. 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)
  1176. until ATTACK == false
  1177. GYRO:remove()
  1178. DELET()
  1179. end))
  1180. for i = 1, 50 do
  1181. Swait()
  1182. MESH.Scale = MESH.Scale + VT(22, 0, 22)
  1183. end
  1184. for i = 1, 25 do
  1185. Swait()
  1186. WACKYEFFECT({
  1187. Time = 15,
  1188. EffectType = "Sphere",
  1189. Size = VT(4, 4, 4),
  1190. Size2 = VT(0, 0, 0),
  1191. Transparency = 1,
  1192. Transparency2 = 0,
  1193. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1194. MoveToPos = RING.Position,
  1195. RotationX = 0,
  1196. RotationY = 0,
  1197. RotationZ = 0,
  1198. Material = "Neon",
  1199. Color = C3(1, 1, 1),
  1200. SoundID = nil,
  1201. SoundPitch = nil,
  1202. SoundVolume = nil
  1203. })
  1204. end
  1205. local LOOP = 0
  1206. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Pearl"), "Beam", VT(0, 0, 0), true)
  1207. MakeForm(BEAM, "Cyl")
  1208. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  1209. repeat
  1210. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  1211. if DISTANCE < 2000 then
  1212. BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
  1213. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1214. ApplyAoE(Mouse.Hit.p, 35)
  1215. WACKYEFFECT({
  1216. Time = 35,
  1217. EffectType = "Sphere",
  1218. Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
  1219. Size2 = VT(5, 75, 5),
  1220. Transparency = 0,
  1221. Transparency2 = 1,
  1222. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1223. MoveToPos = nil,
  1224. RotationX = 0,
  1225. RotationY = 0,
  1226. RotationZ = 0,
  1227. Material = "Neon",
  1228. Color = C3(1, 1, 1),
  1229. SoundID = nil,
  1230. SoundPitch = MRANDOM(9, 12) / 10,
  1231. SoundVolume = 10
  1232. })
  1233. Swait()
  1234. LOOP = LOOP + 1
  1235. end
  1236. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  1237. coroutine.resume(coroutine.create(function()
  1238. for i = 1, 15 do
  1239. Swait()
  1240. BEAM.Size = BEAM.Size - VT(0.2, 0, 0.2)
  1241. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  1242. end
  1243. BEAM:remove()
  1244. end))
  1245. ATTACK = false
  1246. Rooted = false
  1247. end
  1248. function Nuke()
  1249. ATTACK = true
  1250. Rooted = true
  1251. local CHARGE = false
  1252. local BLASTS = {468991944, 468991990}
  1253. coroutine.resume(coroutine.create(function()
  1254. repeat
  1255. Swait()
  1256. 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)
  1257. 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)
  1258. 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)
  1259. 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)
  1260. 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)
  1261. 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)
  1262. until CHARGE == true
  1263. for i = 0, 0.4, 0.1 / Animation_Speed do
  1264. Swait()
  1265. WACKYEFFECT({
  1266. Time = 15,
  1267. EffectType = "Sphere",
  1268. Size = VT(60, 60, 60),
  1269. Size2 = VT(0, 0, 0),
  1270. Transparency = 1,
  1271. Transparency2 = 0.7,
  1272. CFrame = CF(RootPart.Position),
  1273. MoveToPos = nil,
  1274. RotationX = 0,
  1275. RotationY = 0,
  1276. RotationZ = 0,
  1277. Material = "Neon",
  1278. Color = C3(1, 1, 1),
  1279. SoundID = nil,
  1280. SoundPitch = nil,
  1281. SoundVolume = nil
  1282. })
  1283. 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)
  1284. 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)
  1285. 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)
  1286. 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)
  1287. 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)
  1288. 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)
  1289. end
  1290. coroutine.resume(coroutine.create(function()
  1291. local POS = RootPart.Position
  1292. wait(0.2)
  1293. for i = 1, 5 do
  1294. WACKYEFFECT({
  1295. Time = 65,
  1296. EffectType = "Sphere",
  1297. Size = VT(2, 2, 2),
  1298. Size2 = VT(0, 0, 500),
  1299. Transparency = 1,
  1300. Transparency2 = 0,
  1301. CFrame = CF(POS),
  1302. MoveToPos = nil,
  1303. RotationX = MRANDOM(-2, 2),
  1304. RotationY = MRANDOM(-12, 12),
  1305. RotationZ = MRANDOM(-2, 2),
  1306. Material = "Neon",
  1307. Color = C3(1, 1, 1),
  1308. SoundID = nil,
  1309. SoundPitch = nil,
  1310. SoundVolume = nil
  1311. })
  1312. end
  1313. wait(1)
  1314. SHAKECAM(POS, 9999999999, 25, 25)
  1315. ApplyAoE(POS, 450)
  1316. WACKYEFFECT({
  1317. Time = 85,
  1318. EffectType = "Sphere",
  1319. Size = VT(120, 120, 120),
  1320. Size2 = VT(350, 350, 350),
  1321. Transparency = 0,
  1322. Transparency2 = 1,
  1323. CFrame = CF(POS),
  1324. MoveToPos = nil,
  1325. RotationX = 0,
  1326. RotationY = 0,
  1327. RotationZ = 0,
  1328. Material = "Neon",
  1329. Color = C3(1, 1, 1),
  1330. SoundID = nil,
  1331. SoundPitch = 1,
  1332. SoundVolume = 10
  1333. })
  1334. for i = 1, 20 do
  1335. WACKYEFFECT({
  1336. Time = 85,
  1337. EffectType = "Sphere",
  1338. Size = VT(120, 120, 120),
  1339. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  1340. Transparency = 0.8,
  1341. Transparency2 = 1,
  1342. CFrame = CF(POS),
  1343. MoveToPos = nil,
  1344. RotationX = 0,
  1345. RotationY = 0,
  1346. RotationZ = 0,
  1347. Material = "Neon",
  1348. Color = C3(1, 1, 1),
  1349. SoundID = nil,
  1350. SoundPitch = 1,
  1351. SoundVolume = 10
  1352. })
  1353. WACKYEFFECT({
  1354. Time = 100,
  1355. EffectType = "Wave",
  1356. Size = VT(25, 2, 25),
  1357. Size2 = VT(400, 0, 400) * 1.2,
  1358. Transparency = 0,
  1359. Transparency2 = 1,
  1360. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  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 = nil,
  1369. SoundVolume = nil
  1370. })
  1371. end
  1372. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1373. for i = 1, 5 do
  1374. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  1375. WACKYEFFECT({
  1376. Time = 120,
  1377. EffectType = "Wave",
  1378. Size = VT(150, 2, 150),
  1379. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  1380. Transparency = 0,
  1381. Transparency2 = 1,
  1382. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1383. MoveToPos = nil,
  1384. RotationX = 0,
  1385. RotationY = 0,
  1386. RotationZ = 0,
  1387. Material = "Neon",
  1388. Color = C3(1, 1, 1),
  1389. SoundID = nil,
  1390. SoundPitch = nil,
  1391. SoundVolume = nil
  1392. })
  1393. end
  1394. end))
  1395. for i = 0, 1, 0.1 / Animation_Speed do
  1396. Swait()
  1397. 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)
  1398. 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)
  1399. 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)
  1400. 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)
  1401. 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)
  1402. 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)
  1403. end
  1404. ATTACK = false
  1405. Rooted = false
  1406. end))
  1407. end
  1408. end
  1409. CHARGE = true
  1410. end
  1411. function MouseDown(Mouse)
  1412. if ATTACK == false then
  1413. end
  1414. end
  1415. function MouseUp(Mouse)
  1416. HOLD = false
  1417. end
  1418. function KeyDown(Key)
  1419. KEYHOLD = true
  1420. if Key == "z" and ATTACK == false then
  1421. Smite()
  1422. end
  1423. if Key == "b" and ATTACK == false then
  1424. Ravage()
  1425. end
  1426. if Key == "c" and ATTACK == false then
  1427. Earthquake()
  1428. end
  1429. if Key == "v" and ATTACK == false then
  1430. Beam()
  1431. end
  1432. if Key == "x" and ATTACK == false then
  1433. Nuke()
  1434. end
  1435. end
  1436. function KeyUp(Key)
  1437. if Key ~= "w" and Key ~= "s" and Key ~= "a" and Key ~= "d" then
  1438. KEYHOLD = false
  1439. end
  1440. end
  1441. Mouse.Button1Down:connect(function(NEWKEY)
  1442. MouseDown(NEWKEY)
  1443. end)
  1444. Mouse.Button1Up:connect(function(NEWKEY)
  1445. MouseUp(NEWKEY)
  1446. end)
  1447. Mouse.KeyDown:connect(function(NEWKEY)
  1448. KeyDown(NEWKEY)
  1449. end)
  1450. Mouse.KeyUp:connect(function(NEWKEY)
  1451. KeyUp(NEWKEY)
  1452. end)
  1453. function unanchor()
  1454. for _, c in pairs(Character:GetChildren()) do
  1455. if c:IsA("BasePart") and c ~= RootPart then
  1456. c.Anchored = false
  1457. end
  1458. end
  1459. if UNANCHOR == true then
  1460. RootPart.Anchored = false
  1461. else
  1462. RootPart.Anchored = true
  1463. end
  1464. end
  1465. Humanoid.Changed:connect(function(Jump)
  1466. if Jump == "Jump" and Disable_Jump == true then
  1467. Humanoid.Jump = false
  1468. end
  1469. end)
  1470. while true do
  1471. Swait()
  1472. Humanoid.HipHeight = 7
  1473. script.Parent = WEAPONGUI
  1474. ANIMATE.Parent = nil
  1475. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  1476. v:Stop()
  1477. end
  1478. SINE = SINE + CHANGE / 2
  1479. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1480. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1481. if ATTACK == false then
  1482. if TORSOVELOCITY < 1 then
  1483. 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)
  1484. 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)
  1485. 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)
  1486. 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)
  1487. 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)
  1488. 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)
  1489. elseif TORSOVELOCITY > 1 then
  1490. 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)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. 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)
  1495. 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)
  1496. end
  1497. end
  1498. for WING = 1, #WINGS do
  1499. local STUFF = WINGS[WING]
  1500. local FEATHERS = STUFF[1]
  1501. local ACCEL = STUFF[2]
  1502. FEATHERS.Acceleration = ACCEL + VT(0, 35 * SIN(SINE / 12), 0)
  1503. end
  1504. unanchor()
  1505. Humanoid.MaxHealth = 3000000
  1506. Humanoid.Health = 3000000
  1507. if Rooted == false then
  1508. Disable_Jump = false
  1509. Humanoid.WalkSpeed = Speed
  1510. elseif Rooted == true then
  1511. Disable_Jump = true
  1512. Humanoid.WalkSpeed = 0
  1513. end
  1514. for _, c in pairs(Character:GetChildren()) do
  1515. if c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1516. local hand = c:FindFirstChild'Handle'
  1517. if(hand)then
  1518. hand.Parent = Character
  1519. weldBetween(hand,Head)
  1520. end
  1521. c:destroy()
  1522. end
  1523. end
  1524. sick.Playing = true
  1525. sick.SoundId = "rbxassetid://1073318933"
  1526. sick.Looped = true
  1527. sick.Pitch = 1
  1528. sick.Volume = 3
  1529. if sick.Parent ~= Character then
  1530. sick = IT("Sound", Character)
  1531. end
  1532. Head.Color = C3(0,0,0)
  1533. pcall(function() Head:FindFirstChildOfClass'Decal':destroy() end)
  1534. ApplyAoE(Torso.Position, 12)
  1535. refit()
  1536. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement