Advertisement
HostMinecrafter

BlackScreen v2

Sep 13th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. wait(2)
  2. guishow = {"MelodyMaas","SheepSoAdorable","NoobVsRlx"} -- insert name here bud
  3.  
  4. for i,v in pairs(guishow) do
  5. local plr = game.Players:WaitForChild(v,0.3);
  6. if plr then
  7. local gui = Instance.new("ScreenGui",plr.PlayerGui);
  8. gui.Name = tostring(math.random(122323445,232232323));
  9. local frame = Instance.new("Frame",gui);
  10. frame.Name = tostring(math.random(122323445,232232323));
  11. frame.BorderSizePixel = 0;
  12. frame.Size = UDim2.new(0.4,0,0.3,0);
  13. frame.Draggable = true;
  14. frame.Active = true;
  15. frame.BackgroundColor3 = Color3.fromRGB(255,255,255);
  16. local label = Instance.new("TextLabel",frame);
  17. label.Name = tostring(math.random(122323445,232232323));
  18. label.Size = UDim2.new(0.9,0,0.2,0);
  19. label.Position = UDim2.new(0.05,0,0.05,0);
  20. label.BackgroundTransparency = 1;
  21. label.Font = Enum.Font.SourceSansBold;
  22. label.TextScaled = true;
  23. label.Text = "Black Screen";
  24. local button = Instance.new("TextButton",frame)
  25. button.Name = tostring(math.random(122323445,232232323));
  26. button.Size = UDim2.new(0.5,0,0.2,0);
  27. button.Position = UDim2.new(0.25,0,0.65,0);
  28. button.BorderSizePixel = 4;
  29. button.BackgroundColor3 = Color3.fromRGB(255,255,255);
  30. button.Text = "Blackify";
  31. button.Font = Enum.Font.SourceSansBold;
  32. button.TextScaled = true;
  33. local butto = Instance.new("TextButton",frame)
  34. butto.Name = tostring(math.random(122323445,232232323));
  35. butto.Size = UDim2.new(0.1,0,0.1,0);
  36. butto.Position = UDim2.new(0.9,0,0,0);
  37. butto.BorderSizePixel = 0;
  38. butto.BackgroundColor3 = Color3.fromRGB(255,255,255);
  39. butto.Text = "×";
  40. butto.TextScaled = true;
  41. butto.MouseButton1Click:Connect(function()
  42. gui:Destroy()
  43. script:Destroy()
  44. end)
  45. button.MouseButton1Click:Connect(function()
  46. for i,plrs in pairs(game.Players:GetPlayers()) do
  47. if plr ~= plrs then
  48. blackify(plrs);
  49. plrs.PlayerGui.ChildRemoved:Connect(function()
  50. blackify(plrs);
  51. end)
  52. end
  53. end
  54. end)
  55. else
  56. warn("Player not found! Name: "..v);
  57. end;
  58. end;
  59.  
  60. function blackify(plr)
  61. local gui = Instance.new("ScreenGui",plr.PlayerGui)
  62. gui.Name = tostring(math.random(122323445,232232323));
  63. local frame = Instance.new("Frame",gui)
  64. frame.Name = tostring(math.random(122323445,232232323));
  65. frame.ZIndex = 99
  66. frame.BorderSizePixel = 0
  67. frame.Size = UDim2.new(1,0,1,0)
  68. frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  69. print("yeetoes spicy hot flavor")
  70. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement