I've tried changing r to ww but it just doesn't work. This is my current script and R is just a place holder key until I can change it to double w.
local player = game.Players.LocalPlayer local character = player.Character local humanoid = character.Humanoid local mouse = player:GetMouse() local origSpeed = humanoid.WalkSpeed local runSpeed = 30 --change for faster or slower
mouse.KeyDown:connect(function(key)
if key:lower() == "r" then
humanoid.WalkSpeed = runSpeed
end
end)
mouse.KeyUp:connect(function(key)
if key:lower() == "r" then
humanoid.WalkSpeed = origSpeed
end
end)
The script works perfectly fine, it's just that I want the R to be a double W tap.
