Advertisement
Hermaxs

Untitled

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