Advertisement
pz_java

God Void Player

Sep 9th, 2017
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. ----- Script made by Pedrorb03 -----
  2. black = true
  3. light = 0
  4. void = nil
  5. local health = 100
  6. local maxhealth = 100
  7. game:GetService("UserInputService").InputBegan:connect(function(key)
  8. if key.KeyCode == Enum.KeyCode.C then
  9. if void == nil then
  10. health = game.Players.LocalPlayer.Character.Humanoid.Health
  11. maxhealth = game.Players.LocalPlayer.Character.Humanoid.MaxHealth
  12. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
  13. game.Players.LocalPlayer.Character.Humanoid.Health = 99999999999
  14. local voido = Instance.new("Part",game.Workspace) voido.Name = "VOIDGOAWAY" voido.Size = Vector3.new(62.5,62.5,62.5) voido.Anchored = false voido.CanCollide = false
  15. voido.Color = Color3.new(0,0,0)
  16. voido.Shape = Enum.PartType.Ball
  17. voido.Locked = true
  18. voido.Material = Enum.Material.Neon
  19. voido.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  20. voido.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  21. voido.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  22. voido.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  23. voido.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  24. voido.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  25. local attach1 = Instance.new("Attachment",voido) attach1.Position = Vector3.new(0,62.5/2,0)
  26. local attach2 = Instance.new("Attachment",voido) attach2.Position = Vector3.new(0,-62.5/2,0)
  27. local trail = Instance.new("Trail",voido) trail.Attachment0 = attach1 trail.Attachment1 = attach2 trail.Lifetime = 0.5
  28. trail.MinLength = 0.01 trail.FaceCamera = true trail.Transparency = NumberSequence.new(0.25,1) trail.Color = ColorSequence.new(voido.Color) trail.LightEmission = 0.25
  29.  
  30. void = voido
  31. if game.Players.LocalPlayer.Name ~= "TheNeonKaratedKid" then
  32. void.Color = Color3.fromRGB(0,light,0)
  33. end
  34. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" then
  35. void.Color = Color3.fromRGB(0,0,light)
  36. end
  37. void.Trail.Color = ColorSequence.new(void.Color)
  38. local bodyforce = Instance.new("BodyForce",void) bodyforce.Force = Vector3.new(0, game.Workspace.Gravity, 0) * void:GetMass()
  39.  
  40.  
  41. void.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  42. local weld = Instance.new("Weld",void) weld.Part0 = void weld.Part1 = game.Players.LocalPlayer.Character.HumanoidRootPart
  43.  
  44. game.Players.LocalPlayer:GetMouse().TargetFilter = void
  45. while void ~= nil do
  46. wait()
  47. if void ~= nil then
  48. if black == true then
  49. light = light+5
  50.  
  51.  
  52. if light >= 100 then
  53. light = 100
  54. black = false
  55. end
  56.  
  57.  
  58. elseif black == false then
  59. light = light-10
  60. if light <= 0 then
  61. black = true
  62. end
  63.  
  64.  
  65. end
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. if game.Players.LocalPlayer.Name ~= "TheNeonKaratedKid" then
  73. void.Color = Color3.fromRGB(0,light,0)
  74. end
  75. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" then
  76. void.Color = Color3.fromRGB(0,0,light)
  77. end
  78. void.Trail.Color = ColorSequence.new(void.Color)
  79.  
  80.  
  81. for _,child in pairs(game.Workspace:GetChildren()) do
  82. if child.Name ~= "Terrain" then
  83. if child ~= game.Players.LocalPlayer.Character then
  84. if child ~= void then
  85. if child:IsA("BasePart") then
  86.  
  87. if (child.Position-void.Position).magnitude <= 58 then
  88. child:remove()
  89.  
  90. end
  91. end
  92. for _,InChild in pairs(child:GetChildren()) do
  93. if InChild:IsA("BasePart") then
  94. if (InChild.Position-void.Position).magnitude <= 58 then
  95. InChild:remove()
  96. end
  97. end
  98. for _,InInChild in pairs(InChild:GetChildren()) do
  99. if InInChild:IsA("BasePart") then
  100. if (InInChild.Position-void.Position).magnitude <= 58 then
  101. InInChild:remove()
  102. end
  103. end
  104.  
  105. end
  106. end
  107.  
  108. end
  109.  
  110. end
  111. end
  112. end
  113. end
  114. end
  115. else
  116. if void ~= nil then
  117. void:remove()
  118. void = nil
  119. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = maxhealth
  120. game.Players.LocalPlayer.Character.Humanoid.Health = health
  121. end
  122. end
  123. end
  124. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement