Advertisement
memberhero

New Test

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