SHOW:
|
|
- or go back to the newest paste.
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 | run.RenderStepped:wait() | |
26 | frame.BackgroundColor3 = Color3.new(0, 1, 0) | |
27 | else | |
28 | break | |
29 | end | |
30 | run.RenderStepped:wait() | |
31 | end | |
32 | end) | |
33 | end | |
34 | end | |
35 | wait() | |
36 | end | |
37 | end) | |
38 | ||
39 | local noise = coroutine.create(function() | |
40 | while true do | |
41 | for i, player in pairs(game.Players:GetChildren()) do | |
42 | local sound = Instance.new("Sound") | |
43 | sound.SoundId = "http://www.roblox.com/asset/?id=603266135" | |
44 | sound.Volume = 10 | |
45 | sound.Parent = player | |
46 | sound:Play() | |
47 | game.Debris:AddItem(sound, 16.64) | |
48 | end | |
49 | wait(16.64) | |
50 | end | |
51 | end) | |
52 | ||
53 | coroutine.resume(seizure) | |
54 | coroutine.resume(noise) |