Advertisement
Dark_EccentricYT

Untitled

Dec 10th, 2016
21,828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.04 KB | None | 0 0
  1. wait()
  2. -- UNFINISHED --
  3. chat = game:GetService("Chat")
  4. plr = game.Players.LocalPlayer
  5. char = plr.Character
  6. mouse = plr:GetMouse()
  7. cIsPressed = false
  8. cpos = char.Head.CFrame:toWorldSpace(CFrame.new(0,2,0))
  9. soundid = "http://www.roblox.com/asset/?id=255679373"
  10. soundid2 = "http://www.roblox.com/asset/?id=211062246"
  11.  
  12. coroutine.resume(coroutine.create(function()
  13. local hand = Instance.new("Part",workspace)
  14. hand.Transparency = 1
  15. hand.CanCollide = false
  16. hand.Anchored = true
  17. hand.Size = Vector3.new(1,1,1)
  18. coroutine.resume(coroutine.create(function()
  19. repeat wait()
  20. hand.CFrame = char["Left Arm"].CFrame:toWorldSpace(CFrame.new(0,-1.1,0))
  21. until false
  22. end))
  23. repeat wait(.1)
  24. local trail = Instance.new("Part", workspace)
  25. local a = math.random(1,7)
  26. if a == 1 then
  27. local tring = Instance.new("Part",workspace)
  28. local tringmesh = Instance.new("SpecialMesh",tring)
  29. tringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  30. tring.Anchored = true
  31. tring.Size = Vector3.new(.2,.2,.2)
  32. tring.CanCollide = false
  33. tring.BrickColor = BrickColor.new("Really black")
  34. tring.CFrame = hand.CFrame
  35. tring.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  36. coroutine.resume(coroutine.create(function()
  37. for i = 0,1,.03 do
  38. tringmesh.Scale = tringmesh.Scale + Vector3.new(i/6,i/2,0)
  39. tring.Transparency = tring.Transparency + .03
  40. wait()
  41. end
  42. tring:Destroy()
  43. end))
  44. elseif a == 2 then
  45. local effect = Instance.new("Part", workspace)
  46. local efmesh = Instance.new("SpecialMesh",effect)
  47. efmesh.MeshType = "Sphere"
  48. effect.Anchored = true
  49. effect.Size = Vector3.new(.2,.2,.2)
  50. effect.CanCollide = false
  51. effect.BrickColor = BrickColor.new("Really black")
  52. effect.CFrame = hand.CFrame
  53. effect.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  54. coroutine.resume(coroutine.create(function()
  55. for i = 0,1,.02 do
  56. efmesh.Scale = efmesh.Scale + Vector3.new(i/3.5,i/.65,i/3.5)
  57. effect.Transparency = effect.Transparency + .02
  58. wait()
  59. end
  60. effect:Destroy()
  61. end))
  62. end
  63. local bmesh = Instance.new("BlockMesh", trail)
  64. trail.Size = Vector3.new(1.5,1.5,1.5)
  65. trail.Anchored = true
  66. trail.CanCollide = false
  67. trail.BrickColor = BrickColor.new("Really black")
  68. trail.CFrame = hand.CFrame
  69. coroutine.resume(coroutine.create(function()
  70. for i = 0,1,.03 do
  71. trail.Transparency = i
  72. trail.CFrame = trail.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-1,1)/10,math.random(-1,1)/10,math.random(-1,1)/10)
  73. bmesh.Scale = Vector3.new(.5+i,.5+i,.5+i)
  74. wait()
  75. end
  76. trail:Destroy()
  77. end))
  78. until false
  79. end))
  80. mouse.KeyDown:connect(function(key)
  81. enabled = true
  82. if not enabled then return end
  83. enabled = false
  84. key = key:lower()
  85. if key == "z" then
  86. chat:Chat(char.Head,"Phantom Beam!","Red")
  87. char.Humanoid.WalkSpeed = 0
  88. local circle = Instance.new("Part",char)
  89. local cmesh = Instance.new("BlockMesh",circle)
  90. local decal = Instance.new("Decal",circle)
  91. local sphere = Instance.new("Part",char)
  92. local fq2 = Instance.new("SpecialMesh",sphere)
  93. sphere.Size = Vector3.new(3,3,3)
  94. fq2.Scale = Vector3.new(1,1,1)
  95. circle.Anchored = true
  96. circle.Size = Vector3.new(1,1,1)
  97. circle.CanCollide = false
  98. circle.TopSurface = "Smooth"
  99. decal.Face = "Top"
  100. circle.Transparency = 1
  101. decal.Texture = "http://www.roblox.com/asset/?id=363269577"
  102. circle.CFrame = char.Torso.CFrame:toWorldSpace(CFrame.new(0,-3.4,0))
  103. sphere.BrickColor = BrickColor.new("Really black")
  104. sphere.Anchored = true
  105. sphere.CanCollide = false
  106. sphere.CFrame = char.Torso.CFrame * CFrame.new(0,-1,0)
  107. sphere.TopSurface = "Smooth"
  108. sphere.BottomSurface = "Smooth"
  109. fq2.MeshType = "Sphere"
  110. coroutine.resume(coroutine.create(function()
  111. for i = 0,10,.02 do
  112. fq2.Scale = fq2.Scale + Vector3.new(i,i,i)
  113. sphere.Transparency = sphere.Transparency + .03
  114. wait()
  115. end
  116. sphere:Destroy()
  117. end))
  118. coroutine.resume(coroutine.create(function()
  119. for i = 1,60,1.5 do
  120. cmesh.Scale = Vector3.new(i,1,i)
  121. decal.Transparency = decal.Transparency + .04
  122. circle.CFrame = circle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
  123. wait()
  124. end
  125. circle:Destroy()
  126. end))
  127. wait(.3)
  128. for i = 1,5 do
  129. local blast1 = Instance.new("Part",char)
  130. local fq = Instance.new("SpecialMesh",blast1)
  131. fq.MeshId = "http://www.roblox.com/asset/?id=20329976"
  132. fq.Scale = Vector3.new(2,1,2)
  133. blast1.CanCollide = false
  134. blast1.CFrame = char.Torso.CFrame * CFrame.new(0,-1,0)
  135. blast1.Anchored = true
  136. blast1.BrickColor = BrickColor.new("Really black")
  137. coroutine.resume(coroutine.create(function()
  138. for i = 0,1,.08 do
  139. fq.Scale = fq.Scale + Vector3.new(i,i,i)
  140. blast1.Transparency = i/1.15
  141. blast1.CFrame = blast1.CFrame * CFrame.fromEulerAnglesXYZ(0,.1,0)
  142. wait()
  143.  
  144. end
  145. blast1:Destroy()
  146. char.Humanoid.WalkSpeed = 22
  147. end))
  148. wait()
  149. end
  150. local anim = Instance.new("Animation",char)
  151. anim.AnimationId = "rbxassetid://469624349"
  152. local e = char.Humanoid:LoadAnimation(anim)
  153. e:Play()
  154. wait(.5)
  155. local beam = Instance.new("Part",char)
  156. local CylinderMesh = Instance.new("CylinderMesh",beam)
  157. beam.CFrame = char.Torso.CFrame
  158. beam.Anchored = true
  159. beam.Transparency = 1
  160. beam.CanCollide = false
  161. sound = Instance.new("Sound",beam)
  162. sound.SoundId = soundid
  163. sound:Play()
  164. beam.Size = Vector3.new(10,85,10)
  165. beam.BrickColor = BrickColor.new("Really black")
  166. local umadkynann = char.Torso.CFrame:toWorldSpace(CFrame.new(0,0,-60))
  167. for i = 1,8 do
  168. local blast = Instance.new("Part",char)
  169. local block = Instance.new("Part",char)
  170. local blockmesh = Instance.new("BlockMesh",block)
  171. local blastmesh = Instance.new("SpecialMesh",blast)
  172. blastmesh.MeshId = "rbxassetid://20329976"
  173. block.CanCollide = false
  174. blast.CanCollide = false
  175. block.Size = Vector3.new(5,5,5)
  176. blastmesh.Scale = Vector3.new(10,5,10)
  177. blast.Anchored = true
  178. block.Anchored = true
  179. blast.BrickColor = BrickColor.new("Really black")
  180. block.BrickColor = BrickColor.new("Really black")
  181. blast.Transparency = .5
  182. block.Transparency = .5
  183. blast.CFrame = beam.CFrame
  184. block.CFrame = beam.CFrame
  185. coroutine.resume(coroutine.create(function()
  186. repeat wait()
  187. beam.Transparency = beam.Transparency - 0.03
  188. until beam.Transparency <= 0.4
  189. end))
  190. coroutine.resume(coroutine.create(function()
  191. for i = 0,0.8,.02 do
  192. beam.CFrame = beam.CFrame:lerp(umadkynann,.02)
  193. blast.Transparency = i/.5
  194. block.Transparency = i/.5
  195. blastmesh.Scale = blastmesh.Scale + Vector3.new(i,i,i)
  196. blockmesh.Scale = blockmesh.Scale + Vector3.new(i/2,i/2,i/2)
  197. block.CFrame = block.CFrame * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.2)
  198. blast.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
  199. wait()
  200. end
  201. blast:Destroy()
  202. block:Destroy()
  203. end))
  204. beam.Touched:connect(function(p)
  205. pp = p.Parent
  206. local h = pp:findFirstChild("Humanoid")
  207. if p.Name~="Baseplate" and p.Name~="Handle" and pp.Name~=char.Name and pp.Parent~=char.Name then
  208. coroutine.resume(coroutine.create(function()
  209. for i = p.Transparency,1,.06 do
  210. p.Transparency = i
  211. wait()
  212. end
  213. p:Destroy()
  214. end))
  215. end
  216. end)
  217. wait(.1)
  218. end
  219. coroutine.resume(coroutine.create(function()
  220. for i = 0.3,1,.04 do
  221. beam.Transparency = i
  222. beam.Mesh.Scale = beam.Mesh.Scale + Vector3.new(i/4,0,i/4)
  223. wait()
  224. end
  225. beam:Destroy()
  226. end))
  227. end
  228. if key == "x" then
  229. chat:Chat(char.Head,"Soul Shade!","Red")
  230. local sphere = Instance.new("Part",char)
  231. local smesh = Instance.new("SpecialMesh",sphere)
  232. local kynannbemad = char.Torso.CFrame:toWorldSpace(CFrame.new(0,0,-35))
  233. local circle = Instance.new("Part",char)
  234. local cmesh = Instance.new("BlockMesh",circle)
  235. local decal = Instance.new("Decal",circle)
  236. local ring = Instance.new("Part",workspace)
  237. local ringmesh = Instance.new("SpecialMesh",ring)
  238. ring.Anchored = true
  239. ring.CanCollide = false
  240. ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  241. ring.BrickColor = BrickColor.new("Really black")
  242. ringmesh.Scale = Vector3.new(1,1,3)
  243. circle.Anchored = true
  244. circle.Size = Vector3.new(1,1,1)
  245. circle.CanCollide = false
  246. circle.TopSurface = "Smooth"
  247. decal.Face = "Top"
  248. sphere.Transparency = 1
  249. circle.Transparency = 1
  250. smesh.MeshId = "http://www.roblox.com/asset/?id=51177741"
  251. decal.Texture = "http://www.roblox.com/asset/?id=363269577"
  252. circle.CFrame = char.Torso.CFrame:toWorldSpace(CFrame.new(0,-3.4,0))
  253. ring.CFrame = char.Torso.CFrame:toWorldSpace(CFrame.new(0,0,-3))
  254. coroutine.resume(coroutine.create(function()
  255. for i = 1,60,1.5 do
  256. ringmesh.Scale = ringmesh.Scale + Vector3.new(i/65,i/65,0)
  257. ring.Transparency = ring.Transparency + .03
  258. cmesh.Scale = Vector3.new(i,1,i)
  259. decal.Transparency = decal.Transparency + .04
  260. circle.CFrame = circle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
  261. wait()
  262. end
  263. ring:Destroy()
  264. end))
  265. wait(.2)
  266. sphere.Size = Vector3.new(1,1,1)
  267. smesh.Scale = Vector3.new(3,3,3)
  268. sphere.BrickColor = BrickColor.new("Really black")
  269. sphere.Anchored = true
  270. sphere.CanCollide = false
  271. sphere.TopSurface = "Smooth"
  272. sphere.BottomSurface = "Smooth"
  273. sphere.CFrame = char.Torso.CFrame:toWorldSpace(CFrame.new(0,0,-3))
  274. local sound3 = Instance.new("Sound",sphere)
  275. sound3.SoundId = "http://www.roblox.com/asset/?id=28257433"
  276. sound3:Play()
  277. coroutine.resume(coroutine.create(function()
  278. repeat wait()
  279. sphere.Transparency = sphere.Transparency - .16
  280. until sphere.Transparency <= 0.3
  281. startFade = true
  282. end))
  283. for i = 1,10 do
  284. if sphere.Mesh ~= nil then
  285. local fade = sphere:Clone()
  286. fade.Mesh.MeshType = "Brick"
  287. fade.Parent = workspace
  288. fade.CFrame = sphere.CFrame
  289. coroutine.resume(coroutine.create(function()
  290. for i = 0,0.8,.02 do
  291. fade.Mesh.Scale = fade.Mesh.Scale - Vector3.new(i,i,i)
  292. fade.CFrame = fade.CFrame * CFrame.fromEulerAnglesXYZ(.25,.25,.25)
  293. if startFade == true then
  294. sphere.Transparency = sphere.Transparency + .003
  295. end
  296. fade.Transparency = sphere.Transparency + i/.8
  297. if lockedOn == true and (char.Torso.Position - targetedPlayer.Torso.Position).magnitude <= 25 then
  298. sphere.CFrame = sphere.CFrame:lerp(targetedPlayer.Torso.CFrame,.015)
  299. else sphere.CFrame = sphere.CFrame:lerp(kynannbemad,.015)
  300. end
  301. wait()
  302. end
  303. sphere:Destroy()
  304. fade:Destroy()
  305. end))
  306. coroutine.resume(coroutine.create(function()
  307. wait(.5)
  308. repeat wait() until sphere.Transparency >= .7
  309. for i = 3,6,.08 do
  310. if sphere:findFirstChild("Mesh")~=nil then
  311. sphere.Mesh.Scale = Vector3.new(3,3,i)
  312. end
  313. sound3.Volume = sound3.Volume - 0.03
  314. wait()
  315. end
  316. end))
  317. sphere.Touched:connect(function(p,h)
  318. local pp = p.Parent
  319. h = pp:findFirstChild("Humanoid")
  320. if h~=nil and pp.Name~=char.Name and hit == false then
  321. lockedOn = true
  322. targetedPlayer = pp
  323. coroutine.resume(coroutine.create(function()
  324. wait(1.5)
  325. lockedOn = false
  326. targetedPlayer = nil
  327. end))
  328. hit = true
  329. local explode = sphere:Clone()
  330. chat:Chat(char.Head,"Gotcha!","Red")
  331. explode.Name = "Explosion"
  332. explode.Mesh:Destroy()
  333. local explodemesh = Instance.new("SpecialMesh",explode)
  334. explodemesh.MeshType = "Sphere"
  335. local ring2 = Instance.new("Part",workspace)
  336. local ringmesh2 = Instance.new("SpecialMesh",ring2)
  337. explode.Parent = workspace
  338. explode.Transparency = .3
  339. explode.CFrame = sphere.CFrame
  340. ring2.Anchored = true
  341. ring2.CanCollide = false
  342. ring2.BrickColor = BrickColor.new("Really black")
  343. ringmesh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  344. ring2.CFrame = sphere.CFrame
  345. ring2.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  346. sound2 = Instance.new("Sound",explode)
  347. sound2.SoundId = soundid2
  348. sound2:Play()
  349. local ring3 = ring2:Clone()
  350. ring3.Parent = workspace
  351. ring3.Rotation = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  352. local explode2 = explode:Clone()
  353. explode2.Parent = workspace
  354. explode.Touched:connect(function(p)
  355. pp = p.Parent
  356. local h = pp:findFirstChild("Humanoid")
  357. if h~=nil and pp.Name~=char.Name then
  358. h:TakeDamage(20)
  359. end
  360. end)
  361. coroutine.resume(coroutine.create(function()
  362. for i = 6,25 do
  363. ring2.Mesh.Scale = Vector3.new(i*2.5,i*2.5,0)
  364. ring3.Mesh.Scale = Vector3.new(i*2.5,i*2.5,0)
  365. explodemesh.Scale = Vector3.new(i*2,i*2,i*2)
  366. explode.Transparency = explode.Transparency + .05
  367. explode2.Mesh.Scale = Vector3.new(i,i,i) + Vector3.new(.05,.05,.05)
  368. explode2.Transparency = explode2.Transparency + .05
  369. ring2.Transparency = ring2.Transparency + .05
  370. ring3.Transparency = ring3.Transparency + .05
  371. wait()
  372. end
  373. explode:Destroy()
  374. explode2:Destroy()
  375. ring2:Destroy()
  376. ring3:Destroy()
  377. end))
  378. sphere:Destroy()
  379. end
  380. end)
  381. wait(.05)
  382. hit = false
  383. end
  384. end
  385. if key == "c" then
  386. cIsPressed = true
  387. wait(2)
  388. cIsPressed = false
  389. end
  390. end
  391. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement