local function B(B,n)while IsShiftKeyDown()do wait()game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=50 end game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=25 end UserInputService.InputBegan:Connect(B)

local function Input(input, gameProcessedEvent)
	while IsShiftKeyDown() do
		wait()
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
	end
	game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
end
 
UserInputService.InputBegan:Connect(Input)
