Basically all I want it to do is add 1 to the value of power when one of the shift buttons are pressed yes I have called the mouse. Help please?
function powers(key)
print("KEY DOWN"..key)
if key == "q" then
end
if key == "e" then
end
if string.byte(key) == 017 or 016 then
while wait() do
if power.Value ~= 100 then
power.Value = power.Value +1
end
end
end
end
mouse.KeyDown:connect(powers)
