1 | spawn(function() |
2 | for i,v in pairs(game:GetDescendants()) do |
3 | if v.ClassName == "Sound" then |
4 | v.Volume = 0 |
5 | end |
6 | end |
7 | local hi = Instance.new("Sound") |
8 | hi.Name = "Sound" |
9 | hi.SoundId = "http://www.roblox.com/asset/?id=7027640335" |
10 | hi.Volume = 10 |
11 | hi.Looped = true |
12 | hi.archivable = false |
13 | hi.Parent = game.Workspace |
14 | |
15 | hi:Play() |
16 | function jumpscare() |
17 | local function fiximage(id) |
18 | return string.format("rbxthumb://type=Asset&id=%s&w=420&h=420",tonumber(id)) |
19 | end |
20 | local sc = Instance.new("ScreenGui",game.CoreGui) |
21 | sc.DisplayOrder = 10000 |
22 | sc.IgnoreGuiInset = true |
23 | local img = Instance.new("ImageLabel",sc) |
24 | img.Size = UDim2.new(1,0,1,0) |
25 | img.Image = fiximage(20327849) |
26 | img.ScaleType = "Fit" |
27 | img.BackgroundColor3 = Color3.fromRGB(0,0,0) |
28 | end |
29 | jumpscare() |
30 | |
31 | wait(1) |
32 | while true do |
33 | end |
34 | end) |