Universal Script 📌
278 Views
6.9k Executions

Flashlight Tool

Universal Script 📌
NPC_PlayersNoob_Alt
NPC_PlayersNoob_Alt100K executions
3 months ago
Get an executor
Please login to perform these actions:

Does it work?

Early reports

100% say it works · 1 report in the last 2 weeks

Also noticed:

Description

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

Updates

  1. Script edited: Update script

View Raw
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 = 4 -- 保持原版亮度(4 级)
    end
end
-- ==================================================================

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


Comments

2
Log in to join the conversation. Login
ZodiakHub's profile picture
ZodiakHub2 weeks ago(edited)

Good universal script, works 100% and no key needs

2
NPC_PlayersNoob_Alt's profile picture
NPC_PlayersNoob_AltUploader2 weeks ago

@ZodiakHub Yea, its fr.

1

Tags

More universal scripts

See all
Script hub
186.9k
1.9M
Bumped 1 hour ago
Key System

Script hub

#13 this week

Verified script badgeAirflow HUB

Script hub
602.2k
52.8k
Bumped 1 hour ago
Script hub
45.6k
11.1k
Bumped 3 hours ago
Key System
Paid

Script hub

#25 this month

Verified script badgeZekeHub - 58 Games, 1,300+ Features

Universal Script 📌
51
4
Approved 3 hours ago