Advertisement
Guest User

Untitled

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