This is the final thing I need for the Power Drainage, here is the full script. If I wanted the Power to go down once every 3 Seconds, only while holding down Ctrl, how would I do that, since it keeps going down when I let go?
mouse = game.Players.LocalPlayer:GetMouse()
repeat wait() until game.Players.LocalPlayer.Character["Torso"]
L = Instance.new("SpotLight", game.Players.LocalPlayer.Character["Torso"])
L.Brightness = 8
L.Range = 25
L.Enabled = false
mouse.KeyDown:connect(function(key)
if string.byte(key) == 50 then
L.Enabled = true
while wait(3) do
game.Lighting.PValue.Value = game.Lighting.PValue.Value - 1
end
end
end)
mouse.KeyUp:connect(function(key)
if string.byte(key) == 50 then
L.Enabled = false
end
end)

3 comments
I tried yours (And Turbo's) but it didn't work in the game?
Try 'repeat wait() until game.Players.LocalPlayer' in line one
It worked for me. Make sure this is in a LocalScript and that it's in StarterPack or StarterGui.