Universal Script 📌
46 Views
77 Executions

FlashlightG

Universal Script 📌
GenuineTakaba
GenuineTakabaFirst script
3 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

Made by gemini and has battery

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

-------------------------
-- CONFIG
-------------------------

local CONFIG = {
	Brightness = 4,
	Range = 35,
	Angle = 70,

	MaxBattery = 100,
	DrainRate = 8,      -- Battery per second
	RechargeRate = 5,   -- Battery per second

	PCKey = Enum.KeyCode.F,
	MobileButton = true
}

-------------------------
-- PLAYER
-------------------------

local player = Players.LocalPlayer

local flashlight
local battery = CONFIG.MaxBattery
local enabled = false

-------------------------
-- GUI
-------------------------

local gui = Instance.new("ScreenGui")
gui.Name = "FlashlightGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")


Comments

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