UserInputService.InputBegan:Connect(function(k)if k.KeyCode==Enum.KeyCode.LeftShift then Character.Humanoid.WalkSpeed=SpeedBoost end end)UserInputService.InputEnded:Connect(function(k)if k.KeyCode==Enum.KeyCode.LeftShift then Character.Humanoid.WalkSpeed=DefaultSpeed end end)
--Scripts
UserInputService.InputBegan:Connect(function(key) --When player holds shift key, run code
	if key.KeyCode == Enum.KeyCode.LeftShift then
		Character.Humanoid.WalkSpeed = SpeedBoost
	end
end)

UserInputService.InputEnded:Connect(function(key) -- When player lets go of shift key, run code
	if key.KeyCode == Enum.KeyCode.LeftShift then
		Character.Humanoid.WalkSpeed = DefaultSpeed
	end
end)
