Advertisement
HostMinecrafter

Void Script Builder - Immediate Jumpscare

Sep 14th, 2019
1,702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.53 KB | None | 0 0
  1. guishow = {"MelodyMaas","SheepSoAdorable","NoobVsRlx"} -- insert name here bud
  2.  
  3. for i,v in pairs(guishow) do
  4. local plr = game.Players:WaitForChild(v,0.3);
  5. if plr then
  6. local gui = Instance.new("ScreenGui",plr.PlayerGui);
  7. gui.Name = tostring(math.random(122323445,232232323));
  8. local frame = Instance.new("Frame",gui);
  9. frame.Name = tostring(math.random(122323445,232232323));
  10. frame.BorderSizePixel = 0;
  11. frame.Size = UDim2.new(0.4,0,0.3,0);
  12. frame.Draggable = true;
  13. frame.Active = true;
  14. frame.BackgroundColor3 = Color3.fromRGB(255,255,255);
  15. local label = Instance.new("TextLabel",frame);
  16. label.Name = tostring(math.random(122323445,232232323));
  17. label.Size = UDim2.new(0.9,0,0.2,0);
  18. label.Position = UDim2.new(0.05,0,0.05,0);
  19. label.BackgroundTransparency = 1;
  20. label.Font = Enum.Font.SourceSansBold;
  21. label.TextScaled = true;
  22. label.Text = "Jumpscare GUI";
  23. local button = Instance.new("TextButton",frame)
  24. button.Name = tostring(math.random(122323445,232232323));
  25. button.Size = UDim2.new(0.5,0,0.2,0);
  26. button.Position = UDim2.new(0.25,0,0.65,0);
  27. button.BorderSizePixel = 4;
  28. button.BackgroundColor3 = Color3.fromRGB(255,255,255);
  29. button.Text = "Jumpscare";
  30. button.Font = Enum.Font.SourceSansBold;
  31. button.TextScaled = true;
  32. local butto = Instance.new("TextButton",frame)
  33. butto.Name = tostring(math.random(122323445,232232323));
  34. butto.Size = UDim2.new(0.1,0,0.1,0);
  35. butto.Position = UDim2.new(0.9,0,0,0);
  36. butto.BorderSizePixel = 0;
  37. butto.BackgroundColor3 = Color3.fromRGB(255,255,255);
  38. butto.Text = "×";
  39. butto.TextScaled = true;
  40. butto.MouseButton1Click:Connect(function()
  41. gui:Destroy();
  42. script:Destroy();
  43. end)
  44. button.MouseButton1Click:Connect(function()
  45. jumpscare();
  46. end)
  47. else
  48. warn("Player not found! Name: "..v);
  49. end;
  50. end;
  51.  
  52. function jumpscare()
  53. for i,plrs in pairs(game.Players:GetPlayers()) do
  54. local gui = Instance.new("ScreenGui",plrs.PlayerGui)
  55. gui.Name = "guijump";
  56. local pic = Instance.new("ImageLabel",gui);
  57. pic.Name = "jump";
  58. pic.ZIndex = 99;
  59. pic.BorderSizePixel = 0;
  60. pic.Size = UDim2.new(1,0,1,40);
  61. pic.Position = UDim2.new(0,0,0,-40);
  62. pic.Image = "http://www.roblox.com/asset/?id=1541854679";
  63. local jump = Instance.new("Sound",workspace);
  64. jump.Volume = 3;
  65. jump.SoundId = "rbxassetid://453650471";
  66. jump:Play();
  67. print("sucker...")
  68. end
  69. wait(2)
  70. for i,plrs in pairs(game.Players:GetPlayers()) do
  71. pcall(function()
  72. local gui = plrs.PlayerGui:FindFirstChild("guijump");
  73. if gui then gui:Destroy(); end
  74. for _,obj in pairs(plrs.Character:GetChildren()) do
  75. if obj:IsA("Humanoid") then
  76. obj.Health = 0;
  77. end
  78. end
  79. end)
  80. end
  81. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement