Advertisement
memberhero

ArchAngel FE

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