What exactly do you mean by too sensitive?
The movement?
The ability to turn it on and off too quickly?
Also, why not create the tool complete with welds, Massless, Spotlight etc. and put it in the backpack? This would make it a lot easier and less susceptible to errors.
? if you want a flashlight script here is a good one i made a few weeks ago for a cancelled project (local script btw)
local Players = game:GetService("Players")
local clicksound = script:WaitForChild("Flashlight On Off Clicks 15 (SFX)")
local i = 100
local value = i
local failsafe = i > 100
script.Parent.Activated:Connect(function(s)
if script.Parent.Handle.SurfaceLight.Enabled == true then
script.Parent.Handle.SurfaceLight.Enabled = false
clicksound:Play()
else
script.Parent.Handle.SurfaceLight.Enabled = true
clicksound:Play()
end
while script.Parent.Handle.SurfaceLight.Enabled == true do
wait(1)
i = i - 1
print("Life Has Gone Down")
if i < 1 then
print("Battery Has Died")
script.Parent.Handle.SurfaceLight.Enabled = false
script.Enabled = false
end
end
if failsafe then
Players.LocalPlayer:Kick("You have been caught cheating.")
print("Battery Cheating")
end
end)
script.Parent.Unequipped:Connect(function(s)
script.Parent.Handle.SurfaceLight.Enabled = false
local truei = i
print(i)
wait(1)
i = truei
print(i)
end)