local Player = game:GetService('Players').LocalPlayer
local Mouse = Player:GetMouse()
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild('Humanoid')
local ls = game.Players.LocalPlayer:WaitForChild('leaderstats')
local power = ls.Power
function PressC(key)
if (key == "c") then
if power.Value == 'Super Speed' then do
if Humanoid.WalkSpeed == 16 then
Humanoid.WalkSpeed = 50
script.Parent.Text = 'Click to Slow Down'
elseif Humanoid.WalkSpeed == 50 then
Humanoid.WalkSpeed = 16
script.Parent.Text = 'Click to Speed Up'
end
end
end
end
Mouse.KeyDown:connect(PressC)
When I press C it does not change my speed!

4 comments
I think line 7 is wrong? Mousebutton1click is for a player's mouse not the player itself. Do this: Mouse = game.players.LocalPlayer:GetMouse()
A previous question like this had this as an answer: http://wiki.roblox.com/index.php?title=Weapons
you should be using userinputservice. as far as im aware, KeyDown is deprecated in the way you're using it
^this^