Random Script I made when bored
Key RequiredUniversal

Random Script I made when bored

Universal ScriptSigeonTennisSigeonTennis 710 views 4.4K executesUpdated Sep 11, 2026
Unrated
00
Lua Script•124 lines (3519 chars)
local Lighting = game:GetService("Lighting")
local Players = game:GetService("Players")
local SoundService = game:GetService("SoundService")
local player = Players.LocalPlayer

Lighting.Ambient = Color3.fromRGB(0, 0, 0)
Lighting.OutdoorAmbient = Color3.fromRGB(0, 0, 0)
Lighting.Brightness = 0
Lighting.GlobalShadows = true
Lighting.ClockTime = 0
Lighting.ExposureCompensation = -3
Lighting.FogEnd = 40
Lighting.FogStart = 0
Lighting.FogColor = Color3.fromRGB(0, 0, 0)

for _, child in ipairs(Lighting:GetChildren()) do
    if child:IsA("Sky") or child:IsA("Atmosphere") or child:IsA("PostEffect") or child:IsA("Clouds") or child:IsA("SunRaysEffect") then
        child:Destroy()
    end
end

local blackSky = Instance.new("Sky")
blackSky.SkyboxBk = "rbxassetid://701864870"
blackSky.SkyboxDn = "rbxassetid://701864870"
blackSky.SkyboxFt = "rbxassetid://701864870"
blackSky.SkyboxLf = "rbxassetid://701864870"
blackSky.SkyboxRt = "rbxassetid://701864870"
blackSky.SkyboxUp = "rbxassetid://701864870"
blackSky.CelestialBodiesShown = false
blackSky.Parent = Lighting

for _, sound in ipairs(workspace:GetDescendants()) do
    if sound:IsA("Sound") then
        sound.Volume = 0
    end
end

workspace.DescendantAdded:Connect(function(descendant)
    if descendant:IsA("Sound") then
        descendant.Volume = 0
    end
end)

local bgMusic = Instance.new("Sound")
bgMusic.SoundId = "rbxassetid://109672297247576"
bgMusic.PlaybackSpeed = 0.25
bgMusic.Looped = true
bgMusic.Volume = 1
bgMusic.Parent = SoundService
bgMusic:Play()

task.spawn(function()
    while true do
        local ambientSound = Instance.new("Sound")
        ambientSound.SoundId = "rbxassetid://88778392112325"
        ambientSound.Volume = 1
        ambientSound.Parent = SoundService
        ambientSound:Play()
        ambientSound.Ended:Connect(function()
            ambientSound:Destroy()
        end)
        task.wait(15)
    end
end)

local tool = Instance.new("Tool")
tool.Name = "Flashlight"
tool.RequiresHandle = true

local handle = Instance.new("Part")
handle.Name = "Handle"
handle.Size = Vector3.new(0.5, 0.5, 2)
handle.BrickColor = BrickColor.new("Dark stone grey")
handle.Parent = tool

local spotlight = Instance.new("SpotLight")
spotlight.Brightness = 15
spotlight.Angle = 45
spotlight.Range = 35
spotlight.Face = Enum.NormalId.Front
spotlight.Enabled = false
spotlight.Parent = handle

tool.Activated:Connect(function()
    spotlight.Enabled = not spotlight.Enabled
end)

tool.Parent = player.Backpack

local jumpscareImages = {
    "rbxassetid://138099080",
    "rbxassetid://288673740"
}

task.spawn(function()
    while true do
        task.wait(math.random(15, 30))
        
        local gui = Instance.new("ScreenGui")
        gui.Name = "JumpscareGui"
        gui.ResetOnSpawn = false
        gui.IgnoreGuiInset = true
        gui.Parent = player.PlayerGui
        
        local img = Instance.new("ImageLabel")
        img.Size = UDim2.new(1, 0, 1, 0)
        img.Position = UDim2.new(0, 0, 0, 0)
        img.BackgroundTransparency = 0
        img.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
        img.ScaleType = Enum.ScaleType.Fit
        img.Image = jumpscareImages[math.random(1, #jumpscareImages)]
        img.Parent = gui
        
        local scarily = Instance.new("Sound")
        scarily.SoundId = "rbxassetid://139310882854462"
        scarily.Volume = 3
        scarily.Parent = SoundService
        scarily:Play()
        
        task.wait(0.8)
        gui:Destroy()
        scarily:Destroy()
    end
end)

Features & Information

It makes the entire game dark,plays a song and does jumpscares,ambiences and gives you a flashlight
#Scary

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts