Advertisement
Guest User

Untitled

a guest
Jun 9th, 2019
1,176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. -- Made by anphu04, it's really similar to my bean'd jumpscare script, and also please give credits!
  2.  
  3. local run = game:GetService("RunService")
  4.  
  5. local seizure = coroutine.create(function()
  6. while true do
  7. for i, player in pairs(game.Players:GetChildren()) do
  8. if not player.PlayerGui:FindFirstChild("SeizureGui") then
  9. local playergui = player.PlayerGui
  10. local gui = Instance.new("ScreenGui")
  11. gui.Name = "SeizureGui"
  12. gui.Parent = playergui
  13. local frame = Instance.new("Frame")
  14. frame.Name = "SeizureScreen"
  15. frame.Size = UDim2.new(1,0 , 1,50)
  16. frame.Position = UDim2.new(0,0 , 0,-50)
  17. frame.BackgroundTransparency = 0
  18. frame.Parent = gui
  19. spawn(function()
  20. while true do
  21. if frame ~= nil then
  22. frame.BackgroundColor3 = Color3.new(1, 0, 0)
  23. run.RenderStepped:wait()
  24. frame.BackgroundColor3 = Color3.new(0, 0, 1)
  25. else
  26. break
  27. end
  28. run.RenderStepped:wait()
  29. end
  30. end)
  31. end
  32. end
  33. wait()
  34. end
  35. end)
  36.  
  37. local noise = coroutine.create(function()
  38. while true do
  39. for i, player in pairs(game.Players:GetChildren()) do
  40. local sound = Instance.new("Sound")
  41. sound.SoundId = "http://www.roblox.com/asset/?id= 3206066436"
  42. sound.Volume = 10
  43. sound.Parent = player
  44. sound:Play()
  45. game.Debris:AddItem(sound, 16.64)
  46. end
  47. wait(16.64)
  48. end
  49. end)
  50.  
  51. coroutine.resume(seizure)
  52. coroutine.resume(noise)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement