I can’t see any reason of this script shouldn’t work. It’s a localscript and supposed to turn the flashlight on/off when it’s activated. It’s a “tool” in StarterPack.
script.Parent.Activated:Connect(function()
script.Parent.Light.SpotLight.Enabled = not script.Parent.Light.SpotLight.Enabled
end)
local Tool = script.Parent
local Handle = Tool.Handle
local SpotLight = Handle.SpotLight
Tool.Activated:Connect(function()
SpotLight.Enabled = not SpotLight.Enabled
end)