Universal Script 📌
311 Views
3.5k Executions

flashlight esp

Universal Script 📌
troll13168
troll13168First script
5 months ago
Get an 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

flashlight made with ai

View Raw
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local flashlight

-- 💾 SETTINGS
local settings = {
	color = Color3.fromRGB(255,255,255),
	range = 150,
	angle = 50,
	brightness = 2,
	enabled = false,
	keybind = Enum.KeyCode.F
}

local waitingForKey = false

-- CLEAN UI
if getgenv().FlashlightUI then
	getgenv().FlashlightUI:Destroy()
end

---------------------------------------------------
-- CHARACTER FLASHLIGHT
---------------------------------------------------
local function setupCharacter(character)
	local head = character:WaitForChild("Head")

	for _, v in ipairs(head:GetChildren()) do
		if v:IsA("SpotLight") then
			v:Destroy()
		end
	end

	flashlight = Instance.new("SpotLight")
	flashlight.Parent = head
	flashlight.Color = settings.color
	flashlight.Range = settings.range


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
16.9k
88.8k
Bumped 2 hours ago
Universal Script 📌
36.5k
1.1M
Bumped 2 hours ago
Script hub
4.0M
2.0M
Bumped 2 hours ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games

Script hub
261
17
9 hours ago
Key System