Advertisement
Sheckles

Untitled

Feb 28th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.38 KB | None | 0 0
  1. ---------------------------------
  2. --Fallen Angel                 --
  3. ---------------------------------
  4. --By: OmegaNoscope             --
  5. --Edit of: CKBackup's Archangel--
  6. ---------------------------------
  7.  
  8. player = game.Players.LocalPlayer
  9. chara = player.Character
  10. debby = game:GetService("Debris")
  11.  
  12.  
  13. --Animations--
  14. function loada(anim)
  15. local loaded = chara.Humanoid:LoadAnimation(anim)
  16. return loaded
  17. end
  18.  
  19. IdleA = New("Animation",chara,"Idle",{AnimationId = "rbxassetid://169638954"})
  20. IdleAnim = loada(IdleA)
  21. IdleAnim:Play()
  22.  
  23. --Sounds--
  24. Music = New("Sound",chara,"Music",{SoundId = "rbxassetid://626484846",Volume = 1,Looped = true})
  25. SpellCastSnd = New("Sound",chara,"SpellCast",{SoundId = "rbxassetid://161006131",Volume = 1})
  26. ExplodeSnd = New("Sound",chara,"Explode",{SoundId = "rbxassetid://221920694",Volume = 1})
  27. MeteorSnd = New("Sound",chara,"Meteor",{SoundId = "rbxassetid://231917888",Volume = 1})
  28. LasChgSnd = New("Sound",chara,"LasChg",{SoundId = "rbxassetid://137463716",Volume = 1})
  29. LaserSnd = New("Sound",chara,"Laser",{SoundId = "rbxassetid://162246701",Volume = 1})
  30. LasLoopSnd = New("Sound",chara,"LasLoop",{SoundId = "rbxassetid://162246683",Volume = 1,Looped = true})
  31. deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true})
  32. deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5})
  33. Snd = New("Sound",chara,"",{SoundId = "",Volume = 1})
  34. Music:Play()
  35.  
  36. --Fly--
  37. local truflyposy = chara.Torso.Position.Y+10
  38. local flyposy = truflyposy
  39. local bodfly = Instance.new("BodyPosition", chara.Torso)
  40. bodfly.Name = "Fly"
  41. bodfly.maxForce = Vector3.new(0,10000,0)
  42. bodfly.Position = Vector3.new(0,flyposy,0)
  43.  
  44. --Enamate--
  45. function Enamate(part)
  46. local trace = Instance.new("Part",chara)
  47. trace.Size = Vector3.new(1,1,1)
  48. trace.TopSurface = 0
  49. trace.BottomSurface = 0
  50. trace.BrickColor = BrickColor.new("Really black")
  51. trace.CanCollide = false
  52. trace.Anchored = true
  53. trace.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
  54. local tracedisp = coroutine.wrap(function()
  55. for i = 1, 9 do
  56. wait(.01)
  57. trace.Transparency = trace.Transparency + .1
  58. end
  59. wait(.01)
  60. trace:Destroy()
  61. end)
  62. tracedisp()
  63. end
  64. function Enamate2(part,name)
  65. if chara:FindFirstChild(name)== nil then
  66. local angl = CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
  67. local trace = Instance.new("Part",chara)
  68. trace.Size = Vector3.new(1,1,1)
  69. trace.Name = name
  70. trace.TopSurface = 0
  71. trace.BottomSurface = 0
  72. trace.BrickColor = BrickColor.new("Really black")
  73. trace.CanCollide = false
  74. trace.Anchored = true
  75. trace.CFrame = part.CFrame * angl
  76. local tracem = Instance.new("SpecialMesh",trace)
  77. tracem.MeshId = "rbxassetid://3270017"
  78. local tracedisp = coroutine.wrap(function()
  79. for i = 1, 9 do
  80. wait(.01)
  81. trace.Transparency = trace.Transparency + .1
  82. trace.CFrame = part.CFrame * angl
  83. tracem.Scale = tracem.Scale + Vector3.new(.5,.5,0)
  84. end
  85. wait(.01)
  86. trace:Destroy()
  87. end)
  88. tracedisp()
  89. end
  90. end
  91. function Enamate3()
  92. if chara:FindFirstChild("Ring")== nil then
  93. local trace = Instance.new("Part",chara)
  94. trace.Size = Vector3.new(1,1,1)
  95. trace.Name = "Ring"
  96. trace.TopSurface = 0
  97. trace.BottomSurface = 0
  98. trace.BrickColor = BrickColor.new("Really black")
  99. trace.CanCollide = false
  100. trace.Anchored = true
  101. trace.CFrame = chara.Torso.CFrame
  102. local tracem = Instance.new("SpecialMesh",trace)
  103. tracem.MeshId = "rbxassetid://3270017"
  104. local tracedisp = coroutine.wrap(function()
  105. for i = 1, 99 do
  106. wait(.01)
  107. trace.Transparency = trace.Transparency + .01
  108. trace.CFrame = chara.Torso.CFrame
  109. tracem.Scale = tracem.Scale + Vector3.new(.2,.2,0)
  110. end
  111. wait(.01)
  112. trace:Destroy()
  113. end)
  114. tracedisp()
  115. end
  116. end
  117.  
  118. --Play Sound in Part--
  119. function PlaySnd(snd,part)
  120. local sound = snd:Clone()
  121. sound.PlayOnRemove = true
  122. sound.Parent = Part
  123. sound:Destroy()
  124. end
  125.  
  126. --Explosion--
  127. function Expld(rad,pos)
  128. local ex = Instance.new("Explosion",game.Workspace)
  129. ex.BlastRadius = rad
  130. ex.BlastPressure = 0
  131. ex.Position = pos
  132. ex.Visible = false
  133. ex.Hit:connect(function(hit)
  134. if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~= nil then
  135. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - rad
  136. end
  137. end)
  138. end
  139.  
  140. --Cross Explosion--
  141. function CrossExplosion()
  142. local cirpos = Mouse.Hit.p
  143. local spellcircle = Instance.new("Part",chara)
  144. spellcircle.Anchored = true
  145. spellcircle.Size = Vector3.new(1,1,1)
  146. spellcircle.CFrame = CFrame.new(cirpos.x,cirpos.y,cirpos.z)
  147. spellcircle.Transparency = 1
  148. spellcircle.CanCollide = false
  149. local blkm = Instance.new("BlockMesh",spellcircle)
  150. blkm.Scale = Vector3.new(0,1,0)
  151. local dec = Instance.new("Decal",spellcircle)
  152. dec.Texture = "rbxassetid://685910499"
  153. dec.Transparency = 1
  154. dec.Face = "Top"
  155. local ptl = Instance.new("PointLight",spellcircle)
  156. ptl.Range = 0
  157. ptl.Color = Color3.new(0,0,0)
  158. spellc = coroutine.wrap(function()
  159. while spellc ~= nil do
  160. wait(.01)
  161. spellcircle.CFrame = spellcircle.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(10),0)
  162. end
  163. end)
  164. spellc()
  165. PlaySnd(SpellCastSnd,spellcircle)
  166. for i = 1, 10 do
  167. wait(.01)
  168. ptl.Range = ptl.Range + 1
  169. dec.Transparency = dec.Transparency - .1
  170. blkm.Scale = blkm.Scale + Vector3.new(1,0,1)
  171. end
  172. wait(.5)
  173. PlaySnd(ExplodeSnd,spellcircle)
  174. local pemit = Instance.new("ParticleEmitter",spellcircle)
  175. pemit.Color = ColorSequence.new(Color3.new(0,0,0))
  176. pemit.LightEmission = 1
  177. pemit.Size = NumberSequence.new(5)
  178. pemit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  179. pemit.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(0.9,0),NumberSequenceKeypoint.new(1,1)})
  180. pemit.Lifetime = NumberRange.new(1)
  181. pemit.Rate = 10000
  182. pemit.Speed = NumberRange.new(100)
  183. Expld(12,spellcircle.Position)
  184. wait(.5)
  185. local pt1 = Instance.new("Part",chara)
  186. pt1.Size = Vector3.new(0,0,0)
  187. pt1.Anchored = true
  188. pt1.CFrame = spellcircle.CFrame + Vector3.new(0,60,0)
  189. pt1.Transparency = 1
  190. local pemit2 = pemit:clone()
  191. pemit2.Lifetime = NumberRange.new(.25)
  192. pemit2.EmissionDirection = "Left"
  193. pemit2.Parent = pt1
  194. local pemit3 = pemit2:clone()
  195. pemit3.EmissionDirection = "Right"
  196. pemit3.Parent = pt1
  197. for i = 1, 10 do
  198. Expld(12,spellcircle.Position)
  199. wait(.5)
  200. end
  201. pemit.Enabled = false
  202. pemit2.Enabled = false
  203. pemit3.Enabled = false
  204. for i = 1, 10 do
  205. wait(.01)
  206. ptl.Range = ptl.Range - 1
  207. dec.Transparency = dec.Transparency + .1
  208. blkm.Scale = blkm.Scale - Vector3.new(1,0,1)
  209. end
  210. wait(.01)
  211. spellcircle:Destroy()
  212. pt1:Destroy()
  213. end
  214.  
  215. --Meteor--
  216. function Meteor()
  217. local meteor = Instance.new("Part",game.Workspace)
  218. meteor.Size = Vector3.new(5,5,5)
  219. meteor.BrickColor = BrickColor.new("Really black")
  220. meteor.Material = "Neon"
  221. meteor.TopSurface = 0
  222. meteor.BottomSurface = 0
  223. meteor.Shape = 0
  224. meteor.CFrame = chara.Torso.CFrame + Vector3.new(0,100,0)
  225. meteor.Velocity = (Mouse.Hit.p - (chara.Torso.CFrame.p + Vector3.new(0,100,0))).unit*100
  226. debby:AddItem(meteor,15)
  227. local bfo = Instance.new("BodyForce",meteor)
  228. bfo.Force = Vector3.new(0,game.Workspace.Gravity*meteor:GetMass(),0)
  229. local eff = Instance.new("ParticleEmitter",meteor)
  230. eff.Color = ColorSequence.new(Color3.new(0,0,0))
  231. eff.LightEmission = 1
  232. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,0)})
  233. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  234. eff.Texture = "rbxasset://textures/particles/smoke_main.dds"
  235. eff.Rate = 100000
  236. eff.Speed = NumberRange.new(0)
  237. eff.Lifetime = NumberRange.new(1)
  238. local mehs = Instance.new("SpecialMesh",meteor)
  239. mehs.MeshType = "Sphere"
  240. mehs.Scale = Vector3.new(2,2,2)
  241. --
  242. meteor.Touched:connect(function(hit)
  243. if meteor.Anchored == false then
  244. meteor.Anchored = true
  245. meteor.CanCollide = false
  246. eff.Speed = NumberRange.new(50)
  247. eff.VelocitySpread = 10000
  248. PlaySnd(MeteorSnd,meteor)
  249. Expld(15,meteor.Position)
  250. for i = 1, 10 do
  251. wait(.01)
  252. mehs.Scale = mehs.Scale + Vector3.new(.5,.5,.5)
  253. meteor.Transparency = meteor.Transparency + .1
  254. end
  255. eff.Enabled = false
  256. end
  257. end)
  258. end
  259.  
  260.  
  261.  
  262.  
  263.  
  264. --KeyDown--
  265. mus = true
  266. function onKeyDown(key)
  267. if key == "e" then
  268. flyposy = flyposy - 10
  269. elseif key == "q" then
  270. flyposy = flyposy + 10
  271. elseif key == "z" and lasactive == false then
  272. CrossExplosion()
  273. elseif key == "x" and lasactive == false then
  274. Meteor()
  275. elseif key == "c" and lasactive == false then
  276. Beam()
  277. elseif key == "v" and lasactive == false then
  278. SwordStab()
  279. elseif key == "m" then
  280. if mus == true then
  281. Music:Stop()
  282. mus = false
  283. elseif mus == false then
  284. Music:Play()
  285. mus = true
  286. end
  287. end
  288. end
  289.  
  290. --Mouse Function--
  291. Mouse = player:GetMouse()
  292. if Mouse then
  293. Mouse.KeyDown:connect(onKeyDown)
  294. end
  295.  
  296. --Loop Function--
  297. cter = 0
  298. while chara.Humanoid.Health > 0 do
  299. wait(.1)
  300. chara.Humanoid.MaxHealth = math.huge
  301. chara.Humanoid.Health = math.huge
  302. bodfly.Position = Vector3.new(0,flyposy,0)
  303. Enamate(EnamatePart)
  304. Enamate2(EnamatePart,"EnamateRing")
  305. Enamate(EnamatePart2)
  306. Enamate2(EnamatePart2,"EnamateRing2")
  307. Enamate3()
  308. for i = 1, #lap do
  309. lap[i].Anchored = false
  310. end
  311. for i = 1, #rap do
  312. rap[i].Anchored = false
  313. end
  314. for i = 1, #llp do
  315. llp[i].Anchored = false
  316. end
  317. for i = 1, #rlp do
  318. rlp[i].Anchored = false
  319. end
  320. for i = 1, #chp do
  321. chp[i].Anchored = false
  322. end
  323. for i = 1, #hdp do
  324. hdp[i].Anchored = false
  325. end
  326. for i = 1, #ch do
  327. if ch[i].ClassName == "Part" then
  328. ch[i].Anchored = false
  329. end
  330. end
  331. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement