---
title: "Flashlight Tool For Universal | Universal Roblox Script - ScriptBlox"
description: "Flashlight Tool For Universal for any Roblox game: The light follows your mouse around the level to illuminate what lays hidden."
canonical_url: "https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280"
meta:
  "og:description": "Flashlight Tool For Universal for any Roblox game: The light follows your mouse around the level to illuminate what lays hidden."
  "og:image": "https://scriptblox.com/images/script/0-1788179905930.jpg"
  "og:title": "Flashlight Tool For Universal | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Flashlight Tool For Universal for any Roblox game: The light follows your mouse around the level to illuminate what lays hidden."
  "twitter:image": "https://scriptblox.com/images/script/0-1788179905930.jpg"
  "twitter:title": "Flashlight Tool For Universal | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1788179905930.jpg)

# **Flashlight Tool For Universal**

10K executions

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![NPC\_PlayersNoob\_Alt](https://scriptblox.com/images/photo/6a1279777f9602bdd802f0e3-1785668795917.png) [NPC\_PlayersNoob\_Alt](https://scriptblox.com/u/NPC_PlayersNoob_Alt)Lv 8100K executions**

3 months ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

The light follows your mouse around the level to illuminate what lays hidden.

## **Updates **

1. Sep 1, 2026

   ****Script edited:**** Fixed Error (Editable Code)

[View Raw](https://scriptblox.com/raw/Universal-Script-Flashlight-Tool-For-Universal-226280)

```
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()

local gearId = 116040770

-- ==================== [环境自动侦测与补丁系统] ====================
local envState = {
    Mode = "Mouse", -- "Mouse" | "Touch" | "Gamepad"
    IsMobile = false
}

-- 1. 实时监听输入设备无缝切换（触屏 <-> 鼠标 <-> 手柄）
UserInputService.LastInputTypeChanged:Connect(function(lastInputType)
    if lastInputType == Enum.UserInputType.Touch then
        envState.Mode = "Touch"
    elseif lastInputType == Enum.UserInputType.Gamepad1 or string.find(lastInputType.Name, "Gamepad") then
        envState.Mode = "Gamepad"
    elseif string.find(lastInputType.Name, "Mouse") then
        envState.Mode = "Mouse"
    end
end)

-- 2. 动态环境修复补丁（移动端与 PC 统一保持阴影开启与原版亮度 4）
local function applyEnvironmentPatch(light)
    envState.IsMobile = UserInputService.TouchEnabled and not UserInputService.MouseEnabled
    envState.Mode = envState.IsMobile and "Touch" or "Mouse"
    
    if light then
        light.Shadows = true -- 全平台强制开启实时影子
        light.Brightness = 7 -- 保持原版亮度（4 级）
    end
end
-- ==================================================================

local success, objects = pcall(function()
    return game:GetObjects("rbxassetid://" .. gearId)


```

## **Comments **

**1**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Flashlight-Tool-For-Universal-226280)

![NPC\_PlayersNoob\_Alt's profile picture](https://scriptblox.com/images/photo/6a1279777f9602bdd802f0e3-1785668795917.png)

[**NPC\_PlayersNoob\_Alt**](https://scriptblox.com/u/NPC_PlayersNoob_Alt)Lv 8**Uploader**3 months ago

The gear that i copy from [https://www.rolimons.com/item/116040770](https://scriptblox.com/redirect?url=https%3A%2F%2Fwww.rolimons.com%2Fitem%2F116040770)

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280#script","url":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280","name":"Flashlight Tool For Universal","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"NPC_PlayersNoob_Alt","url":"https://scriptblox.com/u/NPC_PlayersNoob_Alt"},"datePublished":"2026-08-31T12:38:25.947Z","image":"https://scriptblox.com/images/script/0-1788179905930.jpg","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280#webpage","@type":"WebPage","description":"Flashlight Tool For Universal for any Roblox game: The light follows your mouse around the level to illuminate what lays hidden.","name":"Flashlight Tool For Universal | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Flashlight-Tool-For-Universal-226280#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Flashlight Tool For Universal","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
