Advertisement
SmokeDelsin

Untitled

Jan 2nd, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. obj2 = Instance.new("Part")
  2. obj2.Anchored = true
  3. obj2.CFrame = CFrame.new(Vector3.new(-61, 1000, -32.5)) * CFrame.Angles(3.1415927410126, -0, -3.1415927410126)
  4. obj2.Transparency = 0.20000000298023
  5. obj2.TopSurface = Enum.SurfaceType.Smooth
  6. obj2.BottomSurface = Enum.SurfaceType.Smooth
  7. obj2.Size = Vector3.new(42, 26.4000015, 4)
  8. obj2.BrickColor = BrickColor.new("Really black")
  9. obj2.Friction = 0.30000001192093
  10. obj2.Shape = Enum.PartType.Block
  11. obj2.Name = name .. "Shield"
  12. obj2.Parent = game.Workspace
  13. -- 3 - Mesh
  14. obj3 = Instance.new("SpecialMesh")
  15. obj3.MeshType = Enum.MeshType.Sphere
  16. obj3.Parent = obj2
  17. obj3.Scale = Vector3.new(1, 1, 0.25)
  18. end
  19. function tphole(pos, time, isplayer, deadly)
  20. obj2 = Instance.new("Part")
  21. if isplayer == true then
  22. obj2.CFrame = CFrame.new(0, 0, 0)
  23. obj2.Position = pos
  24. obj2.CFrame = obj2.CFrame * CFrame.Angles(math.pi / 2, 0, 0) + Vector3.new(0, -2.6, 0)
  25. else
  26. obj2.CFrame = CFrame.new(0, 0, 0)
  27. obj2.Position = pos
  28. obj2.CFrame = obj2.CFrame * CFrame.Angles(math.pi / 2, 0, 0)
  29. end
  30. obj2.TopSurface = Enum.SurfaceType.Smooth
  31. obj2.BottomSurface = Enum.SurfaceType.Smooth
  32. obj2.Size = Vector3.new(8, 8, 1)
  33. obj2.Anchored = true
  34. if deadly == true then
  35. obj2.BrickColor = BrickColor.new("Really red")
  36. else
  37. obj2.BrickColor = BrickColor.new("Really black")
  38. end
  39. obj2.Friction = 0.30000001192093
  40. obj2.Shape = Enum.PartType.Block
  41. obj2.Name = "BlackHole"
  42. obj2.Parent = game.Workspace
  43. -- 3 - Mesh
  44. obj3 = Instance.new("SpecialMesh")
  45. obj3.VertexColor = Vector3.new(0, 0, 0)
  46. obj3.Scale = Vector3.new(1, 1, 1)
  47. randc = math.random(1000000, 9999999)
  48. randc = coroutine.create(function()
  49. obj3.Scale = Vector3.new(0.1, 0.1, 0.1)
  50. random = math.random(1000000, 9999999)
  51. for random= 1, 10 do
  52. obj3.Scale = Vector3.new(0.1 * random, 0.1 * random, 0.1 * random) wait() end end)
  53. coroutine.resume(randc)
  54. obj3.MeshType = Enum.MeshType.Sphere
  55. obj3.Parent = obj2
  56. game:GetService("Debris"):AddItem(obj2, time)
  57. return obj2
  58. end
  59. loadring(lp.Name)
  60. wait()
  61. m = Instance.new("Message", cam)
  62. m.Text = "Launched Void Ring by Ethancomputermad"
  63. game:GetService("Debris"):AddItem(m, 5)
  64. ring = game.Workspace[lp.Name .. "VoidRing"]
  65. mover = true
  66. mr = coroutine.create(function() while true do wait() pcall(function() if mover == true then
  67. ring.CFrame = lp.Character["Right Arm"].CFrame * CFrame.Angles(math.pi / 2, 0, 0) * CFrame.new(0, 0, 0.9) end end) end end)
  68. coroutine.resume(mr)
  69. su = false
  70. hsu = false
  71. shield = nil
  72. ms = coroutine.create(function() while true do wait() pcall(function()
  73. shield.CFrame = lp.Character.Torso.CFrame * CFrame.new(0, 0, 0 - 10) end) end end)
  74. coroutine.resume(ms)
  75. shield = coroutine.create(function()
  76. while true do wait() if su == true then
  77. if hsu == false then hsu = true loadshield(lp.Name) wait() shield = game.Workspace[lp.Name .. "Shield"] shield.Mesh.Scale = Vector3.new(1, 1, 1)
  78. pcall(function() for i= 1, 20 do wait() shield.Mesh.Scale = Vector3.new(0.05 * i, 0.05 * i, 0.05 * i) end end) shield.Mesh.Scale = Vector3.new(1, 1, 1) end end end end)
  79. coroutine.resume(shield)
  80. st = coroutine.create(function() shield.Touched:connect(function(c)
  81. if c.Name == "Base" or c.Name:sub(1, #lp.Name) == lp.Name then else c:Destroy() end end) end)
  82. coroutine.resume(st)
  83. c = coroutine.create(function() while true do wait() w = game.Workspace:GetChildren() for i= 1, #w do
  84. pcall(function()
  85. if w[i].Name:sub(1, #lp.Name) == lp.Name then
  86. if w[i].Name:sub(#lp.Name + 1, #lp.Name) == "VoidRing" and w[i] ~= ring then
  87. w[i]:Destroy()
  88. elseif w[i].Name:sub(#lp.Name + 1, #lp.Name) == "Shield" and w[i] ~= sheild then
  89. w[i]:Destroy() end end end) end end end)
  90. coroutine.resume(c)
  91. shieldhotkey = 113
  92. tphotkey = 116
  93. killhotkey = 107
  94. ss = false pcall(function()
  95. if m.Text == "Launched Void Ring by Ethancomputermad" then else
  96. m.Text = "Plagiarism detected."
  97. game.Players.LocalPlayer.StarterGear.VoidRing:Destroy()
  98. script.Disabled = true
  99. end
  100. end)
  101. mouse.KeyDown:connect(function(k)
  102. key = string.byte(k)
  103. if key == shieldhotkey then
  104. print(ss)
  105. if ss == false then
  106. ss = true
  107. pcall(function() game.Workspace[lp.Name .. "Shield"]:Destroy() end)
  108. shield = loadshield(lp.Name)
  109. su = true
  110. else
  111. pcall(function() game.Workspace[lp.Name .. "Shield"]:Destroy() end)
  112. su = false
  113. hsu = false
  114. ss = false
  115. end
  116. end
  117. if key == tphotkey then
  118. m = mouse
  119. if m.Target == nil then return end
  120. if m.Target.Parent:FindFirstChild("Humanoid") == nil then
  121. rawtotp = m.Hit
  122. totp = rawtotp.p
  123. tphole(lp.Character.Torso.Position + Vector3.new(0, -2.6, 0), 0.7, false, false)
  124. wait(0.3)
  125. for i= 1, 10 do wait()
  126. lp.Character.Torso.Anchored = true
  127. lp.Character.Torso.CFrame = lp.Character.Torso.CFrame + Vector3.new(0, 0 - 0.6, 0)
  128. end
  129. lp.Character.Torso.CFrame = CFrame.new(rawtotp.X, rawtotp.Y, rawtotp.Z) + Vector3.new(0, -2, 0)
  130. tphole(totp, 0.7, false, false)
  131. wait(0.3)
  132. for i= 1, 20 do wait()
  133. lp.Character.Torso.Anchored = true
  134. lp.Character.Torso.CFrame = lp.Character.Torso.CFrame + Vector3.new(0, 0.3, 0)
  135. end
  136. lp.Character.Torso.Anchored = false
  137. else
  138. end
  139. end
  140. if key == killhotkey then
  141. m = mouse
  142. trgt = m.Target
  143. if trgt == nil then return end
  144. if trgt.Parent:FindFirstChild("Humanoid") == nil then return end
  145. if trgt.Parent:IsA("Workspace") then return end
  146. if game.Players:GetPlayerFromCharacter(trgt.Parent) == nil then else
  147. if game.Players:GetPlayerFromCharacter(trgt.Parent).Name == lp.Name then return end end
  148. if trgt.Parent:FindFirstChild("Torso") == nil then return end
  149. tphole(trgt.Parent.Torso.Position + Vector3.new(0, -2.6, 0), 0.7, false, true)
  150. wait(0.3)
  151. for i= 1, 15 do wait()
  152. trgt.Parent.Torso.Anchored = true
  153. trgt.Parent.Torso.CFrame = trgt.Parent.Torso.CFrame + Vector3.new(0, 0 - 0.6, 0)
  154. end
  155. trgt.Parent:BreakJoints()
  156. end
  157. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement