I found this script from the catalog:
repeat wait() until game.Players.LocalPlayer
Run = game.Players.LocalPlayer:GetMouse()
Run.KeyDown:connect(function(key) if key == "0" then print("Running Now") game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 40 end end)
Run.KeyUp:connect(function(key) if key == "0" then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 end end)
**I want to be able to toggle shift on(lock it)press only once(running) and shift second time to activate off (walking)
**

2 comments
Scripting Helpers is here to help resolve issues with scripts you wrote, not ones you find in the catalog.
sry