Advertisement
RienerXproX

Untitled

Jan 4th, 2018
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.65 KB | None | 0 0
  1. attendez()
  2. - NON FINI -
  3. chat = jeu: 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. main locale = Instance.new ("Part", espace de travail)
  14. hand.Transparency = 1
  15. hand.CanCollide = faux
  16. hand.Anchored = true
  17. hand.Size = Vecteur3.new (1,1,1)
  18. coroutine.resume (coroutine.create (function ()
  19. répétez wait ()
  20. hand.CFrame = char ["Bras gauche"] CFrame: toWorldSpace (CFrame.new (0, -1.1,0))
  21. jusqu'à false
  22. fin))
  23. répétez l'attente (.1)
  24. local trail = Instance.new ("Part", espace de travail)
  25. local a = math.random (1,7)
  26. si a == 1 alors
  27. local tring = Instance.new ("Part", espace de travail)
  28. tringmesh local = 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 ("Vraiment noir")
  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. pour i = 0,1, .03 faire
  38. tringmesh.Scale = tringmesh.Scale + Vector3.new (i / 6, i / 2,0)
  39. tring.Transparency = tring.Transparency + .03
  40. attendez()
  41. fin
  42. tring: Détruire ()
  43. fin))
  44. elseif a == 2 alors
  45. effet local = Instance.new ("Part", espace de travail)
  46. local efmesh = Instance.new ("SpecialMesh", effet)
  47. efmesh.MeshType = "Sphère"
  48. effect.Anchored = true
  49. effect.Size = Vector3.new (.2, .2, .2)
  50. effect.CanCollide = false
  51. effect.BrickColor = BrickColor.new ("Vraiment noir")
  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. pour i = 0,1, .02 faire
  56. efmesh.Scale = efmesh.Scale + Vecteur3.new (i / 3.5, i / .65, i / 3.5)
  57. effect.Transparency = effect.Transparency + .02
  58. attendez()
  59. fin
  60. Effet: Détruire ()
  61. fin))
  62. fin
  63. bmesh local = Instance.new ("BlockMesh", piste)
  64. trail.Size = Vector3.new (1.5,1.5,1.5)
  65. trail.Anchored = true
  66. trail.CanCollide = false
  67. trail.BrickColor = BrickColor.new ("Vraiment noir")
  68. trail.CFrame = hand.CFrame
  69. coroutine.resume (coroutine.create (function ()
  70. pour i = 0,1, .03 faire
  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 = Vecteur3.new (.5 + i, .5 + i, .5 + i)
  74. attendez()
  75. fin
  76. sentier: Détruire ()
  77. fin))
  78. jusqu'à false
  79. fin))
  80. mouse.KeyDown: connect (fonction (touche)
  81. enabled = true
  82. si non activé, retour fin
  83. enabled = false
  84. clé = touche: inférieure ()
  85. si touche == "z" alors
  86. chat: Chat (char.Head, "Phantom Beam!", "Rouge")
  87. char.Humanoid.WalkSpeed ​​= 0
  88. local circle = Instance.new ("Part", char)
  89. local cmesh = Instance.new ("BlockMesh", cercle)
  90. Décalque local = Instance.new ("Decal", cercle)
  91. sphère locale = Instance.new ("Part", char)
  92. local fq2 = Instance.new ("SpecialMesh", sphère)
  93. sphere.Size = Vecteur3.new (3,3,3)
  94. fq2.Scale = Vector3.new (1,1,1)
  95. circle.Anchored = true
  96. circle.Size = Vecteur3.new (1,1,1)
  97. circle.CanCollide = false
  98. circle.TopSurface = "Lisse"
  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 ("Vraiment noir")
  104. sphere.Anchored = true
  105. sphere.CanCollide = false
  106. sphere.CFrame = char.Torso.CFrame * CFrame.new (0, -1,0)
  107. sphere.TopSurface = "Lisse"
  108. sphere.BottomSurface = "Lisse"
  109. fq2.MeshType = "Sphère"
  110. coroutine.resume (coroutine.create (function ()
  111. pour i = 0,10, .02 faire
  112. fq2.Scale = fq2.Scale + Vector3.new (i, i, i)
  113. sphere.Transparency = sphere.Transparency + .03
  114. attendez()
  115. fin
  116. sphère: Détruire ()
  117. fin))
  118. coroutine.resume (coroutine.create (function ()
  119. pour i = 1,60,1,5 faire
  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. attendez()
  124. fin
  125. cercle: Détruire ()
  126. fin))
  127. attends (.3)
  128. pour i = 1,5 faire
  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 ("Vraiment noir")
  137. coroutine.resume (coroutine.create (function ()
  138. pour i = 0,1, 0,08 faire
  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. attendez()
  143.  
  144. fin
  145. blast1: Détruire ()
  146. char.Humanoid.WalkSpeed ​​= 22
  147. fin))
  148. attendez()
  149. fin
  150. anim local = Instance.new ("Animation", char)
  151. anim.AnimationId = "rbxassetid: // 469624349"
  152. local e = char.Humanoid: LoadAnimation (anim)
  153. e: Lecture ()
  154. attendre (.5)
  155. faisceau local = Instance.new ("Part", char)
  156. local CylinderMesh = Instance.new ("CylinderMesh", poutre)
  157. beam.CFrame = char.Torso.CFrame
  158. beam.Anchored = true
  159. beam.Transparency = 1
  160. beam.CanCollide = false
  161. sound = Instance.new ("Son", faisceau)
  162. sound.SoundId = soundid
  163. son: Lecture ()
  164. beam.Size = Vector3.new (10,85,10)
  165. beam.BrickColor = BrickColor.new ("Vraiment noir")
  166. umadkynann local = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -60))
  167. pour i = 1,8 faire
  168. local blast = Instance.new ("Part", char)
  169. bloc local = Instance.new ("Part", char)
  170. blockmesh local = Instance.new ("BlockMesh", bloc)
  171. blastmesh local = Instance.new ("SpecialMesh", blast)
  172. blastmesh.MeshId = "rbxassetid: // 20329976"
  173. block.CanCollide = false
  174. blast.CanCollide = false
  175. block.Size = Vecteur3.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 ("Vraiment noir")
  180. block.BrickColor = BrickColor.new ("Vraiment noir")
  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. répétez wait ()
  187. beam.Transparency = beam.Transparency - 0.03
  188. jusqu'à beam.Transparency <= 0.4
  189. fin))
  190. coroutine.resume (coroutine.create (function ()
  191. pour i = 0,0,8, .02 faire
  192. beam.CFrame = beam.CFrame: lerp (umadkynann, .02)
  193. blast.Transparency = i / .5
  194. block.Transparency = i / .5
  195. blastmesh.Scale = blastmesh.Scale + Vecteur3.new (i, i, i)
  196. blockmesh.Scale = blockmesh.Scale + Vecteur3.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. attendez()
  200. fin
  201. explosion: Détruire ()
  202. block: Détruire ()
  203. fin))
  204. beam.Touched: connect (fonction (p)
  205. pp = p.Parent
  206. local h = pp: findFirstChild ("Humanoïde")
  207. si p.Name ~ = "Baseplate" et p.Name ~ = "Handle" et pp.Name ~ = char.Name et pp.Parent ~ = char.Name alors
  208. coroutine.resume (coroutine.create (function ()
  209. pour i = p.Transparency, 1, .06 faire
  210. p.Transparency = i
  211. attendez()
  212. fin
  213. p: Détruire ()
  214. fin))
  215. fin
  216. fin)
  217. attendre (.1)
  218. fin
  219. coroutine.resume (coroutine.create (function ()
  220. pour i = 0,3,1, 0,04 faire
  221. beam.Transparency = i
  222. beam.Mesh.Scale = beam.Mesh.Scale + Vecteur3.new (i / 4,0, i / 4)
  223. attendez()
  224. fin
  225. faisceau: Détruire ()
  226. fin))
  227. fin
  228. si touche == "x" alors
  229. chat: Chat (char.Head, "Soul Shade!", "Rouge")
  230. sphère locale = Instance.new ("Part", char)
  231. local smesh = Instance.new ("SpecialMesh", sphère)
  232. kynannbemad local = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -35))
  233. local circle = Instance.new ("Part", char)
  234. local cmesh = Instance.new ("BlockMesh", cercle)
  235. Décalque local = Instance.new ("Decal", cercle)
  236. local ring = Instance.new ("Part", espace de travail)
  237. ringmesh local = Instance.new ("SpecialMesh", anneau)
  238. ring.Anchored = true
  239. ring.CanCollide = false
  240. ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  241. ring.BrickColor = BrickColor.new ("Vraiment noir")
  242. ringmesh.Scale = Vector3.new (1,1,3)
  243. circle.Anchored = true
  244. circle.Size = Vecteur3.new (1,1,1)
  245. circle.CanCollide = false
  246. circle.TopSurface = "Lisse"
  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. pour i = 1,60,1,5 faire
  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. attendez()
  262. fin
  263. anneau: Détruire ()
  264. fin))
  265. attendre (.2)
  266. sphere.Size = Vecteur3.new (1,1,1)
  267. smesh.Scale = Vecteur3.new (3,3,3)
  268. sphere.BrickColor = BrickColor.new ("Vraiment noir")
  269. sphere.Anchored = true
  270. sphere.CanCollide = false
  271. sphere.TopSurface = "Lisse"
  272. sphere.BottomSurface = "Lisse"
  273. sphere.CFrame = char.Torso.CFrame: toWorldSpace (CFrame.new (0,0, -3))
  274. local sound3 = Instance.new ("Son", sphère)
  275. sound3.SoundId = "http://www.roblox.com/asset/?id=28257433"
  276. sound3: Lecture ()
  277. coroutine.resume (coroutine.create (function ()
  278. répétez 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