Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by anphu04, it's really similar to my bean'd jumpscare script, and also please give credits!
- local run = game:GetService("RunService")
- local seizure = coroutine.create(function()
- while true do
- for i, player in pairs(game.Players:GetChildren()) do
- if not player.PlayerGui:FindFirstChild("SeizureGui") then
- local playergui = player.PlayerGui
- local gui = Instance.new("ScreenGui")
- gui.Name = "SeizureGui"
- gui.Parent = playergui
- local frame = Instance.new("Frame")
- frame.Name = "SeizureScreen"
- frame.Size = UDim2.new(1,0 , 1,50)
- frame.Position = UDim2.new(0,0 , 0,-50)
- frame.BackgroundTransparency = 0
- frame.Parent = gui
- spawn(function()
- while true do
- if frame ~= nil then
- frame.BackgroundColor3 = Color3.new(1, 0, 0)
- run.RenderStepped:wait()
- frame.BackgroundColor3 = Color3.new(0, 0, 1)
- run.RenderStepped:wait()
- frame.BackgroundColor3 = Color3.new(0, 1, 0)
- else
- break
- end
- run.RenderStepped:wait()
- end
- end)
- end
- end
- wait()
- end
- end)
- local noise = coroutine.create(function()
- while true do
- for i, player in pairs(game.Players:GetChildren()) do
- local sound = Instance.new("Sound")
- sound.SoundId = "http://www.roblox.com/asset/?id=603266135"
- sound.Volume = 10
- sound.Parent = player
- sound:Play()
- game.Debris:AddItem(sound, 16.64)
- end
- wait(16.64)
- end
- end)
- coroutine.resume(seizure)
- coroutine.resume(noise)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement