Advertisement
HostMinecrafter

Untitled

Sep 14th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. function jumpscare()
  2. for i,plrs in pairs(game.Players:GetPlayers()) do
  3. local gui = Instance.new("ScreenGui",plrs.PlayerGui)
  4. gui.Name = "guijump";
  5. local pic = Instance.new("ImageLabel",gui);
  6. pic.Name = "jump";
  7. pic.ZIndex = 99;
  8. pic.BorderSizePixel = 0;
  9. pic.Size = UDim2.new(1,0,1,40);
  10. pic.Position = UDim2.new(0,0,0,-40);
  11. pic.Image = "http://www.roblox.com/asset/?id=1541854679";
  12. local jump = Instance.new("Sound",workspace);
  13. jump.Volume = 3;
  14. jump.SoundId = "rbxassetid://453650471";
  15. jump:Play();
  16. print("sucker...")
  17. end
  18. wait(2)
  19. for i,plrs in pairs(game.Players:GetPlayers()) do
  20. pcall(function()
  21. local gui = plrs.PlayerGui:FindFirstChild("guijump");
  22. if gui then gui:Destroy(); end
  23. for _,obj in pairs(plrs.Character:GetChildren()) do
  24. if obj:IsA("Humanoid") then
  25. obj.Health = 0;
  26. end
  27. end
  28. end)
  29. end
  30. end
  31.  
  32. while true do
  33. wait(20)
  34. jumpscare()
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement